/frameworks/base/core/tests/coretests/src/android/os/ |
D | PerformanceCollectorTest.java | 182 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/ |
D | MediaSessionCompatApi14.java | 165 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/ |
D | KernelWakelockReaderTest.java | 91 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/ |
D | MediaSessionLegacyHelper.java | 81 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/ |
D | RadioMetadata.java | 233 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/ |
D | RemoteConnectionService.java | 83 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 …]
|
D | ConnectionService.java | 831 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 …]
|
D | RemoteConnectionManager.java | 42 if (!mRemoteConnectionServices.containsKey(componentName)) { in addConnectionService() 63 if (!mRemoteConnectionServices.containsKey(componentName)) { in createRemoteConnection()
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | TestMtpManager.java | 121 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/ |
D | HistogramPredictor.java | 108 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/ |
D | MockResources.java | 35 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/ |
D | AuthenticatorHelper.java | 98 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/ |
D | ItemAnimatorV2ApiTest.java | 223 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/ |
D | MediaSessionCompatApi19.java | 71 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/ |
D | DirectedAcyclicGraph.java | 46 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/ |
D | TaskGrouping.java | 77 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/ |
D | AppWidgetProvider.java | 71 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/ |
D | MediaMetadataCompat.java | 358 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/ |
D | ImsSMSDispatcher.java | 289 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/ |
D | Camera2RequestSettingsSet.java | 90 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/ |
D | MediaMetadata.java | 377 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/ |
D | LocationCluster.java | 102 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/ |
D | ProcessBindableTest.java | 53 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/ |
D | StopWatchMap.java | 84 if (!mStopWatches.containsKey(stopWatchName)) { in start() 94 if (!mStopWatches.containsKey(stopWatchName)) { in stop()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | ImportTestProvider.java | 48 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()
|