Home
last modified time | relevance | path

Searched defs:JNIEnv (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/base/core/jni/
Dandroid_hardware_location_ActivityRecognitionHardware.cpp35 static void class_init(JNIEnv* /*env*/, jclass /*clazz*/) { in class_init() argument
43 static void initialize(JNIEnv* /*env*/, jobject /*obj*/) { in initialize() argument
51 static void release(JNIEnv* /*env*/, jobject /*obj*/) { in release() argument
59 static jboolean is_supported(JNIEnv* /*env*/, jclass /*clazz*/) { in is_supported() argument
68 static jobjectArray get_supported_activities(JNIEnv* /*env*/, jobject /*obj*/) { in get_supported_activities() argument
78 JNIEnv* /*env*/, in enable_activity_event() argument
92 JNIEnv* /*env*/, in disable_activity_event() argument
104 static int flush(JNIEnv* /*env*/, jobject /*obj*/) { in flush() argument
Dandroid_os_Trace.cpp67 static void android_os_Trace_nativeTraceEnd(JNIEnv*, jclass, jlong tag) { in android_os_Trace_nativeTraceEnd() argument
85 static void android_os_Trace_nativeSetAppTracingAllowed(JNIEnv*, jclass, jboolean allowed) { in android_os_Trace_nativeSetAppTracingAllowed() argument
89 static void android_os_Trace_nativeSetTracingEnabled(JNIEnv*, jclass, jboolean enabled) { in android_os_Trace_nativeSetTracingEnabled() argument
Dandroid_os_HidlSupport.cpp23 static jint android_os_HidlSupport_getPidIfSharable(JNIEnv*, jclass) { in android_os_HidlSupport_getPidIfSharable() argument
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp31 static jlong createTree(JNIEnv*, jobject, jlong groupPtr) { in createTree() argument
37 static jlong createTreeFromCopy(JNIEnv*, jobject, jlong treePtr, jlong groupPtr) { in createTreeFromCopy() argument
44 static jlong createEmptyFullPath(JNIEnv*, jobject) { in createEmptyFullPath() argument
49 static jlong createFullPath(JNIEnv*, jobject, jlong srcFullPathPtr) { in createFullPath() argument
56 static jlong createEmptyClipPath(JNIEnv*, jobject) { in createEmptyClipPath() argument
61 static jlong createClipPath(JNIEnv*, jobject, jlong srcClipPathPtr) { in createClipPath() argument
68 static jlong createEmptyGroup(JNIEnv*, jobject) { in createEmptyGroup() argument
73 static jlong createGroup(JNIEnv*, jobject, jlong srcGroupPtr) { in createGroup() argument
86 static void addChild(JNIEnv*, jobject, jlong groupPtr, jlong childPtr) { in addChild() argument
92 static void setAllowCaching(JNIEnv*, jobject, jlong treePtr, jboolean allowCaching) { in setAllowCaching() argument
[all …]
Dandroid_util_PathParser.cpp42 static jlong createEmptyPathData(JNIEnv*, jobject) { in createEmptyPathData() argument
47 static jlong createPathData(JNIEnv*, jobject, jlong pathDataPtr) { in createPathData() argument
68 static jboolean interpolatePathData(JNIEnv*, jobject, jlong outPathDataPtr, jlong fromPathDataPtr, in interpolatePathData() argument
77 static void deletePathData(JNIEnv*, jobject, jlong pathDataHandle) { in deletePathData() argument
82 static jboolean canMorphPathData(JNIEnv*, jobject, jlong fromPathDataPtr, jlong toPathDataPtr) { in canMorphPathData() argument
88 static void setPathData(JNIEnv*, jobject, jlong outPathDataPtr, jlong fromPathDataPtr) { in setPathData() argument
94 static void setSkPathFromPathData(JNIEnv*, jobject, jlong outPathPtr, jlong pathDataPtr) { in setSkPathFromPathData() argument
Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp83 static void addAnimator(JNIEnv*, jobject, jlong animatorSetPtr, jlong propertyHolderPtr, in addAnimator() argument
93 static jlong createAnimatorSet(JNIEnv*, jobject) { in createAnimatorSet() argument
98 static void setVectorDrawableTarget(JNIEnv*, jobject,jlong animatorPtr, jlong vectorDrawablePtr) { in setVectorDrawableTarget() argument
104 static jlong createGroupPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, in createGroupPropertyHolder() argument
112 static jlong createPathDataPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jlong startValuePtr, in createPathDataPropertyHolder() argument
122 static jlong createPathColorPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, in createPathColorPropertyHolder() argument
130 static jlong createPathPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, in createPathPropertyHolder() argument
138 static jlong createRootAlphaPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jfloat startValue, in createRootAlphaPropertyHolder() argument
175 static void end(JNIEnv*, jobject, jlong animatorSetPtr) { in end() argument
180 static void reset(JNIEnv*, jobject, jlong animatorSetPtr) { in reset() argument
DGraphicsStatsService.cpp36 static jint getAshmemSize(JNIEnv*, jobject) { in getAshmemSize() argument
40 static jlong createDump(JNIEnv*, jobject, jint fd, jboolean isProto) { in createDump() argument
85 static void finishDump(JNIEnv*, jobject, jlong dumpPtr) { in finishDump() argument
/frameworks/base/services/core/jni/
Dcom_android_server_vr_VrManagerService.cpp33 static void init_native(JNIEnv* /* env */, jclass /* clazz */) { in init_native() argument
50 static void setVrMode_native(JNIEnv* /* env */, jclass /* clazz */, jboolean enabled) { in setVrMode_native() argument
Dcom_android_server_AlarmManagerService.cpp213 static jint android_server_AlarmManagerService_setKernelTime(JNIEnv*, jobject, jlong nativeData, jl… in android_server_AlarmManagerService_setKernelTime() argument
237 static jint android_server_AlarmManagerService_setKernelTimezone(JNIEnv*, jobject, jlong, jint mins… in android_server_AlarmManagerService_setKernelTimezone() argument
340 static jlong android_server_AlarmManagerService_init(JNIEnv*, jobject) in android_server_AlarmManagerService_init() argument
395 static jlong android_server_AlarmManagerService_getNextAlarm(JNIEnv*, jobject, jlong nativeData, ji… in android_server_AlarmManagerService_getNextAlarm() argument
412 static void android_server_AlarmManagerService_close(JNIEnv*, jobject, jlong nativeData) in android_server_AlarmManagerService_close() argument
418 static jint android_server_AlarmManagerService_set(JNIEnv*, jobject, jlong nativeData, jint type, j… in android_server_AlarmManagerService_set() argument
435 static jint android_server_AlarmManagerService_waitForAlarm(JNIEnv*, jobject, jlong nativeData) in android_server_AlarmManagerService_waitForAlarm() argument
Dcom_android_server_SystemServer.cpp49 static void android_server_SystemServer_startSensorService(JNIEnv* /* env */, jobject /* clazz */) { in android_server_SystemServer_startSensorService() argument
88 static void android_server_SystemServer_initZygoteChildHeapProfiling(JNIEnv* /* env */, in android_server_SystemServer_initZygoteChildHeapProfiling() argument
105 static void android_server_SystemServer_spawnFdLeakCheckThread(JNIEnv*, jobject) { in android_server_SystemServer_spawnFdLeakCheckThread() argument
Dcom_android_server_UsbAlsaJackDetector.cpp72 static jboolean android_server_UsbAlsaJackDetector_hasJackDetect(JNIEnv* /* env */, in android_server_UsbAlsaJackDetector_hasJackDetect() argument
90 static jboolean android_server_UsbAlsaJackDetector_inputJackConnected(JNIEnv* /* env */, in android_server_UsbAlsaJackDetector_inputJackConnected() argument
97 static jboolean android_server_UsbAlsaJackDetector_outputJackConnected(JNIEnv* /* env */, in android_server_UsbAlsaJackDetector_outputJackConnected() argument
Dcom_android_server_VibratorService.cpp241 static jboolean vibratorExists(JNIEnv* /* env */, jclass /* clazz */) in vibratorExists() argument
256 static void vibratorOn(JNIEnv* /* env */, jclass /* clazz */, jlong timeout_ms) in vibratorOn() argument
271 static void vibratorOff(JNIEnv* /* env */, jclass /* clazz */) in vibratorOff() argument
286 static jlong vibratorSupportsAmplitudeControl(JNIEnv*, jclass) { in vibratorSupportsAmplitudeControl() argument
298 static void vibratorSetAmplitude(JNIEnv*, jclass, jint amplitude) { in vibratorSetAmplitude() argument
314 static jboolean vibratorSupportsExternalControl(JNIEnv*, jclass) { in vibratorSupportsExternalControl() argument
326 static void vibratorSetExternalControl(JNIEnv*, jclass, jboolean enabled) { in vibratorSetExternalControl() argument
454 static jlong vibratorGetCapabilities(JNIEnv*, jclass) { in vibratorGetCapabilities() argument
Dcom_android_server_am_LowMemDetector.cpp48 static jint android_server_am_LowMemDetector_init(JNIEnv*, jobject) { in android_server_am_LowMemDetector_init() argument
93 static jint android_server_am_LowMemDetector_waitForPressure(JNIEnv*, jobject) { in android_server_am_LowMemDetector_waitForPressure() argument
Dcom_android_server_power_PowerManagerService.cpp425 static void nativeSetInteractive(JNIEnv* /* env */, jclass /* clazz */, jboolean enable) { in nativeSetInteractive() argument
457 static void nativeSetAutoSuspend(JNIEnv* /* env */, jclass /* clazz */, jboolean enable) { in nativeSetAutoSuspend() argument
473 static void nativeSendPowerHint(JNIEnv* /* env */, jclass /* clazz */, jint hintId, jint data) { in nativeSendPowerHint() argument
477 static void nativeSetPowerBoost(JNIEnv* /* env */, jclass /* clazz */, jint boost, in nativeSetPowerBoost() argument
482 static jboolean nativeSetPowerMode(JNIEnv* /* env */, jclass /* clazz */, jint mode, in nativeSetPowerMode() argument
487 static void nativeSetFeature(JNIEnv* /* env */, jclass /* clazz */, jint featureId, jint data) { in nativeSetFeature() argument
514 static bool nativeForceSuspend(JNIEnv* /* env */, jclass /* clazz */) { in nativeForceSuspend() argument
Dcom_android_server_location_GnssLocationProvider.cpp2364 JNIEnv* /* env */, jclass /* clazz */) { in android_location_GnssLocationProvider_is_supported() argument
2369 JNIEnv* /* env */, jclass /* clazz */) { in android_location_GnssNetworkConnectivityHandler_is_agps_ril_supported() argument
2507 static void android_location_GnssLocationProvider_cleanup(JNIEnv* /* env */, jobject /* obj */) { in android_location_GnssLocationProvider_cleanup() argument
2516 static jboolean android_location_GnssLocationProvider_set_position_mode(JNIEnv* /* env */, in android_location_GnssLocationProvider_set_position_mode() argument
2538 static jboolean android_location_GnssLocationProvider_start(JNIEnv* /* env */, jobject /* obj */) { in android_location_GnssLocationProvider_start() argument
2547 static jboolean android_location_GnssLocationProvider_stop(JNIEnv* /* env */, jobject /* obj */) { in android_location_GnssLocationProvider_stop() argument
2556 static void android_location_GnssLocationProvider_delete_aiding_data(JNIEnv* /* env */, in android_location_GnssLocationProvider_delete_aiding_data() argument
2568 JNIEnv* /* env */, jobject /* obj */, jint type, jint mcc, jint mnc, jint lac, jint cid) { in android_location_GnssLocationProvider_agps_set_reference_location_cellid() argument
2619 static void android_location_GnssLocationProvider_inject_time(JNIEnv* /* env */, jobject /* obj */, in android_location_GnssLocationProvider_inject_time() argument
2630 JNIEnv*, in android_location_GnssLocationProvider_inject_best_location() argument
[all …]
Dcom_android_server_UsbDeviceManager.cpp97 static jboolean android_server_UsbDeviceManager_isStartRequested(JNIEnv* /* env */, in android_server_UsbDeviceManager_isStartRequested() argument
110 static jint android_server_UsbDeviceManager_getAudioMode(JNIEnv* /* env */, jobject /* thiz */) in android_server_UsbDeviceManager_getAudioMode() argument
Dcom_android_server_input_InputManagerService.cpp427 status_t NativeInputManager::registerInputChannel(JNIEnv* /* env */, in registerInputChannel() argument
433 status_t NativeInputManager::registerInputMonitor(JNIEnv* /* env */, in registerInputMonitor() argument
440 status_t NativeInputManager::unregisterInputChannel(JNIEnv* /* env */, in unregisterInputChannel() argument
1290 static jint nativeGetScanCodeState(JNIEnv* /* env */, jclass /* clazz */, in nativeGetScanCodeState() argument
1298 static jint nativeGetKeyCodeState(JNIEnv* /* env */, jclass /* clazz */, in nativeGetKeyCodeState() argument
1306 static jint nativeGetSwitchState(JNIEnv* /* env */, jclass /* clazz */, in nativeGetSwitchState() argument
1430 static void nativeSetInputFilterEnabled(JNIEnv* /* env */, jclass /* clazz */, in nativeSetInputFilterEnabled() argument
1437 static void nativeSetInTouchMode(JNIEnv* /* env */, jclass /* clazz */, in nativeSetInTouchMode() argument
1561 static void nativeSetInputDispatchMode(JNIEnv* /* env */, in nativeSetInputDispatchMode() argument
1568 static void nativeSetSystemUiVisibility(JNIEnv* /* env */, in nativeSetSystemUiVisibility() argument
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaProfiles.cpp37 android_media_MediaProfiles_native_init(JNIEnv* /* env */) in android_media_MediaProfiles_native_init() argument
48 android_media_MediaProfiles_native_get_num_file_formats(JNIEnv* /* env */, jobject /* thiz */) in android_media_MediaProfiles_native_get_num_file_formats() argument
68 android_media_MediaProfiles_native_get_num_video_encoders(JNIEnv* /* env */, jobject /* thiz */) in android_media_MediaProfiles_native_get_num_video_encoders() argument
120 android_media_MediaProfiles_native_get_num_audio_encoders(JNIEnv* /* env */, jobject /* thiz */) in android_media_MediaProfiles_native_get_num_audio_encoders() argument
227 android_media_MediaProfiles_native_has_camcorder_profile(JNIEnv* /* env */, jobject /* thiz */, in android_media_MediaProfiles_native_has_camcorder_profile() argument
240 android_media_MediaProfiles_native_get_num_video_decoders(JNIEnv* /* env */, jobject /* thiz */) in android_media_MediaProfiles_native_get_num_video_decoders() argument
262 android_media_MediaProfiles_native_get_num_audio_decoders(JNIEnv* /* env */, jobject /* thiz */) in android_media_MediaProfiles_native_get_num_audio_decoders() argument
284 android_media_MediaProfiles_native_get_num_image_encoding_quality_levels(JNIEnv* /* env */, in android_media_MediaProfiles_native_get_num_image_encoding_quality_levels() argument
/frameworks/base/native/webview/plat_support/
Ddraw_gl_functor.cpp99 jlong CreateGLFunctor(JNIEnv*, jclass, jlong view_context) { in CreateGLFunctor() argument
104 void DestroyGLFunctor(JNIEnv*, jclass, jlong functor) { in DestroyGLFunctor() argument
108 void SetChromiumAwDrawGLFunction(JNIEnv*, jclass, jlong draw_function) { in SetChromiumAwDrawGLFunction() argument
/frameworks/base/apex/statsd/tests/libstatspull/jni/
Dstats_pull_helper.cpp49 JNIEnv* /*env*/, jobject /* this */, jint atomTag, jlong timeoutMillis, in Java_com_android_internal_os_statsd_libstats_LibStatsPullTests_setStatsPuller() argument
65 Java_com_android_internal_os_statsd_libstats_LibStatsPullTests_clearStatsPuller(JNIEnv* /*env*/, in Java_com_android_internal_os_statsd_libstats_LibStatsPullTests_clearStatsPuller() argument
/frameworks/native/opengl/tests/gl_perfapp/jni/
Dgl_code.cpp69 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * /*env*/, jobject /*obj*/, j… in Java_com_android_glperf_GLPerfLib_init() argument
95 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_step(JNIEnv * /*env*/, jobject /*obj*/) in Java_com_android_glperf_GLPerfLib_step() argument
/frameworks/native/opengl/tests/gl_jni/jni/
Dgl_code.cpp148 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_init(JNIEnv * /*env*/, jobject /*obj*/, jin… in Java_com_android_gljni_GLJNILib_init() argument
154 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_step(JNIEnv * /*env*/, jobject /*obj*/) in Java_com_android_gljni_GLJNILib_step() argument
185 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_changeBackground(JNIEnv * /*env*/, jobject /… in Java_com_android_gljni_GLJNILib_changeBackground() argument
/frameworks/base/core/tests/coretests/apks/install_jni_lib/
Dcom_android_frameworks_coretests_JNITest.cpp20 jint JNICALL Java_com_android_frameworks_coretests_JNITests_checkFunction(JNIEnv*, jclass) { in Java_com_android_frameworks_coretests_JNITests_checkFunction() argument
/frameworks/base/packages/services/PacProcessor/jni/
Dcom_android_pacprocessor_PacNative.cpp51 static jboolean com_android_pacprocessor_PacNative_createV8ParserNativeLocked(JNIEnv* /* env */, in com_android_pacprocessor_PacNative_createV8ParserNativeLocked() argument
61 static jboolean com_android_pacprocessor_PacNative_destroyV8ParserNativeLocked(JNIEnv* /* env */, in com_android_pacprocessor_PacNative_destroyV8ParserNativeLocked() argument
/frameworks/native/opengl/tests/gldual/jni/
Dgl_code.cpp161 JNIEXPORT void JNICALL Java_com_android_gldual_GLDualLib_init(JNIEnv * /*env*/, jobject /*obj*/, ji… in Java_com_android_gldual_GLDualLib_init() argument
166 JNIEXPORT void JNICALL Java_com_android_gldual_GLDualLib_step(JNIEnv * /*env*/, jobject /*obj*/) in Java_com_android_gldual_GLDualLib_step() argument

123