/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/ |
D | AppUsageObserverTest.java | 32 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/ |
D | buildCts.py | 112 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 …]
|
D | rerun.py | 54 packages = getChildrenWithTag(testResult, "TestPackage") 55 for package in packages:
|
/cts/hostsidetests/devicepolicy/app/ContentCaptureService/src/com/android/cts/devicepolicy/contentcaptureservice/ |
D | SimpleContentCaptureService.java | 33 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/ |
D | AmUtils.java | 49 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/ |
D | InputMethodsTest.java | 42 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()
|
D | AccessibilityServicesTest.java | 45 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/ |
D | AmUtils.java | 51 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/ |
D | PackageAccessTest.java | 95 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/ |
D | Android.mk | 36 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/ |
D | TextReport.java | 35 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()
|
D | XmlReport.java | 57 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/ |
D | DeviceIdleWhitelistTest.java | 91 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/ |
D | Android.mk | 42 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/ |
D | Android.mk | 43 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/ |
D | AffiliationTest.java | 92 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/ |
D | Launcher.java | 16 package android.appwidget.cts.packages;
|
D | SimpleProvider.java | 1 package android.appwidget.cts.packages;
|
/cts/tests/signature/api/ |
D | Android.mk | 45 $(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/ |
D | Launcher.java | 16 package android.content.pm.cts.shortcutmanager.packages;
|
/cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/ |
D | ListeningPortsTest.java | 135 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/ |
D | DocletFactory.java | 62 java.util.Set<String> packages) throws IOException { in getRootDoc() argument 84 for (String p : packages) in getRootDoc()
|
/cts/tests/tests/shortcutmanager/packages/launchermanifest_nonshared/ |
D | Android.mk | 42 LOCAL_AAPT_FLAGS += --rename-manifest-package android.content.pm.cts.shortcutmanager.packages.launc…
|
/cts/tests/tests/shortcutmanager/packages/packagemanifest_nonshared/ |
D | Android.mk | 42 LOCAL_AAPT_FLAGS += --rename-manifest-package android.content.pm.cts.shortcutmanager.packages.packa…
|
/cts/tests/tests/telecom3/ |
D | Android.mk | 44 --extra-packages android.telecom.cts \
|