/aosp14/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | AppsQueryHelperTests.java | 43 apps = mAppsQueryHelper.queryApps(0, false, UserHandle.SYSTEM); in testQueryAppsSystemAppsOnly() 58 List<String> apps = mAppsQueryHelper.queryApps( in testQueryAppsInteractAcrossUser() local 60 assertEqualsIgnoreOrder(Arrays.asList("sys_app1"), apps); in testQueryAppsInteractAcrossUser() 62 apps = mAppsQueryHelper.queryApps( in testQueryAppsInteractAcrossUser() 64 assertEqualsIgnoreOrder(Arrays.asList("sys_app1"), apps); in testQueryAppsInteractAcrossUser() 68 List<String> apps = mAppsQueryHelper.queryApps( in testQueryApps() local 74 apps = mAppsQueryHelper.queryApps( in testQueryApps() 85 assertEqualsIgnoreOrder(Arrays.asList("sys_app1"), apps); in testQueryAppsImes() 90 assertEqualsIgnoreOrder(Arrays.asList("sys_app1", "app4"), apps); in testQueryAppsImes() 97 assertEqualsIgnoreOrder(Arrays.asList("sys_app3"), apps); in testQueryAppsRequiredForSystemUser() [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | OverlayPackagesProviderTest.java | 396 private void setRequiredAppsManagedDevice(String... apps) { in setRequiredAppsManagedDevice() argument 397 setStringArray(R.array.required_apps_managed_device, apps); in setRequiredAppsManagedDevice() 404 private void setDisallowedAppsManagedDevice(String... apps) { in setDisallowedAppsManagedDevice() argument 412 private void setRequiredAppsManagedProfile(String... apps) { in setRequiredAppsManagedProfile() argument 420 private void setDisallowedAppsManagedProfile(String... apps) { in setDisallowedAppsManagedProfile() argument 428 private void setRequiredAppsManagedUser(String... apps) { in setRequiredAppsManagedUser() argument 429 setStringArray(R.array.required_apps_managed_user, apps); in setRequiredAppsManagedUser() 432 private void setVendorRequiredAppsManagedUser(String... apps) { in setVendorRequiredAppsManagedUser() argument 436 private void setDisallowedAppsManagedUser(String... apps) { in setDisallowedAppsManagedUser() argument 466 private void setSystemAppsWithLauncher(String... apps) { in setSystemAppsWithLauncher() argument [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | IntentBindRecord.java | 37 final ArrayMap<ProcessRecord, AppBindRecord> apps field in IntentBindRecord 66 for (int i=0; i<apps.size(); i++) { in dumpInService() 67 AppBindRecord a = apps.valueAt(i); in dumpInService() 82 for (int i=apps.size()-1; i>=0; i--) { in collectFlags() 83 final ArraySet<ConnectionRecord> connections = apps.valueAt(i).connections; in collectFlags() 127 final int N = apps.size(); in dumpDebug() 129 AppBindRecord a = apps.valueAt(i); in dumpDebug()
|
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/ |
H A D | README.md | 25 system's cost to produce that action. Some of this breaks down when we throw TOP apps into the mix 39 Others may be more dynamic (some may even allow apps to bid higher ARCs for some actions to have 52 total work can be done, regardless of how many apps the user has installed. 57 will likely have a unique set of actions that apps can perform, and may choose to reward apps for 59 the app provided value to the user. The current set of behaviors that apps may be rewarded for 92 1. Not all apps used their credits, which meant that allocating credits to those packages 94 1. Having a global maximum circulation spread across multiple apps meant that as more apps were 101 TIP1 separated allocation (to apps) from supply (by the system) and 102 allowed apps to accrue credits as appropriate while still limiting the total number of credits 116 demanding apps. [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AppTransitionController.java | 889 for (int i = apps.size() - 1; i >= 0; i--) { 890 if (apps.valueAt(i).mVoiceInteraction) { 920 for (int j = 0; j < apps.size(); ++j) { in applyAnimations() 970 for (int i = 0; i < apps.size(); ++i) { in getAnimationTargets() 1080 apps, targets); in getAnimationTargets() 1247 final int appsCount = apps.size(); in handleChangingApps() 1249 WindowContainer wc = apps.valueAt(i); in handleChangingApps() 1279 for (int i = 0; i < apps.size(); i++) { in transitionGoodToGo() 1280 WindowContainer wc = apps.valueAt(i); in transitionGoodToGo() 1405 for (int i = apps.size() - 1; i >= 0; i--) { in canBeWallpaperTarget() [all …]
|
/aosp14/frameworks/base/tests/SmokeTestApps/ |
H A D | README | 1 The apps in this folder are intentionally bad-behaving apps that are intended
|
/aosp14/frameworks/base/packages/CtsShim/build/ |
H A D | README | 14 cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/apk/arm 18 cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/apk/arm 28 cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/apk/x86 32 cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/apk/x86
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
H A D | LegacyTransitions.java | 44 void onAnimationStart(int transit, RemoteAnimationTarget[] apps, in onAnimationStart() argument 98 public void onAnimationStart(int transit, RemoteAnimationTarget[] apps, in onAnimationStart() argument 102 mApps = apps; in onAnimationStart()
|
/aosp14/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/ |
H A D | Android.bp | 28 "src/com/android/apps/inputmethod/simpleime/*.java", 53 "src/com/android/apps/inputmethod/simpleime/ims/*.java", 61 "src/com/android/apps/inputmethod/simpleime/testing/*.java",
|
/aosp14/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/ |
H A D | Android.bp | 40 "--rename-manifest-package com.android.servicestests.apps.simpleservicetestapp1", 60 "--rename-manifest-package com.android.servicestests.apps.simpleservicetestapp2", 80 "--rename-manifest-package com.android.servicestests.apps.simpleservicetestapp3",
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ForegroundServicesDialog.java | 178 ArrayList<ApplicationInfo> apps = new ArrayList<>(); in setPackages() local 181 apps.add(mPm.getApplicationInfo(packages[i], in setPackages() 187 apps.sort(new ApplicationInfo.DisplayNameComparator(mPm)); in setPackages() 188 addAll(apps); in setPackages()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
H A D | KeyguardViewMediator.java | 1036 RemoteAnimationTarget[] apps, 1093 if (apps == null || apps.length == 0 || apps[0] == null) { 1099 final RemoteAnimationTarget primary = apps[0]; 1101 && apps[0].taskInfo.topActivityType 1193 if (apps == null || apps.length == 0 || apps[0] == null) { 1200 mRemoteAnimationTarget = apps[0]; 1202 && apps[0].taskInfo.topActivityType 3033 && apps != null && apps.length > 0) { 3073 if (apps == null || apps.length == 0) { 3544 RemoteAnimationTarget[] apps, [all …]
|
H A D | KeyguardService.java | 179 @TransitionFlags int flags, RemoteAnimationTarget[] apps) { in getTransitionOldType() argument 182 return apps.length == 0 ? TRANSIT_OLD_KEYGUARD_GOING_AWAY_ON_WALLPAPER in getTransitionOldType() 185 boolean isOccludeByDream = apps.length > 0 && apps[0].taskInfo != null in getTransitionOldType() 186 && apps[0].taskInfo.topActivityType == WindowConfiguration.ACTIVITY_TYPE_DREAM; in getTransitionOldType() 217 final RemoteAnimationTarget[] apps; in wrap() local 221 apps = wrap(info, false /* wallpapers */, t, mLeashMap, mCounterRotator); in wrap() 233 initAlphaForAnimationTargets(t, apps); in wrap() 240 getTransitionOldType(info.getType(), info.getFlags(), apps), in wrap() local 241 apps, wallpapers, nonApps, in wrap() local
|
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
H A D | ActivityLaunchAnimator.kt | 509 apps: Array<out RemoteAnimationTarget>?, 522 delegate.onAnimationStart(transit, apps, wallpapers, nonApps, finishedCallback) 601 apps: Array<out RemoteAnimationTarget>?, 621 startAnimation(apps, nonApps, callback) 625 apps: Array<out RemoteAnimationTarget>? 627 if (apps == null) { 631 for (it in apps) { 645 apps: Array<out RemoteAnimationTarget>?, 653 val window = findRootTaskIfPossible(apps)
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
H A D | RemoteAnimationRunnerCompat.java | 47 RemoteAnimationTarget[] apps, RemoteAnimationTarget[] wallpapers, in onAnimationStart() argument 52 RemoteAnimationTarget[] apps, in onAnimationStart() argument 57 onAnimationStart(transit, apps, wallpapers, in onAnimationStart() 81 final RemoteAnimationTarget[] apps = in wrap() local 203 apps, wallpapers, nonApps, new IRemoteAnimationFinishedCallback() { in wrap()
|
H A D | ActivityManagerWrapper.java | 202 RemoteAnimationTarget[] apps, RemoteAnimationTarget[] wallpapers, in startRecentsActivity() 206 animationHandler.onAnimationStart(controllerCompat, apps, in startRecentsActivity() 217 public void onTasksAppeared(RemoteAnimationTarget[] apps) { in startRecentsActivity() 218 animationHandler.onTasksAppeared(apps); in startRecentsActivity()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/ |
H A D | BackAnimationRunner.java | 67 void startAnimation(RemoteAnimationTarget[] apps, RemoteAnimationTarget[] wallpapers, in startAnimation() argument 78 getRunner().onAnimationStart(TRANSIT_OLD_UNSET, apps, wallpapers, in startAnimation()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
H A D | BackgroundRestrictionsTest.java | 19 import static com.android.servicestests.apps.jobtestapp.TestJobService.ACTION_JOB_STARTED; 20 import static com.android.servicestests.apps.jobtestapp.TestJobService.ACTION_JOB_STOPPED; 21 import static com.android.servicestests.apps.jobtestapp.TestJobService.JOB_PARAMS_EXTRA_KEY; 47 import com.android.servicestests.apps.jobtestapp.TestJobActivity;
|
/aosp14/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/ |
H A D | SimpleInputMethodService.java | 17 package com.android.apps.inputmethod.simpleime; 29 import com.android.apps.inputmethod.simpleime.ims.InputMethodServiceWrapper;
|
/aosp14/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncManager.md | 16 However, unlike JobScheduler jobs, any apps (with the proper permission) can schedule a sync 17 operation in any other apps using 27 made by foreground apps are special cased such that the resulting sync operations will be 102 - Also, since Android 11, all the pre-installed apps with no activities will be kept in 111 apps. Jobs owned by foreground apps are not affected. 123 - There are certain exemptions for pre-installed apps, but doze and battery saver will still
|
/aosp14/frameworks/base/services/core/java/com/android/server/storage/ |
H A D | AppCollector.java | 122 final List<ApplicationInfo> apps = mPm.getInstalledApplicationsAsUser( in handleMessage() local 125 for (int appCount = 0, size = apps.size(); appCount < size; appCount++) { in handleMessage() 126 ApplicationInfo app = apps.get(appCount); in handleMessage()
|
/aosp14/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/ |
H A D | SmokeTestRunner.java | 48 final List<ResolveInfo> apps = ProcessErrorsTest.getLauncherActivities(pm); in getAllTests() local 68 for (final ResolveInfo app : apps) { in getAllTests()
|
/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/ |
H A D | MobileRadioPowerCalculator.java | 135 final ArrayList<UidBatteryConsumer.Builder> apps; in calculate() local 140 apps = null; in calculate() 144 apps = new ArrayList<>(); in calculate() 199 apps.add(app); in calculate() 213 final int appSize = apps.size(); in calculate() 215 final UidBatteryConsumer.Builder app = apps.get(i); in calculate()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
H A D | StageCoordinator.java | 502 RemoteAnimationTarget[] apps, in startShortcut() 522 if (!isEnteringSplit && apps != null) { in startShortcut() 603 if (apps != null) { in startIntentLegacy() 606 t.show(apps[i].leash); in startIntentLegacy() 621 if (!isEnteringSplit && apps != null) { in startIntentLegacy() 903 if (apps == null || apps.length == 0) { in launchAsFullscreenWithRemoteAnimation() 904 onRemoteAnimationFinished(apps); in launchAsFullscreenWithRemoteAnimation() 916 t.show(apps[i].leash); in launchAsFullscreenWithRemoteAnimation() 1028 RemoteAnimationTarget[] apps, in wrapAsSplitRemoteAnimation() 1072 if (apps == null || apps.length == 0) { in wrapAsSplitRemoteAnimation() [all …]
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | SystemConfigManager.java | 63 List<String> apps = mInterface.getDisabledUntilUsedPreinstalledCarrierApps(); in getDisabledUntilUsedPreinstalledCarrierApps() local 64 return new ArraySet<>(apps); in getDisabledUntilUsedPreinstalledCarrierApps()
|