Home
last modified time | relevance | path

Searched refs:containsKey (Results 1 – 25 of 506) sorted by relevance

12345678910>>...21

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallExtrasTest.java91 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey( in testCsPutExtras()
93 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey( in testCsPutExtras()
114 .containsKey(EXTRA_KEY_BOOL)); in testCsPutBooleanExtra()
136 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_INT)); in testCsPutIntExtra()
159 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_STR)); in testCsPutStringExtra()
183 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_STR)); in testCsRemoveExtra()
191 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_STR)); in testCsRemoveExtra()
193 .containsKey(EXTRA_KEY_STR2)); in testCsRemoveExtra()
217 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_STR)); in testCsUpdateExisting()
219 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_INT)); in testCsUpdateExisting()
[all …]
DParcelableCallUtilsTest.java93 assertFalse(parceledExtras.containsKey(Connection.EXTRA_SIP_INVITE)); in testParcelForNonSystemDialer()
94 assertFalse(parceledExtras.containsKey("SomeExtra")); in testParcelForNonSystemDialer()
95 assertTrue(parceledExtras.containsKey(Connection.EXTRA_CALL_SUBJECT)); in testParcelForNonSystemDialer()
110 assertTrue(parceledExtras.containsKey(Connection.EXTRA_SIP_INVITE)); in testParcelForSystemDialer()
111 assertTrue(parceledExtras.containsKey("SomeExtra")); in testParcelForSystemDialer()
112 assertTrue(parceledExtras.containsKey(Connection.EXTRA_CALL_SUBJECT)); in testParcelForSystemDialer()
123 assertTrue(parceledExtras.containsKey(Connection.EXTRA_SIP_INVITE)); in testParcelForSystemCallScreening()
124 assertFalse(parceledExtras.containsKey("SomeExtra")); in testParcelForSystemCallScreening()
125 assertFalse(parceledExtras.containsKey(Connection.EXTRA_CALL_SUBJECT)); in testParcelForSystemCallScreening()
136 assertFalse(parceledExtras.containsKey(Connection.EXTRA_SIP_INVITE)); in testParcelForSystemNonSystemCallScreening()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DMediaView.java91 if (tags.containsKey(MediaMetadata.METADATA_KEY_ARTIST)) { in showAudioData()
95 if (tags.containsKey(MediaMetadata.METADATA_KEY_COMPOSER)) { in showAudioData()
100 if (tags.containsKey(MediaMetadata.METADATA_KEY_ALBUM)) { in showAudioData()
104 if (tags.containsKey(MediaMetadata.METADATA_KEY_DURATION)) { in showAudioData()
125 if (tags.containsKey(MediaMetadata.METADATA_KEY_DURATION)) { in showVideoData()
142 if (tags.containsKey(ExifInterface.TAG_DATETIME)) { in showExifData()
147 if (tags.containsKey(ExifInterface.TAG_GPS_ALTITUDE)) { in showExifData()
152 if (tags.containsKey(ExifInterface.TAG_MAKE) || tags.containsKey(ExifInterface.TAG_MODEL)) { in showExifData()
162 if (tags.containsKey(ExifInterface.TAG_APERTURE)) { in showExifData()
167 if (tags.containsKey(ExifInterface.TAG_SHUTTER_SPEED_VALUE)) { in showExifData()
[all …]
DMetadataUtils.java41 return data != null && (data.containsKey(Shared.METADATA_VIDEO_LATITUDE) in hasVideoCoordinates()
42 && data.containsKey(Shared.METADATA_VIDEO_LONGITUTE)); in hasVideoCoordinates()
46 return exif != null && (exif.containsKey(ExifInterface.TAG_GPS_LATITUDE) in hasExifGpsFields()
47 && exif.containsKey(ExifInterface.TAG_GPS_LONGITUDE) in hasExifGpsFields()
48 && exif.containsKey(ExifInterface.TAG_GPS_LATITUDE_REF) in hasExifGpsFields()
49 && exif.containsKey(ExifInterface.TAG_GPS_LONGITUDE_REF)); in hasExifGpsFields()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionTest.java76 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionStartTransitionsCorrectly()
87 assertFalse(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionStartTransitionsCorrectly()
96 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionStartAssertsFromIncorrectState()
107 assertFalse(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionStartAssertsFromIncorrectState()
116 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionTransitionsEndToEndWithRequests()
160 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionTransitionsEndToEndWithRequests()
172 assertFalse(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionTransitionsEndToEndWithRequests()
181 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionTransitionsEndToEndFailsRequests()
218 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionTransitionsEndToEndFailsRequests()
227 assertFalse(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionTransitionsEndToEndFailsRequests()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/
DValuesDelta.java90 public boolean containsKey(String key) { in containsKey() method in ValuesDelta
91 return ((mAfter != null && mAfter.containsKey(key)) || in containsKey()
92 (mBefore != null && mBefore.containsKey(key))); in containsKey()
96 if (mAfter != null && mAfter.containsKey(key)) { in getAsString()
98 } else if (mBefore != null && mBefore.containsKey(key)) { in getAsString()
106 if (mAfter != null && mAfter.containsKey(key)) { in getAsByteArray()
108 } else if (mBefore != null && mBefore.containsKey(key)) { in getAsByteArray()
116 if (mAfter != null && mAfter.containsKey(key)) { in getAsLong()
118 } else if (mBefore != null && mBefore.containsKey(key)) { in getAsLong()
130 if (mAfter != null && mAfter.containsKey(key)) { in getAsInteger()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForStructuredName.java78 if (values.containsKey(StructuredName.DISPLAY_NAME)) { in update()
150 if (!update.containsKey(StructuredName.FULL_NAME_STYLE)) { in fixStructuredNameComponents()
154 if (!update.containsKey(StructuredName.PHONETIC_NAME_STYLE)) { in fixStructuredNameComponents()
171 return values.containsKey(StructuredName.FAMILY_NAME) in containsSearchableColumns()
172 || values.containsKey(StructuredName.GIVEN_NAME) in containsSearchableColumns()
173 || values.containsKey(StructuredName.MIDDLE_NAME) in containsSearchableColumns()
174 || values.containsKey(StructuredName.PHONETIC_FAMILY_NAME) in containsSearchableColumns()
175 || values.containsKey(StructuredName.PHONETIC_GIVEN_NAME) in containsSearchableColumns()
176 || values.containsKey(StructuredName.PHONETIC_MIDDLE_NAME) in containsSearchableColumns()
177 || values.containsKey(StructuredName.PREFIX) in containsSearchableColumns()
[all …]
DDataRowHandlerForOrganization.java59 boolean containsCompany = values.containsKey(Organization.COMPANY); in update()
60 boolean containsTitle = values.containsKey(Organization.TITLE); in update()
117 return values.containsKey(Organization.COMPANY) in containsSearchableColumns()
118 || values.containsKey(Organization.DEPARTMENT) in containsSearchableColumns()
119 || values.containsKey(Organization.JOB_DESCRIPTION) in containsSearchableColumns()
120 || values.containsKey(Organization.OFFICE_LOCATION) in containsSearchableColumns()
121 || values.containsKey(Organization.PHONETIC_NAME) in containsSearchableColumns()
122 || values.containsKey(Organization.SYMBOL) in containsSearchableColumns()
123 || values.containsKey(Organization.TITLE); in containsSearchableColumns()
DDataRowHandlerForIdentity.java40 if (values.containsKey(Identity.IDENTITY) || values.containsKey(Identity.NAMESPACE)) { in insert()
55 if (values.containsKey(Identity.IDENTITY) || values.containsKey(Identity.NAMESPACE)) { in update()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DA2dpReceiver.java221 if (extras.containsKey("BT_OFF_Mute")) { in processParameters()
235 if (extras.containsKey("BT_ON_NotPlay")) { in processParameters()
243 if (!extras.containsKey("PlayTime")) { in processParameters()
251 if (!extras.containsKey("MusicURL")) { in processParameters()
265 if (!extras.containsKey("CodecType")) { in processParameters()
273 if (!extras.containsKey("SampleRate")) { in processParameters()
281 if (!extras.containsKey("BitsPerSample")) { in processParameters()
289 if (extras.containsKey("ChannelMode")) { in processParameters()
295 if (extras.containsKey("LdacPlaybackQuality")) { in processParameters()
301 if (extras.containsKey("CodecSpecific2")) { in processParameters()
[all …]
DGattPMCReceiver.java74 if (extras.containsKey("GattServer")) { in onReceive()
81 if (!extras.containsKey("StartTime")) { in onReceive()
90 if (!extras.containsKey("WriteTime")) { in onReceive()
98 if (!extras.containsKey("IdleTime")) { in onReceive()
106 if (!extras.containsKey("Repetitions")) { in onReceive()
/packages/apps/Email/tests/src/com/android/email/
DMockSharedPreferences.java43 return mValues.containsKey(key); in contains()
51 if (mValues.containsKey(key)) { in getBoolean()
58 if (mValues.containsKey(key)) { in getFloat()
65 if (mValues.containsKey(key)) { in getInt()
72 if (mValues.containsKey(key)) { in getLong()
79 if (mValues.containsKey(key)) in getString()
86 if (mValues.containsKey(key)) { in getStringSet()
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockSharedPreferences.java41 return mValues.containsKey(key); in contains()
49 if (mValues.containsKey(key)) { in getBoolean()
56 if (mValues.containsKey(key)) { in getFloat()
63 if (mValues.containsKey(key)) { in getInt()
70 if (mValues.containsKey(key)) { in getLong()
77 if (mValues.containsKey(key)) in getString()
84 if (mValues.containsKey(key)) { in getStringSet()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DMockSharedPreferences.java41 return mValues.containsKey(key); in contains()
49 if (mValues.containsKey(key)) { in getBoolean()
56 if (mValues.containsKey(key)) { in getFloat()
63 if (mValues.containsKey(key)) { in getInt()
70 if (mValues.containsKey(key)) { in getLong()
77 if (mValues.containsKey(key)) in getString()
84 if (mValues.containsKey(key)) { in getStringSet()
/packages/apps/Calendar/tests/src/com/android/calendar/
DFakeSharedPreferences.java39 return mValues.containsKey(key); in contains()
49 if (mValues.containsKey(key)) { in getBoolean()
57 if (mValues.containsKey(key)) { in getFloat()
65 if (mValues.containsKey(key)) { in getInt()
73 if (mValues.containsKey(key)) { in getLong()
81 if (mValues.containsKey(key)) in getString()
89 if (mValues.containsKey(key)) { in getStringSet()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/
DUtil.java86 if (ret.containsKey(GPM_KEY)) { in descriptionToBundle()
98 if (data.containsKey(MediaMetadata.METADATA_KEY_TITLE)) { in mediaMetadataToBundle()
103 if (data.containsKey(MediaMetadata.METADATA_KEY_ARTIST)) { in mediaMetadataToBundle()
108 if (data.containsKey(MediaMetadata.METADATA_KEY_ALBUM)) { in mediaMetadataToBundle()
113 if (data.containsKey(MediaMetadata.METADATA_KEY_TRACK_NUMBER)) { in mediaMetadataToBundle()
118 if (data.containsKey(MediaMetadata.METADATA_KEY_NUM_TRACKS)) { in mediaMetadataToBundle()
123 if (data.containsKey(MediaMetadata.METADATA_KEY_GENRE)) { in mediaMetadataToBundle()
128 if (data.containsKey(MediaMetadata.METADATA_KEY_DURATION)) { in mediaMetadataToBundle()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java1609 whereArgs[i++] = values.containsKey(APN) ? in deleteRow()
1611 whereArgs[i++] = values.containsKey(USER) ? in deleteRow()
1613 whereArgs[i++] = values.containsKey(SERVER) ? in deleteRow()
1615 whereArgs[i++] = values.containsKey(PASSWORD) ? in deleteRow()
1617 whereArgs[i++] = values.containsKey(PROXY) ? in deleteRow()
1619 whereArgs[i++] = values.containsKey(PORT) ? in deleteRow()
1621 whereArgs[i++] = values.containsKey(MMSPROXY) ? in deleteRow()
1623 whereArgs[i++] = values.containsKey(MMSPORT) ? in deleteRow()
1625 whereArgs[i++] = values.containsKey(MMSC) ? in deleteRow()
1627 whereArgs[i++] = values.containsKey(AUTH_TYPE) ? in deleteRow()
[all …]
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/
DCallLogMutations.java37 Assert.checkArgument(!inserts.containsKey(id), "Can't insert row already scheduled for insert"); in insert()
38 Assert.checkArgument(!updates.containsKey(id), "Can't insert row scheduled for update"); in insert()
55 Assert.checkArgument(!inserts.containsKey(id), "Can't update row scheduled for insert"); in update()
71 Assert.checkArgument(!inserts.containsKey(id), "Can't delete row scheduled for insert"); in delete()
72 Assert.checkArgument(!updates.containsKey(id), "Can't delete row scheduled for update"); in delete()
/packages/apps/Car/Messenger/tests/robotests/src/com/android/car/messenger/
DMessengerDelegateTest.java76 assertThat(mMessengerDelegate.mBTDeviceAddressToConnectionTimestamp).containsKey( in testDeviceConnections()
81 assertThat(mMessengerDelegate.mBTDeviceAddressToConnectionTimestamp).containsKey( in testDeviceConnections()
104 assertThat(mMessengerDelegate.mBTDeviceAddressToConnectionTimestamp).containsKey( in testOnDeviceDisconnected_notConnectedDevice()
115 assertThat(mMessengerDelegate.mBTDeviceAddressToConnectionTimestamp).containsKey( in testOnDeviceDisconnected_connectedDevice()
147 assertThat(mMessengerDelegate.mMessages).containsKey(mMessageOneKey); in testOnDeviceDisconnected_connectedDevice_retainsMessagesFromConnectedDevice()
166 assertThat(mMessengerDelegate.mNotificationInfos.containsKey(mSenderKey)).isTrue(); in testOnMessageReceived_newMessage()
186 assertThat(mMessengerDelegate.mMessages.containsKey(mMessageOneKey)).isTrue(); in testClearNotification_keepsNotificationData()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerList.java155 if (!mMediaPlayerIds.containsKey(wrapper.getPackageName())) { in init()
332 if (!mBrowsablePlayers.containsKey(playerIndex)) { in playFolderItem()
379 if (mBrowsablePlayers.containsKey(playerIndex)) { in getFolderItems()
419 if (!mMediaPlayerIds.containsKey(packageName)) { in addMediaPlayer()
427 if (mMediaPlayers.containsKey(playerId)) { in addMediaPlayer()
452 if (!mMediaPlayers.containsKey(playerId)) { in removeMediaPlayer()
472 if (!mMediaPlayers.containsKey(playerId)) { in setActivePlayer()
578 if (packageName != null && mMediaPlayerIds.containsKey(packageName)) {
629 if (!mMediaPlayerIds.containsKey(controller.getPackageName())) {
647 if (!mMediaPlayerIds.containsKey(receiver.getPackageName())) {
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/
DMediaBrowserViewModelImpl.java197 if (extras.containsKey(MediaConstants.MEDIA_SEARCH_SUPPORTED)) { in supportsSearch()
200 if (extras.containsKey(MediaConstants.MEDIA_SEARCH_SUPPORTED_PRERELEASE)) { in supportsSearch()
218 if (extras.containsKey(MediaConstants.CONTENT_STYLE_BROWSABLE_HINT)) {
221 if (extras.containsKey(MediaConstants.CONTENT_STYLE_BROWSABLE_HINT_PRERELEASE)) {
239 if (extras.containsKey(MediaConstants.CONTENT_STYLE_PLAYABLE_HINT)) {
242 if (extras.containsKey(MediaConstants.CONTENT_STYLE_PLAYABLE_HINT_PRERELEASE)) {
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleWeeksAdapter.java137 if (params.containsKey(WEEK_PARAMS_FOCUS_MONTH)) { in updateParams()
140 if (params.containsKey(WEEK_PARAMS_FOCUS_MONTH)) { in updateParams()
143 if (params.containsKey(WEEK_PARAMS_SHOW_WEEK)) { in updateParams()
146 if (params.containsKey(WEEK_PARAMS_WEEK_START)) { in updateParams()
149 if (params.containsKey(WEEK_PARAMS_JULIAN_DAY)) { in updateParams()
154 if (params.containsKey(WEEK_PARAMS_DAYS_PER_WEEK)) { in updateParams()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleFeaturePreferenceFragment.java125 if (arguments.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onProcessArguments()
131 if (arguments.containsKey(AccessibilitySettings.EXTRA_RESOLVE_INFO)) { in onProcessArguments()
134 } else if (arguments.containsKey(AccessibilitySettings.EXTRA_TITLE)) { in onProcessArguments()
139 if (arguments.containsKey(AccessibilitySettings.EXTRA_SUMMARY_RES)) { in onProcessArguments()
142 } else if (arguments.containsKey(AccessibilitySettings.EXTRA_SUMMARY)) { in onProcessArguments()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DToggleFeaturePreferenceFragment.java125 if (arguments.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onProcessArguments()
131 if (arguments.containsKey(AccessibilitySettings.EXTRA_RESOLVE_INFO)) { in onProcessArguments()
134 } else if (arguments.containsKey(AccessibilitySettings.EXTRA_TITLE)) { in onProcessArguments()
139 if (arguments.containsKey(AccessibilitySettings.EXTRA_SUMMARY_RES)) { in onProcessArguments()
142 } else if (arguments.containsKey(AccessibilitySettings.EXTRA_SUMMARY)) { in onProcessArguments()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsMockResources.java38 if (!mPackages.containsKey(resId)) { in getResourceName()
46 if (!mPackages.containsKey(resId)) { in getResourcePackageName()
54 if (!mPackages.containsKey(resId)) { in getResourceTypeName()
62 if (!mPackages.containsKey(resId)) { in getResourceEntryName()

12345678910>>...21