Home
last modified time | relevance | path

Searched refs:entrySet (Results 1 – 25 of 274) sorted by relevance

1234567891011

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DTestOnlyInsecureCertificateHelperTest.java73 assertThat(filteredKeys.entrySet()).containsExactlyElementsIn(expectedResult.entrySet()); in testKeepOnlyWhitelistedInsecureKeys_emptyKeysList()
74 assertThat(filteredKeys.entrySet()).containsAllIn(rawKeys.entrySet()); in testKeepOnlyWhitelistedInsecureKeys_emptyKeysList()
87 assertThat(filteredKeys.entrySet()).containsExactlyElementsIn(expectedResult.entrySet()); in testKeepOnlyWhitelistedInsecureKeys_singleNonWhitelistedKey()
88 assertThat(rawKeys.entrySet()).containsAllIn(filteredKeys.entrySet()); in testKeepOnlyWhitelistedInsecureKeys_singleNonWhitelistedKey()
102 assertThat(filteredKeys.entrySet()).containsExactlyElementsIn(expectedResult.entrySet()); in testKeepOnlyWhitelistedInsecureKeys_singleWhitelistedKey()
103 assertThat(rawKeys.entrySet()).containsAllIn(filteredKeys.entrySet()); in testKeepOnlyWhitelistedInsecureKeys_singleWhitelistedKey()
124 assertThat(filteredKeys.entrySet()).containsExactlyElementsIn(expectedResult.entrySet()); in testKeepOnlyWhitelistedInsecureKeys()
125 assertThat(rawKeys.entrySet()).containsAllIn(filteredKeys.entrySet()); in testKeepOnlyWhitelistedInsecureKeys()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DArrayMapTests.java127 Set<Map.Entry> mapSet = map.entrySet(); in compareMaps()
149 if (map.entrySet().hashCode() != array.entrySet().hashCode()) { in compareMaps()
151 + Integer.toHexString(map.entrySet().hashCode()) + " array=0x" in compareMaps()
152 + Integer.toHexString(array.entrySet().hashCode())); in compareMaps()
156 if (!map.entrySet().equals(array.entrySet())) { in compareMaps()
161 if (!array.entrySet().equals(map.entrySet())) { in compareMaps()
198 if (!map.entrySet().containsAll(array.entrySet())) { in compareMaps()
203 if (!array.entrySet().containsAll(map.entrySet())) { in compareMaps()
247 Set<Map.Entry> entrySet = array.entrySet(); in validateArrayMap() local
249 Iterator<Map.Entry> entryIt = entrySet.iterator(); in validateArrayMap()
[all …]
/frameworks/ex/common/tests/src/com/android/common/
DRfc822ValidatorTest.java98 for (Map.Entry<String, String> e : fixes.entrySet()) { in testEmailValidator()
113 for (Map.Entry<String, String> e : fixes.entrySet()) { in testEmailValidatorNullDomain()
129 for (Map.Entry<String, String> e : fixes.entrySet()) { in testEmailValidatorRemoveInvalid()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyRegistryTest.java360 for (Map.Entry<Integer, String> entry : READ_PHONE_STATE_EVENTS.entrySet()) { in testReadPhoneStatePermission()
366 for (Map.Entry<Integer, String> entry : READ_PHONE_STATE_EVENTS.entrySet()) { in testReadPhoneStatePermission()
382 for (Map.Entry<Integer, String> entry : READ_PRECISE_PHONE_STATE_EVENTS.entrySet()) { in testReadPrecisePhoneStatePermission()
389 for (Map.Entry<Integer, String> entry : READ_PRECISE_PHONE_STATE_EVENTS.entrySet()) { in testReadPrecisePhoneStatePermission()
401 for (Map.Entry<Integer, String> entry : READ_PREVILIGED_PHONE_STATE_EVENTS.entrySet()) { in testReadPrivilegedPhoneStatePermission()
408 for (Map.Entry<Integer, String> entry : READ_PREVILIGED_PHONE_STATE_EVENTS.entrySet()) { in testReadPrivilegedPhoneStatePermission()
420 for (Map.Entry<Integer, String> entry : READ_ACTIVE_EMERGENCY_SESSION_EVENTS.entrySet()) { in testReadActiveEmergencySessionPermission()
427 for (Map.Entry<Integer, String> entry : READ_ACTIVE_EMERGENCY_SESSION_EVENTS.entrySet()) { in testReadActiveEmergencySessionPermission()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDexUsage.java276 for (Map.Entry<String, PackageUseInfo> pEntry : packageUseInfoMapClone.entrySet()) { in write()
284 packageUseInfo.mCodePathsUsedByOtherApps.entrySet()) { in write()
292 for (Map.Entry<String, DexUseInfo> dEntry : packageUseInfo.mDexUseInfoMap.entrySet()) { in write()
515 mPackageUseInfoMap.entrySet().iterator(); in syncData()
528 packageUseInfo.mDexUseInfoMap.entrySet().iterator(); in syncData()
540 packageUseInfo.mCodePathsUsedByOtherApps.entrySet().iterator(); in syncData()
604 packageUseInfo.mDexUseInfoMap.entrySet().iterator(); in removeUserPackage()
669 for (Map.Entry<String, PackageUseInfo> entry : mPackageUseInfoMap.entrySet()) { in getAllPackagesWithSecondaryDexFiles()
688 for (Map.Entry<String, PackageUseInfo> e : mPackageUseInfoMap.entrySet()) { in clonePackageUseInfoMap()
742 for (Map.Entry<String, Set<String>> e : other.mCodePathsUsedByOtherApps.entrySet()) { in PackageUseInfo()
[all …]
DPackageDynamicCodeLoading.java223 Iterator<Entry<String, PackageDynamicCode>> it = mPackageMap.entrySet().iterator(); in syncData()
274 for (Entry<String, PackageDynamicCode> entry : mPackageMap.entrySet()) { in write()
305 for (Entry<String, PackageDynamicCode> packageEntry : packageMap.entrySet()) { in write()
310 for (Entry<String, DynamicCodeFile> fileEntry : mFileUsageMap.entrySet()) { in write()
523 for (Entry<String, DynamicCodeFile> entry : original.mFileUsageMap.entrySet()) { in PackageDynamicCode()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DSignature.java146 for (Entry<String, PortInfo> entry : mInputPorts.entrySet()) { in toString()
149 for (Entry<String, PortInfo> entry : mOutputPorts.entrySet()) { in toString()
175 for (Entry<String, PortInfo> entry : mInputPorts.entrySet()) { in checkInputPortsConform()
196 for (Entry<String, PortInfo> entry : mOutputPorts.entrySet()) { in checkOutputPortsConform()
/frameworks/base/core/java/android/hardware/display/
DBrightnessConfiguration.java127 for (Entry<String, BrightnessCorrection> entry : mCorrectionsByPackageName.entrySet()) { in writeToParcel()
134 for (Entry<Integer, BrightnessCorrection> entry : mCorrectionsByCategory.entrySet()) { in writeToParcel()
160 for (Entry<String, BrightnessCorrection> entry : mCorrectionsByPackageName.entrySet()) { in toString()
163 for (Entry<Integer, BrightnessCorrection> entry : mCorrectionsByCategory.entrySet()) { in toString()
257 mCorrectionsByPackageName.entrySet()) { in saveToXml()
265 for (Map.Entry<Integer, BrightnessCorrection> entry : mCorrectionsByCategory.entrySet()) { in saveToXml()
343 for (Map.Entry<String, BrightnessCorrection> entry : correctionsByPackageName.entrySet()) { in loadFromXml()
348 for (Map.Entry<Integer, BrightnessCorrection> entry : correctionsByCategory.entrySet()) { in loadFromXml()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLastResortWatchdog.java269 mRecentAvailableNetworks.entrySet().iterator(); in updateAvailableNetworks()
525 : mRecentAvailableNetworks.entrySet()) { in checkTriggerCondition()
541 : mRecentAvailableNetworks.entrySet()) { in checkIfAtleastOneNetworkHasEverConnected()
564 : mSsidFailureCount.entrySet()) { in incrementWifiMetricsTriggerCounts()
595 : mRecentAvailableNetworks.entrySet()) { in clearAllFailureCounts()
600 : mSsidFailureCount.entrySet()) { in clearAllFailureCounts()
630 : mRecentAvailableNetworks.entrySet()) { in toString()
636 mSsidFailureCount.entrySet()) { in toString()
/frameworks/base/services/core/java/com/android/server/am/
DHealthStatsBatteryStatsWriter.java86 uid.getWakelockStats().entrySet()) { in writeUid()
109 uid.getSyncStats().entrySet()) { in writeUid()
115 uid.getJobStats().entrySet()) { in writeUid()
146 uid.getProcessStats().entrySet()) { in writeUid()
154 uid.getPackageStats().entrySet()) { in writeUid()
425 pkg.getServiceStats().entrySet()) { in writePkg()
433 pkg.getWakeupAlarmStats().entrySet()) { in writePkg()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DWeakIdentityHashMap.java57 public Set<Map.Entry<WeakReference<K>, V>> entrySet() { in entrySet() method in WeakIdentityHashMap
58 return mMap.entrySet(); in entrySet()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java337 for (Map.Entry<InetAddress, Measurement> entry : mIcmpChecks.entrySet()) { in getMeasurements()
343 mExplicitSourceIcmpChecks.entrySet()) { in getMeasurements()
348 for (Map.Entry<InetAddress, Measurement> entry : mDnsUdpChecks.entrySet()) { in getMeasurements()
353 for (Map.Entry<InetAddress, Measurement> entry : mDnsTlsChecks.entrySet()) { in getMeasurements()
360 for (Map.Entry<InetAddress, Measurement> entry : mIcmpChecks.entrySet()) { in getMeasurements()
366 mExplicitSourceIcmpChecks.entrySet()) { in getMeasurements()
371 for (Map.Entry<InetAddress, Measurement> entry : mDnsUdpChecks.entrySet()) { in getMeasurements()
376 for (Map.Entry<InetAddress, Measurement> entry : mDnsTlsChecks.entrySet()) { in getMeasurements()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DAnqpCache.java83 for (Map.Entry<ANQPNetworkKey, ANQPData> entry : mANQPCache.entrySet()) { in sweep()
99 for (Map.Entry<ANQPNetworkKey, ANQPData> entry : mANQPCache.entrySet()) { in dump()
DPasspointManager.java210 for (Map.Entry<String, PasspointProvider> entry : mProviders.entrySet()) { in getProviders()
290 packageName).entrySet()) { in removePasspointProviderWithPackage()
299 return mProviders.entrySet().stream().filter( in getPasspointProviderWithPackage()
586 for (Map.Entry<String, PasspointProvider> provider : mProviders.entrySet()) { in hasCarrierProvider()
703 mProviders.entrySet().removeIf(entry -> { in removeEphemeralProviders()
724 for (Map.Entry<String, PasspointProvider> entry : mProviders.entrySet()) { in getProviderConfigs()
810 for (Map.Entry<String, PasspointProvider> entry : mProviders.entrySet()) { in getAllMatchedProviders()
1039 for (Map.Entry<String, String> entry : serviceFriendlyNamesForPpsMo.entrySet()) { in getMatchingPasspointConfigsForOsuProviders()
1103 for (Map.Entry<String, PasspointProvider> entry : mProviders.entrySet()) { in updateMetrics()
1120 for (Map.Entry<String, PasspointProvider> entry : mProviders.entrySet()) { in dump()
/frameworks/opt/bitmap/src/com/android/bitmap/
DUnrefedPooledCache.java132 for (Map.Entry<K, V> entry : mCache.entrySet()) { in poll()
191 for (Map.Entry<K, V> item : mCache.entrySet()) { in toDebugString()
201 for (Map.Entry<K, V> item : mNonPooledCache.snapshot().entrySet()) { in toDebugString()
/frameworks/base/core/java/android/view/textclassifier/
DEntityConfidence.java63 for (Map.Entry<String, Float> it : source.entrySet()) { in EntityConfidence()
105 for (Map.Entry<String, Float> entry : mEntityConfidence.entrySet()) { in writeToParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java821 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onShowRequested()
833 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onDismissRequested()
847 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onStateChanged()
860 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onLayoutDirectionChanged()
872 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onConfigurationChanged()
884 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onShowVibrateHint()
896 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onShowSilentHint()
908 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onScreenOff()
920 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onShowSafetyWarning()
933 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onAccessibilityModeChanged()
[all …]
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioVolumesTestBase.java86 for (Map.Entry<Integer, Integer> e : mOriginalVolumeGroupVolumes.entrySet()) { in restoreAllVolumes()
130 for (Map.Entry<Integer, Integer> e : mOriginalStreamVolumes.entrySet()) { in tearDown()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DConstants.java98 for (Map.Entry<Integer, ANQPElementType> entry : sAnqpMap.entrySet()) {
101 for (Map.Entry<Integer, ANQPElementType> entry : sHs20Map.entrySet()) {
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/google/
DCloudPrintPlugin.java89 .entrySet()) { in CloudPrintPlugin()
98 … for (Map.Entry<String, byte[]> entry : caseInsensitiveAttributes.entrySet()) { in CloudPrintPlugin()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DDomainMatcherTest.java103 for (Map.Entry<String, Integer> entry : TEST_DOMAIN_MAP.entrySet()) { in matchTestDomains()
176 for (Map.Entry<Pair<String, String>, Boolean> entry : TEST_ARG_DOMAIN_MAP.entrySet()) { in verifyArg2SubdomainOfArg1()
/frameworks/base/core/java/android/hardware/radio/
DUtils.java42 for (Map.Entry<String, String> entry : map.entrySet()) { in writeStringMap()
65 for (Map.Entry<String, Integer> entry : map.entrySet()) { in writeStringIntMap()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
DMffFilterTestCase.java139 for (Entry<String, PortInfo> inputPortEntry : signature.getInputPorts().entrySet()) { in connectInputPorts()
151 for (Entry<String, PortInfo> outputPortEntry : signature.getOutputPorts().entrySet()) { in connectOutputPorts()
/frameworks/base/services/core/java/com/android/server/locksettings/
DPasswordSlotManager.java86 for (Map.Entry<Integer, String> entry : mSlotMap.entrySet()) { in refreshActiveSlots()
196 for (Map.Entry<Integer, String> entry : mSlotMap.entrySet()) { in saveSlotMap()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/java/
DLinkedHashMap_Delegate.java33 Iterator<Entry<K, V>> iterator = map.entrySet().iterator(); in eldest()

1234567891011