/packages/modules/Bluetooth/android/app/jni/ |
D | jni_logging.h | 25 #define LOG_EX(env, priority, tag, ...) \ argument 27 #define LOGV_EX(env, ...) LOG_EX(env, LOG_VERBOSE, LOG_TAG, ##__VA_ARGS__) argument 28 #define LOGD_EX(env, ...) LOG_EX(env, LOG_DEBUG, LOG_TAG, ##__VA_ARGS__) argument 29 #define LOGI_EX(env, ...) LOG_EX(env, LOG_INFO, LOG_TAG, ##__VA_ARGS__) argument 30 #define LOGW_EX(env, ...) LOG_EX(env, LOG_WARN, LOG_TAG, ##__VA_ARGS__) argument 31 #define LOGE_EX(env, ...) LOG_EX(env, LOG_ERROR, LOG_TAG, ##__VA_ARGS__) argument
|
D | com_android_bluetooth_a2dp_sink.cpp | 97 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 110 static void initNative(JNIEnv* env, jobject object, in initNative() 149 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 168 static jboolean connectA2dpNative(JNIEnv* env, jobject object, in connectA2dpNative() 189 static jboolean disconnectA2dpNative(JNIEnv* env, jobject object, in disconnectA2dpNative() 209 static void informAudioFocusStateNative(JNIEnv* env, jobject object, in informAudioFocusStateNative() 215 static void informAudioTrackGainNative(JNIEnv* env, jobject object, in informAudioTrackGainNative() 221 static jboolean setActiveDeviceNative(JNIEnv* env, jobject object, in setActiveDeviceNative() 255 int register_com_android_bluetooth_a2dp_sink(JNIEnv* env) { in register_com_android_bluetooth_a2dp_sink()
|
D | com_android_bluetooth_vc.cpp | 201 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 226 static void initNative(JNIEnv* env, jobject object) { in initNative() 263 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 284 static jboolean connectVolumeControlNative(JNIEnv* env, jobject object, in connectVolumeControlNative() 307 static jboolean disconnectVolumeControlNative(JNIEnv* env, jobject object, in disconnectVolumeControlNative() 330 static void setVolumeNative(JNIEnv* env, jobject object, jbyteArray address, in setVolumeNative() 349 static void setGroupVolumeNative(JNIEnv* env, jobject object, jint group_id, in setGroupVolumeNative() 360 static void muteNative(JNIEnv* env, jobject object, jbyteArray address) { in muteNative() 378 static void muteGroupNative(JNIEnv* env, jobject object, jint group_id) { in muteGroupNative() 387 static void unmuteNative(JNIEnv* env, jobject object, jbyteArray address) { in unmuteNative() [all …]
|
D | com_android_bluetooth_le_audio.cpp | 98 jobject prepareCodecConfigObj(JNIEnv* env, in prepareCodecConfigObj() 108 JNIEnv* env, std::vector<btle_audio_codec_config_t> codecConfigs) { in prepareArrayOfCodecConfigs() 277 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 307 JNIEnv* env, jobject object, jobjectArray codecConfigArray) { in prepareCodecPreferences() 332 static void initNative(JNIEnv* env, jobject object, in initNative() 378 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 402 static jboolean connectLeAudioNative(JNIEnv* env, jobject object, in connectLeAudioNative() 420 static jboolean disconnectLeAudioNative(JNIEnv* env, jobject object, in disconnectLeAudioNative() 438 static jboolean groupAddNodeNative(JNIEnv* env, jobject object, jint group_id, in groupAddNodeNative() 460 static jboolean groupRemoveNodeNative(JNIEnv* env, jobject object, in groupRemoveNodeNative() [all …]
|
D | com_android_bluetooth_hearing_aid.cpp | 90 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 100 static void initNative(JNIEnv* env, jobject object) { in initNative() 137 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 158 static jboolean connectHearingAidNative(JNIEnv* env, jobject object, in connectHearingAidNative() 176 static jboolean disconnectHearingAidNative(JNIEnv* env, jobject object, in disconnectHearingAidNative() 194 static jboolean addToAcceptlistNative(JNIEnv* env, jobject object, in addToAcceptlistNative() 210 static void setVolumeNative(JNIEnv* env, jclass clazz, jint volume) { in setVolumeNative() 229 int register_com_android_bluetooth_hearing_aid(JNIEnv* env) { in register_com_android_bluetooth_hearing_aid()
|
D | com_android_bluetooth_hid_device.cpp | 153 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 168 static void initNative(JNIEnv* env, jobject object) { in initNative() 208 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 226 static void fill_qos(JNIEnv* env, jintArray in, bthd_qos_param_t* out) { in fill_qos() 255 static jboolean registerAppNative(JNIEnv* env, jobject thiz, jstring name, in registerAppNative() 309 static jboolean unregisterAppNative(JNIEnv* env, jobject thiz) { in unregisterAppNative() 332 static jboolean sendReportNative(JNIEnv* env, jobject thiz, jint id, in sendReportNative() 363 static jboolean replyReportNative(JNIEnv* env, jobject thiz, jbyte type, in replyReportNative() 400 static jboolean reportErrorNative(JNIEnv* env, jobject thiz, jbyte error) { in reportErrorNative() 423 static jboolean unplugNative(JNIEnv* env, jobject thiz) { in unplugNative() [all …]
|
D | com_android_bluetooth_hid_host.cpp | 191 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 204 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative() 241 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 263 static jboolean connectHidNative(JNIEnv* env, jobject object, in connectHidNative() 284 static jboolean disconnectHidNative(JNIEnv* env, jobject object, in disconnectHidNative() 306 static jboolean getProtocolModeNative(JNIEnv* env, jobject object, in getProtocolModeNative() 330 static jboolean virtualUnPlugNative(JNIEnv* env, jobject object, in virtualUnPlugNative() 351 static jboolean setProtocolModeNative(JNIEnv* env, jobject object, in setProtocolModeNative() 388 static jboolean getReportNative(JNIEnv* env, jobject object, jbyteArray address, in getReportNative() 416 static jboolean setReportNative(JNIEnv* env, jobject object, jbyteArray address, in setReportNative() [all …]
|
D | com_android_bluetooth_sdp.cpp | 54 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative() 78 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 104 static jboolean sdpSearchNative(JNIEnv* env, jobject obj, jbyteArray address, in sdpSearchNative() 247 static jint sdpCreateMapMasRecordNative(JNIEnv* env, jobject obj, in sdpCreateMapMasRecordNative() 286 static jint sdpCreateMapMnsRecordNative(JNIEnv* env, jobject obj, in sdpCreateMapMnsRecordNative() 323 static jint sdpCreatePbapPceRecordNative(JNIEnv* env, jobject obj, in sdpCreatePbapPceRecordNative() 354 static jint sdpCreatePbapPseRecordNative(JNIEnv* env, jobject obj, in sdpCreatePbapPseRecordNative() 393 static jint sdpCreateOppOpsRecordNative(JNIEnv* env, jobject obj, in sdpCreateOppOpsRecordNative() 442 static jint sdpCreateSapsRecordNative(JNIEnv* env, jobject obj, in sdpCreateSapsRecordNative() 475 static jboolean sdpRemoveSdpRecordNative(JNIEnv* env, jobject obj, in sdpRemoveSdpRecordNative() [all …]
|
D | com_android_bluetooth_btservice_AdapterService.cpp | 473 static jobject createClassicOobDataObject(JNIEnv* env, bt_oob_data_t oob_data) { in createClassicOobDataObject() 532 static jobject createLeOobDataObject(JNIEnv* env, bt_oob_data_t oob_data) { in createLeOobDataObject() 794 JNIEnv* env = attacher.getEnv(); in set_wake_alarm_callout() local 818 JNIEnv* env = attacher.getEnv(); in acquire_wake_lock_callout() local 843 JNIEnv* env = attacher.getEnv(); in release_wake_lock_callout() local 868 static void alarmFiredNative(JNIEnv* env, jobject obj) { in alarmFiredNative() 918 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 987 static bool initNative(JNIEnv* env, jobject obj, jboolean isGuest, in initNative() 1057 static bool cleanupNative(JNIEnv* env, jobject obj) { in cleanupNative() 1082 static jboolean enableNative(JNIEnv* env, jobject obj) { in enableNative() [all …]
|
/packages/modules/Connectivity/framework/jni/ |
D | android_net_NetworkUtils.cpp | 43 static inline jclass FindClassOrDie(JNIEnv* env, const char* class_name) { in FindClassOrDie() 50 static inline T MakeGlobalRefOrDie(JNIEnv* env, T in) { in MakeGlobalRefOrDie() 56 static void android_net_utils_attachDropAllBPFFilter(JNIEnv *env, jobject clazz, jobject javaFd) in android_net_utils_attachDropAllBPFFilter() 74 static void android_net_utils_detachBPFFilter(JNIEnv *env, jobject clazz, jobject javaFd) in android_net_utils_detachBPFFilter() 85 static jboolean android_net_utils_bindProcessToNetworkHandle(JNIEnv *env, jobject thiz, in android_net_utils_bindProcessToNetworkHandle() 91 static jlong android_net_utils_getBoundNetworkHandleForProcess(JNIEnv *env, jobject thiz) in android_net_utils_getBoundNetworkHandleForProcess() 102 static jboolean android_net_utils_bindProcessToNetworkForHostResolution(JNIEnv *env, jobject thiz, in android_net_utils_bindProcessToNetworkForHostResolution() 108 static jint android_net_utils_bindSocketToNetworkHandle(JNIEnv *env, jobject thiz, jobject javaFd, in android_net_utils_bindSocketToNetworkHandle() 113 static bool checkLenAndCopy(JNIEnv* env, const jbyteArray& addr, int len, void* dst) in checkLenAndCopy() 122 static jobject android_net_utils_resNetworkQuery(JNIEnv *env, jobject thiz, jlong netHandle, in android_net_utils_resNetworkQuery() [all …]
|
/packages/providers/MediaProvider/jni/ |
D | MediaProviderWrapper.cpp | 57 static bool CheckForJniException(JNIEnv* env) { in CheckForJniException() 69 static jfieldID CacheField(JNIEnv* env, jclass clazz, const char field_name[], const char type[]) { in CacheField() 79 int insertFileInternal(JNIEnv* env, jobject media_provider_object, jmethodID mid_insert_file, in insertFileInternal() 90 int deleteFileInternal(JNIEnv* env, jobject media_provider_object, jmethodID mid_delete_file, in deleteFileInternal() 101 int isDirAccessAllowedInternal(JNIEnv* env, jobject media_provider_object, in isDirAccessAllowedInternal() 114 bool isUidAllowedAccessToDataOrObbPathInternal(JNIEnv* env, jobject media_provider_object, in isUidAllowedAccessToDataOrObbPathInternal() 128 JNIEnv* env, jobject media_provider_object, jmethodID mid_get_files_in_dir, uid_t uid, in getFilesInDirectoryInternal() 174 int renameInternal(JNIEnv* env, jobject media_provider_object, jmethodID mid_rename, in renameInternal() 187 void onFileCreatedInternal(JNIEnv* env, jobject media_provider_object, in onFileCreatedInternal() 212 MediaProviderWrapper::MediaProviderWrapper(JNIEnv* env, jobject media_provider) { in MediaProviderWrapper() [all …]
|
D | com_android_providers_media_FuseDaemon.cpp | 40 JNIEnv* env, jobjectArray java_object_array, const std::string& element_description) { in convert_object_array_to_string_vector() 62 JNIEnv* env, jobjectArray java_supported_transcoding_relative_paths) { in get_supported_transcoding_relative_paths() 68 JNIEnv* env, jobjectArray java_supported_uncached_relative_paths) { in get_supported_uncached_relative_paths() 73 jlong com_android_providers_media_FuseDaemon_new(JNIEnv* env, jobject self, in com_android_providers_media_FuseDaemon_new() 80 JNIEnv* env, jobject self, jlong java_daemon, jint fd, jstring java_path, in com_android_providers_media_FuseDaemon_start() 103 bool com_android_providers_media_FuseDaemon_is_started(JNIEnv* env, jobject self, in com_android_providers_media_FuseDaemon_is_started() 110 void com_android_providers_media_FuseDaemon_delete(JNIEnv* env, jobject self, jlong java_daemon) { in com_android_providers_media_FuseDaemon_delete() 116 jboolean com_android_providers_media_FuseDaemon_should_open_with_fuse(JNIEnv* env, jobject self, in com_android_providers_media_FuseDaemon_should_open_with_fuse() 134 jboolean com_android_providers_media_FuseDaemon_uses_fuse_passthrough(JNIEnv* env, jobject self, in com_android_providers_media_FuseDaemon_uses_fuse_passthrough() 143 void com_android_providers_media_FuseDaemon_invalidate_fuse_dentry_cache(JNIEnv* env, jobject self, in com_android_providers_media_FuseDaemon_invalidate_fuse_dentry_cache() [all …]
|
/packages/modules/Connectivity/service/jni/ |
D | com_android_server_BpfNetMaps.cpp | 42 static void native_init(JNIEnv* env, jobject clazz) { in native_init() 49 static jint native_addNaughtyApp(JNIEnv* env, jobject clazz, jint uid) { in native_addNaughtyApp() 59 static jint native_removeNaughtyApp(JNIEnv* env, jobject clazz, jint uid) { in native_removeNaughtyApp() 69 static jint native_addNiceApp(JNIEnv* env, jobject clazz, jint uid) { in native_addNiceApp() 79 static jint native_removeNiceApp(JNIEnv* env, jobject clazz, jint uid) { in native_removeNiceApp() 89 static jint native_setChildChain(JNIEnv* env, jobject clazz, jint childChain, jboolean enable) { in native_setChildChain() 98 static jint native_replaceUidChain(JNIEnv* env, jobject clazz, jstring name, jboolean isAllowlist, in native_replaceUidChain() 121 static jint native_setUidRule(JNIEnv* env, jobject clazz, jint childChain, jint uid, in native_setUidRule() 134 static jint native_addUidInterfaceRules(JNIEnv* env, jobject clazz, jstring ifName, in native_addUidInterfaceRules() 162 static jint native_removeUidInterfaceRules(JNIEnv* env, jobject clazz, jintArray jUids) { in native_removeUidInterfaceRules() [all …]
|
D | com_android_server_connectivity_ClatCoordinator.cpp | 53 static void throwIOException(JNIEnv* env, const char* msg, int error) { in throwIOException() 57 jstring com_android_server_connectivity_ClatCoordinator_selectIpv4Address(JNIEnv* env, in com_android_server_connectivity_ClatCoordinator_selectIpv4Address() 90 JNIEnv* env, jobject clazz, jstring ifaceStr, jstring v4Str, jstring prefix64Str) { in com_android_server_connectivity_ClatCoordinator_generateIpv6Address() 129 static jint com_android_server_connectivity_ClatCoordinator_createTunInterface(JNIEnv* env, in com_android_server_connectivity_ClatCoordinator_createTunInterface() 157 static jint com_android_server_connectivity_ClatCoordinator_detectMtu(JNIEnv* env, jobject clazz, in com_android_server_connectivity_ClatCoordinator_detectMtu() 178 static jint com_android_server_connectivity_ClatCoordinator_openPacketSocket(JNIEnv* env, in com_android_server_connectivity_ClatCoordinator_openPacketSocket() 190 static jint com_android_server_connectivity_ClatCoordinator_openRawSocket6(JNIEnv* env, in com_android_server_connectivity_ClatCoordinator_openRawSocket6() 210 JNIEnv* env, jobject clazz, jobject javaFd, jstring addr6, jint ifindex) { in com_android_server_connectivity_ClatCoordinator_addAnycastSetsockopt() 236 JNIEnv* env, jobject clazz, jobject javaFd, jstring addr6, jint ifindex) { in com_android_server_connectivity_ClatCoordinator_configurePacketSocket() 260 JNIEnv* env, jobject clazz, jobject tunJavaFd, jobject readSockJavaFd, in com_android_server_connectivity_ClatCoordinator_startClatd() [all …]
|
D | com_android_server_TestNetworkService.cpp | 48 static void throwException(JNIEnv* env, int error, const char* action, const char* iface) { in throwException() 54 static int createTunTapInterface(JNIEnv* env, bool isTun, const char* iface) { in createTunTapInterface() 82 static jint create(JNIEnv* env, jobject /* thiz */, jboolean isTun, jstring jIface) { in create() 101 int register_com_android_server_TestNetworkService(JNIEnv* env) { in register_com_android_server_TestNetworkService()
|
/packages/services/Car/packages/ScriptExecutor/src/ |
D | ScriptExecutorListener.cpp | 30 JNIEnv* env = getCurrentJNIEnv(); in ~ScriptExecutorListener() local 36 ScriptExecutorListener::ScriptExecutorListener(JNIEnv* env, jobject scriptExecutorListener) { in ScriptExecutorListener() 42 JNIEnv* env = getCurrentJNIEnv(); in onSuccess() local 50 JNIEnv* env = getCurrentJNIEnv(); in onScriptFinished() local 59 JNIEnv* env = getCurrentJNIEnv(); in onError() local 81 JNIEnv* env = getCurrentJNIEnv(); in onMetricsReport() local 90 JNIEnv* env; in getCurrentJNIEnv() local
|
/packages/modules/Uwb/service/uci/jni/ |
D | UwbEventManager.cpp | 67 ScopedJniEnv env(mVm); in onRangeDataNotificationReceived() local 173 ScopedJniEnv env(mVm); in onRawUciNotificationReceived() local 209 ScopedJniEnv env(mVm); in onSessionStatusNotificationReceived() local 233 ScopedJniEnv env(mVm); in onDeviceStateNotificationReceived() local 257 ScopedJniEnv env(mVm); in onCoreGenericErrorNotificationReceived() local 283 ScopedJniEnv env(mVm); in onMulticastListUpdateNotificationReceived() local 355 ScopedJniEnv env(mVm); in onBlinkDataTxNotificationReceived() local 378 ScopedJniEnv env(mVm); in onVendorUciNotificationReceived() local 407 ScopedJniEnv env(mVm); in onVendorDeviceInfo() local 423 void UwbEventManager::doLoadSymbols(JNIEnv *env, jobject thiz) { in doLoadSymbols()
|
/packages/apps/TV/jni/ |
D | DvbManager.cpp | 40 DvbManager::DvbManager(JNIEnv *env, jobject) in DvbManager() 117 int DvbManager::tune(JNIEnv *env, jobject thiz, in tune() 123 int DvbManager::tune(JNIEnv *env, jobject thiz, in tune() 130 int DvbManager::tuneInternal(JNIEnv *env, jobject thiz, in tuneInternal() 311 int DvbManager::openDvbFeFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbFeFromSystemApi() 317 int DvbManager::openDvbDemuxFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbDemuxFromSystemApi() 323 int DvbManager::openDvbDvrFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbDvrFromSystemApi() 329 int DvbManager::openDvbFe(JNIEnv *env, jobject thiz) { in openDvbFe() 361 int DvbManager::startTsPidFilter(JNIEnv *env, jobject thiz, int pid, int filterType) { in startTsPidFilter() 440 int DvbManager::openDvbDvr(JNIEnv *env, jobject thiz) { in openDvbDvr() [all …]
|
/packages/services/Car/packages/ScriptExecutor/tests/unit/src/com/android/car/scriptexecutortest/unit/ |
D | JniUtilsTestHelper.cpp | 34 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() 118 Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativeCreateLuaEngine(JNIEnv* env, 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() 147 Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativeGetObjectSize(JNIEnv* env, 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() 196 JNIEnv* env, jobject object, jlong luaEnginePtr, jstring key, jdouble value) { in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativeHasDoubleValue() [all …]
|
/packages/modules/Connectivity/Tethering/jni/ |
D | com_android_networkstack_tethering_util_TetheringUtils.cpp | 37 static void throwSocketException(JNIEnv *env, const char* msg, int error) { in throwSocketException() 41 static void com_android_networkstack_tethering_util_setupIcmpFilter(JNIEnv *env, jobject javaFd, in com_android_networkstack_tethering_util_setupIcmpFilter() 68 static void com_android_networkstack_tethering_util_setupNaSocket(JNIEnv *env, jobject clazz, in com_android_networkstack_tethering_util_setupNaSocket() 73 static void com_android_networkstack_tethering_util_setupNsSocket(JNIEnv *env, jobject clazz, in com_android_networkstack_tethering_util_setupNsSocket() 78 static void com_android_networkstack_tethering_util_setupRaSocket(JNIEnv *env, jobject clazz, in com_android_networkstack_tethering_util_setupRaSocket() 174 int register_com_android_networkstack_tethering_util_TetheringUtils(JNIEnv* env) { in register_com_android_networkstack_tethering_util_TetheringUtils()
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
D | jpegstream.cpp | 31 static jint OutputStream_setup(JNIEnv* env, jobject thiz, jobject out, in OutputStream_setup() 84 static jint InputStream_setup(JNIEnv* env, jobject thiz, jobject dimens, in InputStream_setup() 148 static JpegWriter* getWPtr(JNIEnv* env, jobject thiz, jfieldID* fid) { in getWPtr() 169 static JpegReader* getRPtr(JNIEnv* env, jobject thiz, jfieldID* fid) { in getRPtr() 190 static void OutputStream_cleanup(JNIEnv* env, jobject thiz) { in OutputStream_cleanup() 205 static void InputStream_cleanup(JNIEnv* env, jobject thiz) { in InputStream_cleanup() 220 static jint OutputStream_writeInputBytes(JNIEnv* env, jobject thiz, in OutputStream_writeInputBytes() 246 static jint InputStream_readDecodedBytes(JNIEnv* env, jobject thiz, in InputStream_readDecodedBytes() 276 static jint InputStream_skipDecodedBytes(JNIEnv* env, jobject thiz, in InputStream_skipDecodedBytes() 311 static int registerNativeMethods(JNIEnv* env, const char* className, in registerNativeMethods() [all …]
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 45 static jlong latinime_BinaryDictionary_open(JNIEnv *env, jclass clazz, jstring sourceDir, in latinime_BinaryDictionary_open() 71 static jlong latinime_BinaryDictionary_createOnMemory(JNIEnv *env, jclass clazz, in latinime_BinaryDictionary_createOnMemory() 99 static bool latinime_BinaryDictionary_flush(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_flush() 110 static bool latinime_BinaryDictionary_needsToRunGC(JNIEnv *env, jclass clazz, 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() 134 static void latinime_BinaryDictionary_getHeaderInfo(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_getHeaderInfo() 170 static int latinime_BinaryDictionary_getFormatVersion(JNIEnv *env, jclass clazz, jlong dict) { in latinime_BinaryDictionary_getFormatVersion() 178 static void latinime_BinaryDictionary_getSuggestions(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_getSuggestions() 263 static jint latinime_BinaryDictionary_getProbability(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_getProbability() [all …]
|
/packages/modules/Uwb/service/uci/jni/rfTest/ |
D | UwbRfTestManager.cpp | 81 ScopedJniEnv env(mVm); in onPeriodicTxDataNotificationReceived() local 112 ScopedJniEnv env(mVm); in onPerRxDataNotificationReceived() local 163 ScopedJniEnv env(mVm); in onLoopBackTestDataNotificationReceived() local 216 ScopedJniEnv env(mVm); in onRxTestDataNotificationReceived() local 266 void UwbRfTestManager::doLoadSymbols(JNIEnv *env, jobject thiz) { in doLoadSymbols() 318 jbyteArray UwbRfTestManager::setTestConfigurations(JNIEnv *env, jobject o, in setTestConfigurations() 387 jbyteArray UwbRfTestManager::getTestConfigurations(JNIEnv *env, jobject o, in getTestConfigurations() 448 jbyte UwbRfTestManager::startPerRxTest(JNIEnv *env, jobject o, in startPerRxTest() 513 jbyte UwbRfTestManager::startPeriodicTxTest(JNIEnv *env, jobject o, in startPeriodicTxTest() 579 jbyte UwbRfTestManager::startUwbLoopBackTest(JNIEnv *env, jobject o, in startUwbLoopBackTest() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.h | 34 static void jintarrayToVector(JNIEnv *env, jintArray array, std::vector<int> *const outVector) { in jintarrayToVector() 44 static DictionaryHeaderStructurePolicy::AttributeMap constructAttributeMap(JNIEnv *env, in constructAttributeMap() 73 static void outputCodePoints(JNIEnv *env, jintArray intArrayToOutputCodePoints, const int start, in outputCodePoints() 102 static NgramContext constructNgramContext(JNIEnv *env, jobjectArray prevWordCodePointArrays, in constructNgramContext() 130 static void putBooleanToArray(JNIEnv *env, jbooleanArray array, const int index, in putBooleanToArray() 135 static void putIntToArray(JNIEnv *env, jintArray array, const int index, const int value) { in putIntToArray() 139 static void putFloatToArray(JNIEnv *env, jfloatArray array, const int index, in putFloatToArray()
|
/packages/modules/NetworkStack/jni/ |
D | network_stack_utils_jni.cpp | 54 static bool checkLenAndCopy(JNIEnv* env, const jbyteArray& addr, int len, void* dst) { in checkLenAndCopy() 62 static void network_stack_utils_addArpEntry(JNIEnv *env, jobject thiz, jbyteArray ethAddr, in network_stack_utils_addArpEntry() 101 static void network_stack_utils_attachDhcpFilter(JNIEnv *env, jobject clazz, jobject javaFd) { in network_stack_utils_attachDhcpFilter() 134 static void network_stack_utils_attachRaFilter(JNIEnv *env, jobject clazz, jobject javaFd, in network_stack_utils_attachRaFilter() 169 JNIEnv *env, jobject clazz, jobject javaFd, jint hardwareAddressType) { in network_stack_utils_attachControlPacketFilter() 254 JNIEnv *env; in JNI_OnLoad() local
|