/packages/services/Car/car-lib/src/android/car/ |
D | VehiclePropertyIds.java | 730 public static String toString(int o) { in toString() argument 731 if (o == INVALID) { in toString() 734 if (o == INFO_VIN) { in toString() 737 if (o == INFO_MAKE) { in toString() 740 if (o == INFO_MODEL) { in toString() 743 if (o == INFO_MODEL_YEAR) { in toString() 746 if (o == INFO_FUEL_CAPACITY) { in toString() 749 if (o == INFO_FUEL_TYPE) { in toString() 752 if (o == INFO_EV_BATTERY_CAPACITY) { in toString() 755 if (o == INFO_EV_CONNECTOR_TYPE) { in toString() [all …]
|
/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/modules/NetworkStack/src/com/android/server/ |
D | NetworkObserverRegistry.java | 95 void sendCallback(NetworkObserver o); in sendCallback() argument 120 invokeForAllObservers(o -> o.onInterfaceClassActivityChanged( in onInterfaceClassActivityChanged() 129 invokeForAllObservers(o -> o.onQuotaLimitReached(alertName, ifName)); in onQuotaLimitReached() 134 invokeForAllObservers(o -> o.onInterfaceDnsServerInfo(ifName, lifetime, servers)); in onInterfaceDnsServerInfo() 140 invokeForAllObservers(o -> o.onInterfaceAddressUpdated(address, ifName)); in onInterfaceAddressUpdated() 147 invokeForAllObservers(o -> o.onInterfaceAddressRemoved(address, ifName)); in onInterfaceAddressRemoved() 152 invokeForAllObservers(o -> o.onInterfaceAdded(ifName)); in onInterfaceAdded() 157 invokeForAllObservers(o -> o.onInterfaceRemoved(ifName)); in onInterfaceRemoved() 162 invokeForAllObservers(o -> o.onInterfaceChanged(ifName, up)); in onInterfaceChanged() 167 invokeForAllObservers(o -> o.onInterfaceLinkStateChanged(ifName, up)); in onInterfaceLinkStateChanged() [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/services/Car/service/src/com/android/car/hal/ |
D | CarPropertyUtils.java | 101 Object o = carProp.getValue(); in toVehiclePropValue() local 103 if (o instanceof Boolean) { in toVehiclePropValue() 104 v.int32Values.add(((Boolean) o) ? 1 : 0); in toVehiclePropValue() 105 } else if (o instanceof Boolean[]) { in toVehiclePropValue() 106 for (Boolean b : (Boolean[]) o) { in toVehiclePropValue() 109 } else if (o instanceof Integer) { in toVehiclePropValue() 110 v.int32Values.add((Integer) o); in toVehiclePropValue() 111 } else if (o instanceof Integer[]) { in toVehiclePropValue() 112 Collections.addAll(v.int32Values, (Integer[]) o); in toVehiclePropValue() 113 } else if (o instanceof Float) { in toVehiclePropValue() [all …]
|
/packages/apps/Nfc/nci/jni/ |
D | NativeLlcpSocket.cpp | 42 static jboolean nativeLlcpSocket_doConnect(JNIEnv* e, jobject o, jint nSap) { in nativeLlcpSocket_doConnect() argument 47 (PeerToPeer::tJNI_HANDLE)nfc_jni_get_nfc_socket_handle(e, o); in nativeLlcpSocket_doConnect() 66 static jboolean nativeLlcpSocket_doConnectBy(JNIEnv* e, jobject o, jstring sn) { in nativeLlcpSocket_doConnectBy() argument 70 (PeerToPeer::tJNI_HANDLE)nfc_jni_get_nfc_socket_handle(e, o); in nativeLlcpSocket_doConnectBy() 94 static jboolean nativeLlcpSocket_doClose(JNIEnv* e, jobject o) { in nativeLlcpSocket_doClose() argument 98 (PeerToPeer::tJNI_HANDLE)nfc_jni_get_nfc_socket_handle(e, o); in nativeLlcpSocket_doClose() 117 static jboolean nativeLlcpSocket_doSend(JNIEnv* e, jobject o, jbyteArray data) { in nativeLlcpSocket_doSend() argument 123 (PeerToPeer::tJNI_HANDLE)nfc_jni_get_nfc_socket_handle(e, o); in nativeLlcpSocket_doSend() 144 static jint nativeLlcpSocket_doReceive(JNIEnv* e, jobject o, in nativeLlcpSocket_doReceive() argument 151 (PeerToPeer::tJNI_HANDLE)nfc_jni_get_nfc_socket_handle(e, o); in nativeLlcpSocket_doReceive() [all …]
|
D | NativeNfcTag.cpp | 44 extern nfc_jni_native_data* getNative(JNIEnv* e, jobject o); 776 static jint nativeNfcTag_doHandleReconnect(JNIEnv* e, jobject o, in nativeNfcTag_doHandleReconnect() argument 780 return nativeNfcTag_doConnect(e, o, targetHandle); in nativeNfcTag_doHandleReconnect() 875 static jbyteArray nativeNfcTag_doTransceive(JNIEnv* e, jobject o, in nativeNfcTag_doTransceive() argument 984 nativeNfcTag_doReconnect(e, o); in nativeNfcTag_doTransceive() 1149 static jint nativeNfcTag_doCheckNdef(JNIEnv* e, jobject o, jintArray ndefInfo) { in nativeNfcTag_doCheckNdef() argument 1165 nativeNfcTag_doReconnect(e, o); in nativeNfcTag_doCheckNdef() 1239 nativeNfcTag_doReconnect(e, o); in nativeNfcTag_doCheckNdef() 1378 static jboolean nativeNfcTag_doIsNdefFormatable(JNIEnv* e, jobject o, in nativeNfcTag_doIsNdefFormatable() argument 1406 nativeNfcTag_doTransceive(e, o, versionCmd, JNI_TRUE, NULL); in nativeNfcTag_doIsNdefFormatable() [all …]
|
D | NfcJniUtil.cpp | 113 int nfc_jni_get_nfc_socket_handle(JNIEnv* e, jobject o) { in nfc_jni_get_nfc_socket_handle() argument 114 ScopedLocalRef<jclass> c(e, e->GetObjectClass(o)); in nfc_jni_get_nfc_socket_handle() 116 return e->GetIntField(o, f); in nfc_jni_get_nfc_socket_handle() 130 struct nfc_jni_native_data* nfc_jni_get_nat(JNIEnv* e, jobject o) { in nfc_jni_get_nat() argument 131 ScopedLocalRef<jclass> c(e, e->GetObjectClass(o)); in nfc_jni_get_nat() 134 return (struct nfc_jni_native_data*)e->GetLongField(o, f); in nfc_jni_get_nat()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
D | ContactsMatchers.java | 73 public boolean matches(Object o) { in hasCount() 74 if (!(o instanceof Cursor)) return false; in hasCount() 75 return ((Cursor)o).getCount() == count; in hasCount() 89 public boolean matches(Object o) { 90 if (!(o instanceof Cursor)) return false; 91 final Cursor cursor = (Cursor)o; 107 public boolean matches(Object o) { 108 if (!(o instanceof Cursor)) return false; 109 final Cursor cursor = (Cursor)o; 131 public boolean matches(Object o) { [all …]
|
/packages/apps/DocumentsUI/tests/res/raw/ |
D | images_tar | 8 …m^p,��MWT�U�,iGqkQ�Ğo��t�� ĩ��YZ�хm�Ջ���ɫBH�����ߝ�o���Q���'$�I`�6�� KV��+�#�'u,��\��%&1\�… 10 …?`3/e*x?V,iy��&��Q����^I1��C�,|�}$ ��M+�х����,�.�|<C�sKⷋHK�6�b��mר��;o����0(���b���XWOw����… 12 ̇�n�Z���e�o�� 17 g!d���+ߏ�������h�̌�f��Q����z+�ȪkO�q���:$B�_�;��䶢���o�s�e}�J�)��h)ΞD[�&Z�/�gY�MN… 19 …5�O :�ڃ�/�=�N�Z���S�=���D)p幬�=�64װ"�[I�T��w��#1S�(�,o�.� ���wT���.r�W�AsG K�~Po�2�W�… 20 {�t̞�H�$]1�g���$���x9ؘ��g��]�46i�C�zT�R��o��u 26 �R�u�fo�?��J⁴���-{��87o(��d]aRK��]��� K纫�|T�s�->^v���������D�6�B�j���;���YN��7��J�ͥ�y… 27 A�4�P]X߸͒x�6w#<[���Kט&gn|o��� ��ºϺ�4����Y����J@��B0-n�M�b˄�vu���>E�㖳a�p�}���oE���c… 30 …:�k:��X�?���,c0�O��YuɄ����E[�����{�`��Xy*g2+ۿ���j�G.z��l��3DN�1�����o��xY/4R��_H�i����6&… 33 ���R(�Ӆ�o��Q��~S(L�W�6'<� [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/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | document.h | 585 Allocator::Free(data_.o.members); 710 if (data_.o.size != rhs.data_.o.size) 829 SizeType MemberCount() const { RAPIDJSON_ASSERT(IsObject()); return data_.o.size; } 832 bool ObjectEmpty() const { RAPIDJSON_ASSERT(IsObject()); return data_.o.size == 0; } 882 … MemberBegin() const { RAPIDJSON_ASSERT(IsObject()); return ConstMemberIterator(data_.o.members); } 885 …nst { RAPIDJSON_ASSERT(IsObject()); return ConstMemberIterator(data_.o.members + data_.o.size); } 888 … MemberBegin() { RAPIDJSON_ASSERT(IsObject()); return MemberIterator(data_.o.members); } 891 … { RAPIDJSON_ASSERT(IsObject()); return MemberIterator(data_.o.members + data_.o.size); } 997 Object& o = data_.o; 998 if (o.size >= o.capacity) { [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | valuetest.cpp | 933 Value o(kObjectType); in TEST() local 934 o.AddMember("true", true, allocator); in TEST() 935 o.AddMember("false", false, allocator); in TEST() 936 o.AddMember("int", -1, allocator); in TEST() 937 o.AddMember("uint", 1u, allocator); in TEST() 938 o.AddMember("int64", INT64_C(-4294967296), allocator); in TEST() 939 o.AddMember("uint64", UINT64_C(4294967296), allocator); in TEST() 940 o.AddMember("double", 3.14, allocator); in TEST() 941 o.AddMember("string", "Jelly", allocator); in TEST() 943 EXPECT_TRUE(o["true"].GetBool()); in TEST() [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/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/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
D | HTML.java | 130 public boolean equals(Object o) { in equals() argument 131 if (o == this) { in equals() 134 if (o instanceof HTML.Element) { in equals() 135 HTML.Element that = (HTML.Element) o; in equals() 222 public boolean equals(Object o) { in equals() argument 223 if (o == this) { in equals() 226 if (o instanceof HTML.Attribute) { in equals() 227 HTML.Attribute that = (HTML.Attribute) o; in equals()
|
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | DebugLogUtils.java | 35 public static String s(final Object o) { in s() argument 36 return null == o ? "null" : o.toString(); in s() 91 for (final Object o : args) { in l() 92 sb.append(s(o).toString()); in l() 108 for (final Object o : args) { in r() 109 sb.append(s(o).toString()); in r()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
D | DynamicGridKeyboard.java | 172 for (final Object o : keys) { in loadRecentKeys() 174 if (o instanceof Integer) { in loadRecentKeys() 175 final int code = (Integer)o; in loadRecentKeys() 177 } else if (o instanceof String) { in loadRecentKeys() 178 final String outputText = (String)o; in loadRecentKeys() 181 Log.w(TAG, "Invalid object: " + o); in loadRecentKeys() 251 public boolean equals(final Object o) { in equals() argument 252 if (!(o instanceof Key)) return false; in equals() 253 final Key key = (Key)o; in equals()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | PhoneAccountRegistrar.java | 1370 public abstract void writeToXml(T o, XmlSerializer serializer, Context context) 1584 public void writeToXml(State o, XmlSerializer serializer, Context context) 1586 if (o != null) { 1591 for (DefaultPhoneAccountHandle defaultPhoneAccountHandle : o 1599 for (PhoneAccount m : o.accounts) { 1677 public void writeToXml(DefaultPhoneAccountHandle o, XmlSerializer serializer, 1679 if (o != null) { 1681 final long serialNumber = userManager.getSerialNumberForUser(o.userHandle); 1685 writeNonNullString(GROUP_ID, o.groupId, serializer); 1687 sPhoneAccountHandleXml.writeToXml(o.phoneAccountHandle, serializer, [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | NgramContext.java | 87 public boolean equals(Object o) { in equals() argument 88 if (this == o) return true; in equals() 89 if (!(o instanceof WordInfo)) return false; in equals() 90 final WordInfo wordInfo = (WordInfo)o; in equals() 239 public boolean equals(Object o) { in equals() argument 240 if (this == o) return true; in equals() 241 if (!(o instanceof NgramContext)) return false; in equals() 242 final NgramContext prevWordsInfo = (NgramContext)o; in equals()
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeCarPropertyService.java | 188 public boolean equals(Object o) { in equals() argument 189 if (this == o) { in equals() 192 if (!(o instanceof PropKey)) { in equals() 195 PropKey propKey = (PropKey) o; in equals() 213 public boolean equals(Object o) { in equals() argument 214 if (this == o) { in equals() 217 if (!(o instanceof ListenerInfo)) { in equals() 220 ListenerInfo that = (ListenerInfo) o; in equals()
|
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/ |
D | FrontendAppIdentifier.java | 37 public boolean equals(Object o) { in equals() argument 38 if (this == o) { in equals() 41 if (o == null || getClass() != o.getClass()) { in equals() 45 FrontendAppIdentifier that = (FrontendAppIdentifier) o; in equals()
|