Home
last modified time | relevance | path

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

12345678910>>...13

/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java182 assertTrue(results.containsKey("testAddMeasurementLongZero")); in testAddMeasurementLong()
184 assertTrue(results.containsKey("testAddMeasurementLongPos")); in testAddMeasurementLong()
186 assertTrue(results.containsKey("testAddMeasurementLongNeg")); in testAddMeasurementLong()
203 assertTrue(results.containsKey("testAddMeasurementFloatZero")); in testAddMeasurementFloat()
205 assertTrue(results.containsKey("testAddMeasurementFloatPos")); in testAddMeasurementFloat()
207 assertTrue(results.containsKey("testAddMeasurementFloatNeg")); in testAddMeasurementFloat()
224 assertTrue(results.containsKey("testAddMeasurementStringNull")); in testAddMeasurementString()
226 assertTrue(results.containsKey("testAddMeasurementStringEmpty")); in testAddMeasurementString()
228 assertTrue(results.containsKey("testAddMeasurementStringNonEmpty")); in testAddMeasurementString()
402 assertTrue(snapshot.containsKey(PerformanceCollector.METRIC_KEY_CPU_TIME)); in verifySnapshotBundle()
[all …]
/frameworks/support/media-compat/ics/android/support/v4/media/session/
DMediaSessionCompatApi14.java165 if (metadata.containsKey(METADATA_KEY_ART)) { in buildOldMetadata()
168 } else if (metadata.containsKey(METADATA_KEY_ALBUM_ART)) { in buildOldMetadata()
173 if (metadata.containsKey(METADATA_KEY_ALBUM)) { in buildOldMetadata()
177 if (metadata.containsKey(METADATA_KEY_ALBUM_ARTIST)) { in buildOldMetadata()
181 if (metadata.containsKey(METADATA_KEY_ARTIST)) { in buildOldMetadata()
185 if (metadata.containsKey(METADATA_KEY_AUTHOR)) { in buildOldMetadata()
189 if (metadata.containsKey(METADATA_KEY_COMPILATION)) { in buildOldMetadata()
193 if (metadata.containsKey(METADATA_KEY_COMPOSER)) { in buildOldMetadata()
197 if (metadata.containsKey(METADATA_KEY_DATE)) { in buildOldMetadata()
201 if (metadata.containsKey(METADATA_KEY_DISC_NUMBER)) { in buildOldMetadata()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelWakelockReaderTest.java91 assertTrue(staleStats.containsKey("Wakelock")); in testOneWakelock()
107 assertTrue(staleStats.containsKey("Wakelock")); in testTwoWakelocks()
108 assertTrue(staleStats.containsKey("Fakelock")); in testTwoWakelocks()
120 assertTrue(staleStats.containsKey("Wakelock")); in testDuplicateWakelocksAccumulate()
136 assertTrue(staleStats.containsKey("Fakelock")); in testWakelocksBecomeStale()
144 assertTrue(staleStats.containsKey("Wakelock")); in testWakelocksBecomeStale()
145 assertFalse(staleStats.containsKey("Fakelock")); in testWakelocksBecomeStale()
/frameworks/base/media/java/android/media/session/
DMediaSessionLegacyHelper.java81 if (metadata.containsKey(MediaMetadata.METADATA_KEY_ALBUM)) { in getOldMetadata()
85 if (includeArtwork && metadata.containsKey(MediaMetadata.METADATA_KEY_ART)) { in getOldMetadata()
89 } else if (includeArtwork && metadata.containsKey(MediaMetadata.METADATA_KEY_ALBUM_ART)) { in getOldMetadata()
95 if (metadata.containsKey(MediaMetadata.METADATA_KEY_ALBUM_ARTIST)) { in getOldMetadata()
99 if (metadata.containsKey(MediaMetadata.METADATA_KEY_ARTIST)) { in getOldMetadata()
103 if (metadata.containsKey(MediaMetadata.METADATA_KEY_AUTHOR)) { in getOldMetadata()
107 if (metadata.containsKey(MediaMetadata.METADATA_KEY_COMPILATION)) { in getOldMetadata()
111 if (metadata.containsKey(MediaMetadata.METADATA_KEY_COMPOSER)) { in getOldMetadata()
115 if (metadata.containsKey(MediaMetadata.METADATA_KEY_DATE)) { in getOldMetadata()
119 if (metadata.containsKey(MediaMetadata.METADATA_KEY_DISC_NUMBER)) { in getOldMetadata()
[all …]
/frameworks/base/core/java/android/hardware/radio/
DRadioMetadata.java233 public boolean containsKey(String key) { in containsKey() method in RadioMetadata
234 return mBundle.containsKey(key); in containsKey()
407 if (!METADATA_KEYS_TYPE.containsKey(key) || in putString()
430 if (!METADATA_KEYS_TYPE.containsKey(key) || in putInt()
454 if (!METADATA_KEYS_TYPE.containsKey(key) || in putBitmap()
475 if (!METADATA_KEYS_TYPE.containsKey(key) || in putClock()
506 if (!METADATA_KEYS_TYPE.containsKey(key) || in putIntFromNative()
516 if (!METADATA_KEYS_TYPE.containsKey(key) || in putStringFromNative()
526 if (!METADATA_KEYS_TYPE.containsKey(key) || in putBitmapFromNative()
546 if (!METADATA_KEYS_TYPE.containsKey(key) || in putClockFromNative()
/frameworks/base/telecomm/java/android/telecom/
DRemoteConnectionService.java83 if (mConnectionById.containsKey(confId)) {
99 if (mConnectionById.containsKey(callId)) {
128 if (mConnectionById.containsKey(callId)) {
139 if (mConnectionById.containsKey(callId)) {
156 if (mConnectionById.containsKey(callId)) {
167 if (mConnectionById.containsKey(callId)) {
251 if (mConnectionById.containsKey(callId)) {
328 if (mConnectionById.containsKey(id)) {
377 if (mConnectionById.containsKey(callId)) {
461 return mConnectionById.containsKey(callId); in hasConnection()
[all …]
DConnectionService.java831 if (mConnectionById.containsKey(callId)) { in disconnect()
840 if (mConnectionById.containsKey(callId)) { in hold()
849 if (mConnectionById.containsKey(callId)) { in unhold()
858 if (mConnectionById.containsKey(callId)) { in onCallAudioStateChanged()
869 if (mConnectionById.containsKey(callId)) { in playDtmfTone()
878 if (mConnectionById.containsKey(callId)) { in stopDtmfTone()
1010 if (mConnectionById.containsKey(callId)) { in handleExtrasChanged()
1012 } else if (mConferenceById.containsKey(callId)) { in handleExtrasChanged()
1128 if (mIdByConnection.containsKey(connection)) { in addConference()
1322 return mIdByConference.containsKey(conference); in containsConference()
[all …]
DRemoteConnectionManager.java42 if (!mRemoteConnectionServices.containsKey(componentName)) { in addConnectionService()
63 if (!mRemoteConnectionServices.containsKey(componentName)) { in createRemoteConnection()
/frameworks/base/packages/MtpDocumentsProvider/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()
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
DHistogramPredictor.java108 if (!mCounter.containsKey(featureValue)) { in addSample()
114 int count = (classCounts.containsKey(className)) ? in addSample()
122 if (mCounter.containsKey(featureValue)) { in getClassScores()
212 if (features.containsKey(featureName)) { in findTopClasses()
224 if (appScores.containsKey(appName)) { in findTopClasses()
239 if (!mClassCounts.containsKey(appName)) { in findTopClasses()
284 int sampleCount = (mClassCounts.containsKey(sampleId)) ? in addSample()
356 if (!mPredictor.containsKey(TIME_OF_WEEK)) { in loadClassCounter()
370 if (mClassCounts.containsKey(className)) { in loadClassCounter()
380 if (!mPredictor.containsKey(featureName)) { in useFeature()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DMockResources.java35 if (mBooleanValues.containsKey(id)) { in getBoolean()
44 if (mIntegerValues.containsKey(id)) { in getInteger()
53 if (mStringValues.containsKey(id)) { in getString()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/
DAuthenticatorHelper.java98 if (mAccTypeIconCache.containsKey(accountType)) { in getDrawableForType()
102 if (mTypeToAuthDescription.containsKey(accountType)) { in getDrawableForType()
129 if (mTypeToAuthDescription.containsKey(accountType)) { in getLabelForType()
150 if (mTypeToAuthDescription.containsKey(accountType)) { in getPackageForType()
164 if (mTypeToAuthDescription.containsKey(accountType)) { in getLabelIdForType()
184 return mTypeToAuthDescription.containsKey(accountType); in containsAccountType()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DItemAnimatorV2ApiTest.java223 assertFalse(mAnimator.postLayoutInfoMap.containsKey(vh)); in simpleRemove()
248 assertTrue(mAnimator.preLayoutInfoMap.containsKey(vh)); in simpleUpdate()
249 assertTrue(mAnimator.postLayoutInfoMap.containsKey(vh)); in simpleUpdate()
284 assertTrue(mAnimator.preLayoutInfoMap.containsKey(vh)); in updateWithDuplicateViewHolder()
285 assertFalse(mAnimator.postLayoutInfoMap.containsKey(vh)); in updateWithDuplicateViewHolder()
286 assertTrue(mAnimator.postLayoutInfoMap.containsKey(newVh)); in updateWithDuplicateViewHolder()
341 assertTrue(mAnimator.preLayoutInfoMap.containsKey(replaced)); in updateWithOneDuplicateAndOneInPlace()
342 assertTrue(mAnimator.preLayoutInfoMap.containsKey(reused)); in updateWithOneDuplicateAndOneInPlace()
344 assertTrue(mAnimator.postLayoutInfoMap.containsKey(newVh)); in updateWithOneDuplicateAndOneInPlace()
345 assertTrue(mAnimator.postLayoutInfoMap.containsKey(reused)); in updateWithOneDuplicateAndOneInPlace()
[all …]
/frameworks/support/media-compat/kitkat/android/support/v4/media/session/
DMediaSessionCompatApi19.java71 if (metadata.containsKey(METADATA_KEY_YEAR)) { in addNewMetadata()
75 if (metadata.containsKey(METADATA_KEY_RATING)) { in addNewMetadata()
79 if (metadata.containsKey(METADATA_KEY_USER_RATING)) { in addNewMetadata()
/frameworks/support/design/src/android/support/design/widget/
DDirectedAcyclicGraph.java46 if (!mGraph.containsKey(node)) { in addNode()
55 return mGraph.containsKey(node); in contains()
68 if (!mGraph.containsKey(node) || !mGraph.containsKey(incomingEdge)) { in addEdge()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTaskGrouping.java77 return mTaskKeyIndices.containsKey(t.key); in containsTask()
83 return mTaskKeyIndices.containsKey(t.key) && mTaskKeyIndices.containsKey(below.key) && in isTaskAboveTask()
/frameworks/base/core/java/android/appwidget/
DAppWidgetProvider.java71 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID)) { in onReceive()
77 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID) in onReceive()
78 && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_OPTIONS)) { in onReceive()
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaMetadataCompat.java358 public boolean containsKey(String key) { in containsKey() method in MediaMetadataCompat
359 return mBundle.containsKey(key); in containsKey()
512 if (mBundle.containsKey(METADATA_KEY_BT_FOLDER_TYPE)) { in getDescription()
709 if (METADATA_KEYS_TYPE.containsKey(key)) { in putText()
746 if (METADATA_KEYS_TYPE.containsKey(key)) { in putString()
773 if (METADATA_KEYS_TYPE.containsKey(key)) { in putLong()
797 if (METADATA_KEYS_TYPE.containsKey(key)) { in putRating()
832 if (METADATA_KEYS_TYPE.containsKey(key)) { in putBitmap()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DImsSMSDispatcher.java289 if (!( map.containsKey("scAddr") && map.containsKey("destAddr") && in sendRetrySms()
290 ( map.containsKey("text") || in sendRetrySms()
291 (map.containsKey("data") && map.containsKey("destPort"))))) { in sendRetrySms()
302 if (map.containsKey("text")) { in sendRetrySms()
315 } else if (map.containsKey("data")) { in sendRetrySms()
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
DCamera2RequestSettingsSet.java90 if (!mDictionary.containsKey(key) || !Objects.equals(value, currentValue)) { in set()
116 if (mDictionary.containsKey(key)) { in unset()
159 return mDictionary.containsKey(key); in contains()
/frameworks/base/media/java/android/media/
DMediaMetadata.java377 public boolean containsKey(String key) { in containsKey() method in MediaMetadata
378 return mBundle.containsKey(key); in containsKey()
653 if (METADATA_KEYS_TYPE.containsKey(key)) { in putText()
695 if (METADATA_KEYS_TYPE.containsKey(key)) { in putString()
722 if (METADATA_KEYS_TYPE.containsKey(key)) { in putLong()
746 if (METADATA_KEYS_TYPE.containsKey(key)) { in putRating()
775 if (METADATA_KEYS_TYPE.containsKey(key)) { in putBitmap()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DLocationCluster.java102 if (mHistogram.containsKey(timeLabel)) { in consolidate()
140 long totalDuration = (mNewHistogram.containsKey(timeOfWeek)) ? in updateTemporalHistogram()
145 totalDuration = (mNewHistogram.containsKey(timeOfDay)) ? in updateTemporalHistogram()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DProcessBindableTest.java53 assertTrue(fieldValues.containsKey("_all")); in testFieldsGenerated()
59 assertTrue("missing field: " + fieldName, fieldValues.containsKey(fieldName)); in testFieldsGenerated()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DStopWatchMap.java84 if (!mStopWatches.containsKey(stopWatchName)) { in start()
94 if (!mStopWatches.containsKey(stopWatchName)) { in stop()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DImportTestProvider.java48 if (mMimeTypeToExpectedContentValues.containsKey(mimeType)) { in addExpectedContentValues()
87 if (!mMimeTypeToExpectedContentValues.containsKey(mimeType)) { in applyBatch()
112 if (actualContentValues.containsKey(Data.RAW_CONTACT_ID)) { in applyBatch()
221 if (!actual.containsKey(key)) { in equalsForContentValues()

12345678910>>...13