/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | MockSuggestionProviderCursor.java | 112 Object o = mValues[column]; in getDouble() local 113 if (o == null) return 0d; in getDouble() 114 if (o instanceof Double) return (Double) o; in getDouble() 115 return Double.valueOf(o.toString()); in getDouble() 119 Object o = mValues[column]; in getFloat() local 120 if (o == null) return 0f; in getFloat() 121 if (o instanceof Float) return (Float) o; in getFloat() 122 return Float.valueOf(o.toString()); in getFloat() 126 Object o = mValues[column]; in getInt() local 127 if (o == null) return 0; in getInt() [all …]
|
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
D | DiscourseLoggerTest.java | 40 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/nci/jni/ |
D | NativeLlcpSocket.cpp | 37 static jboolean nativeLlcpSocket_doConnect (JNIEnv* e, jobject o, jint nSap) in nativeLlcpSocket_doConnect() argument 44 … PeerToPeer::tJNI_HANDLE jniHandle = (PeerToPeer::tJNI_HANDLE) nfc_jni_get_nfc_socket_handle (e,o); in nativeLlcpSocket_doConnect() 68 static jboolean nativeLlcpSocket_doConnectBy (JNIEnv* e, jobject o, jstring sn) in nativeLlcpSocket_doConnectBy() argument 74 … PeerToPeer::tJNI_HANDLE jniHandle = (PeerToPeer::tJNI_HANDLE) nfc_jni_get_nfc_socket_handle (e,o); in nativeLlcpSocket_doConnectBy() 101 static jboolean nativeLlcpSocket_doClose(JNIEnv *e, jobject o) in nativeLlcpSocket_doClose() argument 107 … PeerToPeer::tJNI_HANDLE jniHandle = (PeerToPeer::tJNI_HANDLE) nfc_jni_get_nfc_socket_handle (e,o); in nativeLlcpSocket_doClose() 129 static jboolean nativeLlcpSocket_doSend (JNIEnv* e, jobject o, jbyteArray data) in nativeLlcpSocket_doSend() argument 136 … PeerToPeer::tJNI_HANDLE jniHandle = (PeerToPeer::tJNI_HANDLE) nfc_jni_get_nfc_socket_handle (e,o); in nativeLlcpSocket_doSend() 159 static jint nativeLlcpSocket_doReceive(JNIEnv *e, jobject o, jbyteArray origBuffer) in nativeLlcpSocket_doReceive() argument 168 … PeerToPeer::tJNI_HANDLE jniHandle = (PeerToPeer::tJNI_HANDLE) nfc_jni_get_nfc_socket_handle (e,o); in nativeLlcpSocket_doReceive() [all …]
|
D | NativeP2pDevice.cpp | 26 static jboolean nativeP2pDeviceDoConnect (JNIEnv* e, jobject o) in nativeP2pDeviceDoConnect() argument 33 static jboolean nativeP2pDeviceDoDisconnect (JNIEnv* e, jobject o) in nativeP2pDeviceDoDisconnect() argument 40 static jbyteArray nativeP2pDeviceDoTransceive (JNIEnv* e, jobject o, jbyteArray data) in nativeP2pDeviceDoTransceive() argument 47 static jbyteArray nativeP2pDeviceDoReceive (JNIEnv* e, jobject o) in nativeP2pDeviceDoReceive() argument 54 static jboolean nativeP2pDeviceDoSend (JNIEnv* e, jobject o, jbyteArray buf) in nativeP2pDeviceDoSend() argument
|
D | NfcJniUtil.cpp | 116 int nfc_jni_get_nfc_socket_handle (JNIEnv *e, jobject o) in nfc_jni_get_nfc_socket_handle() argument 121 c = e->GetObjectClass (o); in nfc_jni_get_nfc_socket_handle() 123 return e->GetIntField (o, f); in nfc_jni_get_nfc_socket_handle() 138 struct nfc_jni_native_data* nfc_jni_get_nat(JNIEnv *e, jobject o) in nfc_jni_get_nat() argument 144 c = e->GetObjectClass(o); in nfc_jni_get_nat() 146 return (struct nfc_jni_native_data*)e->GetIntField(o, f); in nfc_jni_get_nat()
|
D | NativeSecureElement.cpp | 26 extern void com_android_nfc_NfcManager_disableDiscovery (JNIEnv* e, jobject o); 27 extern void com_android_nfc_NfcManager_enableDiscovery (JNIEnv* e, jobject o, jint mode); 42 static jint nativeNfcSecureElement_doOpenSecureElementConnection (JNIEnv* e, jobject o) in nativeNfcSecureElement_doOpenSecureElementConnection() argument 102 static jboolean nativeNfcSecureElement_doDisconnectSecureElementConnection (JNIEnv* e, jobject o, j… in nativeNfcSecureElement_doDisconnectSecureElementConnection() argument 136 static jbyteArray nativeNfcSecureElement_doTransceive (JNIEnv* e, jobject o, jint handle, jbyteArra… in nativeNfcSecureElement_doTransceive() argument 176 static jbyteArray nativeNfcSecureElement_doGetUid (JNIEnv* e, jobject o, jint handle) in nativeNfcSecureElement_doGetUid() argument 200 static jintArray nativeNfcSecureElement_doGetTechList (JNIEnv* e, jobject o, jint handle) in nativeNfcSecureElement_doGetTechList() argument
|
D | NativeNfcManager.cpp | 154 nfc_jni_native_data *getNative (JNIEnv* e, jobject o) in getNative() argument 159 sCachedNat = nfc_jni_get_nat(e, o); in getNative() 508 static jboolean nfcManager_initNativeStruc (JNIEnv* e, jobject o) in nfcManager_initNativeStruc() argument 527 nat->manager = e->NewGlobalRef (o); in nfcManager_initNativeStruc() 529 cls = e->GetObjectClass (o); in nfcManager_initNativeStruc() 531 e->SetIntField (o, f, (jint)nat); in nfcManager_initNativeStruc() 704 static jboolean nfcManager_doInitialize (JNIEnv* e, jobject o) in nfcManager_doInitialize() argument 750 SecureElement::getInstance().initialize (getNative(e, o)); in nfcManager_doInitialize() 752 NfcTag::getInstance().initialize (getNative(e, o)); in nfcManager_doInitialize() 759 struct nfc_jni_native_data *nat = getNative(e, o); in nfcManager_doInitialize() [all …]
|
D | NativeLlcpConnectionlessSocket.cpp | 58 static jboolean nativeLlcpConnectionlessSocket_doSendTo (JNIEnv *e, jobject o, jint nsap, jbyteArra… in nativeLlcpConnectionlessSocket_doSendTo() argument 69 c = e->GetObjectClass (o); in nativeLlcpConnectionlessSocket_doSendTo() 71 handle = e->GetIntField (o, f); in nativeLlcpConnectionlessSocket_doSendTo() 172 static jobject nativeLlcpConnectionlessSocket_doReceiveFrom (JNIEnv *e, jobject o, jint linkMiu) in nativeLlcpConnectionlessSocket_doReceiveFrom() argument 259 static jboolean nativeLlcpConnectionlessSocket_doClose (JNIEnv *e, jobject o) in nativeLlcpConnectionlessSocket_doClose() argument 268 c = e->GetObjectClass (o); in nativeLlcpConnectionlessSocket_doClose() 270 handle = e->GetIntField (o, f); in nativeLlcpConnectionlessSocket_doClose()
|
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
D | Cities.java | 51 CityObj o = new CityObj(prefs, i); in readCitiesFromSharedPrefs() local 52 if (o.mCityName != null && o.mTimeZone != null) { in readCitiesFromSharedPrefs() 53 c.put(o.mCityId, o); in readCitiesFromSharedPrefs() 67 CityObj o = new CityObj(prefs, i); in dumpCities() local 68 if (o.mCityName != null && o.mTimeZone != null) { in dumpCities() 69 Log.d("Cities", "Name " + o.mCityName + " tz " + o.mTimeZone); in dumpCities()
|
/packages/apps/Nfc/nxp/jni/ |
D | com_android_nfc.cpp | 166 struct nfc_jni_native_data* nfc_jni_get_nat(JNIEnv *e, jobject o) in nfc_jni_get_nat() argument 172 c = e->GetObjectClass(o); in nfc_jni_get_nat() 174 return (struct nfc_jni_native_data*)e->GetIntField(o, f); in nfc_jni_get_nat() 244 phLibNfc_Handle nfc_jni_get_p2p_device_handle(JNIEnv *e, jobject o) in nfc_jni_get_p2p_device_handle() argument 249 c = e->GetObjectClass(o); in nfc_jni_get_p2p_device_handle() 252 return e->GetIntField(o, f); in nfc_jni_get_p2p_device_handle() 255 jshort nfc_jni_get_p2p_device_mode(JNIEnv *e, jobject o) in nfc_jni_get_p2p_device_mode() argument 260 c = e->GetObjectClass(o); in nfc_jni_get_p2p_device_mode() 263 return e->GetShortField(o, f); in nfc_jni_get_p2p_device_mode() 267 int nfc_jni_get_connected_tech_index(JNIEnv *e, jobject o) in nfc_jni_get_connected_tech_index() argument [all …]
|
D | com_android_nfc_NativeLlcpSocket.cpp | 112 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() 227 static jboolean com_android_nfc_NativeLlcpSocket_doClose(JNIEnv *e, jobject o) in com_android_nfc_NativeLlcpSocket_doClose() argument 233 hLlcpSocket = nfc_jni_get_nfc_socket_handle(e,o); in com_android_nfc_NativeLlcpSocket_doClose() 248 static jboolean com_android_nfc_NativeLlcpSocket_doSend(JNIEnv *e, jobject o, jbyteArray data) in com_android_nfc_NativeLlcpSocket_doSend() argument 259 hRemoteDevice = nfc_jni_get_p2p_device_handle(e,o); in com_android_nfc_NativeLlcpSocket_doSend() [all …]
|
D | com_android_nfc.h | 228 struct nfc_jni_native_data* nfc_jni_get_nat(JNIEnv *e, jobject o); 239 phLibNfc_Handle nfc_jni_get_p2p_device_handle(JNIEnv *e, jobject o); 240 jshort nfc_jni_get_p2p_device_mode(JNIEnv *e, jobject o); 243 jint nfc_jni_get_connected_technology(JNIEnv *e, jobject o); 244 jint nfc_jni_get_connected_technology_libnfc_type(JNIEnv *e, jobject o); 245 phLibNfc_Handle nfc_jni_get_connected_handle(JNIEnv *e, jobject o); 246 jintArray nfc_jni_get_nfc_tag_type(JNIEnv *e, jobject o); 249 phLibNfc_Handle nfc_jni_get_nfc_socket_handle(JNIEnv *e, jobject o);
|
D | com_android_nfc_NativeLlcpConnectionlessSocket.cpp | 57 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() 207 static jboolean com_android_nfc_NativeLlcpConnectionlessSocket_doClose(JNIEnv *e, jobject o) in com_android_nfc_NativeLlcpConnectionlessSocket_doClose() argument 214 hLlcpSocket = nfc_jni_get_nfc_socket_handle(e,o); in com_android_nfc_NativeLlcpConnectionlessSocket_doClose()
|
D | com_android_nfc_NativeP2pDevice.cpp | 118 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 …]
|
D | com_android_nfc_NativeNfcTag.cpp | 176 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 …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | EvenMoreAsserts.java | 102 BitmapFactory.Options o = new BitmapFactory.Options(); in getImageDimensions() local 103 o.inJustDecodeBounds = true; in getImageDimensions() 104 BitmapFactory.decodeByteArray(imageData, 0, imageData.length, o); in getImageDimensions() 106 return "[" + o.outWidth + " x " + o.outHeight + "]"; in getImageDimensions() 111 for (Object o : values) { in assertUnique() 112 Assert.assertFalse("Duplicate found: " + o, set.contains(o)); in assertUnique() 113 set.add(o); in assertUnique()
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/ |
D | PgmImage.cpp | 241 std::ostream& operator<< (std::ostream& o, const PgmImage& im) in operator <<() argument 243 o << "PGM Image Info:\n"; in operator <<() 244 o << "Size: " << im.m_w << " x " << im.m_h << "\n"; in operator <<() 245 o << "Comment: " << im.m_comment << "\n"; in operator <<() 249 o << "Format: RGB binary pixmap"; in operator <<() 252 o << "Format: PPM binary graymap"; in operator <<() 255 o << "Format: Invalid"; in operator <<() 258 o << endl; in operator <<() 259 return o; in operator <<()
|
/packages/apps/Camera/jni/feature_stab/src/dbregtest/ |
D | PgmImage.cpp | 241 std::ostream& operator<< (std::ostream& o, const PgmImage& im) in operator <<() argument 243 o << "PGM Image Info:\n"; in operator <<() 244 o << "Size: " << im.m_w << " x " << im.m_h << "\n"; in operator <<() 245 o << "Comment: " << im.m_comment << "\n"; in operator <<() 249 o << "Format: RGB binary pixmap"; in operator <<() 252 o << "Format: PPM binary graymap"; in operator <<() 255 o << "Format: Invalid"; in operator <<() 258 o << endl; in operator <<() 259 return o; in operator <<()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | AbstractCorpus.java | 54 public boolean equals(Object o) { in equals() argument 55 if (o != null && getClass().equals(o.getClass())) { in equals() 56 return getName().equals(((Corpus) o).getName()); in equals()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | SearchParams.java | 68 public boolean equals(Object o) { in equals() argument 69 if (o == this) { in equals() 72 if ((o == null) || !(o instanceof SearchParams)) { in equals() 76 SearchParams os = (SearchParams) o; in equals()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | Key.java | 413 private boolean equalsInternal(final Key o) { in equalsInternal() argument 414 if (this == o) return true; in equalsInternal() 415 return o.mX == mX in equalsInternal() 416 && o.mY == mY in equalsInternal() 417 && o.mWidth == mWidth in equalsInternal() 418 && o.mHeight == mHeight in equalsInternal() 419 && o.mCode == mCode in equalsInternal() 420 && TextUtils.equals(o.mLabel, mLabel) in equalsInternal() 421 && TextUtils.equals(o.mHintLabel, mHintLabel) in equalsInternal() 422 && o.mIconId == mIconId in equalsInternal() [all …]
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
D | MessageMoveRequest.java | 32 public boolean equals(Object o) { in equals() argument 33 if (!(o instanceof MessageMoveRequest)) return false; in equals() 34 return ((MessageMoveRequest)o).mMessageId == mMessageId; in equals()
|
D | MeetingResponseRequest.java | 32 public boolean equals(Object o) { in equals() argument 33 if (!(o instanceof MeetingResponseRequest)) return false; in equals() 34 return ((MeetingResponseRequest)o).mMessageId == mMessageId; in equals()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/ |
D | FetchProfile.java | 78 for (Fetchable o : this) { in getFirstPart() 79 if (o instanceof Part) { in getFirstPart() 80 return (Part) o; in getFirstPart()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | Word.java | 82 public boolean equals(Object o) { in equals() argument 83 if (o == this) return true; in equals() 84 if (!(o instanceof Word)) return false; in equals() 85 Word w = (Word)o; in equals()
|