Home
last modified time | relevance | path

Searched refs:Set (Results 1 – 25 of 1199) sorted by relevance

12345678910>>...48

/aosp14/frameworks/base/services/credentials/java/com/android/server/credentials/
H A DCredentialDescriptionRegistry.java32 import java.util.Set;
53 final Set<String> mElementKeys;
58 Set<String> elementKeys, in FilterResult()
120 private Map<String, Set<CredentialDescription>> mCredentialDescriptions;
166 Set<String> requestedKeyElements) { in getFilteredResultForProvider()
167 Set<FilterResult> result = new HashSet<>(); in getFilteredResultForProvider()
185 public Set<FilterResult> getMatchingProviders(Set<Set<String>> supportedElementKeys) { in getMatchingProviders()
186 Set<FilterResult> result = new HashSet<>(); in getMatchingProviders()
208 Set<Set<String>> requestedElementKeys) { in canProviderSatisfyAny()
217 static boolean checkForMatch(Set<String> registeredElementKeys, in checkForMatch()
[all …]
/aosp14/frameworks/base/tests/utils/testutils/java/com/android/test/filters/
H A DSelectTestTests.java39 import java.util.Set;
66 private static final Set<Description> TEST_METHOD_A1K = methodTest(METHOD_A1K);
67 private static final Set<Description> TEST_METHOD_A1L = methodTest(METHOD_A1L);
68 private static final Set<Description> TEST_METHOD_A2M = methodTest(METHOD_A2M);
87 private static final Set<Description> TEST_ALL =
121 private static Set<Description> methodTest(String testName) { in methodTest()
125 final Set<Description> tests = new ArraySet<>(); in methodTest()
132 private static Set<Description> merge(Set<Description>... testSpecs) { in merge()
133 final Set<Description> merged = new LinkedHashSet<>(); in merge()
134 for (Set<Description> testSet : testSpecs) { in merge()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/om/
H A DOverlayManagerServiceImplTests.java42 import java.util.Set;
109 Set.of(UserPackage.of(USER, TARGET))); in testGetOverlayInfosForUser()
158 Set.of(UserPackage.of(USER, TARGET))); in testPriority()
176 Set.of(UserPackage.of(USER, TARGET))); in testOverlayInfoStateTransitions()
180 Set.of(UserPackage.of(USER, TARGET))); in testOverlayInfoStateTransitions()
185 Set.of(UserPackage.of(USER, TARGET)), in testOverlayInfoStateTransitions()
186 Set.of(UserPackage.of(USER, TARGET))); in testOverlayInfoStateTransitions()
190 Set.of(UserPackage.of(USER, TARGET))); in testOverlayInfoStateTransitions()
205 Set.of(UserPackage.of(USER, TARGET)), in testOnOverlayPackageUpgraded()
210 Set.of(UserPackage.of(USER, TARGET)), in testOnOverlayPackageUpgraded()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DAppLocaleCollector.java40 import java.util.Set;
50 private Set<LocaleStore.LocaleInfo> mImeLocales;
108 return Set.of(); in getActiveImeLocales()
151 public Set<LocaleStore.LocaleInfo> getSystemSupportedLocale(Set<String> langTagsToIgnore, in getSystemSupportedLocale()
208 Set<LocaleStore.LocaleInfo> systemLocaleList; in getSupportedLocaleList()
229 Set<LocaleStore.LocaleInfo> localeInfoSet = in getSupportedLocaleList()
245 Set<LocaleStore.LocaleInfo> suggestedSet = null; in getSupportedLocaleList()
294 private Set<LocaleStore.LocaleInfo> getSuggestedLocales(Set<LocaleStore.LocaleInfo> localeSet) { in getSuggestedLocales()
300 Set<LocaleStore.LocaleInfo> appLocaleSet) { in addSystemSuggestionFlag()
312 Set<LocaleStore.LocaleInfo> localeSet) { in addImeSuggestionFlag()
[all …]
/aosp14/frameworks/base/test-runner/src/android/test/
H A DClassPathPackageInfoSource.java27 import java.util.Set;
81 Set<String> subpackageNames = new TreeSet<String>(); in createPackageInfo()
82 Set<String> classNames = new TreeSet<String>(); in createPackageInfo()
83 Set<Class<?>> topLevelClasses = new HashSet<>(); in createPackageInfo()
113 Set<String> subpackageNames) { in findClasses()
139 Set<String> classNames, Set<String> subpackageNames) throws IOException { in scanForApkFiles()
157 Set<String> classNames, Set<String> subpackageNames) in findClassesInApk()
217 private final Set<String> subpackageNames;
218 private final Set<Class<?>> topLevelClasses;
221 Set<String> subpackageNames, Set<Class<?>> topLevelClasses) { in ClassPathPackageInfo()
[all …]
/aosp14/frameworks/base/core/java/android/hardware/camera2/params/
H A DColorSpaceProfiles.java28 import java.util.Set;
91 ArrayMap<Integer, Set<Long>> imageFormatMap = new ArrayMap<>(); in ColorSpaceProfiles()
149 public @NonNull Set<ColorSpace.Named> getSupportedColorSpaces( in getSupportedColorSpaces()
175 public @NonNull Set<Integer> getSupportedImageFormatsForColorSpace( in getSupportedImageFormatsForColorSpace()
177 Map<Integer, Set<Long>> imageFormatMap = mProfileMap.get(colorSpace); in getSupportedImageFormatsForColorSpace()
199 Map<Integer, Set<Long>> imageFormatMap = mProfileMap.get(colorSpace); in getSupportedDynamicRangeProfiles()
204 Set<Long> dynamicRangeProfiles = null; in getSupportedDynamicRangeProfiles()
208 Set<Long> supportedDynamicRangeProfiles = imageFormatMap.get( in getSupportedDynamicRangeProfiles()
235 public @NonNull Set<ColorSpace.Named> getSupportedColorSpacesForDynamicRange( in getSupportedColorSpacesForDynamicRange()
240 Map<Integer, Set<Long>> imageFormatMap = mProfileMap.get(colorSpace); in getSupportedColorSpacesForDynamicRange()
[all …]
H A DRecommendedStreamConfigurationMap.java42 import java.util.Set;
207 private Set<Integer> getUnmodifiableIntegerSet(int[] intArray) { in getUnmodifiableIntegerSet()
230 public @NonNull Set<Integer> getOutputFormats() { in getOutputFormats()
256 public @Nullable Set<Integer> getInputFormats() { in getInputFormats()
260 private Set<Size> getUnmodifiableSizeSet(Size[] sizeArray) { in getUnmodifiableSizeSet()
279 public @Nullable Set<Size> getInputSizes(@Format int format) { in getInputSizes()
317 public @Nullable Set<Size> getOutputSizes(@Format int format) { in getOutputSizes()
329 public @Nullable Set<Size> getHighSpeedVideoSizes() { in getHighSpeedVideoSizes()
368 public @Nullable Set<Range<Integer>> getHighSpeedVideoFpsRanges() { in getHighSpeedVideoFpsRanges()
401 public @Nullable Set<Size> getHighResolutionOutputSizes(@Format int format) { in getHighResolutionOutputSizes()
[all …]
/aosp14/frameworks/base/services/robotests/src/com/android/server/media/
H A DAudioPoliciesBluetoothRouteControllerTest.java51 import java.util.Set;
118 Set<BluetoothDevice> devices = generateFakeBluetoothDevicesSet( in selectRoute_noDeviceWithGivenAddress_returnsFalse()
129 Set<BluetoothDevice> devices = generateFakeBluetoothDevicesSet( in selectRoute_deviceIsInDevicesSet_returnsTrue()
140 Set<BluetoothDevice> devices = generateFakeBluetoothDevicesSet( in selectRoute_resetSelectedDevice_returnsTrue()
151 Set<BluetoothDevice> devices = generateFakeBluetoothDevicesSet( in selectRoute_noSelectedDevice_returnsTrue()
161 Set<BluetoothDevice> devices = generateFakeBluetoothDevicesSet( in getSelectedRoute_updateRouteFailed_returnsNull()
213 Set<String> transferableDevices = extractAddressesListFrom( in getTransferableRoutes_noSelectedRoute_returnsAllBluetoothDevices()
229 Set<String> transferableDevices = extractAddressesListFrom( in getTransferableRoutes_hasSelectedRoute_returnsRoutesWithoutSelectedDevice()
246 Set<String> bluetoothDevices = extractAddressesListFrom( in getAllBluetoothRoutes_hasSelectedRoute_returnsAllRoutes()
275 Set<String> addresses = new HashSet<>(); in extractAddressesListFrom()
[all …]
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/internal/
H A DLifecycleOperationStorageTest.java40 import java.util.Set;
54 private static final Set<String> MULTIPLE_PKG = Sets.newHashSet(PKG_FOO);
87 Set<Integer> stateAcknowledgedTokens = in testRegisterOperation_multipleOperations()
101 Set<Integer> tokens = mOpStorage.operationTokensForPackage(PKG_FOO); in testRegisterOperationForPackages_singlePackage()
114 Set<Integer> tokensFoo = mOpStorage.operationTokensForPackage(PKG_FOO); in testRegisterOperationForPackages_multiplePackage()
115 Set<Integer> tokensBar = mOpStorage.operationTokensForPackage(PKG_BAR); in testRegisterOperationForPackages_multiplePackage()
116 Set<Integer> tokensBaz = mOpStorage.operationTokensForPackage(PKG_BAZ); in testRegisterOperationForPackages_multiplePackage()
154 Set<Integer> tokensFoo = mOpStorage.operationTokensForPackage(PKG_FOO); in testRemoveOperation_removesPackageMappings()
155 Set<Integer> tokensBar = mOpStorage.operationTokensForPackage(PKG_BAR); in testRemoveOperation_removesPackageMappings()
156 Set<Integer> tokensBaz = mOpStorage.operationTokensForPackage(PKG_BAZ); in testRemoveOperation_removesPackageMappings()
[all …]
/aosp14/frameworks/base/core/java/android/service/assist/classification/
H A DFieldClassification.java31 import java.util.Set;
57 private final @NonNull Set<String> mHints;
94 private final @NonNull Set<String> mGroupHints;
112 public @NonNull Set<String> getHints() { in getHints()
151 public @NonNull Set<String> getGroupHints() { in getGroupHints()
155 static Set<String> unparcelHints(Parcel in) { in unparcelHints()
165 static Set<String> unparcelGroupHints(Parcel in) { in unparcelGroupHints()
188 @NonNull Set<String> hints) { in FieldClassification()
209 @NonNull Set<String> hints, in FieldClassification()
210 @NonNull Set<String> groupHints) { in FieldClassification()
[all …]
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/license/
H A DLicenseHtmlGeneratorFromXmlTest.java38 import java.util.Set;
226 Map<String, Set<String>> toBoth = new HashMap<>(); in testGenerateHtml()
227 Map<String, Set<String>> toOne = new HashMap<>(); in testGenerateHtml()
249 Map<String, Set<String>> toBoth = new HashMap<>(); in testGenerateNewHtml()
250 Map<String, Set<String>> toOne = new HashMap<>(); in testGenerateNewHtml()
251 Map<String, Set<String>> toOther = new HashMap<>(); in testGenerateNewHtml()
276 Map<String, Set<String>> toBoth = new HashMap<>(); in testGenerateHtmlWithCustomHeading()
277 Map<String, Set<String>> toOne = new HashMap<>(); in testGenerateHtmlWithCustomHeading()
299 Map<String, Set<String>> toBoth = new HashMap<>(); in testGenerateNewHtmlWithCustomHeading()
300 Map<String, Set<String>> toOne = new HashMap<>(); in testGenerateNewHtmlWithCustomHeading()
[all …]
/aosp14/frameworks/base/tests/Internal/src/com/android/internal/app/
H A DAppLocaleCollectorTest.java44 import java.util.Set;
55 private Set<LocaleInfo> mAllAppActiveLocales;
56 private Set<LocaleInfo> mImeLocales;
57 private Set<LocaleInfo> mSystemCurrentLocales;
58 private Set<LocaleInfo> mSystemSupportedLocales;
83 Set<LocaleStore.LocaleInfo> list = in testGetSystemCurrentLocales()
194 return Set.of( in initSystemSupportedLocales()
204 private Set<LocaleInfo> initSystemCurrentLocales() { in initSystemCurrentLocales()
212 return Set.of( in initAllAppActivatedLocales()
220 private Set<LocaleInfo> initImeLocales() { in initImeLocales()
[all …]
H A DLocaleStoreTest.java42 import java.util.Set;
57 Set<String> expectedLanguageTag = Set.of("en-US", "zh-TW", "ja-JP"); in testTransformImeLanguageTagToLocaleInfo()
76 Set<String> expectedLanguageTag = Set.of("en-US", "zh-TW", "ja-JP"); in testTransformImeLanguageTagToLocaleInfo_duplicateTagFilter()
175 Set<String> ignorableLocales = new HashSet<>(); in getLevelLocales_languageTier_returnAllSupportLanguages()
179 Set<LocaleInfo> localeInfos = LocaleStore.getLevelLocales( in getLevelLocales_languageTier_returnAllSupportLanguages()
203 Set<String> ignorableLocales = new HashSet<>(); in getLevelLocales_regionTierAndParentIsEn_returnEnLocales()
207 Set<LocaleInfo> localeInfos = LocaleStore.getLevelLocales( in getLevelLocales_regionTierAndParentIsEn_returnEnLocales()
227 Set<String> ignorableLocales = new HashSet<>(); in getLevelLocales_numberingTierAndParentIsBnIn_returnBnInLocales()
231 Set<LocaleInfo> localeInfos = LocaleStore.getLevelLocales( in getLevelLocales_numberingTierAndParentIsBnIn_returnBnInLocales()
243 Set<String> ignorableLocales = new HashSet<>(); in getLevelLocales_regionTierAndParentIsBnInAndIgnoreBn_returnEmpty()
[all …]
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DEnforcingAdmin.java41 import java.util.Set;
73 private Set<String> mAuthorities;
124 return new RoleAuthority(Set.of(role)); in getParcelableAuthority()
158 Set<String> roles = getRoles(packageName, userId); in getRoleAuthoritiesOrDefault()
159 Set<String> authorities = new HashSet<>(); in getRoleAuthoritiesOrDefault()
163 return authorities.isEmpty() ? Set.of(DEFAULT_AUTHORITY) : authorities; in getRoleAuthoritiesOrDefault()
167 private static Set<String> getRoles(String packageName, int userId) { in getRoles()
170 Set<String> roles = new HashSet<>(); in getRoles()
180 private Set<String> getAuthorities() { in getAuthorities()
215 Set<String> roles = getRoles(mPackageName, mUserId); in getParcelableAdmin()
[all …]
H A DStringSetUnion.java26 import java.util.Set;
28 final class StringSetUnion extends ResolutionMechanism<Set<String>> {
31 PolicyValue<Set<String>> resolve( in resolve()
32 @NonNull LinkedHashMap<EnforcingAdmin, PolicyValue<Set<String>>> adminPolicies) { in resolve()
37 Set<String> unionOfPolicies = new HashSet<>(); in resolve()
38 for (PolicyValue<Set<String>> policy : adminPolicies.values()) { in resolve()
H A DOverlayPackagesProvider.java60 import java.util.Set;
166 private Set<String> getDeviceManagerRoleHolders() { in getDeviceManagerRoleHolders()
183 private Set<String> getRequiredAppsMainlineModules( in getRequiredAppsMainlineModules()
184 Set<String> packageNames, in getRequiredAppsMainlineModules()
186 final Set<String> result = new HashSet<>(); in getRequiredAppsMainlineModules()
233 private Set<String> getLaunchableApps(int userId) { in getLaunchableApps()
242 final Set<String> apps = new ArraySet<>(); in getLaunchableApps()
249 private Set<String> getSystemInputMethods(int userId) { in getSystemInputMethods()
251 final Set<String> systemInputMethods = new ArraySet<>(); in getSystemInputMethods()
262 final Set<String> requiredApps = new ArraySet<>(); in getRequiredApps()
[all …]
H A DStringSetPolicySerializer.java31 import java.util.Set;
34 final class StringSetPolicySerializer extends PolicySerializer<Set<String>> {
40 @NonNull Set<String> value) throws IOException { in saveToXml()
48 PolicyValue<Set<String>> readFromXml(TypedXmlPullParser parser) { in readFromXml()
54 Set<String> values = Set.of(valuesStr.split(ATTR_VALUES_SEPARATOR)); in readFromXml()
/aosp14/frameworks/base/core/java/com/android/internal/compat/
H A DCompatibilityChangeConfig.java25 import java.util.Set;
41 public Set<Long> enabledChanges() { in enabledChanges()
48 public Set<Long> disabledChanges() { in disabledChanges()
67 Set<Long> enabled = toLongSet(enabledArray); in CompatibilityChangeConfig()
68 Set<Long> disabled = toLongSet(disabledArray); in CompatibilityChangeConfig()
72 private static Set<Long> toLongSet(long[] values) { in toLongSet()
73 Set<Long> ret = new HashSet<>(); in toLongSet()
/aosp14/frameworks/base/services/core/java/com/android/server/backup/
H A DSetUtils.java20 import java.util.Set;
32 public static <T> Set<T> union(Set<T> set1, Set<T> set2) { in union()
33 Set<T> unionSet = new HashSet<>(set1); in union()
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/utils/
H A DSetUtils.java20 import java.util.Set;
32 public static <T> Set<T> union(Set<T> set1, Set<T> set2) { in union()
33 Set<T> unionSet = new HashSet<>(set1); in union()
/aosp14/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
H A DClientProfile.java21 import java.util.Set;
75 private Set<Integer> mUsingFrontendHandles = new HashSet<>();
80 private Set<Integer> mShareFeClientIds = new HashSet<>();
82 private Set<Integer> mUsingDemuxHandles = new HashSet<>();
87 private Set<Integer> mUsingLnbHandles = new HashSet<>();
220 public Set<Integer> getInUseFrontendHandles() { in getInUseFrontendHandles()
224 public Set<Integer> getShareFeClientIds() { in getShareFeClientIds()
249 public Set<Integer> getInUseDemuxHandles() { in getInUseDemuxHandles()
271 public Set<Integer> getInUseLnbHandles() { in getInUseLnbHandles()
/aosp14/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
H A DTestCertificateSource.java21 import java.util.Set;
28 private final Set<X509Certificate> mCertificates;
30 public TestCertificateSource(Set<X509Certificate> certificates) { in TestCertificateSource()
38 public Set<X509Certificate> getCertificates() { in getCertificates()
61 public Set<X509Certificate> findAllByIssuerAndSignature(X509Certificate cert) { in findAllByIssuerAndSignature()
62 Set<X509Certificate> certs = new ArraySet<X509Certificate>(); in findAllByIssuerAndSignature()
/aosp14/frameworks/base/core/java/android/security/net/config/
H A DPinSet.java21 import java.util.Set;
28 public final Set<Pin> pins;
30 public PinSet(Set<Pin> pins, long expirationTime) { in PinSet()
38 Set<String> getPinAlgorithms() { in getPinAlgorithms()
40 Set<String> algorithms = new ArraySet<String>(); in getPinAlgorithms()
H A DKeyStoreCertificateSource.java26 import java.util.Set;
38 private Set<X509Certificate> mCertificates;
45 public Set<X509Certificate> getCertificates() { in getCertificates()
58 Set<X509Certificate> certificates = new ArraySet<>(mKeyStore.size()); in ensureInitialized()
96 public Set<X509Certificate> findAllByIssuerAndSignature(X509Certificate cert) { in findAllByIssuerAndSignature()
98 Set<java.security.cert.TrustAnchor> anchors = mIndex.findAllByIssuerAndSignature(cert); in findAllByIssuerAndSignature()
102 Set<X509Certificate> certs = new ArraySet<X509Certificate>(anchors.size()); in findAllByIssuerAndSignature()
/aosp14/frameworks/base/core/java/android/net/vcn/
H A DVcnConfig.java50 import java.util.Set;
74 private static final Set<Integer> ALLOWED_TRANSPORTS = new ArraySet<>();
86 @NonNull private final Set<VcnGatewayConnectionConfig> mGatewayConnectionConfigs;
88 private static final Set<Integer> RESTRICTED_TRANSPORTS_DEFAULT =
91 @NonNull private final Set<Integer> mRestrictedTransports;
98 @NonNull Set<VcnGatewayConnectionConfig> gatewayConnectionConfigs, in VcnConfig()
99 @NonNull Set<Integer> restrictedTransports, in VcnConfig()
180 public Set<VcnGatewayConnectionConfig> getGatewayConnectionConfigs() { in getGatewayConnectionConfigs()
282 @NonNull private final Set<Integer> mRestrictedTransports = new ArraySet<>();
321 private void validateRestrictedTransportsOrThrow(Set<Integer> restrictedTransports) { in validateRestrictedTransportsOrThrow()
[all …]

12345678910>>...48