/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | ApiCoverage.java | 30 public void addPackage(ApiPackage pkg) { in addPackage() argument 31 mPackages.put(pkg.getName(), pkg); in addPackage() local 45 ApiPackage pkg = entry.getValue(); in resolveSuperClasses() local 46 pkg.resolveSuperClasses(mPackages); in resolveSuperClasses()
|
D | XmlReport.java | 61 for (ApiPackage pkg : packages) { in printXmlReport() 62 if (packageFilter.accept(pkg.getName()) && pkg.getTotalMethods() > 0) { in printXmlReport() 63 int pkgTotal = pkg.getTotalMethods(); in printXmlReport() 65 int pkgTotalCovered = pkg.getNumCoveredMethods(); in printXmlReport() 67 out.println("<package name=\"" + pkg.getName() in printXmlReport() 71 + Math.round(pkg.getCoveragePercentage()) in printXmlReport() 74 List<ApiClass> classes = new ArrayList<ApiClass>(pkg.getClasses()); in printXmlReport()
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | PrivappPermissionsTest.java | 69 for (PackageInfo pkg : installedPackages) { in testPrivappPermissionsEnforcement() 72 String[] requestedPermissions = pkg.requestedPermissions; in testPrivappPermissionsEnforcement() 73 if (!pkg.applicationInfo.isPrivilegedApp() in testPrivappPermissionsEnforcement() 74 || PLATFORM_PACKAGE_NAME.equals(pkg.packageName)) { in testPrivappPermissionsEnforcement() 85 if ((pkg.requestedPermissionsFlags[i] in testPrivappPermissionsEnforcement() 96 Set<String> whitelist = getPrivAppPermissions(pkg.packageName); in testPrivappPermissionsEnforcement() 97 Log.i(TAG, "Application " + pkg.packageName + ". Requested permissions: " in testPrivappPermissionsEnforcement() 106 + pkg.packageName + ": " + grantedNotInWhitelist, in testPrivappPermissionsEnforcement() 110 + pkg.packageName + ": " + notGranted, in testPrivappPermissionsEnforcement()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | PackageDeviceInfo.java | 40 for (PackageInfo pkg : pm.getInstalledPackages(0)) { in collectDeviceInfo() 42 store.addResult(NAME, pkg.packageName); in collectDeviceInfo() 43 store.addResult(VERSION_NAME, pkg.versionName); in collectDeviceInfo() 45 if (pkg.applicationInfo != null) { in collectDeviceInfo() 46 String dir = pkg.applicationInfo.sourceDir; in collectDeviceInfo()
|
/cts/tools/cts-reference-app-lib/src/android/cts/refapp/ |
D | ReferenceAppTestCase.java | 44 public ReferenceAppTestCase(String pkg, Class<T> activityClass, int maxStartupTimeMs) { in ReferenceAppTestCase() argument 45 super(pkg, activityClass); in ReferenceAppTestCase() 55 public ReferenceAppTestCase(String pkg, Class<T> activityClass) { in ReferenceAppTestCase() argument 56 this(pkg, activityClass, DEFAULT_MAX_STATUP_TIME_MS); in ReferenceAppTestCase()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStoreUiTest.java | 165 final String pkg = ri.activityInfo.packageName; in testImageCapture() local 170 + pkg + " " + android.Manifest.permission.CAMERA); in testImageCapture() 172 + pkg + " " + android.Manifest.permission.ACCESS_COARSE_LOCATION); in testImageCapture() 174 + pkg + " " + android.Manifest.permission.ACCESS_FINE_LOCATION); in testImageCapture() 176 + pkg + " " + android.Manifest.permission.RECORD_AUDIO); in testImageCapture() 178 + pkg + " " + android.Manifest.permission.READ_EXTERNAL_STORAGE); in testImageCapture() 180 + pkg + " " + android.Manifest.permission.WRITE_EXTERNAL_STORAGE); in testImageCapture() 201 maybeClick(new UiSelector().resourceId(pkg + ":id/shutter_button")); in testImageCapture() 204 maybeClick(new UiSelector().resourceId(pkg + ":id/shutter_button")); in testImageCapture() 206 maybeClick(new UiSelector().resourceId(pkg + ":id/done_button")); in testImageCapture() [all …]
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | PackageIncidentTest.java | 78 for (PackageProto pkg : dump.getPackagesList()) { in testPackageServiceDump() 79 if (pkg.getName().equals(DEVICE_SIDE_TEST_PACKAGE)) { in testPackageServiceDump() 80 testPackage = pkg; in testPackageServiceDump()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | BroadcastTestStartActivity.java | 40 void startTest(String testCaseType, String pkg, String cls) { in startTest() argument 45 intent.setComponent(new ComponentName(pkg, cls)); in startTest()
|
D | BroadcastTestBase.java | 99 String pkg, String cls) throws Exception { in startTestAndWaitForBroadcast() argument 102 mActivity.startTest(testCaseType.toString(), pkg, cls); in startTestAndWaitForBroadcast() local
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | SuspendPackageTest.java | 18 .pkg("com.android.settings"); 23 .pkg("com.android.settings");
|
/cts/tests/signature/src/android/signature/cts/ |
D | CurrentApi.java | 121 XmlPullParser parser, boolean isInterface, String pkg, in loadClassInfo() argument 126 currentClass = new JDiffClassDescription(pkg, className, resultObserver); in loadClassInfo() 128 currentClass = new JDiffClassDescription(pkg, className); in loadClassInfo()
|
D | JDiffClassDescription.java | 107 public JDiffClassDescription(String pkg, String className) { in JDiffClassDescription() argument 108 this(pkg, className, new ResultObserver() { in JDiffClassDescription() 124 public JDiffClassDescription(String pkg, String className, ResultObserver resultObserver) { in JDiffClassDescription() argument 125 mPackageName = pkg; in JDiffClassDescription()
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | ManualPackageInstallTest.java | 36 .pkg("com.android.settings"); 40 .pkg("com.android.settings");
|
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/ |
D | StorageStatsTest.java | 381 private long getCacheBytes(String pkg, UserHandle user) throws Exception { in getCacheBytes() argument 383 .queryStatsForPackage(UUID_DEFAULT, pkg, user).getCacheBytes(); in getCacheBytes() 386 private long doAllocateReceiver(String pkg, double fraction, long time) throws Exception { in doAllocateReceiver() argument 390 intent.setComponent(new ComponentName(pkg, UtilsReceiver.class.getName())); in doAllocateReceiver() 406 private long doAllocateProvider(String pkg, double fraction, long time) throws Exception { in doAllocateProvider() argument 412 .acquireContentProviderClient(pkg)) { in doAllocateProvider() 413 final Bundle res = client.call(pkg, pkg, args); in doAllocateProvider()
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
D | CompatibilityHostTestBase.java | 167 protected boolean isPackageInstalled(String pkg) throws DeviceNotAvailableException { in isPackageInstalled() argument 169 if (pkg.equals(installedPackage)) { in isPackageInstalled()
|
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | ShortcutManagerBackupTest.java | 123 private void uninstallPackageAndWaitUntilBroadcastsDrain(String pkg) throws Exception { in uninstallPackageAndWaitUntilBroadcastsDrain() argument 124 getDevice().uninstallPackage(pkg); in uninstallPackageAndWaitUntilBroadcastsDrain()
|
/cts/tests/jank/src/android/jank/cts/ui/ |
D | CtsDeviceJankUi.java | 46 getUiDevice().wait(Until.hasObject(By.pkg(PACKAGE)), DEFAULT_ANIMATION_TIME); in setUp()
|
/cts/tests/leanbackjank/src/android/leanbackjank/cts/ |
D | CtsDeviceLeanback.java | 77 if (!getUiDevice().wait(Until.hasObject(By.pkg(APP_PACKAGE)), WAIT_TIMEOUT)) { in setUp()
|
/cts/hostsidetests/jvmti/base/host/src/android/jvmti/cts/ |
D | JvmtiHostTest.java | 120 public AttachAgent(ITestDevice device, String pkg, String apk) { in AttachAgent() argument 122 this.mPkg = pkg; in AttachAgent()
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | TestHelper.java | 94 mUiDevice.wait(Until.hasObject(By.pkg(packageName).depth(0)), TIMEOUT); in launchActivity()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | PermissionsTest.java | 67 .pkg("android"); 70 .pkg("android");
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | ManagedProfileTest.java | 801 private void givePackageWriteSettingsPermission(int userId, String pkg) throws Exception { in givePackageWriteSettingsPermission() argument 803 String command = "appops set --user " + userId + " " + pkg in givePackageWriteSettingsPermission()
|
/cts/hostsidetests/services/activityandwindowmanager/util/src/android/server/cts/ |
D | ActivityManagerTestBase.java | 1174 public LaunchActivityBuilder setTargetPackage(String pkg) { in setTargetPackage() argument 1175 mTargetPackage = pkg; in setTargetPackage()
|
/cts/tests/tests/media/res/raw/ |
D | football_qvga.yuv | 47 …egjlnqtuttusqomhigffdhlnpsx}~x{���������������yk`O9AV^hnnnlny������������~pkg]UG:7<@>=?@=;74227:>…
|