/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/Nfc/nxp/jni/ |
D | com_android_nfc.cpp | 153 struct nfc_jni_native_data* nfc_jni_get_nat(JNIEnv *e, jobject o) in nfc_jni_get_nat() argument 156 ScopedLocalRef<jclass> c(e, e->GetObjectClass(o)); in nfc_jni_get_nat() 158 return (struct nfc_jni_native_data*) e->GetLongField(o, f); in nfc_jni_get_nat() 228 phLibNfc_Handle nfc_jni_get_p2p_device_handle(JNIEnv *e, jobject o) in nfc_jni_get_p2p_device_handle() argument 230 ScopedLocalRef<jclass> c(e, e->GetObjectClass(o)); in nfc_jni_get_p2p_device_handle() 232 return e->GetIntField(o, f); in nfc_jni_get_p2p_device_handle() 235 jshort nfc_jni_get_p2p_device_mode(JNIEnv *e, jobject o) in nfc_jni_get_p2p_device_mode() argument 237 ScopedLocalRef<jclass> c(e, e->GetObjectClass(o)); in nfc_jni_get_p2p_device_mode() 239 return e->GetShortField(o, f); in nfc_jni_get_p2p_device_mode() 243 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_NativeNfcTag.cpp | 179 jobject o) in com_android_nfc_NativeNfcTag_doRead() argument 194 handle = nfc_jni_get_connected_handle(e, o); in com_android_nfc_NativeNfcTag_doRead() 238 jobject o, jbyteArray buf) in com_android_nfc_NativeNfcTag_doWrite() argument 244 phLibNfc_Handle handle = nfc_jni_get_connected_handle(e, o); in com_android_nfc_NativeNfcTag_doWrite() 442 jobject o, phLibNfc_Handle handle) in com_android_nfc_NativeNfcTag_doConnect() argument 487 set_target_pollBytes(e, o, pRemDevInfo); in com_android_nfc_NativeNfcTag_doConnect() 488 set_target_activationBytes(e, o, pRemDevInfo); in com_android_nfc_NativeNfcTag_doConnect() 546 jobject o) in com_android_nfc_NativeNfcTag_doReconnect() argument 550 int libNfcType = nfc_jni_get_connected_technology_libnfc_type(e, o); in com_android_nfc_NativeNfcTag_doReconnect() 555 phLibNfc_Handle handle = nfc_jni_get_connected_handle(e,o); in com_android_nfc_NativeNfcTag_doReconnect() [all …]
|
D | com_android_nfc_NativeP2pDevice.cpp | 120 static jboolean com_android_nfc_NativeP2pDevice_doConnect(JNIEnv *e, jobject o) in com_android_nfc_NativeP2pDevice_doConnect() argument 137 handle = nfc_jni_get_p2p_device_handle(e, o); in com_android_nfc_NativeP2pDevice_doConnect() 169 target_cls.reset(e->GetObjectClass(o)); in com_android_nfc_NativeP2pDevice_doConnect() 186 e->SetObjectField(o, f, generalBytes); in com_android_nfc_NativeP2pDevice_doConnect() 201 static jboolean com_android_nfc_NativeP2pDevice_doDisconnect(JNIEnv *e, jobject o) in com_android_nfc_NativeP2pDevice_doDisconnect() argument 210 handle = nfc_jni_get_p2p_device_handle(e, o); in com_android_nfc_NativeP2pDevice_doDisconnect() 271 jobject o, jbyteArray data) in com_android_nfc_NativeP2pDevice_doTransceive() argument 279 phLibNfc_Handle handle = nfc_jni_get_p2p_device_handle(e, o); in com_android_nfc_NativeP2pDevice_doTransceive() 357 JNIEnv *e, jobject o) in com_android_nfc_NativeP2pDevice_doReceive() argument 368 handle = nfc_jni_get_p2p_device_handle(e, o); in com_android_nfc_NativeP2pDevice_doReceive() [all …]
|
D | com_android_nfc_NativeNfcManager.cpp | 1346 static void com_android_nfc_NfcManager_disableDiscovery(JNIEnv *e, jobject o) in com_android_nfc_NfcManager_disableDiscovery() argument 1353 nat = nfc_jni_get_nat(e, o); in com_android_nfc_NfcManager_disableDiscovery() 1362 static void com_android_nfc_NfcManager_enableDiscovery(JNIEnv *e, jobject o, jint modes, in com_android_nfc_NfcManager_enableDiscovery() argument 1370 nat = nfc_jni_get_nat(e, o); in com_android_nfc_NfcManager_enableDiscovery() 1587 static jboolean com_android_nfc_NfcManager_init_native_struc(JNIEnv *e, jobject o) in com_android_nfc_NfcManager_init_native_struc() argument 1607 nat->manager = e->NewGlobalRef(o); in com_android_nfc_NfcManager_init_native_struc() 1609 cls = e->GetObjectClass(o); in com_android_nfc_NfcManager_init_native_struc() 1611 e->SetLongField(o, f, (jlong)nat); in com_android_nfc_NfcManager_init_native_struc() 1646 static jboolean com_android_nfc_NfcManager_initialize(JNIEnv *e, jobject o) in com_android_nfc_NfcManager_initialize() argument 1666 nat = nfc_jni_get_nat(e, o); in com_android_nfc_NfcManager_initialize() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | MtpBitmapFetch.java | 49 BitmapFactory.Options o = new BitmapFactory.Options(); in getThumbnail() local 50 o.inJustDecodeBounds = true; in getThumbnail() 51 BitmapFactory.decodeByteArray(imageBytes, 0, imageBytes.length, o); in getThumbnail() 52 if (o.outWidth == 0 || o.outHeight == 0) { in getThumbnail() 55 o.inBitmap = GalleryBitmapPool.getInstance().get(o.outWidth, o.outHeight); in getThumbnail() 56 o.inMutable = true; in getThumbnail() 57 o.inJustDecodeBounds = false; in getThumbnail() 58 o.inSampleSize = 1; in getThumbnail() 60 return BitmapFactory.decodeByteArray(imageBytes, 0, imageBytes.length, o); in getThumbnail() 82 BitmapFactory.Options o = new BitmapFactory.Options(); in getFullsize() local [all …]
|
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
D | DiscourseLoggerTest.java | 42 private static Object[] o(Object... objects) { in o() method in DiscourseLoggerTest 47 checkDiscourseStore(4, o(), s()); in testDiscourseLogger() 49 o( in testDiscourseLogger() 56 o( in testDiscourseLogger() 69 o( in testDiscourseLogger() 83 o( in testDiscourseLogger() 90 o( in testDiscourseLogger() 99 o( in testDiscourseLogger() 109 o( in testDiscourseLogger() 128 for (Object o : discource) { in checkDiscourseStore() [all …]
|
/packages/apps/Nfc/nci/jni/ |
D | NativeLlcpSocket.cpp | 39 static jboolean nativeLlcpSocket_doConnect (JNIEnv* e, jobject o, jint nSap) in nativeLlcpSocket_doConnect() argument 43 … PeerToPeer::tJNI_HANDLE jniHandle = (PeerToPeer::tJNI_HANDLE) nfc_jni_get_nfc_socket_handle(e, o); in nativeLlcpSocket_doConnect() 63 static jboolean nativeLlcpSocket_doConnectBy (JNIEnv* e, jobject o, jstring sn) in nativeLlcpSocket_doConnectBy() argument 67 … PeerToPeer::tJNI_HANDLE jniHandle = (PeerToPeer::tJNI_HANDLE) nfc_jni_get_nfc_socket_handle(e, o); in nativeLlcpSocket_doConnectBy() 92 static jboolean nativeLlcpSocket_doClose(JNIEnv *e, jobject o) in nativeLlcpSocket_doClose() argument 96 … PeerToPeer::tJNI_HANDLE jniHandle = (PeerToPeer::tJNI_HANDLE) nfc_jni_get_nfc_socket_handle(e, o); in nativeLlcpSocket_doClose() 116 static jboolean nativeLlcpSocket_doSend (JNIEnv* e, jobject o, jbyteArray data) in nativeLlcpSocket_doSend() argument 122 … PeerToPeer::tJNI_HANDLE jniHandle = (PeerToPeer::tJNI_HANDLE) nfc_jni_get_nfc_socket_handle(e, o); in nativeLlcpSocket_doSend() 143 static jint nativeLlcpSocket_doReceive(JNIEnv *e, jobject o, jbyteArray origBuffer) in nativeLlcpSocket_doReceive() argument 149 … PeerToPeer::tJNI_HANDLE jniHandle = (PeerToPeer::tJNI_HANDLE) nfc_jni_get_nfc_socket_handle(e, o); in nativeLlcpSocket_doReceive() [all …]
|
D | NativeNfcTag.cpp | 46 extern nfc_jni_native_data* getNative(JNIEnv *e, jobject o); 808 static jint nativeNfcTag_doHandleReconnect (JNIEnv *e, jobject o, jint targetHandle) in nativeNfcTag_doHandleReconnect() argument 811 return nativeNfcTag_doConnect (e, o, targetHandle); in nativeNfcTag_doHandleReconnect() 915 static jbyteArray nativeNfcTag_doTransceive (JNIEnv* e, jobject o, jbyteArray data, jboolean raw, j… in nativeNfcTag_doTransceive() argument 1022 nativeNfcTag_doReconnect (e, o); in nativeNfcTag_doTransceive() 1202 static jint nativeNfcTag_doCheckNdef (JNIEnv* e, jobject o, jintArray ndefInfo) in nativeNfcTag_doCheckNdef() argument 1221 nativeNfcTag_doReconnect (e, o); in nativeNfcTag_doCheckNdef() 1306 nativeNfcTag_doReconnect (e, o); in nativeNfcTag_doCheckNdef() 1453 jobject o, jint /*libNfcType*/, jbyteArray, jbyteArray, in nativeNfcTag_doIsNdefFormatable() argument 1487 jbyteArray respBytes = nativeNfcTag_doTransceive(e, o, versionCmd, JNI_TRUE, NULL); in nativeNfcTag_doIsNdefFormatable() [all …]
|
D | NativeNfcManager.cpp | 167 nfc_jni_native_data *getNative (JNIEnv* e, jobject o) in getNative() argument 172 sCachedNat = nfc_jni_get_nat(e, o); in getNative() 547 static jboolean nfcManager_initNativeStruc (JNIEnv* e, jobject o) in nfcManager_initNativeStruc() argument 561 nat->manager = e->NewGlobalRef(o); in nfcManager_initNativeStruc() 563 ScopedLocalRef<jclass> cls(e, e->GetObjectClass(o)); in nfcManager_initNativeStruc() 565 e->SetLongField(o, f, (jlong)nat); in nfcManager_initNativeStruc() 842 static jboolean nfcManager_doInitialize (JNIEnv* e, jobject o) in nfcManager_doInitialize() argument 890 RoutingManager::getInstance().initialize(getNative(e, o)); in nfcManager_doInitialize() 892 NfcTag::getInstance().initialize (getNative(e, o)); in nfcManager_doInitialize() 899 struct nfc_jni_native_data *nat = getNative(e, o); in nfcManager_doInitialize() [all …]
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
D | OpenWnnDictionaryImplJni.c | 64 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/services/Telecomm/src/com/android/server/telecom/ |
D | PhoneAccountRegistrar.java | 933 public abstract void writeToXml(T o, XmlSerializer serializer, Context context) 1056 public void writeToXml(State o, XmlSerializer serializer, Context context) 1058 if (o != null) { 1062 if (o.defaultOutgoing != null) { 1064 sPhoneAccountHandleXml.writeToXml(o.defaultOutgoing, serializer, context); 1069 for (PhoneAccount m : o.accounts) { 1132 public void writeToXml(PhoneAccount o, XmlSerializer serializer, Context context) 1134 if (o != null) { 1137 if (o.getAccountHandle() != null) { 1139 sPhoneAccountHandleXml.writeToXml(o.getAccountHandle(), serializer, context); [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | Key.java | 493 private boolean equalsInternal(final Key o) { in equalsInternal() argument 494 if (this == o) return true; in equalsInternal() 495 return o.mX == mX in equalsInternal() 496 && o.mY == mY in equalsInternal() 497 && o.mWidth == mWidth in equalsInternal() 498 && o.mHeight == mHeight in equalsInternal() 499 && o.mCode == mCode in equalsInternal() 500 && TextUtils.equals(o.mLabel, mLabel) in equalsInternal() 501 && TextUtils.equals(o.mHintLabel, mHintLabel) in equalsInternal() 502 && o.mIconId == mIconId in equalsInternal() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Message.java | 234 public boolean equals(Object o) { in equals() argument 235 return this == o || (o != null && o instanceof Message in equals() 236 && Objects.equal(uri, ((Message) o).uri)); in equals() 251 public boolean isEqual(Message o) { in isEqual() argument 252 return TextUtils.equals(this.getFrom(), o.getFrom()) && in isEqual() 253 this.sendingState == o.sendingState && in isEqual() 254 this.starred == o.starred && in isEqual() 255 this.read == o.read && in isEqual() 256 TextUtils.equals(this.getTo(), o.getTo()) && in isEqual() 257 TextUtils.equals(this.getCc(), o.getCc()) && in isEqual() [all …]
|
/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/Launcher2/src/com/android/launcher2/ |
D | WidgetPreviewLoader.java | 191 public Bitmap getPreview(final Object o) { in getPreview() argument 192 String name = getObjectName(o); in getPreview() 196 packageValid = !sInvalidPackages.contains(getObjectPackage(o)); in getPreview() 245 final Bitmap generatedPreview = generatePreview(o, unusedBitmap); in getPreview() 248 throw new RuntimeException("generatePreview is not recycling the bitmap " + o); in getPreview() 259 writeToDb(o, generatedPreview); in getPreview() 268 public void recycleBitmap(Object o, Bitmap bitmapToRecycle) { in recycleBitmap() argument 269 String name = getObjectName(o); in recycleBitmap() 324 private static String getObjectName(Object o) { in getObjectName() argument 328 if (o instanceof AppWidgetProviderInfo) { in getObjectName() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
D | ContactRequest.java | 52 public boolean equals(final Object o) { in equals() argument 53 if (this == o) { in equals() 56 if (o == null || getClass() != o.getClass()) { in equals() 60 final ContactRequest that = (ContactRequest) o; in equals() 124 public boolean equals(final Object o) { in equals() argument 125 if (this == o) { in equals() 128 if (o == null || getClass() != o.getClass()) { in equals() 132 final ContactRequestHolder that = (ContactRequestHolder) o; in equals()
|
/packages/apps/Settings/src/com/android/settings/ |
D | DeviceAdminSettings.java | 150 Object o = l.getAdapter().getItem(position); in onListItemClick() local 151 if (!(o instanceof DeviceAdminInfo)) { in onListItemClick() 155 DeviceAdminInfo dpi = (DeviceAdminInfo) o; in onListItemClick() 268 Object o = getItem(position); in getItemViewType() local 269 return (o instanceof String) ? 1 : 0; in getItemViewType() 274 Object o = getItem(position); in isEnabled() local 275 return isEnabled(o); in isEnabled() 278 private boolean isEnabled(Object o) { in isEnabled() argument 279 if (!(o instanceof DeviceAdminInfo)) { in isEnabled() 283 DeviceAdminInfo info = (DeviceAdminInfo) o; in isEnabled() [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_mos/src/mosaic/ |
D | Blend.cpp | 471 for (int o = tw; o >= 0; o--) in DoMergeAndBlend() local 474 imgMos.V.ptr[y][x - o] = idx2; in DoMergeAndBlend() 476 imgMos.U.ptr[y][x - o] = 50 + (99 - 50) * o / tw; in DoMergeAndBlend() 479 for (int o = 1; o <= tw; o++) in DoMergeAndBlend() local 482 imgMos.V.ptr[y][x + o] = idx1; in DoMergeAndBlend() 484 imgMos.U.ptr[y][x + o] = imgMos.U.ptr[y][x - o]; in DoMergeAndBlend() 524 for (int o = tw; o >= 0; o--) in DoMergeAndBlend() local 527 imgMos.V.ptr[y - o][x] = idx2; in DoMergeAndBlend() 529 imgMos.U.ptr[y - o][x] = 50 + (99 - 50) * o / tw; in DoMergeAndBlend() 532 for (int o = 1; o <= tw; o++) in DoMergeAndBlend() local [all …]
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
D | Blend.cpp | 471 for (int o = tw; o >= 0; o--) in DoMergeAndBlend() local 474 imgMos.V.ptr[y][x - o] = idx2; in DoMergeAndBlend() 476 imgMos.U.ptr[y][x - o] = 50 + (99 - 50) * o / tw; in DoMergeAndBlend() 479 for (int o = 1; o <= tw; o++) in DoMergeAndBlend() local 482 imgMos.V.ptr[y][x + o] = idx1; in DoMergeAndBlend() 484 imgMos.U.ptr[y][x + o] = imgMos.U.ptr[y][x - o]; in DoMergeAndBlend() 524 for (int o = tw; o >= 0; o--) in DoMergeAndBlend() local 527 imgMos.V.ptr[y - o][x] = idx2; in DoMergeAndBlend() 529 imgMos.U.ptr[y - o][x] = 50 + (99 - 50) * o / tw; in DoMergeAndBlend() 532 for (int o = 1; o <= tw; o++) in DoMergeAndBlend() local [all …]
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | pt_BR_wordlist.combined.gz |
|
/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/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 <<()
|