/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/ |
D | AsmAnalyzerTest.java | 100 map.keySet().toArray()); in testParseZip() 102 filesFound.keySet().toArray()); in testParseZip() 119 found.keySet().toArray()); in testFindClass() 153 result.getFound().keySet().toArray()); in testInclude() 172 found.keySet().toArray()); in testFindClassesDerivingFrom() 174 for (String key : found.keySet()) { in testFindClassesDerivingFrom() 203 out_deps.keySet().toArray()); in testDependencyVisitor() 218 out_deps.keySet().toArray()); in testDependencyVisitor() 229 assertArrayEquals(new String[] { }, out_deps.keySet().toArray()); in testDependencyVisitor() 233 }, keep.keySet().toArray()); in testDependencyVisitor()
|
/frameworks/base/services/credentials/java/com/android/server/credentials/metrics/shared/ |
D | ResponseCollective.java | 69 String[] result = new String[mResponseCounts.keySet().size()]; in getUniqueResponseStrings() 70 mResponseCounts.keySet().toArray(result); in getUniqueResponseStrings() 106 return mEntryCounts.keySet().stream().mapToInt(Enum::ordinal).toArray(); in getUniqueEntries() 148 for (String response : mResponseCounts.keySet()) { in combineCollectives() 153 for (EntryEnum entry : mEntryCounts.keySet()) { in combineCollectives() 170 for (T response : second.keySet()) { in combineTypeCountMaps()
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/ |
D | ShaderData.java | 57 for (String name : floatMap.keySet()) { in ShaderData() 65 for (String name : intMap.keySet()) { in ShaderData() 71 for (String name : bitmapMap.keySet()) { in ShaderData() 88 return mUniformFloatMap.keySet().toArray(new String[0]); in getUniformFloatNames() 106 return mUniformIntMap.keySet().toArray(new String[0]); in getUniformIntegerNames() 124 return mUniformBitmapMap.keySet().toArray(new String[0]); in getUniformBitmapNames() 149 for (String name : mUniformRawFloatMap.keySet()) { in updateVariables() 166 for (String name : mUniformRawFloatMap.keySet()) { in registerListening() 215 for (String name : floatMap.keySet()) { in apply() 227 for (String name : intMap.keySet()) { in apply() [all …]
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ArrayMapTests.java | 166 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/bridge_client/src/com/android/ide/common/resources/deprecated/ |
D | MultiResourceFile.java | 69 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()
|
D | IdGeneratingResourceFile.java | 83 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/ |
D | RuleIndexingDetailsIdentifierTest.java | 147 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/services/tests/mockingservicestests/src/com/android/server/compat/overrides/ |
D | AppCompatOverridesServiceTest.java | 185 assertThat(packageNameToAddedOverrides.keySet()).containsExactly(PACKAGE_1, PACKAGE_3); in onPropertiesChanged_removeOverridesFlagNotSet_appliesPackageOverrides() 186 assertThat(packageNameToRemovedOverrides.keySet()).containsExactly(PACKAGE_2, PACKAGE_3, in onPropertiesChanged_removeOverridesFlagNotSet_appliesPackageOverrides() 228 assertThat(packageNameToAddedOverrides.keySet()).containsExactly(PACKAGE_1); in onPropertiesChanged_ownedChangeIdsFlagNotSet_onlyAddsOverrides() 229 assertThat(packageNameToAddedOverrides.get(PACKAGE_1).overrides.keySet()).containsExactly( in onPropertiesChanged_ownedChangeIdsFlagNotSet_onlyAddsOverrides() 259 assertThat(packageNameToAddedOverrides.keySet()).containsExactly(PACKAGE_1, PACKAGE_3); in onPropertiesChanged_removeOverridesFlagSetBefore_skipsOverridesToRemove() 260 assertThat(packageNameToRemovedOverrides.keySet()).containsExactly(PACKAGE_2, PACKAGE_3); in onPropertiesChanged_removeOverridesFlagSetBefore_skipsOverridesToRemove() 262 assertThat(packageNameToAddedOverrides.get(PACKAGE_1).overrides.keySet()).containsExactly( in onPropertiesChanged_removeOverridesFlagSetBefore_skipsOverridesToRemove() 268 assertThat(packageNameToAddedOverrides.get(PACKAGE_3).overrides.keySet()).containsExactly( in onPropertiesChanged_removeOverridesFlagSetBefore_skipsOverridesToRemove() 301 assertThat(firstPackageNameToRemovedOverrides.keySet()).containsExactly(PACKAGE_1, in onPropertiesChanged_removeOverridesFlagChangedNoPackageOverridesFlags_removesOnly() 303 assertThat(secondPackageNameToRemovedOverrides.keySet()).containsExactly(PACKAGE_1); in onPropertiesChanged_removeOverridesFlagChangedNoPackageOverridesFlags_removesOnly() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SimultaneousCallingTracker.java | 252 for (int phoneId : mSimultaneousCallPhoneSupportMap.keySet()) { in getSubIdsSupportingSimultaneousCalling() 323 for (Phone phone : phoneMap.keySet()) { in registerForImsRegistrationChanges() 345 for (Phone phone : phoneMap.keySet()) { in unregisterForImsRegistrationChanges() 381 for (Phone phone1 : voiceCapablePhoneMap.keySet()) { in generateVoiceCapablePhoneMapBasedOnUserAssociation() 383 for (Phone phone2 : voiceCapablePhoneMap.keySet()) { in generateVoiceCapablePhoneMapBasedOnUserAssociation() 400 for (Phone phone : phoneMap.keySet()) { in generateSimultaneousCallSupportMap() 406 for (Phone phone : phoneMap.keySet()) { in generateSimultaneousCallSupportMap() 416 for (Phone phone2 : phoneMap.keySet()) { in generateSimultaneousCallSupportMap() 429 for (Phone phone2 : phoneMap.keySet()) { in generateSimultaneousCallSupportMap() 477 for (Integer phoneId : mSimultaneousCallPhoneSupportMap.keySet()) { in handleSimultaneousCallingSupportChanged()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | ColorSpaceProfiles.java | 152 for (ColorSpace.Named colorSpace : mProfileMap.keySet()) { in getSupportedColorSpaces() 182 return imageFormatMap.keySet(); in getSupportedImageFormatsForColorSpace() 207 for (int supportedImageFormat : imageFormatMap.keySet()) { in getSupportedDynamicRangeProfiles() 239 for (ColorSpace.Named colorSpace : mProfileMap.keySet()) { in getSupportedColorSpacesForDynamicRange() 242 for (int supportedImageFormat : imageFormatMap.keySet()) { in getSupportedColorSpacesForDynamicRange()
|
D | MultiResolutionStreamConfigurationMap.java | 184 for (Integer format : multiResolutionConfigs.keySet()) { in getPublicImageFormats() 282 if (!mConfigurations.keySet().equals(other.mConfigurations.keySet())) { in equals() 286 for (String id : mConfigurations.keySet()) { in equals()
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | ServiceInfo.java | 104 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/tools/app_metadata_bundles/src/lib/java/com/android/asllib/marshallable/ |
D | DataLabels.java | 93 for (String dataCategoryName : dataCategoriesMap.keySet()) { in maybeAppendDataUsages() 96 for (String dataTypeName : dataCategory.getDataTypes().keySet()) { in maybeAppendDataUsages() 114 for (String dataCategoryName : dataCategoriesMap.keySet()) { in maybeAppendHrDataUsages() 116 for (String dataTypeName : dataCategory.getDataTypes().keySet()) { in maybeAppendHrDataUsages()
|
/frameworks/base/core/java/android/net/vcn/persistablebundleutils/ |
D | TunnelConnectionParamsUtils.java | 53 if (in.keySet().size() != EXPECTED_BUNDLE_KEY_CNT) { in fromPersistableBundle() 57 EXPECTED_BUNDLE_KEY_CNT, in.keySet())); in fromPersistableBundle() 66 "Invalid Tunnel Connection Params type " + in.keySet().iterator().next()); in fromPersistableBundle()
|
/frameworks/ex/camera2/extensions/service_based_sample/extensions_service/src/com/android/oemextensions/ |
D | AdvancedExtenderImplStub.java | 151 getSupportedCaptureRequestKeys().keySet(), in getSessionProcessor() 152 getSupportedCaptureResultKeys().keySet()); in getSessionProcessor() 182 for (CaptureRequest.Key key : new HashSet<>(map.keySet())) { in getSupportedCaptureRequestKeys() 219 for (CaptureResult.Key key : new HashSet<>(map.keySet())) { in getSupportedCaptureResultKeys() 249 for (CaptureRequest.Key key : keysmap.keySet()) { in getAvailableCaptureRequestKeys() 262 for (CaptureResult.Key key : keysmap.keySet()) { in getAvailableCaptureResultKeys()
|
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/ |
D | AdditionalSubtypeMapTest.java | 76 assertThat(instance.keySet()).containsExactly(TEST_IME1_ID); in testOfReturnsNewInstance() 102 assertThat(result.keySet()).containsExactly(TEST_IME2_ID); in testCloneWithRemoveOrSelfReturnsNewInstance() 111 assertThat(result.keySet()).containsExactly(TEST_IME1_ID, TEST_IME2_ID); in testCloneWithPutWithNewKey() 121 assertThat(result.keySet()).containsExactly(TEST_IME1_ID, TEST_IME2_ID); in testCloneWithPutWithExistingKey()
|
/frameworks/base/services/credentials/java/com/android/server/credentials/metrics/ |
D | CandidateAggregateMetric.java | 196 String[] result = new String[mExceptionCountQuery.keySet().size()]; in getUniqueExceptionStringsQuery() 197 mExceptionCountQuery.keySet().toArray(result); in getUniqueExceptionStringsQuery() 218 String[] result = new String[mExceptionCountAuth.keySet().size()]; in getUniqueExceptionStringsAuth() 219 mExceptionCountAuth.keySet().toArray(result); in getUniqueExceptionStringsAuth()
|
D | InitialPhaseMetric.java | 164 String[] result = new String[mRequestCounts.keySet().size()]; in getUniqueRequestStrings() 165 mRequestCounts.keySet().toArray(result); in getUniqueRequestStrings()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/ |
D | PublishServiceDescTracker.java | 183 Set<ServiceDescription> keySet = mServiceDescriptionFeatureTagMap.keySet(); in PublishServiceDescTracker() local 186 for (ServiceDescription c : keySet) { in PublishServiceDescTracker() 187 mServiceDescriptionPartialMatches.addAll(keySet.stream() in PublishServiceDescTracker() 229 ServiceDescription aliasedDesc = aliasedServiceDescScore.keySet().stream() in updateImsRegistration() 249 mRegistrationCapabilities.addAll(aliasedServiceDescScore.keySet()); in updateImsRegistration()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | InlinePresentationStyleUtils.java | 51 Set<String> keys = bundle1.keySet(); in bundleEquals() 73 for (String key : bundle.keySet()) { in filterContentTypes()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | CoreSettingsObserverTest.java | 136 .that(settingsBundle.keySet()).doesNotContain(TEST_SETTING_SECURE_INT); in testPopulateSettings_settingNotSet() 138 .that(settingsBundle.keySet()).doesNotContain(TEST_SETTING_GLOBAL_FLOAT); in testPopulateSettings_settingNotSet() 140 .that(settingsBundle.keySet()).doesNotContain(TEST_SETTING_SYSTEM_STRING); in testPopulateSettings_settingNotSet() 162 .that(settingsBundle.keySet()).doesNotContain(TEST_SETTING_GLOBAL_FLOAT); in testPopulateSettings_settingDeleted()
|
/frameworks/base/services/tests/PackageManagerServiceTests/appenumeration/src/com/android/server/pm/test/appenumeration/ |
D | CrossUserPackageVisibilityTests.java | 142 final KeySet keySet = mIPackageManager.getSigningKeySet(mContext.getPackageName()); in testIsPackageSignedByKeySet_cannotDetectCrossUserPkg() local 145 CROSS_USER_TEST_PACKAGE_NAME, keySet)); in testIsPackageSignedByKeySet_cannotDetectCrossUserPkg() 151 CROSS_USER_TEST_PACKAGE_NAME, keySet)); in testIsPackageSignedByKeySet_cannotDetectCrossUserPkg() 156 final KeySet keySet = mIPackageManager.getSigningKeySet(mContext.getPackageName()); in testIsPackageSignedByKeySetExactly_cannotDetectCrossUserPkg() local 159 CROSS_USER_TEST_PACKAGE_NAME, keySet)); in testIsPackageSignedByKeySetExactly_cannotDetectCrossUserPkg() 165 CROSS_USER_TEST_PACKAGE_NAME, keySet)); in testIsPackageSignedByKeySetExactly_cannotDetectCrossUserPkg()
|
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/serviceforward/ |
D | PlatformApi.java | 32 for (CaptureRequest.Key<?> key : parameters.keySet()) { in createCaptureRequest() 53 for (CaptureRequest.Key<?> key : parameters.keySet()) { in createCameraMetadataNative()
|
/frameworks/base/core/java/android/hardware/radio/ |
D | RadioMetadata.java | 351 List<String> keys = new ArrayList<String>(mBundle.keySet()); in hashCode() 368 if (!mBundle.keySet().equals(otherBundle.keySet())) { in equals() 371 for (String key : mBundle.keySet()) { in equals() 404 for (String key : mBundle.keySet()) { in toString() 588 public Set<String> keySet() { in keySet() method in RadioMetadata 589 return mBundle.keySet(); in keySet() 654 for (String key : mBundle.keySet()) { in Builder()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageParserCacheHelperTest.java | 70 assertEquals(source.keySet().size(), dest.keySet().size()); in testParcelUnparcel()
|