Home
last modified time | relevance | path

Searched refs:apps (Results 1 – 25 of 256) sorted by relevance

1234567891011

/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppsQueryHelperTests.java40 List<String> apps = mAppsQueryHelper.queryApps(0, true, UserHandle.SYSTEM); in testQueryAppsSystemAppsOnly() local
41 assertEqualsIgnoreOrder(Arrays.asList("sys_app1", "sys_app2", "sys_app3"), apps); in testQueryAppsSystemAppsOnly()
43 apps = mAppsQueryHelper.queryApps(0, false, UserHandle.SYSTEM); in testQueryAppsSystemAppsOnly()
44 assertEqualsIgnoreOrder(Arrays.asList("sys_app1", "sys_app2", "sys_app3", "app4"), apps); in testQueryAppsSystemAppsOnly()
48 List<String> apps = mAppsQueryHelper.queryApps(AppsQueryHelper.GET_NON_LAUNCHABLE_APPS, in testQueryAppsNonLaunchable() local
50 assertEqualsIgnoreOrder(Arrays.asList("sys_app1", "sys_app3"), apps); in testQueryAppsNonLaunchable()
52 apps = mAppsQueryHelper.queryApps(AppsQueryHelper.GET_NON_LAUNCHABLE_APPS, in testQueryAppsNonLaunchable()
54 assertEqualsIgnoreOrder(Arrays.asList("sys_app1", "sys_app3"), apps); in testQueryAppsNonLaunchable()
58 List<String> apps = mAppsQueryHelper.queryApps( in testQueryAppsInteractAcrossUser() local
60 assertEqualsIgnoreOrder(Arrays.asList("sys_app1"), apps); in testQueryAppsInteractAcrossUser()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOverlayPackagesProviderTest.java395 private void setRequiredAppsManagedDevice(String... apps) { in setRequiredAppsManagedDevice() argument
396 setStringArray(R.array.required_apps_managed_device, apps); in setRequiredAppsManagedDevice()
399 private void setVendorRequiredAppsManagedDevice(String... apps) { in setVendorRequiredAppsManagedDevice() argument
400 setStringArray(R.array.vendor_required_apps_managed_device, apps); in setVendorRequiredAppsManagedDevice()
403 private void setDisallowedAppsManagedDevice(String... apps) { in setDisallowedAppsManagedDevice() argument
404 setStringArray(R.array.disallowed_apps_managed_device, apps); in setDisallowedAppsManagedDevice()
407 private void setVendorDisallowedAppsManagedDevice(String... apps) { in setVendorDisallowedAppsManagedDevice() argument
408 setStringArray(R.array.vendor_disallowed_apps_managed_device, apps); in setVendorDisallowedAppsManagedDevice()
411 private void setRequiredAppsManagedProfile(String... apps) { in setRequiredAppsManagedProfile() argument
412 setStringArray(R.array.required_apps_managed_profile, apps); in setRequiredAppsManagedProfile()
[all …]
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/
DValidatorUtil.java45 import com.google.android.apps.common.testing.accessibility.framework.AccessibilityCheck;
46 import com.google.android.apps.common.testing.accessibility.framework.AccessibilityCheckPreset;
47 import com.google.android.apps.common.testing.accessibility.framework.AccessibilityCheckResult.Acce…
48 import com.google.android.apps.common.testing.accessibility.framework.AccessibilityHierarchyCheck;
49 import com.google.android.apps.common.testing.accessibility.framework.AccessibilityHierarchyCheckRe…
50 import com.google.android.apps.common.testing.accessibility.framework.Parameters;
51 import com.google.android.apps.common.testing.accessibility.framework.checks.EditableContentDescChe…
52 import com.google.android.apps.common.testing.accessibility.framework.checks.SpeakableTextPresentCh…
53 import com.google.android.apps.common.testing.accessibility.framework.checks.TextContrastCheck;
54 import com.google.android.apps.common.testing.accessibility.framework.checks.TouchTargetSizeCheck;
[all …]
DValidatorHierarchy.java21 import com.google.android.apps.common.testing.accessibility.framework.Parameters;
22 import com.google.android.apps.common.testing.accessibility.framework.uielement.AccessibilityHierar…
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DBackAnimationRunner.java87 void startAnimation(RemoteAnimationTarget[] apps, RemoteAnimationTarget[] wallpapers, in startAnimation() argument
93 if (shouldMonitorCUJ(apps)) { in startAnimation()
100 if (shouldMonitorCUJ(apps)) { in startAnimation()
102 mCujType, mContext, apps[0].leash, /* tag */ null); in startAnimation()
105 getRunner().onAnimationStart(TRANSIT_OLD_UNSET, apps, wallpapers, in startAnimation()
113 boolean shouldMonitorCUJ(RemoteAnimationTarget[] apps) { in shouldMonitorCUJ() argument
114 return apps.length > 0 && mCujType != NO_CUJ; in shouldMonitorCUJ()
/frameworks/base/services/core/java/com/android/server/am/
DIntentBindRecord.java37 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()
/frameworks/proto_logging/stats/express/catalog/
Djob_scheduler.cfg4 description: "Number of times apps update the estimated network bytes"
14 description: "Number of times apps decreased the estimated network download bytes"
24 description: "Number of times apps increased the estimated network download bytes"
34 description: "Number of times apps decreased the estimated network upload bytes"
44 description: "Number of times apps increased the estimated network upload bytes"
84 description: "Number of times apps hit the scheduling limit (150 in U)"
94 description: "Number of times apps fail to schedule jobs because app start mode was disabled"
104 description: "Number of times apps fail to schedule EJs because they didn't have quota"
114 …description: "Number of times apps fail to schedule UIJs because they weren't in a valid state to …
124 …description: "Number of times apps fail to schedule UIJs because they didn't have the relevant per…
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWindowManagerOcclusionManager.kt109 apps: Array<RemoteAnimationTarget>, in <lambda>()
125 taskInfo = apps.firstOrNull()?.taskInfo, in <lambda>()
131 apps, in <lambda>()
160 apps: Array<RemoteAnimationTarget>, in <lambda>()
176 taskInfo = apps.firstOrNull()?.taskInfo, in <lambda>()
184 if (apps.isEmpty()) { in <lambda>()
193 val target = apps[0] in <lambda>()
DWindowManagerLockscreenVisibilityManager.kt140 apps: Array<RemoteAnimationTarget>, in onKeyguardGoingAwayRemoteAnimationStart()
155 if (apps.isNotEmpty()) { in onKeyguardGoingAwayRemoteAnimationStart()
157 keyguardSurfaceBehindAnimator.applyParamsToSurface(apps[0]) in onKeyguardGoingAwayRemoteAnimationStart()
DKeyguardViewMediator.java1070 RemoteAnimationTarget[] apps,
1075 startKeyguardExitAnimation(transit, apps, wallpapers, nonApps, finishedCallback);
1078 transit, apps, wallpapers, nonApps, finishedCallback);
1103 RemoteAnimationTarget[] apps,
1139 public void onAnimationStart(int transit, RemoteAnimationTarget[] apps,
1142 if (!handleOnAnimationStart(apps, finishedCallback)) {
1150 private boolean handleOnAnimationStart(RemoteAnimationTarget[] apps,
1152 if (apps == null || apps.length == 0 || apps[0] == null) {
1158 final RemoteAnimationTarget primary = apps[0];
1242 public void onAnimationStart(int transit, RemoteAnimationTarget[] apps,
[all …]
DKeyguardService.java183 @TransitionFlags int flags, RemoteAnimationTarget[] apps) { in getTransitionOldType() argument
186 return apps.length == 0 ? TRANSIT_OLD_KEYGUARD_GOING_AWAY_ON_WALLPAPER in getTransitionOldType()
189 boolean isOccludeByDream = apps.length > 0 && apps[0].taskInfo != null in getTransitionOldType()
190 && apps[0].taskInfo.topActivityType == WindowConfiguration.ACTIVITY_TYPE_DREAM; in getTransitionOldType()
221 final RemoteAnimationTarget[] apps; in wrap() local
225 apps = wrap(info, false /* wallpapers */, t, mLeashMap, mCounterRotator); in wrap()
237 initAlphaForAnimationTargets(t, apps); in wrap()
243 for (RemoteAnimationTarget app : apps) { in wrap()
257 getTransitionOldType(info.getType(), info.getFlags(), apps), in wrap() local
258 apps, wallpapers, nonApps, in wrap() local
/frameworks/base/tests/SmokeTestApps/
DREADME1 The apps in this folder are intentionally bad-behaving apps that are intended
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/
DAndroid.bp57 srcs: ["src/**/apps/*.kt"],
114 package_name: "com.android.wm.shell.flicker.pip.apps",
115 instrumentation_target_package: "com.android.wm.shell.flicker.pip.apps",
129 package_name: "com.android.wm.shell.flicker.pip.apps",
130 instrumentation_target_package: "com.android.wm.shell.flicker.pip.apps",
/frameworks/base/packages/CtsShim/build/
DREADME14 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
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransitionController.java887 private boolean containsVoiceInteraction(ArraySet<ActivityRecord> apps) {
888 for (int i = apps.size() - 1; i >= 0; i--) {
889 if (apps.valueAt(i).mVoiceInteraction) {
908 private void applyAnimations(ArraySet<WindowContainer> wcs, ArraySet<ActivityRecord> apps, in applyAnimations() argument
919 for (int j = 0; j < apps.size(); ++j) { in applyAnimations()
920 final ActivityRecord app = apps.valueAt(j); in applyAnimations()
968 final ArraySet<ActivityRecord> apps = visible ? openingApps : closingApps; in getAnimationTargets() local
969 for (int i = 0; i < apps.size(); ++i) { in getAnimationTargets()
970 final ActivityRecord app = apps.valueAt(i); in getAnimationTargets()
1079 apps, targets); in getAnimationTargets()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DLegacyTransitions.java48 void onAnimationStart(int transit, RemoteAnimationTarget[] apps, in onAnimationStart() argument
104 public void onAnimationStart(int transit, RemoteAnimationTarget[] apps, in onAnimationStart() argument
108 mApps = apps; in onAnimationStart()
/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/
DAndroid.bp29 "src/com/android/apps/inputmethod/simpleime/*.java",
54 "src/com/android/apps/inputmethod/simpleime/ims/*.java",
62 "src/com/android/apps/inputmethod/simpleime/testing/*.java",
/frameworks/base/services/tests/BackgroundInstallControlServiceTests/host/test-app/MockApp/
DAndroid.bp42 "--rename-manifest-package com.android.servicestests.apps.bicmockapp1",
50 "--rename-manifest-package com.android.servicestests.apps.bicmockapp2",
58 "--rename-manifest-package com.android.servicestests.apps.bicmockapp3",
/frameworks/base/apex/jobscheduler/framework/aconfig/
Djob.aconfig15 description: "Add APIs to let apps attach debug information to jobs"
23 …_JOBS permission and exemption logic allowing for longer running jobs for apps whose primary purpo…
/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/
DAndroid.bp40 "--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",
/frameworks/proto_logging/stats/enums/app/
Dtvsettings_enums.proto195 // Google Assistant > Searchable apps
230 // [Choose synced apps] Calendar (toggle)
234 // [Choose synced apps] Contacts (toggle)
238 // [Choose synced apps] Google Play Movies & TV (toggle)
242 // [Choose synced apps] Google Play Music (toggle)
246 // [Choose synced apps] People details (toggle)
432 // TvSettings > Apps > See all apps
435 // TvSettings > Apps > See all apps > [An app entry]
438 // TvSettings > Apps > See all apps > [An app entry] > Open
441 // TvSettings > Apps > See all apps > [An app entry] > Force stop
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServicesDialog.java179 ArrayList<ApplicationInfo> apps = new ArrayList<>(); in setPackages() local
182 apps.add(mPm.getApplicationInfo(packages[i], in setPackages()
188 apps.sort(new ApplicationInfo.DisplayNameComparator(mPm)); in setPackages()
189 addAll(apps); in setPackages()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DRemoteAnimationRunnerCompat.java48 RemoteAnimationTarget[] apps, RemoteAnimationTarget[] wallpapers, in onAnimationStart() argument
53 RemoteAnimationTarget[] apps, in onAnimationStart() argument
58 onAnimationStart(transit, apps, wallpapers, in onAnimationStart()
82 final RemoteAnimationTarget[] apps = in wrap() local
204 apps, wallpapers, nonApps, new IRemoteAnimationFinishedCallback() { in wrap()
/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/
DSimpleInputMethodService.java17 package com.android.apps.inputmethod.simpleime;
29 import com.android.apps.inputmethod.simpleime.ims.InputMethodServiceWrapper;
/frameworks/base/core/java/android/window/flags/
Dlse_desktop_experience.aconfig7 description: "Enable the resizing of un-resizable apps through scaling their bounds up/down"
50 description: "Shows running apps in Desktop Mode Taskbar"
106 …description: "Whether to apply Camera Compat treatment to fixed-orientation apps in desktop window…

1234567891011