Home
last modified time | relevance | path

Searched refs:keySet (Results 1 – 25 of 375) sorted by relevance

12345678910>>...15

/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/
DAsmAnalyzerTest.java97 map.keySet().toArray()); in testParseZip()
99 filesFound.keySet().toArray()); in testParseZip()
116 found.keySet().toArray()); in testFindClass()
149 result.getFound().keySet().toArray()); in testInclude()
168 found.keySet().toArray()); in testFindClassesDerivingFrom()
170 for (String key : found.keySet()) { in testFindClassesDerivingFrom()
199 out_deps.keySet().toArray()); in testDependencyVisitor()
214 out_deps.keySet().toArray()); in testDependencyVisitor()
225 assertArrayEquals(new String[] { }, out_deps.keySet().toArray()); in testDependencyVisitor()
229 }, keep.keySet().toArray()); in testDependencyVisitor()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DArrayMapTests.java166 if (map.keySet().hashCode() != array.keySet().hashCode()) { in compareMaps()
168 + Integer.toHexString(map.keySet().hashCode()) + " array=0x" in compareMaps()
169 + Integer.toHexString(array.keySet().hashCode())); in compareMaps()
173 if (!map.keySet().equals(array.keySet())) { in compareMaps()
178 if (!array.keySet().equals(map.keySet())) { in compareMaps()
183 if (!map.keySet().containsAll(array.keySet())) { in compareMaps()
188 if (!array.keySet().containsAll(map.keySet())) { in compareMaps()
193 if (!array.containsAll(map.keySet())) { in compareMaps()
270 Set keySet = array.keySet(); in validateArrayMap() local
271 Iterator keyIt = keySet.iterator(); in validateArrayMap()
[all …]
/frameworks/layoutlib/bridge/tests/src/com/android/ide/common/resources/deprecated/
DMultiResourceFile.java69 mResourceTypeList = Collections.unmodifiableCollection(mResourceItems.keySet()); in load()
94 mResourceTypeList = Collections.unmodifiableCollection(mResourceItems.keySet()); in update()
98 if (oldResourceItems.keySet().equals(mResourceItems.keySet())) { in update()
102 … if (!mResourceItems.get(type).keySet().equals(oldResourceItems.get(type).keySet())) { in update()
DIdGeneratingResourceFile.java83 Set<String> oldIdNames = new HashSet<>(mIdResources.keySet()); in update()
97 Set<String> keySet = mIdResources.keySet(); in update() local
98 assert keySet != oldIdNames; in update()
99 if (!oldIdNames.equals(keySet)) { in update()
151 for (String idName : mIdResources.keySet()) { in updateResourceItems()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/serializer/
DRuleIndexingDetailsIdentifierTest.java147 assertThat(result.keySet()) in getIndexType_ruleContainingPackageNameFormula()
151 assertThat(result.get(PACKAGE_NAME_INDEXED).keySet()).containsExactly(SAMPLE_PACKAGE_NAME); in getIndexType_ruleContainingPackageNameFormula()
163 assertThat(result.keySet()) in getIndexType_ruleContainingAppCertificateFormula()
167 assertThat(result.get(APP_CERTIFICATE_INDEXED).keySet()) in getIndexType_ruleContainingAppCertificateFormula()
180 assertThat(result.keySet()) in getIndexType_ruleWithUnindexedCompoundFormula()
195 assertThat(result.keySet()) in getIndexType_ruleContainingCompoundFormulaWithIntAndBoolean()
221 assertThat(result.keySet()) in getIndexType_negatedRuleContainingPackageNameFormula()
249 assertThat(result.keySet()) in getIndexType_allRulesTogetherSplitCorrectly()
253 assertThat(result.get(PACKAGE_NAME_INDEXED).keySet()).containsExactly("aaa", "bbb", "ccc"); in getIndexType_allRulesTogetherSplitCorrectly()
256 assertThat(result.get(APP_CERTIFICATE_INDEXED).keySet()).containsExactly("cert1", "cert2", in getIndexType_allRulesTogetherSplitCorrectly()
/frameworks/base/tests/net/java/android/net/nsd/
DNsdServiceInfoTest.java145 assertTrue(attributedInfo.getAttributes().keySet().contains("adorable")); in testParcel()
150 assertFalse(attributedInfo.getAttributes().keySet().contains("sticky")); in testParcel()
175 assertEquals(originalMap.keySet(), resultMap.keySet()); in checkParcelable()
176 for (String key : originalMap.keySet()) { in checkParcelable()
/frameworks/base/telephony/java/android/telephony/mbms/
DServiceInfo.java104 Set<Locale> keySet = names.keySet(); in writeToParcel() local
105 dest.writeInt(keySet.size()); in writeToParcel()
106 for (Locale l : keySet) { in writeToParcel()
145 return Collections.unmodifiableSet(names.keySet()); in getNamedContentLocales()
/frameworks/base/core/java/android/hardware/radio/
DRadioMetadata.java270 List<String> keys = new ArrayList<String>(mBundle.keySet()); in hashCode()
287 if (!mBundle.keySet().equals(otherBundle.keySet())) { in equals()
290 for (String key : mBundle.keySet()) { in equals()
320 for (String key : mBundle.keySet()) { in toString()
454 public Set<String> keySet() { in keySet() method in RadioMetadata
455 return mBundle.keySet(); in keySet()
520 for (String key : mBundle.keySet()) { in Builder()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DCoreSettingsObserverTest.java125 .that(settingsBundle.keySet()).doesNotContain(TEST_SETTING_SECURE_INT); in testPopulateSettings_settingNotSet()
127 .that(settingsBundle.keySet()).doesNotContain(TEST_SETTING_GLOBAL_FLOAT); in testPopulateSettings_settingNotSet()
129 .that(settingsBundle.keySet()).doesNotContain(TEST_SETTING_SYSTEM_STRING); in testPopulateSettings_settingNotSet()
151 .that(settingsBundle.keySet()).doesNotContain(TEST_SETTING_GLOBAL_FLOAT); in testPopulateSettings_settingDeleted()
/frameworks/base/core/java/com/android/internal/widget/
DInlinePresentationStyleUtils.java51 Set<String> keys = bundle1.keySet(); in bundleEquals()
73 for (String key : bundle.keySet()) { in filterContentTypes()
/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java169 result.keySet(); // force it to be unparcelled in addAccount()
196 result.keySet(); // force it to be unparcelled in confirmCredentials()
223 result.keySet(); // force it to be unparcelled in getAuthTokenLabel()
249 result.keySet(); // force it to be unparcelled in getAuthToken()
277 result.keySet(); // force it to be unparcelled in updateCredentials()
387 result.keySet(); // force it to be unparcelled in startAddAccountSession()
423 result.keySet(); // force it to be unparcelled in startUpdateCredentialsSession()
452 result.keySet(); // force it to be unparcelled in finishSession()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageParserCacheHelperTest.java68 assertEquals(source.keySet().size(), dest.keySet().size()); in testParcelUnparcel()
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DCasResource.java97 return mOwnerClientIdsToSessionNum.keySet(); in getOwnerClientIds()
143 for (int clienId : mOwnerClientIdsToSessionNum.keySet()) { in ownersMapToString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DAppSmsManager.java190 final Set<String> keySet = mTokenMap.keySet(); in removeExpiredTokenLocked() local
191 for (String token : keySet) { in removeExpiredTokenLocked()
229 for (String token : mTokenMap.keySet()) { in findAppRequestInfoSmsIntentLocked()
DClientWakelockTracker.java79 for (String key : mClients.keySet()) { in getClientRequestStats()
125 for (String key : mClients.keySet()) { in dumpClientRequestTracker()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsBackupAgentTest.java101 …assertEquals("Not all values backed up.", DEVICE_SPECIFIC_TEST_VALUES.keySet(), helper.mReadEntrie… in testRoundTripDeviceSpecificSettings()
119 …assertEquals("Not all values backed up.", DEVICE_SPECIFIC_TEST_VALUES.keySet(), helper.mReadEntrie… in testRoundTripDeviceSpecificSettingsWithBlock()
120 … mAgentUnderTest.setBlockedSettings(DEVICE_SPECIFIC_TEST_VALUES.keySet().toArray(new String[0])); in testRoundTripDeviceSpecificSettingsWithBlock()
218 for (String key : keyValueData.keySet()) { in generateBackupData()
224 for (String key : keyValueData.keySet()) { in generateBackupData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DViewTransformationHelper.java143 for (Integer viewType : mTransformedViews.keySet()) { in transformTo()
200 for (Integer viewType : mTransformedViews.keySet()) { in transformFrom()
226 for (Integer viewType : mTransformedViews.keySet()) { in setVisible()
236 for (Integer viewType : mTransformedViews.keySet()) { in abortTransformations()
/frameworks/base/identity/java/android/security/identity/
DPersonalizationData.java50 return Collections.unmodifiableCollection(mNamespaces.keySet()); in getNamespaces()
71 return Collections.unmodifiableCollection(mEntries.keySet()); in getEntryNames()
/frameworks/base/media/java/android/media/
DMediaInserter.java74 for (Uri tableUri : mRowMap.keySet()){ in flushAll()
82 for (Uri tableUri : mPriorityRowMap.keySet()){ in flushAllPriority()
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeUtils.java116 Set<T> keys = map.keySet(); in equals()
117 if (!keys.equals(otherMap.keySet())) { in equals()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DBasicTexture.java198 for (BasicTexture t : sAllTextures.keySet()) { in yieldAllTextures()
206 for (BasicTexture t : sAllTextures.keySet()) { in invalidateAllTextures()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java176 for (int userId : mExpectedPrimary.get(approvalLevel).keySet()) { in testBackupAndRestore_migration()
184 for (int userId : mExpectedSecondary.get(approvalLevel).keySet()) { in testBackupAndRestore_migration()
226 for (int userId : mExpectedPrimary.get(approvalLevel).keySet()) { in testBackupAndRestore_migration_preO()
233 for (int userId : mExpectedSecondary.get(approvalLevel).keySet()) { in testBackupAndRestore_migration_preO()
240 for (int userId : backupPrimary.get(approvalLevel).keySet()) { in testBackupAndRestore_migration_preO()
248 for (int userId : backupSecondary.get(approvalLevel).keySet()) { in testBackupAndRestore_migration_preO()
791 for (int userId : expectedEnabled.keySet()) { in testSetPackageOrComponentEnabled()
801 for (int userId : expectedEnabled.keySet()) { in testSetPackageOrComponentEnabled()
814 for (int userId : expectedEnabled.keySet()) { in testSetPackageOrComponentEnabled()
829 for (int userId : expectedEnabled.keySet()) { in testSetPackageOrComponentEnabled()
[all …]
/frameworks/base/core/java/android/util/jar/
DStrictJarManifest.java270 Iterator<?> entries = manifest.mainAttributes.keySet().iterator(); in write()
279 Iterator<String> i = manifest.getEntries().keySet().iterator(); in write()
284 Iterator<?> entries = attributes.keySet().iterator(); in write()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/shadows/
DShadowRecoveryController.java116 return ImmutableList.copyOf(sKeyStatusesByAlias.keySet()); in getAliases()
132 for (String alias : sKeysByAlias.keySet()) { in syncAllKeys()
/frameworks/base/core/java/android/os/
DPerformanceCollector.java467 for (String key : binderCounts.keySet()) { in startPerformanceSnapshot()
510 for (String key : binderCounts.keySet()) { in endPerformanceSnapshot()
516 for (String key : allocCounts.keySet()) { in endPerformanceSnapshot()

12345678910>>...15