Home
last modified time | relevance | path

Searched refs:List (Results 1 – 25 of 3106) sorted by relevance

12345678910>>...125

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/job/
H A DWorkTypeConfigTest.java43 import java.util.List;
127 /* max */ List.of( in test()
137 /* max */ List.of( in test()
157 /* min */ List.of( in test()
159 /* max */ List.of( in test()
167 /* min */ List.of( in test()
169 /* max */ List.of( in test()
179 /* max */ List.of( in test()
187 /* min */ List.of( in test()
189 /* max */ List.of( in test()
[all …]
H A DWorkCountTrackerTest.java48 import java.util.List;
312 final List<Pair<Integer, Float>> minLimitRatios = List.of(); in testRandom2()
330 final List<Pair<Integer, Float>> minLimitRatios = List.of(Pair.create(WORK_TYPE_BG, .99f)); in testRandom3()
348 final List<Pair<Integer, Float>> minLimitRatios = List.of(); in testRandom4()
534 final List<Pair<Integer, Float>> maxLimitRatios = List.of( in testRandom13()
644 /* run */ List.of(), in testBasic()
712 /* max */ List.of( in testBasic()
721 /* max */ List.of( in testBasic()
781 /* max */ List.of( in testBasic()
805 /* max */ List.of( in testBasic()
[all …]
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/
H A DShadowRouter2Manager.java29 import java.util.List;
34 private List<MediaRoute2Info> mAvailableRoutes;
35 private List<MediaRoute2Info> mAllRoutes;
36 private List<MediaRoute2Info> mDeselectableRoutes;
37 private List<RoutingSessionInfo> mRemoteSessions;
38 private List<RoutingSessionInfo> mRoutingSessions;
46 public void setAvailableRoutes(List<MediaRoute2Info> infos) { in setAvailableRoutes()
51 protected List<MediaRoute2Info> getAllRoutes() { in getAllRoutes()
55 public void setAllRoutes(List<MediaRoute2Info> infos) { in setAllRoutes()
60 protected List<RoutingSessionInfo> getRemoteSessions() { in getRemoteSessions()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DRampDownAdapterTest.java35 import java.util.List;
107 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withShortZeroSegment_replaceWithStepsDown()
123 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withLongZeroSegment_replaceWithStepsDownWithRemainingOffSegment()
141 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withZeroSegmentBeforeRepeat_fixesRepeat()
160 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withZeroSegmentAfterRepeat_preservesRepeat()
176 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withZeroSegmentAtRepeat_fixesRepeatAndAppendOriginalToListEnd()
213 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withRepeatToShortZeroSegment_skipAndAppendRampDown()
231 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withRepeatToLongZeroSegment_splitAndAppendRampDown()
257 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testRampSegments_withShortZeroSegment_replaceWithRampDown()
280 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testRampSegments_withLongZeroSegment_splitAndAddRampDown()
[all …]
/aosp14/frameworks/base/core/java/android/speech/
H A DRecognitionSupport.java26 import java.util.List;
42 private List<String> mInstalledOnDeviceLanguages = List.of();
47 private List<String> mPendingOnDeviceLanguages = List.of();
55 private List<String> mSupportedOnDeviceLanguages = List.of();
64 private List<String> mOnlineLanguages = List.of();
84 @NonNull List<String> pendingOnDeviceLanguages, in RecognitionSupport()
86 @NonNull List<String> onlineLanguages) { in RecognitionSupport()
134 public @NonNull List<String> getOnlineLanguages() { in getOnlineLanguages()
257 private @NonNull List<String> mOnlineLanguages;
352 mPendingOnDeviceLanguages = List.of(); in build()
[all …]
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraUtilsTypeReferenceTest.java27 import java.util.List;
146 TypeReference<List<Integer>> listToken = new TypeReference<List<Integer>>() {{ }}; in testRawTypes()
147 assertRawTypeEquals(listToken, List.class); in testRawTypes()
149 TypeReference<List<List<Integer>>> listListToken = in testRawTypes()
150 new TypeReference<List<List<Integer>>>() {{ }}; in testRawTypes()
151 assertRawTypeEquals(listListToken, List.class); in testRawTypes()
159 TypeReference<List<Integer>[]> listArrayToken = new TypeReference<List<Integer>[]>() {{ }}; in testRawTypes()
199 TypeReference<List<Integer>> listToken = new TypeReference<List<Integer>>() {{ }}; in testComponentType()
202 TypeReference<List<List<Integer>>> listListToken = in testComponentType()
203 new TypeReference<List<List<Integer>>>() {{ }}; in testComponentType()
[all …]
/aosp14/frameworks/base/core/java/android/credentials/ui/
H A DGetCredentialProviderData.java28 import java.util.List;
38 private final List<Entry> mCredentialEntries;
40 private final List<Entry> mActionChips;
42 private final List<AuthenticationEntry> mAuthenticationEntries;
48 @NonNull List<Entry> actionChips, in GetCredentialProviderData()
49 @NonNull List<AuthenticationEntry> authenticationEntries, in GetCredentialProviderData()
59 public List<Entry> getCredentialEntries() { in getCredentialEntries()
64 public List<Entry> getActionChips() { in getActionChips()
69 public List<AuthenticationEntry> getAuthenticationEntries() { in getAuthenticationEntries()
81 List<Entry> credentialEntries = new ArrayList<>(); in GetCredentialProviderData()
[all …]
/aosp14/frameworks/base/core/java/android/graphics/fonts/
H A DFontFamilyUpdateRequest.java27 import java.util.List;
83 @NonNull private final List<Font> mFonts;
119 private final List<Font> mFonts;
151 public List<Font> getFonts() { in getFonts()
221 private final List<FontVariationAxis> mAxes;
270 public List<FontVariationAxis> getAxes() { in getAxes()
335 private final List<FontFileUpdateRequest> mFontFiles;
338 private final List<FontFamily> mFontFamilies;
341 @NonNull List<FontFamily> fontFamilies) { in FontFamilyUpdateRequest()
351 public List<FontFileUpdateRequest> getFontFileUpdateRequests() { in getFontFileUpdateRequests()
[all …]
/aosp14/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
H A DInputMethodManagerServiceRestrictImeAmountTest.java38 import java.util.List;
46 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in testFilterInputMethodServices_loadsAllImesBelowThreshold()
53 List.of()); in testFilterInputMethodServices_loadsAllImesBelowThreshold()
59 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in testFilterInputMethodServices_ignoresImesBeyondThreshold()
66 List.of()); in testFilterInputMethodServices_ignoresImesBeyondThreshold()
73 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in testFilterInputMethodServices_loadsSystemImesBeyondThreshold()
81 List.of()); in testFilterInputMethodServices_loadsSystemImesBeyondThreshold()
88 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in testFilterInputMethodServices_ignoresImesBeyondThresholdFromTwoPackages()
99 List.of()); in testFilterInputMethodServices_ignoresImesBeyondThresholdFromTwoPackages()
124 private List<InputMethodInfo> filterInputMethodServices(List<ResolveInfo> resolveInfoList, in filterInputMethodServices()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/
H A DAndroidPackage.java64 import java.util.List;
202 List<String> getLibraryNames(); in getLibraryNames()
700 List<String> getAdoptPermissions(); in getAdoptPermissions()
912 List<String> getOriginalPackages(); in getOriginalPackages()
1054 List<ParsedProvider> getProviders(); in getProviders()
1064 List<Intent> getQueriesIntents(); in getQueriesIntents()
1073 List<String> getQueriesPackages(); in getQueriesPackages()
1105 List<ParsedActivity> getReceivers(); in getReceivers()
1179 List<ParsedService> getServices(); in getServices()
1283 List<String> getUsesLibraries(); in getUsesLibraries()
[all …]
/aosp14/frameworks/base/core/java/android/view/
H A DViewRootRectTracker.java29 import java.util.List;
37 private final Function<View, List<Rect>> mRectCollector;
40 private List<Rect> mRootRects = Collections.emptyList();
41 private List<ViewInfo> mViewInfos = new ArrayList<>();
42 private List<Rect> mRects = Collections.emptyList();
80 public List<Rect> computeChangedRects() { in computeChangedRects()
132 public List<Rect> getLastComputedRects() { in getLastComputedRects()
139 public void setRootRects(@NonNull List<Rect> rects) { in setRootRects()
146 public List<Rect> getRootRects() { in getRootRects()
152 final List<Rect> rects = mRectCollector.apply(v); in getTrackedRectsForView()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest11.java39 import java.util.List;
70 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_setDynamicShortcuts()
163 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_pinShortcuts()
231 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_cacheShortcuts()
264 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_cacheShortcuts_alreadyCached()
293 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_uncacheShortcuts()
369 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_updateShortcuts()
397 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_addDynamicShortcuts()
420 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_pushDynamicShortcut()
450 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_pushDynamicShortcut_existingId()
[all …]
/aosp14/frameworks/base/media/java/android/media/
H A DRouteDiscoveryPreference.java32 import java.util.List;
69 private final List<String> mPackageOrder;
71 private final List<String> mAllowedPackages;
111 public List<String> getPreferredFeatures() { in getPreferredFeatures()
139 public List<String> getAllowedPackages() { in getAllowedPackages()
242 List<String> mPreferredFeatures;
243 List<String> mPackageOrder;
244 List<String> mAllowedPackages;
254 mPackageOrder = List.of(); in Builder()
255 mAllowedPackages = List.of(); in Builder()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
H A DLocationTimeZoneManagerServiceState.java28 import java.util.List;
36 @NonNull private final List<@State String> mControllerStates;
37 @NonNull private final List<ProviderState> mPrimaryProviderStates;
38 @NonNull private final List<ProviderState> mSecondaryProviderStates;
58 public List<@State String> getControllerStates() { in getControllerStates()
63 public List<ProviderState> getPrimaryProviderStates() { in getPrimaryProviderStates()
68 public List<ProviderState> getSecondaryProviderStates() { in getSecondaryProviderStates()
87 private List<@State String> mControllerStates;
88 private List<ProviderState> mPrimaryProviderStates;
89 private List<ProviderState> mSecondaryProviderStates;
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
H A DCertXml.java31 import java.util.List;
48 private final List<X509Certificate> endpointCerts;
52 List<X509Certificate> intermediateCerts, in CertXml()
53 List<X509Certificate> endpointCerts) { in CertXml()
65 List<X509Certificate> getAllIntermediateCerts() { in getAllIntermediateCerts()
70 List<X509Certificate> getAllEndpointCerts() { in getAllEndpointCerts()
116 List<String> contents = in parseSerial()
127 List<String> contents = in parseIntermediateCerts()
133 List<X509Certificate> res = new ArrayList<>(); in parseIntermediateCerts()
142 List<String> contents = in parseEndpointCerts()
[all …]
/aosp14/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
H A DShortcutManagerTestUtils.java82 import java.util.List;
143 public static List<String> extractShortcutIds(List<String> result) { in extractShortcutIds()
166 public static List<String> assertSuccess(List<String> result) { in assertSuccess()
173 public static List<String> assertContains(List<String> result, String expected) { in assertContains()
181 public static List<String> assertHaveIds(List<String> result, String... expectedIds) { in assertHaveIds()
461 public static List<ShortcutInfo> filterByActivity(List<ShortcutInfo> list, in filterByActivity()
468 public static List<ShortcutInfo> changedSince(List<ShortcutInfo> list, long time) { in changedSince()
511 public static List<ShortcutInfo> assertShortcutIds(List<ShortcutInfo> actualShortcuts, in assertShortcutIds()
767 public static List<ShortcutInfo> cloneShortcutList(List<ShortcutInfo> list) { in cloneShortcutList()
782 public static List<ShortcutInfo> sortedByRank(List<ShortcutInfo> shortcuts) { in sortedByRank()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/app/
H A DResolverActivityTest.java77 import java.util.List;
268 List<ResolvedComponentInfo> stableCopy = in hasOtherProfileOneOption()
286 List<ResolvedComponentInfo> resolvedComponentInfos = in hasOtherProfileTwoOptionsAndUserSelectsOne()
312 List<ResolvedComponentInfo> stableCopy = in hasOtherProfileTwoOptionsAndUserSelectsOne()
359 List<ResolvedComponentInfo> stableCopy = in hasLastChosenActivityAndOtherProfile()
848 Mockito.isA(List.class))) in testAutolaunch_singleTarget_withWorkProfileAndTabbedViewOff_noAutolaunch()
873 Mockito.isA(List.class))) in testAutolaunch_singleTarget_noWorkProfile_autolaunch()
1046 List<ResolvedComponentInfo> stableCopy = in testClonedProfilePresent_alwaysButtonDisabled()
1152 List<UserHandle> result = activity in testClonedProfilePresent_personalProfileResolverComparatorHasCorrectUsers()
1246 Mockito.isA(List.class))) in setupResolverControllers()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/flags/
H A DFeatureFlagsServiceTest.java44 import java.util.List;
122 List<SyncableFlag> inputFlags = List.of( in testSyncFlags_noOverrides()
128 List<SyncableFlag> outputFlags = mFeatureFlagsService.syncFlags(inputFlags); in testSyncFlags_noOverrides()
147 List<SyncableFlag> inputFlags = List.of( in testSyncFlags_withSomeOverrides()
155 List<SyncableFlag> outputFlags = mFeatureFlagsService.syncFlags(inputFlags); in testSyncFlags_withSomeOverrides()
180 List<SyncableFlag> inputFlagsFirst = List.of( in testSyncFlags_twoCallsWithDifferentDefaults()
183 List<SyncableFlag> inputFlagsSecond = List.of( in testSyncFlags_twoCallsWithDifferentDefaults()
213 List<SyncableFlag> inputFlags = List.of( in testQueryFlags_onlyOnce()
219 List<SyncableFlag> outputFlags = mFeatureFlagsService.queryFlags(inputFlags); in testQueryFlags_onlyOnce()
238 List<SyncableFlag> inputFlagsFirst = List.of( in testQueryFlags_twoCallsWithDifferentDefaults()
[all …]
/aosp14/frameworks/base/core/java/android/app/
H A DFragmentManagerNonConfig.java20 import java.util.List;
36 private final List<Fragment> mFragments;
37 private final List<FragmentManagerNonConfig> mChildNonConfigs;
39 FragmentManagerNonConfig(List<Fragment> fragments, in FragmentManagerNonConfig()
40 List<FragmentManagerNonConfig> childNonConfigs) { in FragmentManagerNonConfig()
48 List<Fragment> getFragments() { in getFragments()
55 List<FragmentManagerNonConfig> getChildNonConfigs() { in getChildNonConfigs()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/resolution/
H A DComponentResolverApi.java35 import java.util.List;
57 List<ResolveInfo> queryActivities(@NonNull Computer computer, @NonNull Intent intent, in queryActivities()
61 List<ResolveInfo> queryActivities(@NonNull Computer computer, @NonNull Intent intent, in queryActivities()
70 List<ResolveInfo> queryProviders(@NonNull Computer computer, @NonNull Intent intent, in queryProviders()
74 List<ResolveInfo> queryProviders(@NonNull Computer computer, @NonNull Intent intent, in queryProviders()
83 List<ResolveInfo> queryReceivers(@NonNull Computer computer, @NonNull Intent intent, in queryReceivers()
87 List<ResolveInfo> queryReceivers(@NonNull Computer computer, @NonNull Intent intent, in queryReceivers()
92 List<ResolveInfo> queryServices(@NonNull Computer computer, @NonNull Intent intent, in queryServices()
96 List<ResolveInfo> queryServices(@NonNull Computer computer, @NonNull Intent intent, in queryServices()
100 void querySyncProviders(@NonNull Computer computer, @NonNull List<String> outNames, in querySyncProviders()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/
H A DEditTextCursorAnchorInfoTest.java48 import java.util.List;
196 List<RectF> lineBounds = cursorAnchorInfo.getVisibleLineBounds(); in testVisibleLineBounds_allVisible()
209 List<RectF> lineBounds = cursorAnchorInfo.getVisibleLineBounds(); in testVisibleLineBounds_allVisible_withLineSpacing()
231 List<RectF> lineBounds = cursorAnchorInfo.getVisibleLineBounds(); in testVisibleLineBounds_allVisible_withLineMultiplier()
254 List<RectF> lineBounds = cursorAnchorInfo.getVisibleLineBounds(); in testVisibleLineBounds_cutBottomLines()
324 List<RectF> expectedLineBounds = copy(DEFAULT_LINE_BOUNDS); in testVisibleLineBounds_withCompoundDrawable_allVisible()
404 List<RectF> expectedLineBounds = copy(DEFAULT_LINE_BOUNDS); in testVisibleLineBounds_withPaddings_allVisible()
509 private List<RectF> copy(List<RectF> rectFList) { in copy()
510 List<RectF> result = new ArrayList<>(); in copy()
516 private List<RectF> subList(List<RectF> rectFList, int start, int end) { in subList()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/pm/dex/
H A DArtPackageInfo.java19 import java.util.List;
26 private final List<String> mInstructionSets;
27 private final List<String> mCodePaths;
34 List<String> instructionSets, in ArtPackageInfo()
35 List<String> codePaths, in ArtPackageInfo()
47 public List<String> getInstructionSets() { in getInstructionSets()
51 public List<String> getCodePaths() { in getCodePaths()
/aosp14/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/customization/data/content/
H A DFakeCustomizationProviderClient.kt29 slots: List<CustomizationProviderClient.Slot> =
40 affordances: List<CustomizationProviderClient.Affordance> =
58 flags: List<CustomizationProviderClient.Flag> =
73 private val selections = MutableStateFlow<Map<String, List<String>>>(emptyMap())
88 override suspend fun querySlots(): List<CustomizationProviderClient.Slot> {
92 override suspend fun queryFlags(): List<CustomizationProviderClient.Flag> {
96 override fun observeSlots(): Flow<List<CustomizationProviderClient.Slot>> {
100 override fun observeFlags(): Flow<List<CustomizationProviderClient.Flag>> {
168 selections: Map<String, List<String>>,
169 affordances: List<CustomizationProviderClient.Affordance>,
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/
H A DFingerprintServiceRegistryTest.java52 import java.util.List;
85 List.of(), FingerprintSensorProperties.TYPE_UDFPS_OPTICAL, in setup()
89 List.of(), FingerprintSensorProperties.TYPE_UNKNOWN, in setup()
101 mRegistry.registerAllInBackground(() -> List.of(mProvider1, mProvider2)); in registersAllProviders()
114 mRegistry.registerAllInBackground(() -> List.of(mProvider1, mProvider2)); in getsProviderById()
123 mRegistry.registerAllInBackground(() -> List.of(mProvider1)); in getsSingleProvider()
132 mRegistry.registerAllInBackground(() -> List.of(mProvider1, mProvider2)); in getSingleProviderFindsFirstWhenMultiple()
139 final List<FingerprintSensorPropertiesInternal> all = new ArrayList<>(); in registersListenerBeforeAllRegistered()
143 List<FingerprintSensorPropertiesInternal> sensors) { in registersListenerBeforeAllRegistered()
157 final List<FingerprintSensorPropertiesInternal> all = new ArrayList<>(); in registersListenerAfterAllRegistered()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DErrorDialogController.java27 import java.util.List;
42 private List<AppErrorDialog> mCrashDialogs;
48 private List<AppNotRespondingDialog> mAnrDialogs;
54 private List<StrictModeViolationDialog> mViolationDialogs;
75 List<AppErrorDialog> getCrashDialogs() { in getCrashDialogs()
85 List<AppNotRespondingDialog> getAnrDialogs() { in getAnrDialogs()
153 void scheduleForAllDialogs(List<? extends BaseErrorDialog> dialogs, in scheduleForAllDialogs()
177 List<AppErrorDialog> dialogs; in showCrashDialogs()
189 List<Context> contexts = getDisplayContexts( in showAnrDialogs()
248 private List<Context> getDisplayContexts(boolean lastUsedOnly) { in getDisplayContexts()
[all …]

12345678910>>...125