Home
last modified time | relevance | path

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

12345678910>>...22

/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()
117 .containsKey(EXTRA_KEY_BOOL)); in testCsPutBooleanExtra()
141 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_INT)); in testCsPutIntExtra()
166 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_STR)); in testCsPutStringExtra()
192 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_STR)); in testCsRemoveExtra()
200 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_STR)); in testCsRemoveExtra()
202 .containsKey(EXTRA_KEY_STR2)); in testCsRemoveExtra()
226 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_STR)); in testCsUpdateExisting()
228 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_INT)); in testCsUpdateExisting()
[all …]
DParcelableCallUtilsTest.java100 assertFalse(parceledExtras.containsKey(Connection.EXTRA_SIP_INVITE)); in testParcelForNonSystemDialer()
101 assertFalse(parceledExtras.containsKey("SomeExtra")); in testParcelForNonSystemDialer()
102 assertTrue(parceledExtras.containsKey(Connection.EXTRA_CALL_SUBJECT)); in testParcelForNonSystemDialer()
117 assertTrue(parceledExtras.containsKey(Connection.EXTRA_SIP_INVITE)); in testParcelForSystemDialer()
118 assertTrue(parceledExtras.containsKey("SomeExtra")); in testParcelForSystemDialer()
119 assertTrue(parceledExtras.containsKey(Connection.EXTRA_CALL_SUBJECT)); in testParcelForSystemDialer()
130 assertTrue(parceledExtras.containsKey(Connection.EXTRA_SIP_INVITE)); in testParcelForSystemCallScreening()
131 assertFalse(parceledExtras.containsKey("SomeExtra")); in testParcelForSystemCallScreening()
132 assertFalse(parceledExtras.containsKey(Connection.EXTRA_CALL_SUBJECT)); in testParcelForSystemCallScreening()
143 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/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/services/Mtp/tests/src/com/android/mtp/
DTestMtpManager.java121 if (mObjectInfos.containsKey(key)) { in getObjectInfo()
131 if (mObjectHandles.containsKey(key)) { in getObjectHandles()
142 if (mImportFileBytes.containsKey(key)) { in importFile()
159 if (mObjectInfos.containsKey(key)) { in createDocument()
183 if (mThumbnailBytes.containsKey(key)) { in getThumbnail()
193 if (mObjectInfos.containsKey(key)) { in deleteDocument()
203 if (mObjectInfos.containsKey(key)) { in getParent()
230 if (mObjectSizeLongs.containsKey(key)) { in getObjectSizeLong()
/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/libs/car-media-common/src/com/android/car/media/common/browse/
DMediaBrowserViewModelImpl.java141 if (extras.containsKey(MediaConstants.MEDIA_SEARCH_SUPPORTED)) { in supportsSearch()
144 if (extras.containsKey(MediaConstants.MEDIA_SEARCH_SUPPORTED_PRERELEASE)) { in supportsSearch()
162 if (extras.containsKey(MediaConstants.CONTENT_STYLE_BROWSABLE_HINT)) {
165 if (extras.containsKey(MediaConstants.CONTENT_STYLE_BROWSABLE_HINT_PRERELEASE)) {
183 if (extras.containsKey(MediaConstants.CONTENT_STYLE_PLAYABLE_HINT)) {
186 if (extras.containsKey(MediaConstants.CONTENT_STYLE_PLAYABLE_HINT_PRERELEASE)) {
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java572 if (!values.containsKey(SUBSCRIPTION_ID)) { in setDefaultValue()
1736 whereArgs[i++] = values.containsKey(APN) ? in deleteRow()
1738 whereArgs[i++] = values.containsKey(USER) ? in deleteRow()
1740 whereArgs[i++] = values.containsKey(SERVER) ? in deleteRow()
1742 whereArgs[i++] = values.containsKey(PASSWORD) ? in deleteRow()
1744 whereArgs[i++] = values.containsKey(PROXY) ? in deleteRow()
1746 whereArgs[i++] = values.containsKey(PORT) ? in deleteRow()
1748 whereArgs[i++] = values.containsKey(MMSPROXY) ? in deleteRow()
1750 whereArgs[i++] = values.containsKey(MMSPORT) ? in deleteRow()
1752 whereArgs[i++] = values.containsKey(MMSC) ? in deleteRow()
[all …]
DProviderUtil.java61 (!values.containsKey(Telephony.Sms.CREATOR) && in shouldSetCreator()
62 !values.containsKey(Telephony.Mms.CREATOR)); in shouldSetCreator()
74 (values.containsKey(Telephony.Sms.CREATOR) || in shouldRemoveCreator()
75 values.containsKey(Telephony.Mms.CREATOR)); in shouldRemoveCreator()
/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()
DSimpleWeekView.java213 if (!params.containsKey(VIEW_PARAMS_WEEK)) { in setWeekParams()
219 if (params.containsKey(VIEW_PARAMS_HEIGHT)) { in setWeekParams()
225 if (params.containsKey(VIEW_PARAMS_SELECTED_DAY)) { in setWeekParams()
229 if (params.containsKey(VIEW_PARAMS_NUM_DAYS)) { in setWeekParams()
232 if (params.containsKey(VIEW_PARAMS_SHOW_WK_NUM)) { in setWeekParams()
257 if (params.containsKey(VIEW_PARAMS_WEEK_START)) { in setWeekParams()
282 int focusMonth = params.containsKey(VIEW_PARAMS_FOCUS_MONTH) ? params.get( in setWeekParams()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DToggleFeaturePreferenceFragment.java126 if (arguments.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onProcessArguments()
132 if (arguments.containsKey(AccessibilitySettings.EXTRA_RESOLVE_INFO)) { in onProcessArguments()
135 } else if (arguments.containsKey(AccessibilitySettings.EXTRA_TITLE)) { in onProcessArguments()
140 if (arguments.containsKey(AccessibilitySettings.EXTRA_SUMMARY_RES)) { in onProcessArguments()
143 } 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()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSimpleDialog.java53 if (args.containsKey(TITLE)) { in onCreateDialog()
57 if (args.containsKey(MESSAGE)) { in onCreateDialog()
61 if (args.containsKey(NEGATIVE_BUTTON_MESSAGE)) { in onCreateDialog()
71 if (args.containsKey(POSITIVE_BUTTON_MESSAGE)) { in onCreateDialog()

12345678910>>...22