/cts/common/host-side/manifest-generator/src/com/android/compatibility/common/generator/ |
D | ManifestGenerator.java | 39 String pkgName = null; in main() local 47 pkgName = args[++i]; in main() 59 if (pkgName == null) { in main() 72 generate(out, pkgName, instrumentName, permissions, activities); in main() 86 /*package*/ static void generate(OutputStream out, String pkgName, String instrumentName, in generate() argument 95 serializer.attribute(ns, "package", pkgName); in generate() 113 serializer.attribute(ns, "android:targetPackage", pkgName); in generate()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 171 protected boolean runDeviceTests(String pkgName, @Nullable String testClassName) in runDeviceTests() argument 173 return runDeviceTests(pkgName, testClassName, null /*testMethodName*/, null /*userId*/); in runDeviceTests() 178 String pkgName, @Nullable String testClassName, int userId) in runDeviceTestsAsUser() argument 180 return runDeviceTestsAsUser(pkgName, testClassName, null, userId); in runDeviceTestsAsUser() 185 String pkgName, @Nullable String testClassName, String testMethodName, int userId) in runDeviceTestsAsUser() argument 187 return runDeviceTests(pkgName, testClassName, testMethodName, userId); in runDeviceTestsAsUser() 190 protected boolean runDeviceTests(String pkgName, @Nullable String testClassName, in runDeviceTests() argument 193 return runDeviceTests(pkgName, testClassName, testMethodName, userId, /*params*/ null); in runDeviceTests() 196 protected boolean runDeviceTests(String pkgName, @Nullable String testClassName, in runDeviceTests() argument 200 testClassName = pkgName + testClassName; in runDeviceTests() [all …]
|
/cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/ |
D | KeySetHostTest.java | 155 private boolean runDeviceTests(String pkgName) throws DeviceNotAvailableException { in runDeviceTests() argument 156 return runDeviceTests(pkgName, null, null); in runDeviceTests() 166 private boolean runDeviceTests(String pkgName, String testClassName, String testMethodName) in runDeviceTests() argument 168 TestRunResult runResult = doRunTests(pkgName, testClassName, testMethodName); in runDeviceTests() 179 private TestRunResult doRunTests(String pkgName, String testClassName, in doRunTests() argument 182 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(pkgName, in doRunTests() 200 private String testPackageUpgrade(String pkgName, String firstApk, in testPackageUpgrade() argument 206 mDevice.uninstallPackage(pkgName); in testPackageUpgrade() 211 assertNull(String.format("failed to install %s, Reason: %s", pkgName, in testPackageUpgrade() 218 mDevice.uninstallPackage(pkgName); in testPackageUpgrade()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | ApplicationHiddenTest.java | 95 String pkgName = uri.getSchemeSpecificPart(); in onReceive() local 96 if (!PACKAGE_TO_HIDE.equals(pkgName)) { in onReceive()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | BasePrintTest.java | 400 String pkgName = getInstrumentation().getContext().getPackageName(); in enablePrintServices() local 402 pkgName, FirstPrintService.class.getCanonicalName(), in enablePrintServices() 403 pkgName, SecondPrintService.class.getCanonicalName()); in enablePrintServices()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | CtsTest.java | 941 String pkgName = testPkg.mPackageDef.getTargetPackageName(); in getPrerequisitePackageNames() local 942 if (pkgName != null) { in getPrerequisitePackageNames() 943 pkgNames.add(pkgName); in getPrerequisitePackageNames() 1038 for (String pkgName : uninstallPackages) { in uninstallPrequisiteApks() 1039 getDevice().uninstallPackage(pkgName); in uninstallPrequisiteApks()
|
/cts/tests/uiautomator/src/com/android/cts/uiautomatortest/ |
D | CtsUiAutomatorTest.java | 253 String pkgName = device.getCurrentPackageName(); in testDeviceSoftKeys() local 254 assertTrue("CTS test app must be running", pkgName.equals(PKG_NAME)); in testDeviceSoftKeys()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | IntentTest.java | 748 final String pkgName = target.getPackageName(); in testResolveActivityMultipleMatch() local 749 assertFalse("com.android.cts.content".equals(pkgName)); in testResolveActivityMultipleMatch() 752 if (!"android".equals(pkgName)) { in testResolveActivityMultipleMatch() 753 if (mPm.checkPermission(android.Manifest.permission.SET_PREFERRED_APPLICATIONS, pkgName) in testResolveActivityMultipleMatch()
|