Home
last modified time | relevance | path

Searched refs:o (Results 1 – 25 of 46) sorted by relevance

12

/packages/apps/Email/tests/src/com/android/email/mail/transport/
DDiscourseLoggerTest.java40 private static Object[] o(Object... objects) { in o() method in DiscourseLoggerTest
45 checkDiscourseStore(4, o(), s()); in testDiscourseLogger()
47 o( in testDiscourseLogger()
54 o( in testDiscourseLogger()
67 o( in testDiscourseLogger()
81 o( in testDiscourseLogger()
88 o( in testDiscourseLogger()
97 o( in testDiscourseLogger()
107 o( in testDiscourseLogger()
126 for (Object o : discource) { in checkDiscourseStore()
[all …]
/packages/apps/Nfc/jni/
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()
224 static jboolean com_android_nfc_NativeLlcpSocket_doClose(JNIEnv *e, jobject o) in com_android_nfc_NativeLlcpSocket_doClose() argument
230 hLlcpSocket = nfc_jni_get_nfc_socket_handle(e,o); in com_android_nfc_NativeLlcpSocket_doClose()
245 static jboolean com_android_nfc_NativeLlcpSocket_doSend(JNIEnv *e, jobject o, jbyteArray data) in com_android_nfc_NativeLlcpSocket_doSend() argument
256 hRemoteDevice = nfc_jni_get_p2p_device_handle(e,o); in com_android_nfc_NativeLlcpSocket_doSend()
[all …]
Dcom_android_nfc.cpp165 struct nfc_jni_native_data* nfc_jni_get_nat(JNIEnv *e, jobject o) in nfc_jni_get_nat() argument
171 c = e->GetObjectClass(o); in nfc_jni_get_nat()
173 return (struct nfc_jni_native_data*)e->GetIntField(o, f); in nfc_jni_get_nat()
243 phLibNfc_Handle nfc_jni_get_p2p_device_handle(JNIEnv *e, jobject o) in nfc_jni_get_p2p_device_handle() argument
248 c = e->GetObjectClass(o); in nfc_jni_get_p2p_device_handle()
251 return e->GetIntField(o, f); in nfc_jni_get_p2p_device_handle()
254 jshort nfc_jni_get_p2p_device_mode(JNIEnv *e, jobject o) in nfc_jni_get_p2p_device_mode() argument
259 c = e->GetObjectClass(o); in nfc_jni_get_p2p_device_mode()
262 return e->GetShortField(o, f); in nfc_jni_get_p2p_device_mode()
266 int nfc_jni_get_connected_tech_index(JNIEnv *e, jobject o) in nfc_jni_get_connected_tech_index() argument
[all …]
Dcom_android_nfc.h220 struct nfc_jni_native_data* nfc_jni_get_nat(JNIEnv *e, jobject o);
231 phLibNfc_Handle nfc_jni_get_p2p_device_handle(JNIEnv *e, jobject o);
232 jshort nfc_jni_get_p2p_device_mode(JNIEnv *e, jobject o);
235 jint nfc_jni_get_connected_technology(JNIEnv *e, jobject o);
236 jint nfc_jni_get_connected_technology_libnfc_type(JNIEnv *e, jobject o);
237 phLibNfc_Handle nfc_jni_get_connected_handle(JNIEnv *e, jobject o);
238 jintArray nfc_jni_get_nfc_tag_type(JNIEnv *e, jobject o);
241 phLibNfc_Handle nfc_jni_get_nfc_socket_handle(JNIEnv *e, jobject o);
Dcom_android_nfc_NativeLlcpConnectionlessSocket.cpp57 static jboolean com_android_nfc_NativeLlcpConnectionlessSocket_doSendTo(JNIEnv *e, jobject o, jint … in com_android_nfc_NativeLlcpConnectionlessSocket_doSendTo() argument
68 hRemoteDevice = nfc_jni_get_p2p_device_handle(e,o); in com_android_nfc_NativeLlcpConnectionlessSocket_doSendTo()
69 hLlcpSocket = nfc_jni_get_nfc_socket_handle(e,o); in com_android_nfc_NativeLlcpConnectionlessSocket_doSendTo()
119 static jobject com_android_nfc_NativeLlcpConnectionlessSocket_doReceiveFrom(JNIEnv *e, jobject o, j… in com_android_nfc_NativeLlcpConnectionlessSocket_doReceiveFrom() argument
155 hRemoteDevice = nfc_jni_get_p2p_device_handle(e,o); in com_android_nfc_NativeLlcpConnectionlessSocket_doReceiveFrom()
156 hLlcpSocket = nfc_jni_get_nfc_socket_handle(e,o); in com_android_nfc_NativeLlcpConnectionlessSocket_doReceiveFrom()
211 static jboolean com_android_nfc_NativeLlcpConnectionlessSocket_doClose(JNIEnv *e, jobject o) in com_android_nfc_NativeLlcpConnectionlessSocket_doClose() argument
218 hLlcpSocket = nfc_jni_get_nfc_socket_handle(e,o); in com_android_nfc_NativeLlcpConnectionlessSocket_doClose()
Dcom_android_nfc_NativeP2pDevice.cpp118 static jboolean com_android_nfc_NativeP2pDevice_doConnect(JNIEnv *e, jobject o) in com_android_nfc_NativeP2pDevice_doConnect() argument
135 handle = nfc_jni_get_p2p_device_handle(e, o); in com_android_nfc_NativeP2pDevice_doConnect()
167 target_cls = e->GetObjectClass(o); in com_android_nfc_NativeP2pDevice_doConnect()
184 e->SetObjectField(o, f, generalBytes); in com_android_nfc_NativeP2pDevice_doConnect()
199 static jboolean com_android_nfc_NativeP2pDevice_doDisconnect(JNIEnv *e, jobject o) in com_android_nfc_NativeP2pDevice_doDisconnect() argument
208 handle = nfc_jni_get_p2p_device_handle(e, o); in com_android_nfc_NativeP2pDevice_doDisconnect()
269 jobject o, jbyteArray data) in com_android_nfc_NativeP2pDevice_doTransceive() argument
277 phLibNfc_Handle handle = nfc_jni_get_p2p_device_handle(e, o); in com_android_nfc_NativeP2pDevice_doTransceive()
355 JNIEnv *e, jobject o) in com_android_nfc_NativeP2pDevice_doReceive() argument
366 handle = nfc_jni_get_p2p_device_handle(e, o); in com_android_nfc_NativeP2pDevice_doReceive()
[all …]
Dcom_android_nfc_NativeNfcTag.cpp176 jobject o) in com_android_nfc_NativeNfcTag_doRead() argument
191 handle = nfc_jni_get_connected_handle(e, o); in com_android_nfc_NativeNfcTag_doRead()
235 jobject o, jbyteArray buf) in com_android_nfc_NativeNfcTag_doWrite() argument
241 phLibNfc_Handle handle = nfc_jni_get_connected_handle(e, o); in com_android_nfc_NativeNfcTag_doWrite()
448 jobject o, phLibNfc_Handle handle) in com_android_nfc_NativeNfcTag_doConnect() argument
495 set_target_pollBytes(e, o, pRemDevInfo); in com_android_nfc_NativeNfcTag_doConnect()
496 set_target_activationBytes(e, o, pRemDevInfo); in com_android_nfc_NativeNfcTag_doConnect()
505 jobject o, phLibNfc_Handle handle) in com_android_nfc_NativeNfcTag_doHandleReconnect() argument
556 jobject o) in com_android_nfc_NativeNfcTag_doReconnect() argument
560 int libNfcType = nfc_jni_get_connected_technology_libnfc_type(e, o); in com_android_nfc_NativeNfcTag_doReconnect()
[all …]
Dcom_android_nfc_NativeLlcpServiceSocket.cpp69 static jobject com_NativeLlcpServiceSocket_doAccept(JNIEnv *e, jobject o, jint miu, jint rw, jint l… in com_NativeLlcpServiceSocket_doAccept() argument
89 hServerSocket = nfc_jni_get_nfc_socket_handle(e,o); in com_NativeLlcpServiceSocket_doAccept()
175 static jboolean com_NativeLlcpServiceSocket_doClose(JNIEnv *e, jobject o) in com_NativeLlcpServiceSocket_doClose() argument
184 hLlcpSocket = nfc_jni_get_nfc_socket_handle(e,o); in com_NativeLlcpServiceSocket_doClose()
Dcom_android_nfc_NativeNfcManager.cpp1621 static void com_android_nfc_NfcManager_disableDiscovery(JNIEnv *e, jobject o) in com_android_nfc_NfcManager_disableDiscovery() argument
1628 nat = nfc_jni_get_nat(e, o); in com_android_nfc_NfcManager_disableDiscovery()
1637 JNIEnv *e, jobject o, jint mode) in com_android_nfc_NfcManager_enableDiscovery() argument
1645 nat = nfc_jni_get_nat(e, o); in com_android_nfc_NfcManager_enableDiscovery()
1659 static void com_android_nfc_NfcManager_doResetIsoDepTimeout( JNIEnv *e, jobject o) { in com_android_nfc_NfcManager_doResetIsoDepTimeout() argument
1674 static void com_android_nfc_NfcManager_doSetIsoDepTimeout( JNIEnv *e, jobject o, in com_android_nfc_NfcManager_doSetIsoDepTimeout() argument
1715 static jboolean com_android_nfc_NfcManager_init_native_struc(JNIEnv *e, jobject o) in com_android_nfc_NfcManager_init_native_struc() argument
1735 nat->manager = e->NewGlobalRef(o); in com_android_nfc_NfcManager_init_native_struc()
1737 cls = e->GetObjectClass(o); in com_android_nfc_NfcManager_init_native_struc()
1739 e->SetIntField(o, f, (jint)nat); in com_android_nfc_NfcManager_init_native_struc()
[all …]
Dcom_android_nfc_NativeNfcSecureElement.cpp169 …tic jint com_android_nfc_NativeNfcSecureElement_doOpenSecureElementConnection(JNIEnv *e, jobject o) in com_android_nfc_NativeNfcSecureElement_doOpenSecureElementConnection() argument
445 static jboolean com_android_nfc_NativeNfcSecureElement_doDisconnect(JNIEnv *e, jobject o, jint hand… in com_android_nfc_NativeNfcSecureElement_doDisconnect() argument
578 jobject o,jint handle, jbyteArray data) in com_android_nfc_NativeNfcSecureElement_doTransceive() argument
677 static jbyteArray com_android_nfc_NativeNfcSecureElement_doGetUid(JNIEnv *e, jobject o, jint handle) in com_android_nfc_NativeNfcSecureElement_doGetUid() argument
694 static jintArray com_android_nfc_NativeNfcSecureElement_doGetTechList(JNIEnv *e, jobject o, jint ha… in com_android_nfc_NativeNfcSecureElement_doGetTechList() argument
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DAbstractCorpus.java62 public boolean equals(Object o) { in equals() argument
63 if (o != null && getClass().equals(o.getClass())) { in equals()
64 return getName().equals(((Corpus) o).getName()); in equals()
DAbstractSource.java99 public boolean equals(Object o) { in equals() argument
100 if (o != null && o.getClass().equals(this.getClass())) { in equals()
101 AbstractSource s = (AbstractSource) o; in equals()
/packages/apps/Email/src/com/android/email/mail/
DFetchProfile.java78 for (Fetchable o : this) { in getFirstPart()
79 if (o instanceof Part) { in getFirstPart()
80 return (Part) o; in getFirstPart()
DSender.java47 Object o = null; in instantiateSender() local
53 o = m.invoke(null, context, uri); in instantiateSender()
60 if (!(o instanceof Sender)) { in instantiateSender()
64 return (Sender) o; in instantiateSender()
DStore.java73 Object o = null; in instantiateStore() local
80 o = m.invoke(null, uri, context, callbacks); in instantiateStore()
87 if (!(o instanceof Store)) { in instantiateStore()
91 return (Store) o; in instantiateStore()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DMockCorpus.java107 public boolean equals(Object o) { in equals() argument
108 if (o != null && o.getClass().equals(this.getClass())) { in equals()
109 MockCorpus s = (MockCorpus) o; in equals()
DMockSource.java142 public boolean equals(Object o) { in equals() argument
143 if (o != null && o.getClass().equals(this.getClass())) { in equals()
144 MockSource s = (MockSource) o; in equals()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
DOpenWnnDictionaryImplJni.c64 int i, o; in convertStringToNjChar() local
67 for( i = o = 0 ; src[ i ] != 0x00 && o < maxChars ; ) { in convertStringToNjChar()
69 dst_tmp = ( NJ_UINT8* )&( dst[ o ] ); in convertStringToNjChar()
77 o++; in convertStringToNjChar()
87 o++; in convertStringToNjChar()
97 o++; in convertStringToNjChar()
106 if( !( o < maxChars - 1 ) ) { in convertStringToNjChar()
122 o += 2; in convertStringToNjChar()
127 dst[ o ] = NJ_CHAR_NUL; in convertStringToNjChar()
140 int i, o; in convertNjCharToString() local
[all …]
/packages/apps/Gallery3D/src/com/cooliris/media/
DLongSparseArray.java104 int o = 0; in gc() local
112 if (i != o) { in gc()
113 keys[o] = keys[i]; in gc()
114 values[o] = val; in gc()
117 o++; in gc()
122 mSize = o; in gc()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/voice/
DFieldContext.java55 private static String safeToString(Object o) { in safeToString() argument
56 if (o == null) { in safeToString()
59 return o.toString(); in safeToString()
/packages/apps/Email/src/org/apache/james/mime4j/
DLog.java106 private static String toString(Object o, Throwable t) { in toString() argument
107 String m = (o == null) ? "(null)" : o.toString(); in toString()
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java218 for (Object o : available) { in updateState()
219 String s = (String)o; in updateState()
229 for (Object o : tethered) { in updateState()
230 String s = (String)o; in updateState()
235 for (Object o: errored) { in updateState()
236 String s = (String)o; in updateState()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiApEnabler.java163 for (Object o : tethered) { in updateTetherState()
164 String s = (String)o; in updateTetherState()
169 for (Object o: errored) { in updateTetherState()
170 String s = (String)o; in updateTetherState()
/packages/apps/Phone/src/com/android/phone/
DCallCard.java449 Object o = conn.getUserData(); in displayMainCallStatus() local
450 if (o instanceof PhoneUtils.CallerInfoToken) { in displayMainCallStatus()
452 ((PhoneUtils.CallerInfoToken) o).currentInfo); in displayMainCallStatus()
465 info = ((PhoneUtils.CallerInfoToken) o).currentInfo; in displayMainCallStatus()
466 } else if (o instanceof CallerInfo) { in displayMainCallStatus()
467 info = (CallerInfo) o; in displayMainCallStatus()
494 if (o instanceof CallerInfo) { in displayMainCallStatus()
495 CallerInfo ci = (CallerInfo) o; in displayMainCallStatus()
505 } else if (o instanceof PhoneUtils.CallerInfoToken){ in displayMainCallStatus()
506 CallerInfo ci = ((PhoneUtils.CallerInfoToken) o).currentInfo; in displayMainCallStatus()
[all …]
/packages/apps/Browser/src/com/android/browser/
DBrowserSettings.java203 public void update(Observable o, Object arg) { in update() argument
204 BrowserSettings b = (BrowserSettings)o; in update()
495 Observer o = new Observer(s); in addObserver() local
496 mWebSettingsToObservers.put(s, o); in addObserver()
497 super.addObserver(o); in addObserver()
498 return o; in addObserver()
506 Observer o = mWebSettingsToObservers.get(s); in deleteObserver() local
507 if (o != null) { in deleteObserver()
509 super.deleteObserver(o); in deleteObserver()

12