Home
last modified time | relevance | path

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

12

/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/
DAppUsageObserverTest.java30 final String[] packages = {"not.real.package.name"}; in testMinTimeLimit() local
39 usm.registerAppUsageObserver(obsId, packages, 60, TimeUnit.SECONDS, pendingIntent); in testMinTimeLimit()
42 usm.registerAppUsageObserver(obsId, packages, 59, TimeUnit.SECONDS, pendingIntent); in testMinTimeLimit()
50 final String[] packages = {"not.real.package.name"}; in testObserverLimit() local
59 usm.registerAppUsageObserver(obsId, packages, 60, TimeUnit.MINUTES, pendingIntent); in testObserverLimit()
62 usm.registerAppUsageObserver(OBSERVER_LIMIT, packages, 60, TimeUnit.MINUTES, in testObserverLimit()
/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/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/appsecurity/test-apps/PackageAccessApp/src/com/android/cts/packageaccessapp/
DPackageAccessTest.java97 List<PackageInfo> packages = pm.getInstalledPackages( in testPackageAccess_getPackagesCantSeeTiny() local
99 for (PackageInfo pi : packages) { in testPackageAccess_getPackagesCantSeeTiny()
109 List<PackageInfo> packages = pm.getInstalledPackages( in testPackageAccess_getPackagesCanSeeTiny() local
111 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/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/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/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/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAffiliationTest.java90 final String[] packages = {"package1", "package2"}; in testSetLockTaskPackagesClearedIfUserBecomesUnaffiliated() local
91 mDevicePolicyManager.setLockTaskPackages(mAdminComponent, packages); in testSetLockTaskPackagesClearedIfUserBecomesUnaffiliated()
92 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;
DAppWidgetConfirmPin.java16 package android.appwidget.cts.packages;
/cts/tests/tests/shortcutmanager/packages/src/android/content/pm/cts/shortcutmanager/packages/
DLauncher.java16 package android.content.pm.cts.shortcutmanager.packages;
/cts/tests/tests/car/src/android/car/cts/
DCarPackageManagerTest.java73 List<PackageInfo> packages = getContext().getPackageManager().getInstalledPackages( in testSystemActivitiesAllowed() local
76 for (PackageInfo info : packages) { in testSystemActivitiesAllowed()
/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/shortcutmanager/packages/launchermanifest_nonshared/
DAndroid.mk42 LOCAL_AAPT_FLAGS += --rename-manifest-package android.content.pm.cts.shortcutmanager.packages.launc…
/cts/tests/tests/telecom3/
DAndroid.mk44 --extra-packages android.telecom.cts \
/cts/tests/tests/telecom2/
DAndroid.mk47 --extra-packages android.telecom.cts \
/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/security/src/android/security/cts/
DListeningPortsTest.java237 String[] packages = pm.getPackagesForUid(uid); in uidToPackage() local
238 if (packages == null) { in uidToPackage()
241 return Arrays.asList(packages).toString(); in uidToPackage()
/cts/tests/signature/intent-check/src/android/signature/cts/intent/
DIntentTest.java79 List<ApplicationInfo> packages = in shouldNotFindUnexpectedIntents() local
81 for (ApplicationInfo appInfo : packages) { in shouldNotFindUnexpectedIntents()
/cts/suite/cts/utils/
Dget_csv_report.py113 packages = getChildrenWithTag(testResult, "TestPackage")
114 for package in packages:

12