Home
last modified time | relevance | path

Searched refs:e (Results 1 – 25 of 1367) sorted by relevance

12345678910>>...55

/packages/apps/Nfc/nxp/jni/
Dcom_android_nfc_NativeNfcTag.cpp177 static jbyteArray com_android_nfc_NativeNfcTag_doRead(JNIEnv *e, in com_android_nfc_NativeNfcTag_doRead() argument
193 handle = nfc_jni_get_connected_handle(e, o); in com_android_nfc_NativeNfcTag_doRead()
224 buf = e->NewByteArray(nfc_jni_ndef_rw.length); in com_android_nfc_NativeNfcTag_doRead()
225 e->SetByteArrayRegion(buf, 0, nfc_jni_ndef_rw.length, in com_android_nfc_NativeNfcTag_doRead()
236 static jboolean com_android_nfc_NativeNfcTag_doWrite(JNIEnv *e, in com_android_nfc_NativeNfcTag_doWrite() argument
243 phLibNfc_Handle handle = nfc_jni_get_connected_handle(e, o); in com_android_nfc_NativeNfcTag_doWrite()
253 nfc_jni_ndef_rw.length = (uint32_t)e->GetArrayLength(buf); in com_android_nfc_NativeNfcTag_doWrite()
254 nfc_jni_ndef_rw.buffer = (uint8_t *)e->GetByteArrayElements(buf, NULL); in com_android_nfc_NativeNfcTag_doWrite()
284 e->ReleaseByteArrayElements(buf, (jbyte *)nfc_jni_ndef_rw.buffer, JNI_ABORT); in com_android_nfc_NativeNfcTag_doWrite()
294 void set_target_pollBytes(JNIEnv *e, jobject tag, in set_target_pollBytes() argument
[all …]
Dcom_android_nfc.cpp30 JNIEnv *e; in JNI_OnLoad() local
35 if(jvm->GetEnv((void **)&e, JNI_VERSION_1_6)) in JNI_OnLoad()
40 if (android::register_com_android_nfc_NativeNfcManager(e) == -1) in JNI_OnLoad()
42 if (android::register_com_android_nfc_NativeNfcTag(e) == -1) in JNI_OnLoad()
44 if (android::register_com_android_nfc_NativeP2pDevice(e) == -1) in JNI_OnLoad()
46 if (android::register_com_android_nfc_NativeLlcpSocket(e) == -1) in JNI_OnLoad()
48 if (android::register_com_android_nfc_NativeLlcpConnectionlessSocket(e) == -1) in JNI_OnLoad()
50 if (android::register_com_android_nfc_NativeLlcpServiceSocket(e) == -1) in JNI_OnLoad()
52 if (android::register_com_android_nfc_NativeNfcSecureElement(e) == -1) in JNI_OnLoad()
69 JNIEnv *e; in nfc_get_env() local
[all …]
Dcom_android_nfc_NativeNfcManager.cpp84 extern void set_target_activationBytes(JNIEnv *e, jobject tag,
86 extern void set_target_pollBytes(JNIEnv *e, jobject tag,
692 JNIEnv *e; in nfc_jni_client_thread() local
702 nat->vm->AttachCurrentThread(&e, &thread_args); in nfc_jni_client_thread()
758 JNIEnv *e; in nfc_jni_llcp_linkStatus_callback() local
770 nat->vm->GetEnv( (void **)&e, nat->env_version); in nfc_jni_llcp_linkStatus_callback()
809 e->CallVoidMethod(nat->manager, cached_NfcManager_notifyLlcpLinkDeactivated, nat->tag); in nfc_jni_llcp_linkStatus_callback()
810 if(e->ExceptionCheck()) in nfc_jni_llcp_linkStatus_callback()
924 JNIEnv *e; in nfc_jni_Discovery_notification_callback() local
925 nat->vm->GetEnv( (void **)&e, nat->env_version); in nfc_jni_Discovery_notification_callback()
[all …]
Dcom_android_nfc_NativeLlcpSocket.cpp112 static jboolean com_android_nfc_NativeLlcpSocket_doConnect(JNIEnv *e, jobject o, jint nSap) in com_android_nfc_NativeLlcpSocket_doConnect() argument
122 hRemoteDevice = nfc_jni_get_p2p_device_handle(e,o); in com_android_nfc_NativeLlcpSocket_doConnect()
123 hLlcpSocket = nfc_jni_get_nfc_socket_handle(e,o); in com_android_nfc_NativeLlcpSocket_doConnect()
166 static jboolean com_android_nfc_NativeLlcpSocket_doConnectBy(JNIEnv *e, jobject o, jstring sn) in com_android_nfc_NativeLlcpSocket_doConnectBy() argument
177 hRemoteDevice = nfc_jni_get_p2p_device_handle(e,o); in com_android_nfc_NativeLlcpSocket_doConnectBy()
178 hLlcpSocket = nfc_jni_get_nfc_socket_handle(e,o); in com_android_nfc_NativeLlcpSocket_doConnectBy()
187 serviceName.buffer = (uint8_t*)e->GetStringUTFChars(sn, NULL); in com_android_nfc_NativeLlcpSocket_doConnectBy()
188 serviceName.length = (uint32_t)e->GetStringUTFLength(sn); in com_android_nfc_NativeLlcpSocket_doConnectBy()
221 e->ReleaseStringUTFChars(sn, (const char *)serviceName.buffer); in com_android_nfc_NativeLlcpSocket_doConnectBy()
227 static jboolean com_android_nfc_NativeLlcpSocket_doClose(JNIEnv *e, jobject o) in com_android_nfc_NativeLlcpSocket_doClose() argument
[all …]
Dcom_android_nfc_NativeP2pDevice.cpp119 static jboolean com_android_nfc_NativeP2pDevice_doConnect(JNIEnv *e, jobject o) in com_android_nfc_NativeP2pDevice_doConnect() argument
126 ScopedLocalRef<jclass> target_cls(e, NULL); in com_android_nfc_NativeP2pDevice_doConnect()
136 handle = nfc_jni_get_p2p_device_handle(e, o); in com_android_nfc_NativeP2pDevice_doConnect()
168 target_cls.reset(e->GetObjectClass(o)); in com_android_nfc_NativeP2pDevice_doConnect()
170 f = e->GetFieldID(target_cls.get(), "mGeneralBytes", "[B"); in com_android_nfc_NativeP2pDevice_doConnect()
179 generalBytes = e->NewByteArray(sGeneralBytes.length); in com_android_nfc_NativeP2pDevice_doConnect()
181 e->SetByteArrayRegion(generalBytes, 0, in com_android_nfc_NativeP2pDevice_doConnect()
185 e->SetObjectField(o, f, generalBytes); in com_android_nfc_NativeP2pDevice_doConnect()
193 nfc_jni_restart_discovery_locked(nfc_jni_get_nat_ext(e)); in com_android_nfc_NativeP2pDevice_doConnect()
200 static jboolean com_android_nfc_NativeP2pDevice_doDisconnect(JNIEnv *e, jobject o) in com_android_nfc_NativeP2pDevice_doDisconnect() argument
[all …]
/packages/apps/InCallUI/src/com/android/incallui/
DCallCommandClient.java52 Log.e(this, "Cannot answer call; CallCommandService == null"); in answerCall()
57 } catch (RemoteException e) { in answerCall()
58 Log.e(this, "Error answering call.", e); in answerCall()
66 Log.e(this, "Cannot reject call; CallCommandService == null"); in rejectCall()
71 } catch (RemoteException e) { in rejectCall()
72 Log.e(this, "Error rejecting call.", e); in rejectCall()
79 Log.e(this, "Cannot disconnect call; CallCommandService == null"); in disconnectCall()
84 } catch (RemoteException e) { in disconnectCall()
85 Log.e(this, "Error disconnecting call.", e); in disconnectCall()
92 Log.e(this, "Cannot separate call; CallCommandService == null"); in separateCall()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DEvent.java159 Event e = new Event(); in clone() local
161 e.title = title; in clone()
162 e.color = color; in clone()
163 e.location = location; in clone()
164 e.allDay = allDay; in clone()
165 e.startDay = startDay; in clone()
166 e.endDay = endDay; in clone()
167 e.startTime = startTime; in clone()
168 e.endTime = endTime; in clone()
169 e.startMillis = startMillis; in clone()
[all …]
/packages/apps/Nfc/nci/jni/
DNfcTag.cpp520 JNIEnv* e = NULL; in createNativeNfcTag() local
521 ScopedAttach attach(mNativeData->vm, &e); in createNativeNfcTag()
522 if (e == NULL) in createNativeNfcTag()
528 ScopedLocalRef<jclass> tag_cls(e, e->GetObjectClass(mNativeData->cached_NfcTag)); in createNativeNfcTag()
529 if (e->ExceptionCheck()) in createNativeNfcTag()
531 e->ExceptionClear(); in createNativeNfcTag()
537 jmethodID ctor = e->GetMethodID(tag_cls.get(), "<init>", "()V"); in createNativeNfcTag()
538 ScopedLocalRef<jobject> tag(e, e->NewObject(tag_cls.get(), ctor)); in createNativeNfcTag()
541 fillNativeNfcTagMembers1(e, tag_cls.get(), tag.get()); in createNativeNfcTag()
544 fillNativeNfcTagMembers2(e, tag_cls.get(), tag.get(), activationData); in createNativeNfcTag()
[all …]
DNativeNfcManager.cpp169 nfc_jni_native_data *getNative (JNIEnv* e, jobject o) in getNative() argument
172 if (e) in getNative()
174 sCachedNat = nfc_jni_get_nat(e, o); in getNative()
541 static jboolean nfcManager_initNativeStruc (JNIEnv* e, jobject o) in nfcManager_initNativeStruc() argument
553 e->GetJavaVM(&(nat->vm)); in nfcManager_initNativeStruc()
554 nat->env_version = e->GetVersion(); in nfcManager_initNativeStruc()
555 nat->manager = e->NewGlobalRef(o); in nfcManager_initNativeStruc()
557 ScopedLocalRef<jclass> cls(e, e->GetObjectClass(o)); in nfcManager_initNativeStruc()
558 jfieldID f = e->GetFieldID(cls.get(), "mNative", "I"); in nfcManager_initNativeStruc()
559 e->SetIntField(o, f, (jint)nat); in nfcManager_initNativeStruc()
[all …]
DNfcJniUtil.cpp38 JNIEnv *e = NULL; in JNI_OnLoad() local
43 if (jvm->GetEnv ((void **) &e, JNI_VERSION_1_6)) in JNI_OnLoad()
46 if (android::register_com_android_nfc_NativeNfcManager (e) == -1) in JNI_OnLoad()
48 if (android::register_com_android_nfc_NativeLlcpServiceSocket (e) == -1) in JNI_OnLoad()
50 if (android::register_com_android_nfc_NativeLlcpSocket (e) == -1) in JNI_OnLoad()
52 if (android::register_com_android_nfc_NativeNfcTag (e) == -1) in JNI_OnLoad()
54 if (android::register_com_android_nfc_NativeLlcpConnectionlessSocket (e) == -1) in JNI_OnLoad()
56 if (android::register_com_android_nfc_NativeP2pDevice (e) == -1) in JNI_OnLoad()
58 if (android::register_com_android_nfc_NativeNfcSecureElement (e) == -1) in JNI_OnLoad()
78 int nfc_jni_cache_object (JNIEnv *e, const char *className, jobject *cachedObj) in nfc_jni_cache_object() argument
[all …]
DNativeLlcpConnectionlessSocket.cpp60 static jboolean nativeLlcpConnectionlessSocket_doSendTo (JNIEnv *e, jobject o, jint nsap, jbyteArra… in nativeLlcpConnectionlessSocket_doSendTo() argument
64 ScopedLocalRef<jclass> c(e, e->GetObjectClass(o)); in nativeLlcpConnectionlessSocket_doSendTo()
65 jfieldID f = e->GetFieldID(c.get(), "mHandle", "I"); in nativeLlcpConnectionlessSocket_doSendTo()
66 jint handle = e->GetIntField(o, f); in nativeLlcpConnectionlessSocket_doSendTo()
68 ScopedByteArrayRO bytes(e, data); in nativeLlcpConnectionlessSocket_doSendTo()
172 static jobject nativeLlcpConnectionlessSocket_doReceiveFrom (JNIEnv* e, jobject, jint linkMiu) in nativeLlcpConnectionlessSocket_doReceiveFrom() argument
176 ScopedLocalRef<jclass> clsLlcpPacket(e, NULL); in nativeLlcpConnectionlessSocket_doReceiveFrom()
209 if (nfc_jni_cache_object (e, "com/android/nfc/LlcpPacket", &(llcpPacket)) == -1) in nativeLlcpConnectionlessSocket_doReceiveFrom()
216 clsLlcpPacket.reset(e->GetObjectClass(llcpPacket)); in nativeLlcpConnectionlessSocket_doReceiveFrom()
217 if (e->ExceptionCheck()) in nativeLlcpConnectionlessSocket_doReceiveFrom()
[all …]
/packages/apps/Email/src/com/android/email/provider/
DDBHelper.java386 } catch (SQLException e) { in resetMessageTable()
496 } catch (SQLException e) { in resetAccountTable()
548 } catch (SQLException e) { in resetHostAuthTable()
593 } catch (SQLException e) { in resetMailboxTable()
624 } catch (SQLException e) { in resetAttachmentTable()
658 } catch (SQLException e) { in upgradeBodyTable()
665 } catch (SQLException e) { in upgradeBodyTable()
667 LogUtils.w(TAG, "Exception upgrading EmailProviderBody.db from v5 to v6", e); in upgradeBodyTable()
675 } catch (SQLException e) { in upgradeBodyTable()
677 LogUtils.w(TAG, "Exception upgrading EmailProviderBody.db from v6 to v8", e); in upgradeBodyTable()
[all …]
/packages/apps/MusicFX/src/com/android/musicfx/
DControlPanelEffect.java237 } catch (final IllegalStateException e) { in initEffectsPreferences()
238 Log.e(TAG, "Equalizer: " + e); in initEffectsPreferences()
239 } catch (final IllegalArgumentException e) { in initEffectsPreferences()
240 Log.e(TAG, "Equalizer: " + e); in initEffectsPreferences()
241 } catch (final UnsupportedOperationException e) { in initEffectsPreferences()
242 Log.e(TAG, "Equalizer: " + e); in initEffectsPreferences()
243 } catch (final RuntimeException e) { in initEffectsPreferences()
244 Log.e(TAG, "Equalizer: " + e); in initEffectsPreferences()
327 } catch (final RuntimeException e) { in initEffectsPreferences()
328 Log.e(TAG, "initEffectsPreferences: processingEnabled: " + e); in initEffectsPreferences()
[all …]
/packages/apps/Mms/src/com/android/mms/ui/
DUriImage.java154 } catch (IllegalArgumentException e) { in initFromContentUri()
182 } catch (IllegalArgumentException e) { in initFromContentUri()
183 Log.e(TAG, "initFromContentUri couldn't load image uri: " + uri, e); in initFromContentUri()
198 } catch (FileNotFoundException e) { in decodeBoundsInfo()
200 Log.e(TAG, "IOException caught while opening stream", e); in decodeBoundsInfo()
205 } catch (IOException e) { in decodeBoundsInfo()
207 Log.e(TAG, "IOException caught while closing stream", e); in decodeBoundsInfo()
314 } catch (OutOfMemoryError e) { in getResizedImageData()
324 } catch (IOException e) { in getResizedImageData()
325 Log.e(TAG, e.getMessage(), e); in getResizedImageData()
[all …]
DMessageListAdapter.java237 } catch (MmsException e) { in getCachedMessageItem()
238 Log.e(TAG, "getCachedMessageItem: ", e); in getCachedMessageItem()
372 } catch (IllegalArgumentException e) { in ColumnsMap()
373 Log.w("colsMap", e.getMessage()); in ColumnsMap()
378 } catch (IllegalArgumentException e) { in ColumnsMap()
379 Log.w("colsMap", e.getMessage()); in ColumnsMap()
384 } catch (IllegalArgumentException e) { in ColumnsMap()
385 Log.w("colsMap", e.getMessage()); in ColumnsMap()
390 } catch (IllegalArgumentException e) { in ColumnsMap()
391 Log.w("colsMap", e.getMessage()); in ColumnsMap()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DBase64ReaderTests.java53 } catch (final EOFException e) { in test0CharInt8()
55 } catch (final IOException e) { in test0CharInt8()
56 fail("IOException: " + e); in test0CharInt8()
66 } catch (final EOFException e) { in test1CharInt8()
68 } catch (final IOException e) { in test1CharInt8()
69 fail("IOException: " + e); in test1CharInt8()
81 } catch (final EOFException e) { in test2CharsInt8()
83 } catch (final IOException e) { in test2CharsInt8()
84 fail("IOException: " + e); in test2CharsInt8()
98 } catch (final EOFException e) { in test3CharsInt8()
[all …]
/packages/services/Telephony/src/com/android/phone/
DCallCommandService.java66 } catch (Exception e) { in answerCall()
67 Log.e(TAG, "Error during answerCall().", e); in answerCall()
95 } catch (Exception e) { in rejectCall()
96 Log.e(TAG, "Error during rejectCall().", e); in rejectCall()
116 } catch (Exception e) { in disconnectCall()
117 Log.e(TAG, "Error during disconnectCall().", e); in disconnectCall()
133 } catch (Exception e) { in separateCall()
134 Log.e(TAG, "Error trying to separate call.", e); in separateCall()
150 } catch (Exception e) { in hold()
151 Log.e(TAG, "Error trying to place call on hold.", e); in hold()
[all …]
/packages/apps/Nfc/tests/src/com/android/nfc/snep/
DSnepBasicTests.java49 } catch (Exception e) { in testGetSmallNdef()
50 Log.e(TAG, "error getting message", e); in testGetSmallNdef()
59 } catch (SnepException e) { in testGetSmallNdef()
60 throw new IOException("Failed to retrieve SNEP message", e); in testGetSmallNdef()
80 } catch (Exception e) { in testGetLargeNdef()
81 Log.e(TAG, "error getting message", e); in testGetLargeNdef()
90 } catch (SnepException e) { in testGetLargeNdef()
91 throw new IOException("Failed to retrieve SNEP message", e); in testGetLargeNdef()
111 } catch (Exception e) { in testGetExcessiveNdef()
112 Log.e(TAG, "error getting message", e); in testGetExcessiveNdef()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionaryFileDumper.java176 } catch (RemoteException e) { in getWordListWordListInfos()
180 Log.e(TAG, "RemoteException: communication with the dictionary pack cut", e); in getWordListWordListInfos()
182 } catch (Exception e) { in getWordListWordListInfos()
186 Log.e(TAG, "Unexpected exception communicating with the dictionary pack", e); in getWordListWordListInfos()
201 } catch (FileNotFoundException e) { in openAssetFileDescriptor()
204 Log.e(TAG, "Could not find a word list from the dictionary provider." in openAssetFileDescriptor()
207 } catch (RemoteException e) { in openAssetFileDescriptor()
208 Log.e(TAG, "Can't communicate with the dictionary pack", e); in openAssetFileDescriptor()
234 } catch (RemoteException e) { in cacheWordList()
235 Log.e(TAG, "Can't communicate with the dictionary pack", e); in cacheWordList()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java128 } catch (IOException e) { in disconnect()
129 Log.w(TAG, "OBEX session disconnect error " + e.getMessage()); in disconnect()
138 } catch (IOException e) { in disconnect()
139 Log.w(TAG, "OBEX session close error:" + e.getMessage()); in disconnect()
148 } catch (IOException e) { in disconnect()
149 Log.e(TAG, "mTransport.close error: " + e.getMessage()); in disconnect()
221 } catch (IOException e) { in connect()
222 Log.e(TAG, "BtSocket Connect error " + e.getMessage(), e); in connect()
233 Log.e(TAG, "OBEX session create error " + e1.getMessage()); in connect()
252 } catch (IOException e) { in connect()
[all …]
DBluetoothMapObexServer.java122 } catch (IOException e) { in onConnect()
123 Log.e(TAG, e.toString()); in onConnect()
133 } catch (IOException e) { in onConnect()
134 Log.e(TAG, e.toString()); in onConnect()
187 } catch (Exception e) { in onPut()
188 Log.e(TAG, "request headers error"); in onPut()
275 } catch (IllegalArgumentException e) { in pushMessage()
276 if(D) Log.w(TAG, "Wrongly formatted bMessage received", e); in pushMessage()
278 } catch (Exception e) { in pushMessage()
280 Log.e(TAG, "Exception occured: ", e); in pushMessage()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java194 Log.e(TAG, "Could not bind to Bluetooth Headset Phone Service"); in HeadsetStateMachine()
238 Log.e(TAG,"Error unbinding from IBluetoothHeadsetPhone",re); in cleanup()
267 Log.e(TAG, "ERROR: current, target, or mIncomingDevice not null in Disconnected"); in processMessage()
312 Log.e(TAG, "Unexpected stack event: " + event.type); in processMessage()
383 Log.e(TAG, "Incorrect state: " + state); in processConnectionEvent()
441 Log.e(TAG, "Unexpected event: " + event.type); in processMessage()
496 Log.e(TAG, "Unknown device Disconnected: " + device); in processConnectionEvent()
529 Log.e(TAG, "Unknown device Connected: " + device); in processConnectionEvent()
555 Log.e(TAG, "Another connecting event on the incoming device"); in processConnectionEvent()
569 Log.e(TAG, "TargetDevice is getting disconnected"); in processConnectionEvent()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DMotionEventHelper.java29 public static MotionEvent transformEvent(MotionEvent e, Matrix m) { in transformEvent() argument
33 return transformEventNew(e, m); in transformEvent()
35 return transformEventOld(e, m); in transformEvent()
40 private static MotionEvent transformEventNew(MotionEvent e, Matrix m) { in transformEventNew() argument
41 MotionEvent newEvent = MotionEvent.obtain(e); in transformEventNew()
47 private static MotionEvent transformEventOld(MotionEvent e, Matrix m) { in transformEventOld() argument
48 long downTime = e.getDownTime(); in transformEventOld()
49 long eventTime = e.getEventTime(); in transformEventOld()
50 int action = e.getAction(); in transformEventOld()
51 int pointerCount = e.getPointerCount(); in transformEventOld()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictIOUtilsTests.java147 } catch (IOException e) { in getWordPosition()
148 } catch (UnsupportedFormatException e) { in getWordPosition()
180 } catch (IOException e) { in findWordFromFile()
181 } catch (UnsupportedFormatException e) { in findWordFromFile()
207 } catch (IOException e) { in insertAndCheckWord()
208 Log.e(TAG, "Raised an IOException while inserting a word", e); in insertAndCheckWord()
209 } catch (UnsupportedFormatException e) { in insertAndCheckWord()
210 Log.e(TAG, "Raised an UnsupportedFormatException error while inserting a word", e); in insertAndCheckWord()
225 } catch (IOException e) { in deleteWord()
226 } catch (UnsupportedFormatException e) { in deleteWord()
[all …]
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainTestActivity.java109 } catch (InterruptedException e) { in testKeyChainImproperUse()
110 throw new AssertionError(e); in testKeyChainImproperUse()
111 } catch (KeyChainException e) { in testKeyChainImproperUse()
112 throw new AssertionError(e); in testKeyChainImproperUse()
120 } catch (InterruptedException e) { in testKeyChainImproperUse()
121 throw new AssertionError(e); in testKeyChainImproperUse()
122 } catch (KeyChainException e) { in testKeyChainImproperUse()
123 throw new AssertionError(e); in testKeyChainImproperUse()
131 } catch (InterruptedException e) { in testKeyChainImproperUse()
132 throw new AssertionError(e); in testKeyChainImproperUse()
[all …]

12345678910>>...55