/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/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/tests/ShowWhenLockedApp/src/com/android/showwhenlocked/ |
D | ShowWhenLockedActivity.java | 134 if (extras.containsKey(EXTRA_SHOW_WHEN_LOCKED)) { in handleExtras() 140 if (extras.containsKey(EXTRA_TURN_SCREEN_ON)) { in handleExtras() 146 if (extras.containsKey(EXTRA_SHOW_WHEN_LOCKED_STOP)) { in handleExtras() 151 if (extras.containsKey(EXTRA_TURN_SCREEN_ON_STOP)) { in handleExtras() 156 if (extras.containsKey(EXTRA_DISMISS_KEYGUARD)) { in handleExtras()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | PowerProfile.java | 320 if ((sPowerItemMap.containsKey(key) && sPowerItemMap.get(key) > 0)) { in readPowerValuesFromXml() 338 if (sPowerArrayMap.containsKey(CPU_PER_CLUSTER_CORE_COUNT)) { in initCpuClusters() 351 if (sPowerItemMap.containsKey(CPU_PER_CLUSTER_CORE_COUNT)) { in initCpuClusters() 386 if (sPowerArrayMap.containsKey(mCpuClusters[cluster].freqKey)) { in getNumSpeedStepsInCpuCluster() 413 if (sPowerItemMap.containsKey(key)) { in getNumElements() 415 } else if (sPowerArrayMap.containsKey(key)) { in getNumElements() 430 if (sPowerItemMap.containsKey(type)) { in getAveragePowerOrDefault() 432 } else if (sPowerArrayMap.containsKey(type)) { in getAveragePowerOrDefault() 459 if (sPowerItemMap.containsKey(type)) { in getAveragePower() 461 } else if (sPowerArrayMap.containsKey(type)) { in getAveragePower()
|
/frameworks/support/navigation/safe-args-generator/src/tests/test-data/expected/ |
D | MainFragmentArgs.java | 23 if (bundle.containsKey("main")) { in fromBundle() 28 if (bundle.containsKey("optional")) { in fromBundle() 31 if (bundle.containsKey("reference")) { in fromBundle() 34 if (bundle.containsKey("floatArg")) { in fromBundle() 37 if (bundle.containsKey("boolArg")) { in fromBundle()
|
/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/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/telecomm/java/android/telecom/ |
D | RemoteConnectionService.java | 85 if (mConnectionById.containsKey(confId)) { 105 if (mConnectionById.containsKey(callId)) { 135 if (mConnectionById.containsKey(callId)) { 146 if (mConnectionById.containsKey(callId)) { 164 if (mConnectionById.containsKey(callId)) { 176 if (mConnectionById.containsKey(callId)) { 268 if (mConnectionById.containsKey(callId)) { 354 if (mConnectionById.containsKey(id)) { 420 if (mConnectionById.containsKey(callId)) { 553 return mConnectionById.containsKey(callId); in hasConnection() [all …]
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/util/ |
D | SparseIntArrayTest.kt | 69 @Test fun containsKey() { in <lambda>() method in androidx.core.util.SparseIntArrayTest 71 assertFalse(array.containsKey(1)) in <lambda>() 73 assertTrue(array.containsKey(1)) in <lambda>() 80 assertFalse(array.containsKey(2)) in <lambda>() 83 assertTrue(array.containsKey(2)) in <lambda>()
|
D | SparseBooleanArrayTest.kt | 69 @Test fun containsKey() { in <lambda>() method in androidx.core.util.SparseBooleanArrayTest 71 assertFalse(array.containsKey(1)) in <lambda>() 73 assertTrue(array.containsKey(1)) in <lambda>() 80 assertFalse(array.containsKey(2)) in <lambda>() 83 assertTrue(array.containsKey(2)) in <lambda>()
|
D | LongSparseArrayTest.kt | 72 @Test fun containsKey() { in <lambda>() method in androidx.core.util.LongSparseArrayTest 74 assertFalse(array.containsKey(1L)) in <lambda>() 76 assertTrue(array.containsKey(1L)) in <lambda>() 83 assertFalse(array.containsKey(2L)) in <lambda>() 86 assertTrue(array.containsKey(2L)) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | SnoozeHelper.java | 93 return mSnoozedNotifications.containsKey(userId) in isSnoozed() 94 && mSnoozedNotifications.get(userId).containsKey(pkg) in isSnoozed() 95 && mSnoozedNotifications.get(userId).get(pkg).containsKey(key); in isSnoozed() 99 if (mSnoozedNotifications.containsKey(userId) in getSnoozed() 100 && mSnoozedNotifications.get(userId).containsKey(pkg)) { in getSnoozed() 161 if (mSnoozedNotifications.containsKey(userId)) { in cancel() 206 if (mSnoozedNotifications.containsKey(userId)) { in cancel() 207 if (mSnoozedNotifications.get(userId).containsKey(pkg)) { in cancel() 271 if (mSnoozedNotifications.containsKey(userId)) { in repostGroupSummary() 275 if (keysByPackage != null && keysByPackage.containsKey(pkg)) { in repostGroupSummary()
|
/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/collection/ktx/src/test/java/androidx/collection/ |
D | LongSparseArrayTest.kt | 69 @Test fun containsKey() { in <lambda>() method in androidx.collection.LongSparseArrayTest 71 assertFalse(array.containsKey(1L)) in <lambda>() 73 assertTrue(array.containsKey(1L)) in <lambda>() 80 assertFalse(array.containsKey(2L)) in <lambda>() 83 assertTrue(array.containsKey(2L)) in <lambda>()
|
/frameworks/base/core/java/android/hardware/radio/ |
D | RadioMetadata.java | 301 public boolean containsKey(String key) { in containsKey() method in RadioMetadata 302 return mBundle.containsKey(key); in containsKey() 508 if (!METADATA_KEYS_TYPE.containsKey(key) || in putString() 552 if (!METADATA_KEYS_TYPE.containsKey(key) || in putBitmap() 573 if (!METADATA_KEYS_TYPE.containsKey(key) || in putClock() 614 if (!METADATA_KEYS_TYPE.containsKey(key) || in putStringFromNative() 624 if (!METADATA_KEYS_TYPE.containsKey(key) || in putBitmapFromNative() 642 if (!METADATA_KEYS_TYPE.containsKey(key) || in putClockFromNative()
|
/frameworks/av/packages/MediaComponents/src/com/android/media/ |
D | MediaMetadata2Impl.java | 124 return mBundle.containsKey(key); in containsKey_impl() 266 if (METADATA_KEYS_TYPE.containsKey(key)) { in putText_impl() 281 if (METADATA_KEYS_TYPE.containsKey(key)) { in putString_impl() 296 if (METADATA_KEYS_TYPE.containsKey(key)) { in putLong_impl() 311 if (METADATA_KEYS_TYPE.containsKey(key)) { in putRating_impl() 326 if (METADATA_KEYS_TYPE.containsKey(key)) { in putBitmap_impl() 341 if (METADATA_KEYS_TYPE.containsKey(key)) { in putFloat_impl()
|
/frameworks/support/media/src/main/java/androidx/media/ |
D | MediaMetadata2.java | 633 public boolean containsKey(@NonNull String key) { in containsKey() method in MediaMetadata2 637 return mBundle.containsKey(key); in containsKey() 897 if (METADATA_KEYS_TYPE.containsKey(key)) { in putText() 941 if (METADATA_KEYS_TYPE.containsKey(key)) { in putString() 974 if (METADATA_KEYS_TYPE.containsKey(key)) { in putLong() 1002 if (METADATA_KEYS_TYPE.containsKey(key)) { in putRating() 1035 if (METADATA_KEYS_TYPE.containsKey(key)) { in putBitmap() 1056 if (METADATA_KEYS_TYPE.containsKey(key)) { in putFloat()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | UpstreamNetworkMonitorTest.java | 488 assertFalse(allCallbacks.containsKey(cb)); in requestNetwork() 490 assertFalse(requested.containsKey(cb)); in requestNetwork() 502 assertFalse(allCallbacks.containsKey(cb)); in requestNetwork() 504 assertFalse(requested.containsKey(cb)); in requestNetwork() 506 assertFalse(legacyTypeMap.containsKey(cb)); in requestNetwork() 514 assertFalse(allCallbacks.containsKey(cb)); in registerNetworkCallback() 516 assertFalse(listening.containsKey(cb)); in registerNetworkCallback() 527 assertFalse(allCallbacks.containsKey(cb)); in registerDefaultNetworkCallback() 542 } else if (listening.containsKey(cb)) { in unregisterNetworkCallback() 544 } else if (requested.containsKey(cb)) { in unregisterNetworkCallback() [all …]
|
/frameworks/support/media/src/main/java/android/support/v4/media/ |
D | MediaMetadataCompat.java | 383 public boolean containsKey(String key) { in containsKey() method in MediaMetadataCompat 384 return mBundle.containsKey(key); in containsKey() 539 if (mBundle.containsKey(METADATA_KEY_BT_FOLDER_TYPE)) { in getDescription() 543 if (mBundle.containsKey(METADATA_KEY_DOWNLOAD_STATUS)) { in getDescription() 731 if (METADATA_KEYS_TYPE.containsKey(key)) { in putText() 768 if (METADATA_KEYS_TYPE.containsKey(key)) { in putString() 798 if (METADATA_KEYS_TYPE.containsKey(key)) { in putLong() 822 if (METADATA_KEYS_TYPE.containsKey(key)) { in putRating() 857 if (METADATA_KEYS_TYPE.containsKey(key)) { in putBitmap()
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/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/coordinatorlayout/src/main/java/androidx/coordinatorlayout/widget/ |
D | DirectedAcyclicGraph.java | 54 if (!mGraph.containsKey(node)) { in addNode() 63 return mGraph.containsKey(node); in contains() 76 if (!mGraph.containsKey(node) || !mGraph.containsKey(incomingEdge)) { in addEdge()
|
/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/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
D | TileUtils.java | 352 if (checkCategory && ((metaData == null) || !metaData.containsKey(EXTRA_CATEGORY_KEY)) in getTilesForIntent() 413 if (metaData.containsKey(META_DATA_PREFERENCE_ICON)) { in updateTileData() 416 if (metaData.containsKey(META_DATA_PREFERENCE_ICON_TINTABLE)) { in updateTileData() 424 if (metaData.containsKey(META_DATA_PREFERENCE_TITLE)) { in updateTileData() 431 if (metaData.containsKey(META_DATA_PREFERENCE_SUMMARY)) { in updateTileData() 438 if (metaData.containsKey(META_DATA_PREFERENCE_KEYHINT)) { in updateTileData() 445 if (metaData.containsKey(META_DATA_PREFERENCE_CUSTOM_VIEW)) { in updateTileData() 465 if (!tile.metaData.containsKey(META_DATA_PREFERENCE_ICON_URI)) { in updateTileData() 492 || !tile.metaData.containsKey(META_DATA_PREFERENCE_SUMMARY_URI)) { in updateSummaryAndTitle() 587 if (!providerMap.containsKey(authority)) { in getProviderFromUri()
|
/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()
|