/packages/apps/Bluetooth/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 | 99 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 112 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_hearing_aid.cpp | 92 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 102 static void initNative(JNIEnv* env, jobject object) { in initNative() 139 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 160 static jboolean connectHearingAidNative(JNIEnv* env, jobject object, in connectHearingAidNative() 178 static jboolean disconnectHearingAidNative(JNIEnv* env, jobject object, in disconnectHearingAidNative() 196 static jboolean addToWhiteListNative(JNIEnv* env, jobject object, in addToWhiteListNative() 212 static void setVolumeNative(JNIEnv* env, jclass clazz, jint volume) { in setVolumeNative() 231 int register_com_android_bluetooth_hearing_aid(JNIEnv* env) { in register_com_android_bluetooth_hearing_aid()
|
D | com_android_bluetooth_hid_device.cpp | 155 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 170 static void initNative(JNIEnv* env, jobject object) { in initNative() 210 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 228 static void fill_qos(JNIEnv* env, jintArray in, bthd_qos_param_t* out) { in fill_qos() 257 static jboolean registerAppNative(JNIEnv* env, jobject thiz, jstring name, in registerAppNative() 311 static jboolean unregisterAppNative(JNIEnv* env, jobject thiz) { in unregisterAppNative() 334 static jboolean sendReportNative(JNIEnv* env, jobject thiz, jint id, in sendReportNative() 365 static jboolean replyReportNative(JNIEnv* env, jobject thiz, jbyte type, in replyReportNative() 402 static jboolean reportErrorNative(JNIEnv* env, jobject thiz, jbyte error) { in reportErrorNative() 425 static jboolean unplugNative(JNIEnv* env, jobject thiz) { in unplugNative() [all …]
|
D | com_android_bluetooth_pan.cpp | 104 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 114 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative() 157 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 174 static jboolean enablePanNative(JNIEnv* env, jobject object, jint local_role) { in enablePanNative() 181 static jint getPanLocalRoleNative(JNIEnv* env, jobject object) { in getPanLocalRoleNative() 189 static jboolean connectPanNative(JNIEnv* env, jobject object, in connectPanNative() 212 static jboolean disconnectPanNative(JNIEnv* env, jobject object, in disconnectPanNative() 244 int register_com_android_bluetooth_pan(JNIEnv* env) { in register_com_android_bluetooth_pan()
|
D | com_android_bluetooth_btservice_AdapterService.cpp | 514 JNIEnv* env = attacher.getEnv(); in set_wake_alarm_callout() local 538 JNIEnv* env = attacher.getEnv(); in acquire_wake_lock_callout() local 563 JNIEnv* env = attacher.getEnv(); in release_wake_lock_callout() local 588 static void alarmFiredNative(JNIEnv* env, jobject obj) { in alarmFiredNative() 633 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 683 static bool initNative(JNIEnv* env, jobject obj, jboolean isGuest, in initNative() 746 static bool cleanupNative(JNIEnv* env, jobject obj) { in cleanupNative() 771 static jboolean enableNative(JNIEnv* env, jobject obj) { in enableNative() 780 static jboolean disableNative(JNIEnv* env, jobject obj) { in disableNative() 793 static jboolean startDiscoveryNative(JNIEnv* env, jobject obj) { in startDiscoveryNative() [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() 101 static jboolean sdpSearchNative(JNIEnv* env, jobject obj, jbyteArray address, in sdpSearchNative() 233 static jint sdpCreateMapMasRecordNative(JNIEnv* env, jobject obj, in sdpCreateMapMasRecordNative() 272 static jint sdpCreateMapMnsRecordNative(JNIEnv* env, jobject obj, in sdpCreateMapMnsRecordNative() 309 static jint sdpCreatePbapPceRecordNative(JNIEnv* env, jobject obj, in sdpCreatePbapPceRecordNative() 340 static jint sdpCreatePbapPseRecordNative(JNIEnv* env, jobject obj, in sdpCreatePbapPseRecordNative() 379 static jint sdpCreateOppOpsRecordNative(JNIEnv* env, jobject obj, in sdpCreateOppOpsRecordNative() 428 static jint sdpCreateSapsRecordNative(JNIEnv* env, jobject obj, in sdpCreateSapsRecordNative() 461 static jboolean sdpRemoveSdpRecordNative(JNIEnv* env, jobject obj, in sdpRemoveSdpRecordNative() [all …]
|
D | com_android_bluetooth_hid_host.cpp | 193 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 206 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative() 243 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 265 static jboolean connectHidNative(JNIEnv* env, jobject object, in connectHidNative() 286 static jboolean disconnectHidNative(JNIEnv* env, jobject object, in disconnectHidNative() 308 static jboolean getProtocolModeNative(JNIEnv* env, jobject object, in getProtocolModeNative() 332 static jboolean virtualUnPlugNative(JNIEnv* env, jobject object, in virtualUnPlugNative() 353 static jboolean setProtocolModeNative(JNIEnv* env, jobject object, in setProtocolModeNative() 390 static jboolean getReportNative(JNIEnv* env, jobject object, jbyteArray address, in getReportNative() 418 static jboolean setReportNative(JNIEnv* env, jobject object, jbyteArray address, in setReportNative() [all …]
|
D | com_android_bluetooth_gatt.cpp | 79 static RawAddress str2addr(JNIEnv* env, jstring address) { in str2addr() 90 static jstring bdaddr2newjstr(JNIEnv* env, const RawAddress* bda) { in bdaddr2newjstr() 99 static std::vector<uint8_t> toVector(JNIEnv* env, jbyteArray ba) { in toVector() 432 void fillGattDbElementArray(JNIEnv* env, jobject* array, in fillGattDbElementArray() 770 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 880 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative() 918 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 937 static int gattClientGetDeviceTypeNative(JNIEnv* env, jobject object, in gattClientGetDeviceTypeNative() 943 static void gattClientRegisterAppNative(JNIEnv* env, jobject object, in gattClientRegisterAppNative() 951 static void gattClientUnregisterAppNative(JNIEnv* env, jobject object, in gattClientUnregisterAppNative() [all …]
|
D | com_android_bluetooth_btservice_BluetoothKeystore.cpp | 89 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 100 static void initNative(JNIEnv* env, jobject object) { in initNative() 138 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 164 int register_com_android_bluetooth_btservice_BluetoothKeystore(JNIEnv* env) { in register_com_android_bluetooth_btservice_BluetoothKeystore()
|
D | com_android_bluetooth_hfpclient.cpp | 411 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 447 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative() 486 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 506 static jboolean connectNative(JNIEnv* env, jobject object, jbyteArray address) { in connectNative() 523 static jboolean disconnectNative(JNIEnv* env, jobject object, in disconnectNative() 542 static jboolean connectAudioNative(JNIEnv* env, jobject object, in connectAudioNative() 561 static jboolean disconnectAudioNative(JNIEnv* env, jobject object, in disconnectAudioNative() 580 static jboolean startVoiceRecognitionNative(JNIEnv* env, jobject object, in startVoiceRecognitionNative() 599 static jboolean stopVoiceRecognitionNative(JNIEnv* env, jobject object, in stopVoiceRecognitionNative() 618 static jboolean setVolumeNative(JNIEnv* env, jobject object, jbyteArray address, in setVolumeNative() [all …]
|
D | com_android_bluetooth_hfp.cpp | 405 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 438 static void initializeNative(JNIEnv* env, jobject object, jint max_hf_clients, in initializeNative() 484 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 507 static jboolean connectHfpNative(JNIEnv* env, jobject object, in connectHfpNative() 529 static jboolean disconnectHfpNative(JNIEnv* env, jobject object, in disconnectHfpNative() 551 static jboolean connectAudioNative(JNIEnv* env, jobject object, in connectAudioNative() 573 static jboolean disconnectAudioNative(JNIEnv* env, jobject object, in disconnectAudioNative() 596 static jboolean startVoiceRecognitionNative(JNIEnv* env, jobject object, in startVoiceRecognitionNative() 618 static jboolean stopVoiceRecognitionNative(JNIEnv* env, jobject object, in stopVoiceRecognitionNative() 640 static jboolean setVolumeNative(JNIEnv* env, jobject object, jint volume_type, in setVolumeNative() [all …]
|
/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/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_DicTraverseSession.cpp | 29 static jlong latinime_setDicTraverseSession(JNIEnv *env, jclass clazz, jstring localeJStr, in latinime_setDicTraverseSession() 35 static void latinime_initDicTraverseSession(JNIEnv *env, jclass clazz, jlong traverseSession, in latinime_initDicTraverseSession() 53 static void latinime_releaseDicTraverseSession(JNIEnv *env, jclass clazz, jlong traverseSession) { in latinime_releaseDicTraverseSession() 76 int register_DicTraverseSession(JNIEnv *env) { in register_DicTraverseSession()
|
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 …]
|
D | com_android_inputmethod_latin_BinaryDictionaryUtils.cpp | 32 static jboolean latinime_BinaryDictionaryUtils_createEmptyDictFile(JNIEnv *env, jclass clazz, in latinime_BinaryDictionaryUtils_createEmptyDictFile() 59 static jfloat latinime_BinaryDictionaryUtils_calcNormalizedScore(JNIEnv *env, jclass clazz, in latinime_BinaryDictionaryUtils_calcNormalizedScore() 71 static int latinime_BinaryDictionaryUtils_setCurrentTimeForTest(JNIEnv *env, jclass clazz, in latinime_BinaryDictionaryUtils_setCurrentTimeForTest() 101 int register_BinaryDictionaryUtils(JNIEnv *env) { in register_BinaryDictionaryUtils()
|
D | jni_common.cpp | 31 JNIEnv *env = 0; in JNI_OnLoad() local 63 int registerNativeMethods(JNIEnv *env, const char *const className, const JNINativeMethod *methods, in registerNativeMethods()
|
D | com_android_inputmethod_keyboard_ProximityInfo.cpp | 28 static jlong latinime_Keyboard_setProximityInfo(JNIEnv *env, jclass clazz, in latinime_Keyboard_setProximityInfo() 41 static void latinime_Keyboard_release(JNIEnv *env, jclass clazz, jlong proximityInfo) { in latinime_Keyboard_release() 59 int register_ProximityInfo(JNIEnv *env) { in register_ProximityInfo()
|
/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 …]
|
D | stream_wrapper.cpp | 32 void StreamWrapper::updateEnv(JNIEnv *env) { in updateEnv() 40 bool StreamWrapper::init(JNIEnv *env, jobject stream) { in init()
|
/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 | 52 static bool checkLenAndCopy(JNIEnv* env, const jbyteArray& addr, int len, void* dst) { in checkLenAndCopy() 60 static void network_stack_utils_addArpEntry(JNIEnv *env, jobject thiz, jbyteArray ethAddr, in network_stack_utils_addArpEntry() 99 static void network_stack_utils_attachDhcpFilter(JNIEnv *env, jobject clazz, jobject javaFd) { in network_stack_utils_attachDhcpFilter() 132 static void network_stack_utils_attachRaFilter(JNIEnv *env, jobject clazz, jobject javaFd, in network_stack_utils_attachRaFilter() 167 JNIEnv *env, jobject clazz, jobject javaFd, jint hardwareAddressType) { in network_stack_utils_attachControlPacketFilter() 252 JNIEnv *env; in JNI_OnLoad() local
|
/packages/apps/Terminal/jni/ |
D | com_android_terminal_Terminal.cpp | 165 JNIEnv* env = AndroidRuntime::getJNIEnv(); in term_damage() local 176 JNIEnv* env = AndroidRuntime::getJNIEnv(); in term_moverect() local 188 JNIEnv* env = AndroidRuntime::getJNIEnv(); in term_movecursor() local 199 JNIEnv* env = AndroidRuntime::getJNIEnv(); in term_settermprop() local 224 JNIEnv* env = AndroidRuntime::getJNIEnv(); in term_bell() local 261 JNIEnv* env = AndroidRuntime::getJNIEnv(); in Terminal() local 287 JNIEnv *env = AndroidRuntime::getJNIEnv(); in ~Terminal() local 544 static jlong com_android_terminal_Terminal_nativeInit(JNIEnv* env, jclass clazz, jobject callbacks)… in com_android_terminal_Terminal_nativeInit() 548 static jint com_android_terminal_Terminal_nativeDestroy(JNIEnv* env, jclass clazz, jlong ptr) { in com_android_terminal_Terminal_nativeDestroy() 554 static jint com_android_terminal_Terminal_nativeRun(JNIEnv* env, jclass clazz, jlong ptr) { in com_android_terminal_Terminal_nativeRun() [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | TestActivity.java | 33 public static TestActivity create(TestEnv env) { in create() 40 public void init(TestEnv env) { in init()
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | wprintJNI.c | 284 static void _get_pdf_page_range(JNIEnv *env, jobject javaJobParams, int *pages_ary, int num_pages, in _get_pdf_page_range() 386 static void _initJNI(JNIEnv *env, jobject callbackReceiver, jstring fakeDir) { in _initJNI() 589 static int _convertPrinterCaps_to_C(JNIEnv *env, jobject javaPrinterCaps, in _convertPrinterCaps_to_C() 610 static int _convertPrinterCaps_to_Java(JNIEnv *env, jobject javaPrinterCaps, in _convertPrinterCaps_to_Java() 692 static void stringToJava(JNIEnv *env, jobject obj, jfieldID id, const char *str) { in stringToJava() 706 static int _convertJobParams_to_C(JNIEnv *env, jobject javaJobParams, in _convertJobParams_to_C() 851 static int _covertJobParams_to_Java(JNIEnv *env, jobject javaJobParams, in _covertJobParams_to_Java() 948 JNIEnv *env; in _wprint_callback_fn() local 1143 JNIEnv *env, jobject obj, jobject callbackReceiver, jstring fakeDir, in Java_com_android_bips_ipp_Backend_nativeInit() 1166 static char *copyToNewString(JNIEnv *env, jstring source) { in copyToNewString() [all …]
|