Home
last modified time | relevance | path

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

12345

/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.java277 private void setRequiredAppsManagedDevice(String... apps) { in setRequiredAppsManagedDevice() argument
278 setStringArray(R.array.required_apps_managed_device, apps); in setRequiredAppsManagedDevice()
281 private void setVendorRequiredAppsManagedDevice(String... apps) { in setVendorRequiredAppsManagedDevice() argument
282 setStringArray(R.array.vendor_required_apps_managed_device, apps); in setVendorRequiredAppsManagedDevice()
285 private void setDisallowedAppsManagedDevice(String... apps) { in setDisallowedAppsManagedDevice() argument
286 setStringArray(R.array.disallowed_apps_managed_device, apps); in setDisallowedAppsManagedDevice()
289 private void setVendorDisallowedAppsManagedDevice(String... apps) { in setVendorDisallowedAppsManagedDevice() argument
290 setStringArray(R.array.vendor_disallowed_apps_managed_device, apps); in setVendorDisallowedAppsManagedDevice()
293 private void setRequiredAppsManagedProfile(String... apps) { in setRequiredAppsManagedProfile() argument
294 setStringArray(R.array.required_apps_managed_profile, apps); in setRequiredAppsManagedProfile()
[all …]
/frameworks/base/cmds/statsd/tests/
DUidMap_test.cpp75 vector<String16> apps; in TEST() local
85 apps.push_back(String16(kApp1.c_str())); in TEST()
86 apps.push_back(String16(kApp2.c_str())); in TEST()
89 m.updateMap(1, uids, versions, versionStrings, apps, installers); in TEST()
107 vector<String16> apps; in TEST() local
117 apps.push_back(String16(kApp1.c_str())); in TEST()
118 apps.push_back(String16(kApp2.c_str())); in TEST()
121 m.updateMap(1, uids, versions, versionStrings, apps, installers); in TEST()
202 vector<String16> apps; in TEST() local
206 apps.push_back(String16(kApp2.c_str())); in TEST()
[all …]
/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 writeToProto()
129 AppBindRecord a = apps.valueAt(i); in writeToProto()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DRemoteAnimationTargetCompat.java69 public static RemoteAnimationTargetCompat[] wrap(RemoteAnimationTarget[] apps) { in wrap() argument
71 new RemoteAnimationTargetCompat[apps.length]; in wrap()
72 for (int i = 0; i < apps.length; i++) { in wrap()
73 appsCompat[i] = new RemoteAnimationTargetCompat(apps[i]); in wrap()
DRemoteAnimationAdapterCompat.java47 public void onAnimationStart(RemoteAnimationTarget[] apps, in wrapRemoteAnimationRunner()
50 RemoteAnimationTargetCompat.wrap(apps); in wrapRemoteAnimationRunner()
DRemoteAnimationRunnerCompat.java20 void onAnimationStart(RemoteAnimationTargetCompat[] apps, Runnable finishedCallback); in onAnimationStart() argument
DRecentsAnimationListener.java27 RemoteAnimationTargetCompat[] apps, Rect homeContentInsets, Rect minimizedHomeBounds); in onAnimationStart() argument
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransitionController.java329 private boolean containsVoiceInteraction(ArraySet<AppWindowToken> apps) {
330 for (int i = apps.size() - 1; i >= 0; i--) {
331 if (apps.valueAt(i).mVoiceInteraction) {
401 final ArraySet<AppWindowToken> apps = mDisplayContent.mChangingApps; in handleChangingApps() local
402 final int appsCount = apps.size(); in handleChangingApps()
404 AppWindowToken wtoken = apps.valueAt(i); in handleChangingApps()
437 private boolean transitionGoodToGo(ArraySet<AppWindowToken> apps, SparseIntArray outReasons) { in transitionGoodToGo() argument
439 "Checking " + apps.size() + " opening apps (frozen=" in transitionGoodToGo()
461 for (int i = 0; i < apps.size(); i++) { in transitionGoodToGo()
462 AppWindowToken wtoken = apps.valueAt(i); in transitionGoodToGo()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java155 List<PackageInfo> apps = mPackageManager.getInstalledPackages(GET_PERMISSIONS in startMonitoring() local
157 if (apps == null) { in startMonitoring()
164 for (PackageInfo app : apps) { in startMonitoring()
281 private void update(Set<Integer> users, Map<Integer, Boolean> apps, boolean add) { in update() argument
284 for (Entry<Integer, Boolean> app : apps.entrySet()) { in update()
375 Map<Integer, Boolean> apps = new HashMap<>(); in onPackageAdded() local
376 apps.put(uid, permission); in onPackageAdded()
377 update(mUsers, apps, true); in onPackageAdded()
418 Map<Integer, Boolean> apps = new HashMap<>(); in onPackageRemoved() local
437 apps.put(uid, permission); in onPackageRemoved()
[all …]
/frameworks/base/tests/SmokeTestApps/
DREADME1 The apps in this folder are intentionally bad-behaving apps that are intended
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationFilter.java128 final String[] apps = sbn.getNotification().extras.getStringArray( in shouldFilterOut() local
130 if (apps != null && apps.length >= 1) { in shouldFilterOut()
131 if (!getFsc().isSystemAlertWarningNeeded(sbn.getUserId(), apps[0])) { in shouldFilterOut()
/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/tests/servicestests/
DAndroid.bp15 "test-apps/JobTestApp/src/**/*.java",
17 "test-apps/SuspendTestApp/src/**/*.java",
61 // These are not normally accessible from apps so they must be explicitly included.
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServicesDialog.java173 ArrayList<ApplicationInfo> apps = new ArrayList<>(); in setPackages() local
176 apps.add(mPm.getApplicationInfo(packages[i], in setPackages()
182 apps.sort(new ApplicationInfo.DisplayNameComparator(mPm)); in setPackages()
183 addAll(apps); in setPackages()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DBackgroundRestrictionsTest.java19 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;
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistLoggingHandler.java302 final List<ApplicationInfo> apps = mContext.getPackageManager().getInstalledApplications( in getAllDigestsForReport() local
304 final HashSet<String> result = new HashSet<>(apps.size() + record.appDigestCNCList.size()); in getAllDigestsForReport()
305 final int size = apps.size(); in getAllDigestsForReport()
307 byte[] digest = getDigestFromUid(apps.get(i).uid); in getAllDigestsForReport()
311 Slog.e(TAG, "Cannot get digest from uid: " + apps.get(i).uid in getAllDigestsForReport()
312 + ",pkg: " + apps.get(i).packageName); in getAllDigestsForReport()
/frameworks/base/services/core/java/com/android/server/storage/
DAppCollector.java122 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()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DSmokeTestRunner.java48 final List<ResolveInfo> apps = ProcessErrorsTest.getLauncherActivities(pm); in getAllTests() local
68 for (final ResolveInfo app : apps) { in getAllTests()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceShellCommand.java92 List<PackageInfo> apps = in runGetPermissions() local
94 for (PackageInfo app : apps) { in runGetPermissions()
/frameworks/base/packages/DocumentsUI/
DMOVED1 ../../../../packages/apps/DocumentsUI
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOverlayPackagesProvider.java131 final Set<String> apps = new ArraySet<>(); in getLaunchableApps() local
133 apps.add(resolveInfo.activityInfo.packageName); in getLaunchableApps()
135 return apps; in getLaunchableApps()
/frameworks/base/core/java/android/view/
DIRemoteAnimationRunner.aidl37 void onAnimationStart(in RemoteAnimationTarget[] apps, in onAnimationStart() argument
/frameworks/base/tests/OdmApps/src/com/android/test/odm/app/
DOdmAppsTest.java17 package com.android.test.odm.apps;
/frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
DBaseCmdReceiver.java16 package com.android.coretests.apps.bstatstestapp;

12345