Home
last modified time | relevance | path

Searched refs:jlong (Results 1 – 25 of 43) sorted by relevance

12

/packages/modules/AdServices/adservices/service-core/jni/include/
Dohttp_jni.h29 JNIEXPORT jlong JNICALL
37 JNIEXPORT jlong JNICALL
46 JNIEXPORT jlong JNICALL
55 JNIEXPORT jlong JNICALL
64 JNIEXPORT jlong JNICALL
76 jlong hpkeCtxRef);
83 JNIEXPORT jlong JNICALL
94 JNIEnv *env, jclass, jlong senderHpkeCtxRef, jlong evpKemRef,
95 jlong evpKdfRef, jlong evpAeadRef, jbyteArray publicKeyArray,
106 jlong hpkeCtxRef,
[all …]
/packages/apps/TV/jni/
Dtunertvinput_jni.cpp33 static std::map<jlong, DvbManager *> sDvbManagers;
41 JNIEnv *, jobject, jlong deviceId) { in Java_com_android_tv_tuner_TunerHal_nativeFinalize()
42 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_tv_tuner_TunerHal_nativeFinalize()
56 JNIEnv *env, jobject thiz, jlong deviceId, jint frequency, in Java_com_android_tv_tuner_TunerHal_nativeTune__JILjava_lang_String_2I()
58 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_tv_tuner_TunerHal_nativeTune__JILjava_lang_String_2I()
62 sDvbManagers.insert(std::pair<jlong, DvbManager *>(deviceId, dvbManager)); in Java_com_android_tv_tuner_TunerHal_nativeTune__JILjava_lang_String_2I()
78 JNIEnv *env, jobject thiz, jlong deviceId, jint deliverySystemType, in Java_com_android_tv_tuner_TunerHal_nativeTune__JIILjava_lang_String_2I()
80 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_tv_tuner_TunerHal_nativeTune__JIILjava_lang_String_2I()
85 std::pair<jlong, DvbManager *>(deviceId, dvbManager)); in Java_com_android_tv_tuner_TunerHal_nativeTune__JIILjava_lang_String_2I()
101 jlong deviceId) { in Java_com_android_tv_tuner_TunerHal_nativeCloseAllPidFilters()
[all …]
Dtunertvinput_jni.h62 (JNIEnv *, jobject, jlong);
71 (JNIEnv *, jobject, jlong, jint, jstring, jint);
80 (JNIEnv *, jobject, jlong, jint, jint, jstring, jint);
88 (JNIEnv *, jobject, jlong, jint, jint);
97 (JNIEnv *, jobject, jlong);
106 (JNIEnv *, jobject, jlong, jboolean);
115 (JNIEnv *, jobject, jlong);
124 (JNIEnv *, jobject, jlong);
133 (JNIEnv *, jobject, jlong);
141 (JNIEnv *, jobject, jlong);
[all …]
/packages/services/Car/service/jni/evs/
DCarEvsService.cpp40 jboolean connectToHalServiceIfNecessary(JNIEnv* env, jobject thiz, jlong handle) { in connectToHalServiceIfNecessary()
66 void disconnectFromHalService(JNIEnv*, jobject, jlong handle) { in disconnectFromHalService()
80 void returnFrameBuffer(JNIEnv* /*env*/, jobject /*thiz*/, jlong handle, jint bufferId) { in returnFrameBuffer()
93 jboolean openCamera(JNIEnv* env, jobject /*thiz*/, jlong handle, jstring cameraId) { in openCamera()
114 void closeCamera(JNIEnv* /*env*/, jobject /*thiz*/, jlong handle) { in closeCamera()
126 jboolean startVideoStream(JNIEnv* /*env*/, jobject /*thiz*/, jlong handle) { in startVideoStream()
139 void stopVideoStream(JNIEnv* /*env*/, jobject /*thiz*/, jlong handle) { in stopVideoStream()
152 jlong createServiceHandle(JNIEnv* env, jclass clazz) { in createServiceHandle()
160 return reinterpret_cast<jlong>(EvsServiceContext::create(vm, clazz)); in createServiceHandle()
163 jlong createServiceHandleForTest([[maybe_unused]] JNIEnv* env, [[maybe_unused]] jclass clazz) { in createServiceHandleForTest()
[all …]
/packages/modules/AdServices/adservices/service-core/jni/cpp/
Dohttp_jni.cpp36 JNIEXPORT jlong JNICALL
43 return reinterpret_cast<jlong>(ctx); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeKemDhkemX25519HkdfSha256()
46 JNIEXPORT jlong JNICALL
52 return reinterpret_cast<jlong>(ctx); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeKdfHkdfSha256()
55 JNIEXPORT jlong JNICALL
61 return reinterpret_cast<jlong>(ctx); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeAeadAes256Gcm()
64 JNIEXPORT jlong JNICALL
70 return reinterpret_cast<jlong>(evp_md); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hkdfSha256MessageDigest()
75 JNIEnv *env, jclass, jlong hpkeCtxRef) { in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeCtxFree()
84 JNIEXPORT jlong JNICALL
[all …]
/packages/providers/MediaProvider/jni/
Dcom_android_providers_media_FuseDaemon.cpp85 jlong com_android_providers_media_FuseDaemon_new(JNIEnv* env, jobject self, in com_android_providers_media_FuseDaemon_new()
88 return reinterpret_cast<jlong>(new fuse::FuseDaemon(env, media_provider)); in com_android_providers_media_FuseDaemon_new()
92 JNIEnv* env, jobject self, jlong java_daemon, jint fd, jstring java_path, in com_android_providers_media_FuseDaemon_start()
116 jlong java_daemon) { in com_android_providers_media_FuseDaemon_is_started()
122 void com_android_providers_media_FuseDaemon_delete(JNIEnv* env, jobject self, jlong java_daemon) { in com_android_providers_media_FuseDaemon_delete()
129 jlong java_daemon, in com_android_providers_media_FuseDaemon_should_open_with_fuse()
147 jlong java_daemon) { in com_android_providers_media_FuseDaemon_uses_fuse_passthrough()
156 jlong java_daemon, in com_android_providers_media_FuseDaemon_invalidate_fuse_dentry_cache()
173 jlong java_daemon, jint fd, in com_android_providers_media_FuseDaemon_check_fd_access()
182 jlong java_daemon, in com_android_providers_media_FuseDaemon_initialize_device_id()
[all …]
Dcom_android_providers_media_leveldb_LevelDBInstance.cpp45 static leveldb::Status insertInLevelDB(JNIEnv* env, jobject obj, jlong leveldbptr, in insertInLevelDB()
63 static jobject insert(JNIEnv* env, jobject obj, jlong leveldbptr, jobject leveldbentry) { in insert()
72 JNIEXPORT jlong JNICALL
81 return reinterpret_cast<jlong>(leveldb); in Java_com_android_providers_media_leveldb_LevelDBInstance_nativeCreateInstance()
84 return (jlong)val; in Java_com_android_providers_media_leveldb_LevelDBInstance_nativeCreateInstance()
94 JNIEnv* env, jobject obj, jlong leveldbptr, jstring path) { in Java_com_android_providers_media_leveldb_LevelDBInstance_nativeQuery()
110 JNIEnv* env, jobject obj, jlong leveldbptr, jobject leveldbentry) { in Java_com_android_providers_media_leveldb_LevelDBInstance_nativeInsert()
120 JNIEnv* env, jobject obj, jlong leveldbptr, jobject entries) { in Java_com_android_providers_media_leveldb_LevelDBInstance_nativeBulkInsert()
157 JNIEnv* env, jobject obj, jlong leveldbptr, jstring key) { in Java_com_android_providers_media_leveldb_LevelDBInstance_nativeDelete()
/packages/services/Car/packages/ScriptExecutor/tests/unit/src/com/android/car/scriptexecutortest/unit/
DJniUtilsTestHelper.cpp34 bool hasValidNumberArray(JNIEnv* env, jobject object, jlong luaEnginePtr, jstring key, in hasValidNumberArray()
76 bool hasValidBooleanArray(JNIEnv* env, jobject object, jlong luaEnginePtr, jstring key, in hasValidBooleanArray()
117 JNIEXPORT jlong JNICALL
121 return static_cast<jlong>(reinterpret_cast<intptr_t>(new scriptexecutor::LuaEngine())); in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativeCreateLuaEngine()
126 JNIEnv* env, jobject object, jlong luaEnginePtr) { in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativeDestroyLuaEngine()
132 JNIEnv* env, jobject object, jlong luaEnginePtr, jobject bundle) { in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativePushBundleToLuaTableCaller()
140 JNIEnv* env, jobject object, jlong luaEnginePtr, jobject bundleList) { in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativePushBundleListToLuaTableCaller()
149 jlong luaEnginePtr, in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativeGetObjectSize()
158 JNIEnv* env, jobject object, jlong luaEnginePtr, jstring key, jboolean value) { in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativeHasBooleanValue()
176 JNIEnv* env, jobject object, jlong luaEnginePtr, jstring key, jint value) { in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativeHasIntValue()
[all …]
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp45 static jlong latinime_BinaryDictionary_open(JNIEnv *env, jclass clazz, jstring sourceDir, in latinime_BinaryDictionary_open()
46 jlong dictOffset, jlong dictSize, jboolean isUpdatable) { in latinime_BinaryDictionary_open()
68 return reinterpret_cast<jlong>(dictionary); in latinime_BinaryDictionary_open()
71 static jlong latinime_BinaryDictionary_createOnMemory(JNIEnv *env, jclass clazz, in latinime_BinaryDictionary_createOnMemory()
72 jlong formatVersion, jstring locale, jobjectArray attributeKeyStringArray, in latinime_BinaryDictionary_createOnMemory()
96 return reinterpret_cast<jlong>(dictionary); in latinime_BinaryDictionary_createOnMemory()
99 static bool latinime_BinaryDictionary_flush(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_flush()
111 jlong dict, jboolean mindsBlockByGC) { in latinime_BinaryDictionary_needsToRunGC()
117 static bool latinime_BinaryDictionary_flushWithGC(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_flushWithGC()
128 static void latinime_BinaryDictionary_close(JNIEnv *env, jclass clazz, jlong dict) { in latinime_BinaryDictionary_close()
[all …]
Dcom_android_inputmethod_latin_DicTraverseSession.cpp29 static jlong latinime_setDicTraverseSession(JNIEnv *env, jclass clazz, jstring localeJStr, in latinime_setDicTraverseSession()
30 jlong dictSize) { in latinime_setDicTraverseSession()
32 return reinterpret_cast<jlong>(traverseSession); in latinime_setDicTraverseSession()
35 static void latinime_initDicTraverseSession(JNIEnv *env, jclass clazz, jlong traverseSession, in latinime_initDicTraverseSession()
36 jlong dictionary, jintArray previousWord, jint previousWordLength) { in latinime_initDicTraverseSession()
53 static void latinime_releaseDicTraverseSession(JNIEnv *env, jclass clazz, jlong traverseSession) { in latinime_releaseDicTraverseSession()
Dcom_android_inputmethod_keyboard_ProximityInfo.cpp28 static jlong latinime_Keyboard_setProximityInfo(JNIEnv *env, jclass clazz, in latinime_Keyboard_setProximityInfo()
38 return reinterpret_cast<jlong>(proximityInfo); in latinime_Keyboard_setProximityInfo()
41 static void latinime_Keyboard_release(JNIEnv *env, jclass clazz, jlong proximityInfo) { in latinime_Keyboard_release()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_a2dp.cpp118 (jint)codec_config.channel_mode, (jlong)codec_config.codec_specific_1, in bta2dp_audio_config_callback()
119 (jlong)codec_config.codec_specific_2, in bta2dp_audio_config_callback()
120 (jlong)codec_config.codec_specific_3, in bta2dp_audio_config_callback()
121 (jlong)codec_config.codec_specific_4); in bta2dp_audio_config_callback()
133 (jlong)cap.codec_specific_1, (jlong)cap.codec_specific_2, in bta2dp_audio_config_callback()
134 (jlong)cap.codec_specific_3, (jlong)cap.codec_specific_4); in bta2dp_audio_config_callback()
149 (jlong)cap.codec_specific_1, (jlong)cap.codec_specific_2, in bta2dp_audio_config_callback()
150 (jlong)cap.codec_specific_3, (jlong)cap.codec_specific_4); in bta2dp_audio_config_callback()
223 jlong codecSpecific1 = env->CallLongMethod( in prepareCodecPreferences()
225 jlong codecSpecific2 = env->CallLongMethod( in prepareCodecPreferences()
[all …]
Dcom_android_bluetooth_gatt.cpp40 static Uuid from_java_uuid(jlong uuid_msb, jlong uuid_lsb) { in from_java_uuid()
1318 jlong app_uuid_lsb, jlong app_uuid_msb, in gattClientRegisterAppNative()
1341 jlong app_uuid_lsb, jlong app_uuid_msb) { in registerScannerNative()
1420 jlong service_uuid_lsb, in gattClientSearchServiceNative()
1421 jlong service_uuid_msb) { in gattClientSearchServiceNative()
1431 jlong service_uuid_lsb, in gattClientDiscoverServiceByUuidNative()
1432 jlong service_uuid_msb) { in gattClientDiscoverServiceByUuidNative()
1456 JNIEnv* /* env */, jobject /* object */, jint conn_id, jlong uuid_lsb, in gattClientReadUsingCharacteristicUuidNative()
1457 jlong uuid_msb, jint s_handle, jint e_handle, jint authReq) { in gattClientReadUsingCharacteristicUuidNative()
1738 jlong uuid_msb = env->CallLongMethod(uuid.get(), uuidGetMsb); in gattClientScanFilterAddNative()
[all …]
/packages/modules/Connectivity/remoteauth/service/jni/src/
Dremoteauth_jni_android_platform.rs22 use jni::sys::{jbyteArray, jint, jlong, jvalue};
234 platform_handle: jlong, in Java_com_android_server_remoteauth_jni_NativeRemoteAuthJavaPlatform_native_on_send_request_success() argument
235 response_handle: jlong, in Java_com_android_server_remoteauth_jni_NativeRemoteAuthJavaPlatform_native_on_send_request_success() argument
244 platform_handle: jlong, in native_on_send_request_success() argument
245 response_handle: jlong, in native_on_send_request_success() argument
266 platform_handle: jlong, in Java_com_android_server_remoteauth_jni_NativeRemoteAuthJavaPlatform_native_on_send_request_error() argument
267 response_handle: jlong, in Java_com_android_server_remoteauth_jni_NativeRemoteAuthJavaPlatform_native_on_send_request_error() argument
276 platform_handle: jlong, in native_on_send_request_error() argument
277 response_handle: jlong, in native_on_send_request_error() argument
/packages/modules/Connectivity/framework/jni/
Dandroid_net_NetworkUtils.cpp88 jlong netHandle) in android_net_utils_bindProcessToNetworkHandle()
93 static jlong android_net_utils_getBoundNetworkHandleForProcess(JNIEnv *env, jclass clazz) in android_net_utils_getBoundNetworkHandleForProcess()
101 return (jlong) network; in android_net_utils_getBoundNetworkHandleForProcess()
105 jint netId, jlong netHandle) in android_net_utils_bindProcessToNetworkForHostResolution()
111 jlong netHandle) { in android_net_utils_bindSocketToNetworkHandle()
124 static jobject android_net_utils_resNetworkQuery(JNIEnv *env, jclass clazz, jlong netHandle, in android_net_utils_resNetworkQuery()
145 static jobject android_net_utils_resNetworkSend(JNIEnv *env, jclass clazz, jlong netHandle, in android_net_utils_resNetworkSend()
206 static_cast<jlong>(dnsNetHandle)); in android_net_utils_getDnsNetwork()
/packages/services/Car/packages/ScriptExecutor/src/
DScriptExecutorJni.cpp31 JNIEXPORT jlong JNICALL Java_com_android_car_scriptexecutor_ScriptExecutor_nativeInitLuaEngine( in Java_com_android_car_scriptexecutor_ScriptExecutor_nativeInitLuaEngine()
34 return static_cast<jlong>(reinterpret_cast<intptr_t>(new LuaEngine())); in Java_com_android_car_scriptexecutor_ScriptExecutor_nativeInitLuaEngine()
38 JNIEnv* env, jobject object, jlong luaEnginePtr) { in Java_com_android_car_scriptexecutor_ScriptExecutor_nativeDestroyLuaEngine()
69 JNIEnv* env, jobject object, jlong luaEnginePtr, jstring scriptBody, jstring functionName, in Java_com_android_car_scriptexecutor_ScriptExecutor_nativeInvokeScript()
/packages/modules/Uwb/indev_uwb_adaptation/jni/src/
Dapi.rs21 use jni::sys::{jboolean, jbyte, jbyteArray, jint, jlong, jobject, jvalue};
69 ) -> jlong { in Java_com_android_server_uwb_indev_UwbServiceCore_nativeUwbServiceNew() argument
75 return *JObject::null() as jlong; in Java_com_android_server_uwb_indev_UwbServiceCore_nativeUwbServiceNew()
82 return *JObject::null() as jlong; in Java_com_android_server_uwb_indev_UwbServiceCore_nativeUwbServiceNew()
89 return *JObject::null() as jlong; in Java_com_android_server_uwb_indev_UwbServiceCore_nativeUwbServiceNew()
96 return *JObject::null() as jlong; in Java_com_android_server_uwb_indev_UwbServiceCore_nativeUwbServiceNew()
108 return *JObject::null() as jlong; in Java_com_android_server_uwb_indev_UwbServiceCore_nativeUwbServiceNew()
119 return Box::into_raw(Box::new(service_wrapper)) as jlong; in Java_com_android_server_uwb_indev_UwbServiceCore_nativeUwbServiceNew()
123 *JObject::null() as jlong in Java_com_android_server_uwb_indev_UwbServiceCore_nativeUwbServiceNew()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/jni/
Dlibimsmediajni.cpp114 static jlong JNIImsMediaService_getInterface( in JNIImsMediaService_getInterface()
125 return static_cast<jlong>(reinterpret_cast<long>(manager)); in JNIImsMediaService_getInterface()
129 JNIEnv* env, jobject, jlong nativeObj, jint sessionId, jbyteArray baData) in JNIImsMediaService_sendMessage()
147 JNIEnv* env, jobject, jlong nativeObj, jint sessionId, jobject surface) in JNIImsMediaService_setPreviewSurface()
158 JNIEnv* env, jobject, jlong nativeObj, jint sessionId, jobject surface) in JNIImsMediaService_setDisplaySurface()
/packages/modules/StatsD/apex/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()
50 jlong coolDownMillis, jint pullRetVal, jlong latencyMillis, int atomsPerPull) { in Java_com_android_internal_os_statsd_libstats_LibStatsPullTests_setStatsPuller()
/packages/modules/Connectivity/tests/cts/net/jni/
DNativeMultinetworkJni.cpp175 JNIEnv* env, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runResNqueryCheck()
193 JNIEnv* env, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
236 JNIEnv* env, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runResNnxDomainCheck()
273 JNIEnv* env, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runResNcancelCheck()
287 JNIEnv* env, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runResNapiMalformedCheck()
346 JNIEnv*, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runGetaddrinfoCheck()
362 JNIEnv*, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runSetprocnetwork()
375 JNIEnv*, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runSetsocknetwork()
420 JNIEnv*, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck()
/packages/apps/Gallery2/jni_jpegstream/src/
Djpegstream.cpp76 env->SetLongField(thiz, fidNumber, reinterpret_cast<jlong>(w_ptr)); in OutputStream_setup()
140 env->SetLongField(thiz, fidNumber, reinterpret_cast<jlong>(r_ptr)); in InputStream_setup()
157 jlong ptr = env->GetLongField(thiz, fidNumber); in getWPtr()
178 jlong ptr = env->GetLongField(thiz, fidNumber); in getRPtr()
202 env->SetLongField(thiz, fidNumber, reinterpret_cast<jlong>(w_ptr)); in OutputStream_cleanup()
217 env->SetLongField(thiz, fidNumber, reinterpret_cast<jlong>(r_ptr)); in InputStream_cleanup()
/packages/services/DeviceAsWebcam/jni/
DDeviceAsWebcamNative.cpp92 jlong timestamp, in com_android_DeviceAsWebcam_encodeImage()
134 jlong jTimestamp = static_cast<jlong>(timestamp); in returnImage()
DDeviceAsWebcamServiceManager.h43 int encodeImage(JNIEnv* env, jobject hardwareBuffer, jlong timestamp, jint rotation);
/packages/modules/Media/apex/framework/jni/
Dandroid_media_MediaParserJNI.cpp71 jlong resourceByteCount, jlong durationMillis, jstring trackMimeTypesJstring, in JNI_FUNCTION()
/packages/modules/OnDevicePersonalization/federatedcompute/jni/cpp/
Dlog_manager_wrapper_impl.cc108 static_cast<jlong>(value)); in LogToLongHistogram()
113 static_cast<jlong>(value)); in LogToLongHistogram()

12