Home
last modified time | relevance | path

Searched defs:env (Results 1 – 25 of 58) sorted by relevance

123

/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_a2dp_sink.cpp100 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
113 static void initNative(JNIEnv* env, jobject object) { in initNative()
150 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
169 static jboolean connectA2dpNative(JNIEnv* env, jobject object, in connectA2dpNative()
190 static jboolean disconnectA2dpNative(JNIEnv* env, jobject object, in disconnectA2dpNative()
210 static void informAudioFocusStateNative(JNIEnv* env, jobject object, in informAudioFocusStateNative()
216 static void informAudioTrackGainNative(JNIEnv* env, jobject object, in informAudioTrackGainNative()
232 int register_com_android_bluetooth_a2dp_sink(JNIEnv* env) { in register_com_android_bluetooth_a2dp_sink()
Dcom_android_bluetooth_hearing_aid.cpp93 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
103 static void initNative(JNIEnv* env, jobject object) { in initNative()
140 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
161 static jboolean connectHearingAidNative(JNIEnv* env, jobject object, in connectHearingAidNative()
179 static jboolean disconnectHearingAidNative(JNIEnv* env, jobject object, in disconnectHearingAidNative()
197 static jboolean addToWhiteListNative(JNIEnv* env, jobject object, in addToWhiteListNative()
213 static void setVolumeNative(JNIEnv* env, jclass clazz, jint volume) { in setVolumeNative()
232 int register_com_android_bluetooth_hearing_aid(JNIEnv* env) { in register_com_android_bluetooth_hearing_aid()
Dcom_android_bluetooth_btservice_AdapterService.cpp514 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()
640 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
686 static bool initNative(JNIEnv* env, jobject obj, jboolean isGuest, in initNative()
727 static bool cleanupNative(JNIEnv* env, jobject obj) { in cleanupNative()
756 static jboolean enableNative(JNIEnv* env, jobject obj) { in enableNative()
765 static jboolean disableNative(JNIEnv* env, jobject obj) { in disableNative()
778 static jboolean startDiscoveryNative(JNIEnv* env, jobject obj) { in startDiscoveryNative()
[all …]
Dcom_android_bluetooth_hid_host.cpp187 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
200 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative()
236 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
257 static jboolean connectHidNative(JNIEnv* env, jobject object, in connectHidNative()
278 static jboolean disconnectHidNative(JNIEnv* env, jobject object, in disconnectHidNative()
300 static jboolean getProtocolModeNative(JNIEnv* env, jobject object, in getProtocolModeNative()
324 static jboolean virtualUnPlugNative(JNIEnv* env, jobject object, in virtualUnPlugNative()
345 static jboolean setProtocolModeNative(JNIEnv* env, jobject object, in setProtocolModeNative()
382 static jboolean getReportNative(JNIEnv* env, jobject object, jbyteArray address, in getReportNative()
410 static jboolean setReportNative(JNIEnv* env, jobject object, jbyteArray address, in setReportNative()
[all …]
Dcom_android_bluetooth_hid_device.cpp156 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
171 static void initNative(JNIEnv* env, jobject object) { in initNative()
211 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
229 static void fill_qos(JNIEnv* env, jintArray in, bthd_qos_param_t* out) { in fill_qos()
258 static jboolean registerAppNative(JNIEnv* env, jobject thiz, jstring name, in registerAppNative()
312 static jboolean unregisterAppNative(JNIEnv* env, jobject thiz) { in unregisterAppNative()
335 static jboolean sendReportNative(JNIEnv* env, jobject thiz, jint id, in sendReportNative()
366 static jboolean replyReportNative(JNIEnv* env, jobject thiz, jbyte type, in replyReportNative()
403 static jboolean reportErrorNative(JNIEnv* env, jobject thiz, jbyte error) { in reportErrorNative()
426 static jboolean unplugNative(JNIEnv* env, jobject thiz) { in unplugNative()
[all …]
Dcom_android_bluetooth_pan.cpp105 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
115 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative()
158 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
175 static jboolean enablePanNative(JNIEnv* env, jobject object, jint local_role) { in enablePanNative()
182 static jint getPanLocalRoleNative(JNIEnv* env, jobject object) { in getPanLocalRoleNative()
190 static jboolean connectPanNative(JNIEnv* env, jobject object, in connectPanNative()
213 static jboolean disconnectPanNative(JNIEnv* env, jobject object, in disconnectPanNative()
245 int register_com_android_bluetooth_pan(JNIEnv* env) { in register_com_android_bluetooth_pan()
Dcom_android_bluetooth_sdp.cpp55 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative()
79 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
102 static jboolean sdpSearchNative(JNIEnv* env, jobject obj, jbyteArray address, in sdpSearchNative()
234 static jint sdpCreateMapMasRecordNative(JNIEnv* env, jobject obj, in sdpCreateMapMasRecordNative()
273 static jint sdpCreateMapMnsRecordNative(JNIEnv* env, jobject obj, in sdpCreateMapMnsRecordNative()
310 static jint sdpCreatePbapPceRecordNative(JNIEnv* env, jobject obj, in sdpCreatePbapPceRecordNative()
341 static jint sdpCreatePbapPseRecordNative(JNIEnv* env, jobject obj, in sdpCreatePbapPseRecordNative()
380 static jint sdpCreateOppOpsRecordNative(JNIEnv* env, jobject obj, in sdpCreateOppOpsRecordNative()
429 static jint sdpCreateSapsRecordNative(JNIEnv* env, jobject obj, in sdpCreateSapsRecordNative()
462 static jboolean sdpRemoveSdpRecordNative(JNIEnv* env, jobject obj, in sdpRemoveSdpRecordNative()
[all …]
Dcom_android_bluetooth_gatt.cpp80 static RawAddress str2addr(JNIEnv* env, jstring address) { in str2addr()
91 static jstring bdaddr2newjstr(JNIEnv* env, const RawAddress* bda) { in bdaddr2newjstr()
100 static std::vector<uint8_t> toVector(JNIEnv* env, jbyteArray ba) { in toVector()
433 void fillGattDbElementArray(JNIEnv* env, jobject* array, in fillGattDbElementArray()
771 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
881 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative()
919 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
938 static int gattClientGetDeviceTypeNative(JNIEnv* env, jobject object, in gattClientGetDeviceTypeNative()
944 static void gattClientRegisterAppNative(JNIEnv* env, jobject object, in gattClientRegisterAppNative()
952 static void gattClientUnregisterAppNative(JNIEnv* env, jobject object, in gattClientUnregisterAppNative()
[all …]
Dcom_android_bluetooth_hfpclient.cpp396 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
430 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative()
469 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
489 static jboolean connectNative(JNIEnv* env, jobject object, jbyteArray address) { in connectNative()
506 static jboolean disconnectNative(JNIEnv* env, jobject object, in disconnectNative()
525 static jboolean connectAudioNative(JNIEnv* env, jobject object, in connectAudioNative()
544 static jboolean disconnectAudioNative(JNIEnv* env, jobject object, in disconnectAudioNative()
563 static jboolean startVoiceRecognitionNative(JNIEnv* env, jobject object, in startVoiceRecognitionNative()
582 static jboolean stopVoiceRecognitionNative(JNIEnv* env, jobject object, in stopVoiceRecognitionNative()
601 static jboolean setVolumeNative(JNIEnv* env, jobject object, jbyteArray address, in setVolumeNative()
[all …]
Dcom_android_bluetooth_hfp.cpp406 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
439 static void initializeNative(JNIEnv* env, jobject object, jint max_hf_clients, in initializeNative()
485 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
508 static jboolean connectHfpNative(JNIEnv* env, jobject object, in connectHfpNative()
530 static jboolean disconnectHfpNative(JNIEnv* env, jobject object, in disconnectHfpNative()
552 static jboolean connectAudioNative(JNIEnv* env, jobject object, in connectAudioNative()
574 static jboolean disconnectAudioNative(JNIEnv* env, jobject object, in disconnectAudioNative()
597 static jboolean startVoiceRecognitionNative(JNIEnv* env, jobject object, in startVoiceRecognitionNative()
619 static jboolean stopVoiceRecognitionNative(JNIEnv* env, jobject object, in stopVoiceRecognitionNative()
641 static jboolean setVolumeNative(JNIEnv* env, jobject object, jint volume_type, in setVolumeNative()
[all …]
Dcom_android_bluetooth_a2dp.cpp171 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
211 JNIEnv* env, jobject object, jobjectArray codecConfigArray) { in prepareCodecPreferences()
261 static void initNative(JNIEnv* env, jobject object, in initNative()
319 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
343 static jboolean connectA2dpNative(JNIEnv* env, jobject object, in connectA2dpNative()
368 static jboolean disconnectA2dpNative(JNIEnv* env, jobject object, in disconnectA2dpNative()
393 static jboolean setSilenceDeviceNative(JNIEnv* env, jobject object, in setSilenceDeviceNative()
420 static jboolean setActiveDeviceNative(JNIEnv* env, jobject object, in setActiveDeviceNative()
446 static jboolean setCodecConfigPreferenceNative(JNIEnv* env, jobject object, in setCodecConfigPreferenceNative()
490 int register_com_android_bluetooth_a2dp(JNIEnv* env) { in register_com_android_bluetooth_a2dp()
/packages/apps/TV/jni/
DDvbManager.cpp40 DvbManager::DvbManager(JNIEnv *env, jobject) in DvbManager()
116 int DvbManager::tune(JNIEnv *env, jobject thiz, in tune()
266 int DvbManager::openDvbFeFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbFeFromSystemApi()
272 int DvbManager::openDvbDemuxFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbDemuxFromSystemApi()
278 int DvbManager::openDvbDvrFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbDvrFromSystemApi()
284 int DvbManager::openDvbFe(JNIEnv *env, jobject thiz) { in openDvbFe()
316 int DvbManager::startTsPidFilter(JNIEnv *env, jobject thiz, int pid, int filterType) { in startTsPidFilter()
395 int DvbManager::openDvbDvr(JNIEnv *env, jobject thiz) { in openDvbDvr()
432 int DvbManager::readTsStream(JNIEnv *env, jobject thiz, in readTsStream()
464 int DvbManager::getDeliverySystemType(JNIEnv *env, jobject thiz) { in getDeliverySystemType()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_DicTraverseSession.cpp29 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()
Dcom_android_inputmethod_latin_BinaryDictionary.cpp45 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 …]
Dcom_android_inputmethod_latin_BinaryDictionaryUtils.cpp32 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()
Djni_common.cpp31 JNIEnv *env = 0; in JNI_OnLoad() local
63 int registerNativeMethods(JNIEnv *env, const char *const className, const JNINativeMethod *methods, in registerNativeMethods()
Dcom_android_inputmethod_keyboard_ProximityInfo.cpp28 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/
Djpegstream.cpp31 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 …]
Dstream_wrapper.cpp32 void StreamWrapper::updateEnv(JNIEnv *env) { in updateEnv()
40 bool StreamWrapper::init(JNIEnv *env, jobject stream) { in init()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Djni_data_utils.h34 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/
Dnetwork_stack_utils_jni.cpp50 static bool checkLenAndCopy(JNIEnv* env, const jbyteArray& addr, int len, void* dst) { in checkLenAndCopy()
58 static void network_stack_utils_addArpEntry(JNIEnv *env, jobject thiz, jbyteArray ethAddr, in network_stack_utils_addArpEntry()
97 static void network_stack_utils_attachDhcpFilter(JNIEnv *env, jobject clazz, jobject javaFd) { in network_stack_utils_attachDhcpFilter()
130 static void network_stack_utils_attachRaFilter(JNIEnv *env, jobject clazz, jobject javaFd, in network_stack_utils_attachRaFilter()
165 JNIEnv *env, jobject clazz, jobject javaFd, jint hardwareAddressType) { in network_stack_utils_attachControlPacketFilter()
250 JNIEnv *env; in JNI_OnLoad() local
/packages/apps/Terminal/jni/
Dcom_android_terminal_Terminal.cpp165 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/
DTestActivity.java33 public static TestActivity create(TestEnv env) { in create()
40 public void init(TestEnv env) { in init()
/packages/services/BuiltInPrintService/jni/lib/
DwprintJNI.c284 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 …]
/packages/modules/NetworkStack/tests/unit/jni/
Dapf_jni.cpp33 JNIEnv* env, jclass, jbyteArray jprogram, jbyteArray jpacket, in com_android_server_ApfTest_apfSimulate()
85 static void throwException(JNIEnv* env, const std::string& error) { in throwException()
94 static jstring com_android_server_ApfTest_compileToBpf(JNIEnv* env, jclass, jstring jfilter) { in com_android_server_ApfTest_compileToBpf()
120 static jboolean com_android_server_ApfTest_compareBpfApf(JNIEnv* env, jclass, jstring jfilter, in com_android_server_ApfTest_compareBpfApf()
184 static jboolean com_android_server_ApfTest_dropsAllPackets(JNIEnv* env, jclass, jbyteArray jprogram, in com_android_server_ApfTest_dropsAllPackets()
227 JNIEnv *env; in JNI_OnLoad() local

123