Home
last modified time | relevance | path

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

1234567891011

/packages/services/Car/car-lib/src/android/car/
DVehiclePropertyIds.java736 public static String toString(int o) { in toString() argument
737 if (o == INVALID) { in toString()
740 if (o == INFO_VIN) { in toString()
743 if (o == INFO_MAKE) { in toString()
746 if (o == INFO_MODEL) { in toString()
749 if (o == INFO_MODEL_YEAR) { in toString()
752 if (o == INFO_FUEL_CAPACITY) { in toString()
755 if (o == INFO_FUEL_TYPE) { in toString()
758 if (o == INFO_EV_BATTERY_CAPACITY) { in toString()
761 if (o == INFO_EV_CONNECTOR_TYPE) { in toString()
[all …]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DMockSuggestionProviderCursor.java112 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/
DNetworkObserverRegistry.java90 void sendCallback(NetworkObserver o); in sendCallback() argument
115 invokeForAllObservers(o -> o.onInterfaceClassActivityChanged( in onInterfaceClassActivityChanged()
124 invokeForAllObservers(o -> o.onQuotaLimitReached(alertName, ifName)); in onQuotaLimitReached()
129 invokeForAllObservers(o -> o.onInterfaceDnsServerInfo(ifName, lifetime, servers)); in onInterfaceDnsServerInfo()
135 invokeForAllObservers(o -> o.onInterfaceAddressUpdated(address, ifName)); in onInterfaceAddressUpdated()
142 invokeForAllObservers(o -> o.onInterfaceAddressRemoved(address, ifName)); in onInterfaceAddressRemoved()
147 invokeForAllObservers(o -> o.onInterfaceAdded(ifName)); in onInterfaceAdded()
152 invokeForAllObservers(o -> o.onInterfaceRemoved(ifName)); in onInterfaceRemoved()
157 invokeForAllObservers(o -> o.onInterfaceChanged(ifName, up)); in onInterfaceChanged()
162 invokeForAllObservers(o -> o.onInterfaceLinkStateChanged(ifName, up)); in onInterfaceLinkStateChanged()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpBitmapFetch.java49 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/services/Car/service/src/com/android/car/hal/
DCarPropertyUtils.java101 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/
DNativeLlcpSocket.cpp42 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 …]
DNativeNfcTag.cpp44 extern nfc_jni_native_data* getNative(JNIEnv* e, jobject o);
841 static jint nativeNfcTag_doHandleReconnect(JNIEnv* e, jobject o, in nativeNfcTag_doHandleReconnect() argument
845 return nativeNfcTag_doConnect(e, o, targetHandle); in nativeNfcTag_doHandleReconnect()
940 static jbyteArray nativeNfcTag_doTransceive(JNIEnv* e, jobject o, in nativeNfcTag_doTransceive() argument
1049 nativeNfcTag_doReconnect(e, o); in nativeNfcTag_doTransceive()
1214 static jint nativeNfcTag_doCheckNdef(JNIEnv* e, jobject o, jintArray ndefInfo) { in nativeNfcTag_doCheckNdef() argument
1230 nativeNfcTag_doReconnect(e, o); in nativeNfcTag_doCheckNdef()
1304 nativeNfcTag_doReconnect(e, o); in nativeNfcTag_doCheckNdef()
1443 static jboolean nativeNfcTag_doIsNdefFormatable(JNIEnv* e, jobject o, in nativeNfcTag_doIsNdefFormatable() argument
1471 nativeNfcTag_doTransceive(e, o, versionCmd, JNI_TRUE, NULL); in nativeNfcTag_doIsNdefFormatable()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DContactsMatchers.java73 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/
Dimages_tar8 …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+�Ȫk O�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ט&g፿n|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/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Ddocument.h585 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/TV/tuner/tests/assets/
Dcapture_kqed.ts5 ��y�t�c��2M�F������o&�$!/↟'{��f�R���]6�i�"���
23 …e–,��Lg#L�(�z�!RS�f%��(�>��"y��b]-�]���C�φ�#��0�Ӵ��a5� ZQ�f�m�c�[�R�� �o�Э�'œ��Ѱ�� � �^��G��…
67 Fƫ����K��-id(6PF�ُ-�������o�\�'7
73 j[�hRY#�c$�����z�I�i�m@Q�k��b['���fC~�Zأ�Y�O��(�11�o�^+�t#�_�-Z��.#����gr� �X����9��퀽�k…
81 x��T� E�r�G�)ok<zB3��}�c��u1� % �Z-Q"hQ���A �p �5�b
133 ڗg�V/������n�B��f� ��!G�o���!7R�?��>�I��0�0�@V���
134 G��MR�g&��o��"�^5��N����x�a��X�a�Ynzj���0(���!C��)�d�->�T��L�<�G��������F��nO���B̧��…
140 �.Ł����z��S*�]�=!W�����S��o�Hxs�f:���5��Z�#
161 …&KB�2��2A�=��`K����.�%,I ���uD�l��t��f����fc>�j������ʥ;��R�lwѕrIXvl���o��΅e~I��k�#G���
162o���%%�b�����o�d��Ň���K�� UR��s��k��t\�8��� �|E@N�p����o�PX3VZ>Z�/���oI�4F�i2�z��v?<ͥ��S5…
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DEvenMoreAsserts.java102 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/Test/connectivity/sl4n/rapidjson/test/unittest/
Dvaluetest.cpp933 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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java493 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/LegacyCamera/jni/feature_stab/src/dbregtest/
DPgmImage.cpp241 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/modules/DnsResolver/tests/
Dtun_forwarder.cpp78 bool TunForwarder::v4pair::operator==(const v4pair& o) const { in operator ==()
79 return std::tie(src.s_addr, dst.s_addr) == std::tie(o.src.s_addr, o.dst.s_addr); in operator ==()
82 bool TunForwarder::v4pair::operator<(const v4pair& o) const { in operator <()
83 return std::tie(src.s_addr, dst.s_addr) < std::tie(o.src.s_addr, o.dst.s_addr); in operator <()
96 bool TunForwarder::v6pair::operator==(const v6pair& o) const { in operator ==()
97 return src == o.src && dst == o.dst; in operator ==()
100 bool TunForwarder::v6pair::operator<(const v6pair& o) const { in operator <()
101 if (src != o.src) return src < o.src; in operator <()
102 return dst < o.dst; in operator <()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DDebugLogUtils.java35 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/
DDynamicGridKeyboard.java172 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/
DPhoneAccountRegistrar.java1404 public abstract void writeToXml(T o, XmlSerializer serializer, Context context)
1624 public void writeToXml(State o, XmlSerializer serializer, Context context)
1626 if (o != null) {
1631 for (DefaultPhoneAccountHandle defaultPhoneAccountHandle : o
1639 for (PhoneAccount m : o.accounts) {
1717 public void writeToXml(DefaultPhoneAccountHandle o, XmlSerializer serializer,
1719 if (o != null) {
1721 final long serialNumber = userManager.getSerialNumberForUser(o.userHandle);
1725 writeNonNullString(GROUP_ID, o.groupId, serializer);
1727 sPhoneAccountHandleXml.writeToXml(o.phoneAccountHandle, serializer,
[all …]
/packages/modules/DnsResolver/tests/dns_metrics_listener/
Ddns_metrics_listener.cpp34 bool DnsMetricsListener::DnsEvent::operator==(const DnsMetricsListener::DnsEvent& o) const { in operator ==()
36 std::tie(o.netId, o.eventType, o.returnCode, o.hostname, o.ipAddresses, in operator ==()
37 o.ipAddressesCount); in operator ==()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ipmemorystore/
DNetworkAttributes.java186 public float getNetworkGroupSamenessConfidence(@NonNull final NetworkAttributes o) { in getNetworkGroupSamenessConfidence() argument
188 samenessContribution(WEIGHT_ASSIGNEDV4ADDR, assignedV4Address, o.assignedV4Address) in getNetworkGroupSamenessConfidence()
190 o.assignedV4AddressExpiry) in getNetworkGroupSamenessConfidence()
191 + samenessContribution(WEIGHT_CLUSTER, cluster, o.cluster) in getNetworkGroupSamenessConfidence()
192 + samenessContribution(WEIGHT_DNSADDRESSES, dnsAddresses, o.dnsAddresses) in getNetworkGroupSamenessConfidence()
193 + samenessContribution(WEIGHT_MTU, mtu, o.mtu); in getNetworkGroupSamenessConfidence()
317 public boolean equals(@Nullable final Object o) { in equals() argument
318 if (!(o instanceof NetworkAttributes)) return false; in equals()
319 final NetworkAttributes other = (NetworkAttributes) o; in equals()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DNgramContext.java87 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/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DMediaItemMetadata.java142 public boolean equals(Context context, Object o) { in equals() argument
143 if (this == o) return true; in equals()
144 if (o == null || getClass() != o.getClass()) return false; in equals()
145 ArtworkRef other = (ArtworkRef) o; in equals()
348 public boolean equals(Object o) { in equals() argument
349 if (this == o) return true; in equals()
350 if (o == null || getClass() != o.getClass()) return false; in equals()
351 MediaItemMetadata that = (MediaItemMetadata) o; in equals()
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DCaptivePortalDataShimImpl.java80 private static long getLongOrDefault(JSONObject o, String key, long def) throws JSONException { in getLongOrDefault() argument
81 if (!o.has(key)) return def; in getLongOrDefault()
82 return o.getLong(key); in getLongOrDefault()
85 private static Uri getUriOrNull(JSONObject o, String key) throws JSONException { in getUriOrNull() argument
86 if (!o.has(key)) return null; in getUriOrNull()
87 return Uri.parse(o.getString(key)); in getUriOrNull()
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
DFrontendAppIdentifier.java37 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()

1234567891011