/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | WorkTypeConfigTest.java | 43 import java.util.List; 88 @NonNull List<Pair<Integer, Integer>> defaultMin, in check() 89 @NonNull List<Pair<Integer, Integer>> defaultMax, in check() 91 @NonNull List<Pair<Integer, Integer>> expectedMinLimits, in check() 92 @NonNull List<Pair<Integer, Integer>> expectedMaxLimits) throws Exception { in check() 132 /* min */ List.of(), in test() 133 /* max */ List.of(), in test() 135 /* min */ List.of(Pair.create(WORK_TYPE_TOP, 1), Pair.create(WORK_TYPE_EJ, 0), in test() 137 /* max */ List.of(Pair.create(WORK_TYPE_TOP, 13), Pair.create(WORK_TYPE_EJ, 13), in test() 140 /* min */ List.of(Pair.create(WORK_TYPE_TOP, 4), Pair.create(WORK_TYPE_BG, 0)), in test() [all …]
|
D | WorkCountTrackerTest.java | 48 import java.util.List; 135 public final List<Integer> pendingMultiTypes = new ArrayList<>(); 194 @NonNull List<Pair<Integer, Integer>> minLimits, in recount() 195 @NonNull List<Pair<Integer, Integer>> maxLimits) { in recount() 262 @NonNull List<Pair<Integer, Integer>> minLimits, in checkRandom() 263 @NonNull List<Pair<Integer, Integer>> maxLimits, in checkRandom() 305 final List<Pair<Integer, Integer>> maxLimits = List.of(Pair.create(WORK_TYPE_BG, 4)); in testRandom1() 306 final List<Pair<Integer, Integer>> minLimits = List.of(Pair.create(WORK_TYPE_BG, 2)); in testRandom1() 320 final List<Pair<Integer, Integer>> maxLimits = in testRandom2() 321 List.of(Pair.create(WORK_TYPE_BG, 2), Pair.create(WORK_TYPE_BGUSER, 1)); in testRandom2() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/ |
D | ShadowRouter2Manager.java | 28 import java.util.List; 33 private List<MediaRoute2Info> mAvailableRoutes; 34 private List<MediaRoute2Info> mAllRoutes; 35 private List<MediaRoute2Info> mDeselectableRoutes; 36 private List<RoutingSessionInfo> mActiveSessions; 37 private List<RoutingSessionInfo> mRoutingSessions; 40 protected List<MediaRoute2Info> getAvailableRoutes(String packageName) { in getAvailableRoutes() 44 public void setAvailableRoutes(List<MediaRoute2Info> infos) { in setAvailableRoutes() 49 protected List<MediaRoute2Info> getAllRoutes() { in getAllRoutes() 53 public void setAllRoutes(List<MediaRoute2Info> infos) { in setAllRoutes() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
D | RampDownAdapterTest.java | 35 import java.util.List; 58 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testPrebakedAndPrimitiveSegments_keepsListUnchanged() 62 List<VibrationEffectSegment> originalSegments = new ArrayList<>(segments); in testPrebakedAndPrimitiveSegments_keepsListUnchanged() 72 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testRampAndStepSegments_withNoOffSegment_keepsListUnchanged() 76 List<VibrationEffectSegment> originalSegments = new ArrayList<>(segments); in testRampAndStepSegments_withNoOffSegment_keepsListUnchanged() 88 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testRampAndStepSegments_withNoRampDownDuration_keepsOriginalSteps() 95 List<VibrationEffectSegment> originalSegments = new ArrayList<>(segments); in testRampAndStepSegments_withNoRampDownDuration_keepsOriginalSteps() 104 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withShortZeroSegment_replaceWithStepsDown() 108 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withShortZeroSegment_replaceWithStepsDown() 121 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withLongZeroSegment_replaceWithStepsDown() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | CameraUtilsTypeReferenceTest.java | 27 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() 160 assertRawTypeEquals(listArrayToken, List[].class); in testRawTypes() 169 private class IntListToken1 extends TypeReference<List<Integer>> {} 170 private class IntListToken2 extends TypeReference<List<Integer>> {} [all …]
|
/frameworks/base/core/java/android/graphics/fonts/ |
D | FontFamilyUpdateRequest.java | 27 import java.util.List; 83 @NonNull private final List<Font> mFonts; 88 public Builder(@NonNull String name, @NonNull List<Font> fonts) { in Builder() 119 private final List<Font> mFonts; 134 private FontFamily(@NonNull String name, @NonNull List<Font> fonts) { in FontFamily() 151 public List<Font> getFonts() { in getFonts() 167 private @NonNull List<FontVariationAxis> mAxes = Collections.emptyList(); 190 public @NonNull Builder setAxes(@NonNull List<FontVariationAxis> axes) { in setAxes() 221 private final List<FontVariationAxis> mAxes; 242 @IntRange(from = 0) int index, @NonNull List<FontVariationAxis> axes) { in Font() [all …]
|
/frameworks/base/core/java/android/content/pm/parsing/ |
D | ParsingPackageRead.java | 49 import java.util.List; 66 List<ParsedActivity> getActivities(); in getActivities() 74 List<String> getAdoptPermissions(); in getAdoptPermissions() 81 List<ConfigurationInfo> getConfigPreferences(); in getConfigPreferences() 84 List<ParsedAttribution> getAttributions(); in getAttributions() 91 List<FeatureGroupInfo> getFeatureGroups(); in getFeatureGroups() 98 List<String> getImplicitPermissions(); in getImplicitPermissions() 105 List<ParsedInstrumentation> getInstrumentations(); in getInstrumentations() 121 List<String> getLibraryNames(); in getLibraryNames() 129 List<String> getOriginalPackages(); in getOriginalPackages() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/ |
D | AndroidPackage.java | 39 import java.util.List; 64 List<String> getAdoptPermissions(); in getAdoptPermissions() 84 List<String> getImplicitPermissions(); in getImplicitPermissions() 100 List<String> getLibraryNames(); in getLibraryNames() 123 List<String> getOriginalPackages(); in getOriginalPackages() 145 List<ParsedPermissionGroup> getPermissionGroups(); in getPermissionGroups() 148 List<ParsedAttribution> getAttributions(); in getAttributions() 157 List<Pair<String, ParsedIntentInfo>> getPreferredActivityFilters(); in getPreferredActivityFilters() 164 List<String> getProtectedBroadcasts(); in getProtectedBroadcasts() 171 List<Intent> getQueriesIntents(); in getQueriesIntents() [all …]
|
D | PkgPackageInfo.java | 38 import java.util.List; 141 List<FeatureInfo> getReqFeatures(); in getReqFeatures() 148 List<ConfigurationInfo> getConfigPreferences(); in getConfigPreferences() 155 List<FeatureGroupInfo> getFeatureGroups(); in getFeatureGroups() 179 List<String> getRequestedPermissions(); in getRequestedPermissions() 186 List<ParsedActivity> getActivities(); in getActivities() 193 List<ParsedInstrumentation> getInstrumentations(); in getInstrumentations() 200 List<ParsedPermission> getPermissions(); in getPermissions() 207 List<ParsedProvider> getProviders(); in getProviders() 217 List<ParsedActivity> getReceivers(); in getReceivers() [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/ |
D | CertXml.java | 31 import java.util.List; 47 private final List<X509Certificate> intermediateCerts; 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() 125 private static List<X509Certificate> parseIntermediateCerts(Element rootNode) in parseIntermediateCerts() 127 List<String> contents = in parseIntermediateCerts() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest11.java | 38 import java.util.List; 68 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_setDynamicShortcuts() 95 ArgumentCaptor<List> changedShortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId() 99 ArgumentCaptor<List> removedShortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId() 137 ArgumentCaptor<List> changedShortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached() 161 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_pinShortcuts() 193 ArgumentCaptor<List> changedShortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_pinShortcuts_unpinOthers() 197 ArgumentCaptor<List> removedShortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_pinShortcuts_unpinOthers() 229 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_cacheShortcuts() 262 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_cacheShortcuts_alreadyCached() [all …]
|
/frameworks/base/core/java/android/app/ |
D | FragmentManagerNonConfig.java | 20 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()
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 82 import java.util.List; 108 public static List<String> readAll(File file) throws FileNotFoundException { in readAll() 113 public static List<String> readAll(ParcelFileDescriptor pfd) { in readAll() 134 public static String concatResult(List<String> result) { in concatResult() 143 public static List<String> extractShortcutIds(List<String> result) { in extractShortcutIds() 147 List<String> ids = new ArrayList<>(); in extractShortcutIds() 157 public static boolean resultContains(List<String> result, String expected) { in resultContains() 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() [all …]
|
/frameworks/av/media/libstagefright/xmlparser/api/ |
D | current.txt | 12 method public java.util.List<media.codecs.MediaCodec> getMediaCodec(); 17 method public java.util.List<media.codecs.MediaCodec> getMediaCodec(); 40 method public java.util.List<media.codecs.Decoders> getDecoders_optional(); 41 method public java.util.List<media.codecs.Encoders> getEncoders_optional(); 42 method public java.util.List<media.codecs.Include> getInclude_optional(); 43 method public java.util.List<media.codecs.Settings> getSettings_optional(); 80 method public java.util.List<media.codecs.Alias> getAlias_optional(); 81 method public java.util.List<media.codecs.Quirk> getAttribute_optional(); 84 method public java.util.List<media.codecs.Feature> getFeature_optional(); 85 method public java.util.List<media.codecs.Limit> getLimit_optional(); [all …]
|
/frameworks/layoutlib/bridge/src/android/graphics/text/ |
D | BaseLineBreaker.java | 23 import java.util.List; 31 protected final @NonNull List<Primitive> mPrimitives; 37 public BaseLineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, in BaseLineBreaker() 47 List<Integer> mLineBreakOffset = new ArrayList<>(); 48 List<Float> mLineWidths = new ArrayList<>(); 49 List<Float> mLineAscents = new ArrayList<>(); 50 List<Float> mLineDescents = new ArrayList<>(); 51 List<Integer> mLineFlags = new ArrayList<>();
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | PropertyNodesVerifierElem.java | 27 import java.util.List; 50 private final HashMap<String, List<PropertyNode>> mOrderedNodeMap; 56 mOrderedNodeMap = new HashMap<String, List<PropertyNode>>(); in PropertyNodesVerifierElem() 73 String propName, List<String> propValueList, ContentValues contentValues) { in addExpectedNodeWithOrder() 79 String propName, String propValue, List<String> propValueList) { in addExpectedNodeWithOrder() 85 String propName, List<String> propValueList) { in addExpectedNodeWithOrder() 98 List<String> propValueList, TypeSet paramMap_TYPE) { in addExpectedNodeWithOrder() 104 List<String> propValueList, ContentValues paramMap, TypeSet paramMap_TYPE) { in addExpectedNodeWithOrder() 116 List<String> propValueList, TypeSet paramMap_TYPE) { in addExpectedNodeWithOrder() 122 List<String> propValueList, ContentValues paramMap) { in addExpectedNodeWithOrder() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | ArtPackageInfo.java | 19 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()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceInternal.java | 30 import java.util.List; 176 @NonNull String packageName, @Nullable List<String> permissionNames); in startShellPermissionIdentityDelegation() 189 @NonNull List<String> getDelegatedShellPermissions(); in getDelegatedShellPermissions() 286 @NonNull List<AndroidPackage> sharedUserPkgs, @UserIdInt int userId); in onPackageUninstalled() 317 private final List<String> mGrantedPermissions; 319 private final List<String> mAllowlistedRestrictedPermissions; 323 private PackageInstalledParams(@NonNull List<String> grantedPermissions, in PackageInstalledParams() 324 @NonNull List<String> allowlistedRestrictedPermissions, in PackageInstalledParams() 337 public List<String> getGrantedPermissions() { in getGrantedPermissions() 347 public List<String> getAllowlistedRestrictedPermissions() { in getAllowlistedRestrictedPermissions() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ResolverActivityTest.java | 73 import java.util.List; 93 List<ResolvedComponentInfo> resolvedComponentInfos = createResolvedComponentsForTest(2); in twoOptionsAndUserSelectsOne() 97 Mockito.isA(List.class))).thenReturn(resolvedComponentInfos); in twoOptionsAndUserSelectsOne() 124 List<ResolvedComponentInfo> resolvedComponentInfos = createResolvedComponentsForTest(2); in setMaxHeight() 128 Mockito.isA(List.class))).thenReturn(resolvedComponentInfos); in setMaxHeight() 168 List<ResolvedComponentInfo> resolvedComponentInfos = createResolvedComponentsForTest(2); in setShowAtTopToTrue() 172 Mockito.isA(List.class))).thenReturn(resolvedComponentInfos); in setShowAtTopToTrue() 199 List<ResolvedComponentInfo> resolvedComponentInfos = createResolvedComponentsForTest(2); in hasLastChosenActivity() 204 Mockito.isA(List.class))).thenReturn(resolvedComponentInfos); in hasLastChosenActivity() 230 List<ResolvedComponentInfo> personalResolvedComponentInfos = in hasOtherProfileOneOption() [all …]
|
/frameworks/layoutlib/bridge/tests/src/com/android/tools/idea/validator/accessibility/ |
D | AccessibilityValidatorTests.java | 37 import java.util.List; 63 List<Issue> dupBounds = filter(result.getIssues(), "DuplicateClickableBoundsCheck"); in testDuplicateClickableBoundsCheck() 75 List<Issue> duplicateSpeakableTexts = filter(result.getIssues(), in testDuplicateSpeakableTextsCheck() 89 List<Issue> redundant = filter(result.getIssues(), "RedundantDescriptionCheck"); in testRedundantDescriptionCheck() 102 List<Issue> speakableCheck = filter(result.getIssues(), "SpeakableTextPresentCheck"); in testLabelFor() 117 List<Issue> speakableCheck = filter(result.getIssues(), "SpeakableTextPresentCheck"); in testImportantForAccessibility() 131 List<Issue> speakableCheck = filter(result.getIssues(), "SpeakableTextPresentCheck"); in testSpeakableTextPresentCheck() 141 List<Issue> allErrors = filter( in testSpeakableTextPresentCheck() 151 List<Issue> textContrast = filter(result.getIssues(), "TextContrastCheck"); in testTextContrastCheck() 162 List<Issue> filtered = filter(result.getIssues(), EnumSet.of(Level.ERROR)); in testTextContrastCheck() [all …]
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/ |
D | LocationTimeZoneManagerServiceState.java | 27 import java.util.List; 34 @NonNull private final List<ProviderState> mPrimaryProviderStates; 35 @NonNull private final List<ProviderState> mSecondaryProviderStates; 49 public List<ProviderState> getPrimaryProviderStates() { in getPrimaryProviderStates() 54 public List<ProviderState> getSecondaryProviderStates() { in getSecondaryProviderStates() 70 private List<ProviderState> mPrimaryProviderStates; 71 private List<ProviderState> mSecondaryProviderStates; 80 Builder setPrimaryProviderStateChanges(@NonNull List<ProviderState> primaryProviderStates) { in setPrimaryProviderStateChanges() 87 @NonNull List<ProviderState> secondaryProviderStates) { in setSecondaryProviderStateChanges()
|
/frameworks/base/services/people/java/com/android/server/people/prediction/ |
D | AppTargetPredictor.java | 32 import java.util.List; 46 @NonNull Consumer<List<AppTarget>> updatePredictionsMethod, in create() 57 private final Consumer<List<AppTarget>> mUpdatePredictionsMethod; 63 @NonNull Consumer<List<AppTarget>> updatePredictionsMethod, in AppTargetPredictor() 84 public void onLaunchLocationShown(String launchLocation, List<AppTargetId> targetIds) { in onLaunchLocationShown() 92 public void onSortAppTargets(List<AppTarget> targets, Consumer<List<AppTarget>> callback) { in onSortAppTargets() 105 public Consumer<List<AppTarget>> getUpdatePredictionsMethod() { in getUpdatePredictionsMethod() 124 void sortTargets(List<AppTarget> targets, Consumer<List<AppTarget>> callback) { in sortTargets() 141 void updatePredictions(List<AppTarget> targets) { in updatePredictions()
|
/frameworks/base/media/java/android/media/ |
D | MediaInserter.java | 27 import java.util.List; 36 private final HashMap<Uri, List<ContentValues>> mRowMap = 37 new HashMap<Uri, List<ContentValues>>(); 38 private final HashMap<Uri, List<ContentValues>> mPriorityRowMap = 39 new HashMap<Uri, List<ContentValues>>(); 58 HashMap<Uri, List<ContentValues>> rowmap = priority ? mPriorityRowMap : mRowMap; in insert() 59 List<ContentValues> list = rowmap.get(tableUri); in insert() 75 List<ContentValues> list = mRowMap.get(tableUri); in flushAll() 83 List<ContentValues> list = mPriorityRowMap.get(tableUri); in flushAllPriority() 89 private void flush(Uri tableUri, List<ContentValues> list) throws RemoteException { in flush()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ErrorDialogController.java | 27 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() 152 void scheduleForAllDialogs(List<? extends BaseErrorDialog> dialogs, in scheduleForAllDialogs() 161 void forAllDialogs(List<? extends BaseErrorDialog> dialogs, Consumer<BaseErrorDialog> c) { in forAllDialogs() 169 List<Context> contexts = getDisplayContexts(false /* lastUsedOnly */); in showCrashDialogs() 176 List<AppErrorDialog> dialogs; in showCrashDialogs() [all …]
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | DataCallResponse.java | 39 import java.util.List; 131 private final List<LinkAddress> mAddresses; 132 private final List<InetAddress> mDnsAddresses; 133 private final List<InetAddress> mGatewayAddresses; 134 private final List<InetAddress> mPcscfAddresses; 141 private final List<QosBearerSession> mQosBearerSessions; 143 private final List<TrafficDescriptor> mTrafficDescriptors; 171 @Nullable List<LinkAddress> addresses, in DataCallResponse() 172 @Nullable List<InetAddress> dnsAddresses, in DataCallResponse() 173 @Nullable List<InetAddress> gatewayAddresses, in DataCallResponse() [all …]
|