Home
last modified time | relevance | path

Searched refs:packages (Results 1 – 25 of 42) sorted by relevance

12

/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/
DAppUsageObserverTest.java32 final String[] packages = {"not.real.package.name"}; in testAppUsageObserver_MinTimeLimit() local
41 usm.registerAppUsageObserver(obsId, packages, 60, TimeUnit.SECONDS, pendingIntent); in testAppUsageObserver_MinTimeLimit()
44 usm.registerAppUsageObserver(obsId, packages, 59, TimeUnit.SECONDS, pendingIntent); in testAppUsageObserver_MinTimeLimit()
52 final String[] packages = {"not.real.package.name"}; in testUsageSessionObserver_MinTimeLimit() local
61 usm.registerUsageSessionObserver(obsId, packages, Duration.ofSeconds(60), in testUsageSessionObserver_MinTimeLimit()
65 usm.registerUsageSessionObserver(obsId, packages, Duration.ofSeconds(59), in testUsageSessionObserver_MinTimeLimit()
74 final String[] packages = {"not.real.package.name"}; in testObserverLimit() local
84 usm.registerAppUsageObserver(obsId, packages, 60, TimeUnit.MINUTES, pendingIntent); in testObserverLimit()
87 usm.registerAppUsageObserver(OBSERVER_LIMIT, packages, 60, TimeUnit.MINUTES, in testObserverLimit()
96 usm.registerUsageSessionObserver(obsId, packages, Duration.ofSeconds(60), in testObserverLimit()
[all …]
/cts/tools/utils/
DbuildCts.py112 packages = []
116 packages.append(doc.GetAttr('TestPackage', 'appPackageName'))
118 packages.sort()
120 plan = tools.TestPlan(packages)
126 plan = tools.TestPlan(packages)
133 plan = tools.TestPlan(packages)
142 plan = tools.TestPlan(packages)
148 plan = tools.TestPlan(packages)
152 plan = tools.TestPlan(packages)
156 plan = tools.TestPlan(packages)
[all …]
Drerun.py54 packages = getChildrenWithTag(testResult, "TestPackage")
55 for package in packages:
/cts/hostsidetests/devicepolicy/app/ContentCaptureService/src/com/android/cts/devicepolicy/contentcaptureservice/
DSimpleContentCaptureService.java33 final ArraySet<String> packages = new ArraySet<>(); in onConnected() local
34 packages.add("com.android.cts.devicepolicy.contentcaptureapp"); in onConnected()
35 packages.add("com.android.cts.devicepolicy.contentcaptureservice"); in onConnected()
36 packages.add("com.android.cts.deviceandprofileowner"); in onConnected()
38 setContentCaptureWhitelist(packages, null); in onConnected()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DAmUtils.java49 String[] packages = output.split("\\n"); in isProcessRunning() local
50 for (int i = packages.length -1; i >=0; --i) { in isProcessRunning()
51 if (packages[i].equals(packageName)) { in isProcessRunning()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DInputMethodsTest.java42 final List<String> packages = Arrays.asList("com.google.pkg.one", "com.google.pkg.two"); in testPermittedInputMethods() local
43 mDevicePolicyManager.setPermittedInputMethods(ADMIN_RECEIVER_COMPONENT, packages); in testPermittedInputMethods()
46 .containsExactlyElementsIn(packages); in testPermittedInputMethods()
DAccessibilityServicesTest.java45 final List<String> packages = Arrays.asList("com.google.pkg.one", "com.google.pkg.two"); in testPermittedAccessibilityServices() local
46 mDevicePolicyManager.setPermittedAccessibilityServices(ADMIN_RECEIVER_COMPONENT, packages); in testPermittedAccessibilityServices()
49 .containsExactlyElementsIn(packages); in testPermittedAccessibilityServices()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DAmUtils.java51 String[] packages = output.split("\\n"); in isProcessRunning() local
52 for (int i = packages.length -1; i >=0; --i) { in isProcessRunning()
53 if (packages[i].equals(packageName)) { in isProcessRunning()
/cts/hostsidetests/appsecurity/test-apps/PackageAccessApp/src/com/android/cts/packageaccessapp/
DPackageAccessTest.java95 List<PackageInfo> packages = pm.getInstalledPackages( in testPackageAccess_getPackagesCantSeeTiny() local
97 for (PackageInfo pi : packages) { in testPackageAccess_getPackagesCantSeeTiny()
107 List<PackageInfo> packages = pm.getInstalledPackages( in testPackageAccess_getPackagesCanSeeTiny() local
109 for (PackageInfo pi : packages) { in testPackageAccess_getPackagesCanSeeTiny()
/cts/tests/tests/appwidget/packages/launchermanifest/
DAndroid.mk36 LOCAL_AAPT_FLAGS += --rename-manifest-package android.appwidget.cts.packages.launcher1
59 LOCAL_AAPT_FLAGS += --rename-manifest-package android.appwidget.cts.packages.launcher2
80 LOCAL_AAPT_FLAGS += --rename-manifest-package android.appwidget.cts.packages.launcher3
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DTextReport.java35 List<ApiPackage> packages = new ArrayList<ApiPackage>(api.getPackages()); in printTextReport() local
36 Collections.sort(packages, comparator); in printTextReport()
38 for (ApiPackage apiPackage : packages) { in printTextReport()
47 for (ApiPackage apiPackage : packages) { in printTextReport()
DXmlReport.java57 List<ApiPackage> packages = new ArrayList<ApiPackage>(apiCoverage.getPackages()); in printXmlReport() local
58 Collections.sort(packages, comparator); in printXmlReport()
61 for (ApiPackage pkg : packages) { in printXmlReport()
/cts/hostsidetests/deviceidle/src/com/android/cts/deviceidle/
DDeviceIdleWhitelistTest.java91 final List<String> packages = new ArrayList<>(); in getSystemWhitelist() local
94 packages.add(line.substring(0, i)); in getSystemWhitelist()
96 return packages; in getSystemWhitelist()
/cts/tests/tests/shortcutmanager/packages/packagemanifest/
DAndroid.mk42 LOCAL_AAPT_FLAGS += --rename-manifest-package android.content.pm.cts.shortcutmanager.packages.packa…
72 LOCAL_AAPT_FLAGS += --rename-manifest-package android.content.pm.cts.shortcutmanager.packages.packa…
102 LOCAL_AAPT_FLAGS += --rename-manifest-package android.content.pm.cts.shortcutmanager.packages.packa…
/cts/tests/tests/shortcutmanager/packages/launchermanifest/
DAndroid.mk43 LOCAL_AAPT_FLAGS += --rename-manifest-package android.content.pm.cts.shortcutmanager.packages.launc…
73 LOCAL_AAPT_FLAGS += --rename-manifest-package android.content.pm.cts.shortcutmanager.packages.launc…
103 LOCAL_AAPT_FLAGS += --rename-manifest-package android.content.pm.cts.shortcutmanager.packages.launc…
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAffiliationTest.java92 final String[] packages = {"package1", "package2"}; in testSetLockTaskPackagesClearedIfUserBecomesUnaffiliated() local
93 mDevicePolicyManager.setLockTaskPackages(mAdminComponent, packages); in testSetLockTaskPackagesClearedIfUserBecomesUnaffiliated()
94 assertArrayEquals(packages, mDevicePolicyManager.getLockTaskPackages(mAdminComponent)); in testSetLockTaskPackagesClearedIfUserBecomesUnaffiliated()
/cts/tests/tests/appwidget/packages/src/android/appwidget/cts/packages/
DLauncher.java16 package android.appwidget.cts.packages;
DSimpleProvider.java1 package android.appwidget.cts.packages;
/cts/tests/signature/api/
DAndroid.mk45 $(eval $(call build_xml_api_file,car-system-current.api,packages/services/Car/car-lib/api/system-cu…
46 $(eval $(call build_xml_api_file,car-system-removed.api,packages/services/Car/car-lib/api/system-re…
/cts/tests/tests/shortcutmanager/packages/src/android/content/pm/cts/shortcutmanager/packages/
DLauncher.java16 package android.content.pm.cts.shortcutmanager.packages;
/cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/
DListeningPortsTest.java135 String[] packages = pm.getPackagesForUid(uid); in uidToPackage() local
136 if (packages == null) { in uidToPackage()
139 return Arrays.asList(packages).toString(); in uidToPackage()
/cts/tools/signature-tools/src/signature/converter/doclet/
DDocletFactory.java62 java.util.Set<String> packages) throws IOException { in getRootDoc() argument
84 for (String p : packages) in getRootDoc()
/cts/tests/tests/shortcutmanager/packages/launchermanifest_nonshared/
DAndroid.mk42 LOCAL_AAPT_FLAGS += --rename-manifest-package android.content.pm.cts.shortcutmanager.packages.launc…
/cts/tests/tests/shortcutmanager/packages/packagemanifest_nonshared/
DAndroid.mk42 LOCAL_AAPT_FLAGS += --rename-manifest-package android.content.pm.cts.shortcutmanager.packages.packa…
/cts/tests/tests/telecom3/
DAndroid.mk44 --extra-packages android.telecom.cts \

12