Home
last modified time | relevance | path

Searched refs:equals (Results 1 – 25 of 3448) sorted by relevance

12345678910>>...138

/packages/apps/Contacts/src/com/android/contacts/list/
DContactsIntentResolver.java62 if (UiIntentActions.LIST_DEFAULT.equals(action) ) { in resolveIntent()
64 } else if (UiIntentActions.LIST_ALL_CONTACTS_ACTION.equals(action)) { in resolveIntent()
66 } else if (UiIntentActions.LIST_CONTACTS_WITH_PHONES_ACTION.equals(action)) { in resolveIntent()
68 } else if (UiIntentActions.LIST_STARRED_ACTION.equals(action)) { in resolveIntent()
70 } else if (UiIntentActions.LIST_FREQUENT_ACTION.equals(action)) { in resolveIntent()
72 } else if (UiIntentActions.LIST_STREQUENT_ACTION.equals(action)) { in resolveIntent()
74 } else if (UiIntentActions.LIST_GROUP_ACTION.equals(action)) { in resolveIntent()
77 } else if (UiIntentActions.ACTION_SELECT_ITEMS.equals(action)) { in resolveIntent()
79 if (Phone.CONTENT_TYPE.equals(resolvedType)) { in resolveIntent()
81 } else if (Email.CONTENT_TYPE.equals(resolvedType)) { in resolveIntent()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanResultMatchInfoTest.java114 .equals(ScanResultMatchInfo.fromScanResult( in testScanResultMatchesWifiConfiguration()
138 assertFalse(scan1.getScanResult().BSSID.equals(scan2.getScanResult().BSSID)); in testDifferentBssidScanResultsMatch()
180 assertTrue(key1.equals(key1)); in testEqualityRulesForTransitionMode()
183 assertTrue(key1.equals(key2)); in testEqualityRulesForTransitionMode()
184 assertTrue(key2.equals(key1)); in testEqualityRulesForTransitionMode()
187 assertTrue(key1.equals(key2)); in testEqualityRulesForTransitionMode()
188 assertTrue(key2.equals(key3)); in testEqualityRulesForTransitionMode()
189 assertTrue(key1.equals(key3)); in testEqualityRulesForTransitionMode()
192 assertTrue(key1.equals(key2)); in testEqualityRulesForTransitionMode()
193 assertTrue(key1.equals(key2)); in testEqualityRulesForTransitionMode()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DMmiCodeUtil.java107 (sc.equals(SC_CFU) in isServiceCodeCallForwarding()
108 || sc.equals(SC_CFB) || sc.equals(SC_CFNRy) in isServiceCodeCallForwarding()
109 || sc.equals(SC_CFNR) || sc.equals(SC_CF_All) in isServiceCodeCallForwarding()
110 || sc.equals(SC_CF_All_Conditional)); in isServiceCodeCallForwarding()
115 (sc.equals(SC_BAOC) in isServiceCodeCallBarring()
116 || sc.equals(SC_BAOIC) || sc.equals(SC_BAOICxH) in isServiceCodeCallBarring()
117 || sc.equals(SC_BAIC) || sc.equals(SC_BAICr) in isServiceCodeCallBarring()
118 || sc.equals(SC_BA_ALL) || sc.equals(SC_BA_MO) in isServiceCodeCallBarring()
119 || sc.equals(SC_BA_MT)); in isServiceCodeCallBarring()
123 return sc != null && (sc.equals(SC_PIN) || sc.equals(SC_PIN2) in isPinPukCommand()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DBmessageParser.java117 if (!prop.equals(BEGIN_BMSG)) { in parse()
123 while (prop.equals(BEGIN_VCARD)) { in parse()
133 if (!prop.equals(BEGIN_BENV)) { in parse()
139 if (!prop.equals(END_BMSG)) { in parse()
164 if (prop.name.equals("VERSION")) { in parseProperties()
167 } else if (prop.name.equals("STATUS")) { in parseProperties()
169 if (prop.value.equals(s.toString())) { in parseProperties()
175 } else if (prop.name.equals("TYPE")) { in parseProperties()
177 if (prop.value.equals(t.toString())) { in parseProperties()
183 } else if (prop.name.equals("FOLDER")) { in parseProperties()
[all …]
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDeviceFilter.java110 if (!aoapData && "manufacturer-name".equals(name)) { in read()
112 } else if (!aoapData && "product-name".equals(name)) { in read()
114 } else if (!aoapData && "serial-number".equals(name)) { in read()
116 } else if (aoapData && "manufacturer".equals(name)) { in read()
118 } else if (aoapData && "model".equals(name)) { in read()
120 } else if (aoapData && "description".equals(name)) { in read()
122 } else if (aoapData && "version".equals(name)) { in read()
124 } else if (aoapData && "uri".equals(name)) { in read()
126 } else if (aoapData && "serial".equals(name)) { in read()
128 } else if (aoapData && "service".equals(name)) { in read()
[all …]
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DTreeTraverserTest.java123 /* stopPredicate= */ null, /* targetPredicate= */ node -> node.equals(mNode0)); in testFindNodeOrAncestor()
129 /* targetPredicate= */ node -> node.equals(mNode0)); in testFindNodeOrAncestor()
135 /* targetPredicate= */ node -> node.equals(mNode0)); in testFindNodeOrAncestor()
141 /* targetPredicate= */ node -> node.equals(mNode6)); in testFindNodeOrAncestor()
147 node -> node.equals(mNode1), in testFindNodeOrAncestor()
148 /* targetPredicate= */ node -> node.equals(mNode0)); in testFindNodeOrAncestor()
154 node -> node.equals(mNode0), in testFindNodeOrAncestor()
155 /* targetPredicate= */ node -> node.equals(mNode0)); in testFindNodeOrAncestor()
190 /* targetPredicate= */ node -> node.equals(mNode0)); in testDepthFirstSearch()
196 /* targetPredicate= */ node -> node.equals(mNode4)); in testDepthFirstSearch()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockContentProvider.java136 public boolean equals(Uri uri, String[] projection, String selection, in equals() method in MockContentProvider.Query
142 } else if (!uri.equals(mUri)) { in equals()
146 if (!mAnyProjection && !Arrays.equals(projection, mProjection)) { in equals()
150 if (!mAnySelection && !Objects.equals(selection, mSelection)) { in equals()
154 if (!mAnySelection && !Arrays.equals(selectionArgs, mSelectionArgs)) { in equals()
158 if (!mAnySortOrder && !Objects.equals(sortOrder, mSortOrder)) { in equals()
229 public boolean equals(Uri uri) { in equals() method in MockContentProvider.TypeQuery
230 return getUri().equals(uri); in equals()
266 private boolean equals(Uri uri, ContentValues contentValues) { in equals() method in MockContentProvider.Insert
267 return mUri.equals(uri) && mContentValues.equals(contentValues); in equals()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbShellCommand.java356 if (option.equals("-b")) { in buildFiraOpenSessionParams()
359 if (option.equals("-i")) { in buildFiraOpenSessionParams()
362 if (option.equals("-c")) { in buildFiraOpenSessionParams()
365 if (option.equals("-t")) { in buildFiraOpenSessionParams()
367 if (type.equals("controller")) { in buildFiraOpenSessionParams()
369 } else if (type.equals("controlee")) { in buildFiraOpenSessionParams()
375 if (option.equals("-r")) { in buildFiraOpenSessionParams()
377 if (role.equals("initiator")) { in buildFiraOpenSessionParams()
379 } else if (role.equals("responder")) { in buildFiraOpenSessionParams()
385 if (option.equals("-a")) { in buildFiraOpenSessionParams()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DClatCoordinatorTest.java166 if (BASE_IFACE.equals(ifName)) { in getInterfaceIndex()
168 } else if (STACKED_IFACE.equals(ifName)) { in getInterfaceIndex()
180 if (STACKED_IFACE.equals(tuniface)) { in createTunInterface()
193 if (INIT_V4ADDR_STRING.equals(v4addr) && INIT_V4ADDR_PREFIX_LEN == prefixlen) { in selectIpv4Address()
206 if (BASE_IFACE.equals(iface) && XLAT_LOCAL_IPV4ADDR_STRING.equals(v4) in generateIpv6Address()
207 && NAT64_PREFIX_STRING.equals(prefix64)) { in generateIpv6Address()
220 if (NAT64_PREFIX_STRING.equals(platSubnet) && GOOGLE_DNS_4 == platSuffix in detectMtu()
255 if (Objects.equals(RAW_SOCK_PFD.getFileDescriptor(), sock) in addAnycastSetsockopt()
256 && XLAT_LOCAL_IPV6ADDR_STRING.equals(v6) in addAnycastSetsockopt()
267 if (Objects.equals(PACKET_SOCK_PFD.getFileDescriptor(), sock) in configurePacketSocket()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomBroadcastIntentProcessor.java119 if (ACTION_SEND_SMS_FROM_NOTIFICATION.equals(action) || in processIntent()
120 ACTION_CALL_BACK_FROM_NOTIFICATION.equals(action) || in processIntent()
121 ACTION_CLEAR_MISSED_CALLS.equals(action)) { in processIntent()
132 if (ACTION_SEND_SMS_FROM_NOTIFICATION.equals(action)) { in processIntent()
139 } else if (ACTION_CALL_BACK_FROM_NOTIFICATION.equals(action)) { in processIntent()
146 } else if (ACTION_CLEAR_MISSED_CALLS.equals(action)) { in processIntent()
149 } else if(ACTION_DISCONNECTED_SEND_SMS_FROM_NOTIFICATION.equals(action) || in processIntent()
150 ACTION_DISCONNECTED_CALL_BACK_FROM_NOTIFICATION.equals(action)) { in processIntent()
162 if (ACTION_DISCONNECTED_SEND_SMS_FROM_NOTIFICATION.equals(action)) { in processIntent()
169 } else if (ACTION_DISCONNECTED_CALL_BACK_FROM_NOTIFICATION.equals(action)) { in processIntent()
[all …]
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/
DLaneView.java154 if (laneDir.getShape().equals(LaneDirection.Shape.NORMAL_RIGHT) in getShift()
155 || laneDir.getShape().equals(LaneDirection.Shape.SLIGHT_RIGHT) in getShift()
156 || laneDir.getShape().equals(LaneDirection.Shape.SHARP_RIGHT) in getShift()
157 || laneDir.getShape().equals(LaneDirection.Shape.U_TURN_RIGHT)) { in getShift()
160 if (laneDir.getShape().equals(LaneDirection.Shape.NORMAL_LEFT) in getShift()
161 || laneDir.getShape().equals(LaneDirection.Shape.SLIGHT_LEFT) in getShift()
162 || laneDir.getShape().equals(LaneDirection.Shape.SHARP_LEFT) in getShift()
163 || laneDir.getShape().equals(LaneDirection.Shape.U_TURN_LEFT)) { in getShift()
166 if (laneDir.getShape().equals(LaneDirection.Shape.STRAIGHT)) { in getShift()
190 if (laneDir.getShape().equals(LaneDirection.Shape.NORMAL_LEFT) in getOffset()
[all …]
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DLaneView.java153 if (laneDir.getShape().equals(LaneDirection.Shape.NORMAL_RIGHT) in getShift()
154 || laneDir.getShape().equals(LaneDirection.Shape.SLIGHT_RIGHT) in getShift()
155 || laneDir.getShape().equals(LaneDirection.Shape.SHARP_RIGHT) in getShift()
156 || laneDir.getShape().equals(LaneDirection.Shape.U_TURN_RIGHT)) { in getShift()
159 if (laneDir.getShape().equals(LaneDirection.Shape.NORMAL_LEFT) in getShift()
160 || laneDir.getShape().equals(LaneDirection.Shape.SLIGHT_LEFT) in getShift()
161 || laneDir.getShape().equals(LaneDirection.Shape.SHARP_LEFT) in getShift()
162 || laneDir.getShape().equals(LaneDirection.Shape.U_TURN_LEFT)) { in getShift()
165 if (laneDir.getShape().equals(LaneDirection.Shape.STRAIGHT)) { in getShift()
189 if (laneDir.getShape().equals(LaneDirection.Shape.NORMAL_LEFT) in getOffset()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/
DXmlUtils.java39 if (parser.getName().equals(endTag)) { in readThisArrayMapXml()
75 if (parser.getName().equals(endTag)) { in readThisListXml()
106 if (parser.getName().equals("item")) { in readThisStringArrayXml()
118 if (parser.getName().equals(endTag)) { in readThisStringArrayXml()
120 } else if (parser.getName().equals("item")) { in readThisStringArrayXml()
141 if (tagName.equals("null")) { in readThisValueXml()
143 } else if (tagName.equals("string")) { in readThisValueXml()
148 if (parser.getName().equals("string")) { in readThisValueXml()
162 } else if (tagName.equals("string-array")) { in readThisValueXml()
166 } else if (tagName.equals("list")) { in readThisValueXml()
[all …]
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/
DProgramInfo.java200 if (!GEN_TITLE.equals(title) in build()
202 && !GEN_POSTER.equals(posterArtUri) in build()
204 && !GEN_GENRE.equals(genre)) { in build()
208 GEN_TITLE.equals(title) ? "Title(" + index + ")" : title, in build()
209 GEN_EPISODE.equals(episode) ? "Episode(" + index + ")" : episode, in build()
212 GEN_POSTER.equals(posterArtUri) in build()
219 GEN_GENRE.equals(genre) ? GENRES[index % GENRES.length] : genre, in build()
235 public boolean equals(Object o) { in equals() method in ProgramInfo
243 return Objects.equals(seasonNumber, that.seasonNumber) in equals()
244 && Objects.equals(episodeNumber, that.episodeNumber) in equals()
[all …]
DChannelInfo.java187 public boolean equals(Object o) { in equals() method in ChannelInfo
195 return Objects.equals(originalNetworkId, that.originalNetworkId) in equals()
196 && Objects.equals(videoWidth, that.videoWidth) in equals()
197 && Objects.equals(videoHeight, that.videoHeight) in equals()
198 && Objects.equals(audioChannel, that.audioChannel) in equals()
199 && Objects.equals(audioLanguageCount, that.audioLanguageCount) in equals()
200 && Objects.equals(hasClosedCaption, that.hasClosedCaption) in equals()
201 && Objects.equals(appLinkColor, that.appLinkColor) in equals()
202 && Objects.equals(number, that.number) in equals()
203 && Objects.equals(name, that.name) in equals()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java557 if (forcedBand.equals("2")) { in onCommand()
560 } else if (forcedBand.equals("5")) { in onCommand()
563 } else if (forcedBand.equals("6")) { in onCommand()
637 if (option.equals("-f")) { in onCommand()
1013 if (action != null && action.equals("lingering")) { in onCommand()
1019 .filter(s -> s.getSsid().equals(ssid)) in onCommand()
1214 boolean isHex = (option != null && option.equals("-x")); in onCommand()
1271 if (option.equals("-h")) { in onCommand()
1391 if (cmdOption != null && cmdOption.equals("-i")) { in onCommand()
1423 if (pinOption.equals("-p")) { in onCommand()
[all …]
DWifiConfigurationUtil.java193 return !Objects.equals(existingConfig.getStaticIpConfiguration(), in hasIpChanged()
216 return !Objects.equals(existingConfig.getHttpProxy(), newConfig.getHttpProxy()); in hasProxyChanged()
271 if (!TextUtils.equals(existingEnterpriseConfig.getAnonymousIdentity(), in hasEnterpriseConfigChanged()
281 if (!TextUtils.equals(existingEnterpriseConfig.getIdentity(), in hasEnterpriseConfigChanged()
285 if (!TextUtils.equals(existingEnterpriseConfig.getAnonymousIdentity(), in hasEnterpriseConfigChanged()
289 if (!TextUtils.equals(existingEnterpriseConfig.getPassword(), in hasEnterpriseConfigChanged()
295 if (!Arrays.equals(existingCaCerts, newCaCerts)) { in hasEnterpriseConfigChanged()
298 if (!Arrays.equals(newEnterpriseConfig.getCaCertificateAliases(), in hasEnterpriseConfigChanged()
302 if (!TextUtils.equals(newEnterpriseConfig.getClientCertificateAlias(), in hasEnterpriseConfigChanged()
306 if (!TextUtils.equals(newEnterpriseConfig.getAltSubjectMatch(), in hasEnterpriseConfigChanged()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DDataItem.java59 if (GroupMembership.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
61 } else if (StructuredName.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
63 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
65 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
67 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
69 } else if (Im.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
71 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
73 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
75 } else if (Note.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
77 } else if (Website.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DSipDialog.java183 if (!mBranchId.equals(m.getViaBranchParameter())) return false; in isResponseAssociatedWithDialog()
184 if (!mCallId.equals(m.getCallIdParameter())) return false; in isResponseAssociatedWithDialog()
186 return mFromTag.equals(fromTag); in isResponseAssociatedWithDialog()
194 if (!mCallId.equals(m.getCallIdParameter())) return false; in isRequestAssociatedWithDialog()
202 return (mFromTag.equals(fromTag) || mFromTag.equals(toTag)) in isRequestAssociatedWithDialog()
203 && (mToTag.equals(toTag) || mToTag.equals(fromTag)); in isRequestAssociatedWithDialog()
236 public boolean equals(Object o) { in equals() method in SipDialog
242 return mBranchId.equals(sipDialog.mBranchId) in equals()
243 && Objects.equals(mCallId, sipDialog.mCallId) in equals()
244 && Objects.equals(mFromTag, sipDialog.mFromTag) in equals()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DReverseGeocoder.java149 if (currentCity.equals(addr1Locality) || currentCity.equals(addr2Locality)) { in computeAddress()
151 if (currentCity.equals(addr1Locality)) { in computeAddress()
155 if (!currentCountry.equals(addr2CountryCode)) { in computeAddress()
166 if (!currentCountry.equals(addr1CountryCode)) { in computeAddress()
175 if (closestCommonLocation != null && !("null".equals(closestCommonLocation))) { in computeAddress()
176 if (!currentCity.equals(otherCity)) { in computeAddress()
184 if (closestCommonLocation != null && !("null".equals(closestCommonLocation))) { in computeAddress()
191 if (closestCommonLocation != null && !("".equals(closestCommonLocation))) { in computeAddress()
195 if (!countryCode.equals(currentCountry)) { in computeAddress()
206 if (currentAdminArea.equals(addr1AdminArea) && currentAdminArea.equals(addr2AdminArea)) { in computeAddress()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpItem.java250 public boolean equals(Object o) { in equals() method in AvrcpItem
260 return Objects.equals(mUuid, other.getUuid()) in equals()
261 && Objects.equals(mDevice, other.getDevice()) in equals()
262 && Objects.equals(mUid, other.getUid()) in equals()
263 && Objects.equals(mItemType, other.getItemType()) in equals()
264 && Objects.equals(mType, other.getType()) in equals()
265 && Objects.equals(mTitle, other.getTitle()) in equals()
266 && Objects.equals(mDisplayableName, other.getDisplayableName()) in equals()
267 && Objects.equals(mArtistName, other.getArtistName()) in equals()
268 && Objects.equals(mAlbumName, other.getAlbumName()) in equals()
[all …]
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DIntentForwarderActivity.java103 if (className.equals(FORWARD_INTENT_TO_PARENT)) { in onCreate()
110 } else if (className.equals(FORWARD_INTENT_TO_MANAGED_PROFILE)) { in onCreate()
127 if (Intent.ACTION_CHOOSER.equals(intentReceived.getAction())) { in onCreate()
182 if (!"android".equals(activityInfo.packageName)) { in isIntentForwarderResolveInfo()
185 return activityInfo.name.equals(FORWARD_INTENT_TO_PARENT) in isIntentForwarderResolveInfo()
186 || activityInfo.name.equals(FORWARD_INTENT_TO_MANAGED_PROFILE); in isIntentForwarderResolveInfo()
192 && RESOLVER_COMPONENT_NAME.equals(resolveInfo.activityInfo.getComponentName()); in isResolverActivityResolveInfo()
255 if (className.equals(FORWARD_INTENT_TO_PARENT)) { in findSelectedProfile()
257 } else if (className.equals(FORWARD_INTENT_TO_MANAGED_PROFILE)) { in findSelectedProfile()
283 return (Intent.ACTION_SENDTO.equals(intent.getAction()) || isViewActionIntent(intent)) in isTextMessageIntent()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiInfo.java1097 return mMacAddress != null && !DEFAULT_MAC_ADDRESS.equals(mMacAddress); in hasRealMacAddress()
1736 public boolean equals(Object that) { in equals() method in WifiInfo
1747 if (!Objects.equals(getSortedMloLinkList(mAffiliatedMloLinks), in equals()
1752 return Objects.equals(mWifiSsid, thatWifiInfo.mWifiSsid) in equals()
1753 && Objects.equals(mBSSID, thatWifiInfo.mBSSID) in equals()
1754 && Objects.equals(mApMldMacAddress, thatWifiInfo.mApMldMacAddress) in equals()
1756 && Objects.equals(mNetworkId, thatWifiInfo.mNetworkId) in equals()
1757 && Objects.equals(mRssi, thatWifiInfo.mRssi) in equals()
1758 && Objects.equals(mSupplicantState, thatWifiInfo.mSupplicantState) in equals()
1759 && Objects.equals(mLinkSpeed, thatWifiInfo.mLinkSpeed) in equals()
[all …]
/packages/modules/Connectivity/nearby/tests/cts/fastpair/src/android/nearby/cts/
DPublicCredentialTest.java76 assertThat(Arrays.equals(credential.getSecretId(), SECRETE_ID)).isTrue(); in testBuilder()
77 assertThat(Arrays.equals(credential.getAuthenticityKey(), AUTHENTICITY_KEY)).isTrue(); in testBuilder()
78 assertThat(Arrays.equals(credential.getPublicKey(), PUBLIC_KEY)).isTrue(); in testBuilder()
79 assertThat(Arrays.equals(credential.getEncryptedMetadata(), ENCRYPTED_METADATA)).isTrue(); in testBuilder()
81 Arrays.equals( in testBuilder()
100 assertThat(Arrays.equals(credentialFromParcel.getSecretId(), SECRETE_ID)).isTrue(); in testWriteParcel()
101 assertThat(Arrays.equals(credentialFromParcel.getAuthenticityKey(), AUTHENTICITY_KEY)) in testWriteParcel()
103 assertThat(Arrays.equals(credentialFromParcel.getPublicKey(), PUBLIC_KEY)).isTrue(); in testWriteParcel()
104 assertThat(Arrays.equals(credentialFromParcel.getEncryptedMetadata(), ENCRYPTED_METADATA)) in testWriteParcel()
107 Arrays.equals( in testWriteParcel()
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DDataItem.java58 if (GroupMembership.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
60 } else if (StructuredName.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
62 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
64 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
66 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
68 } else if (Im.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
70 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
72 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
74 } else if (Note.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
76 } else if (Website.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom()
[all …]

12345678910>>...138