/cts/hostsidetests/jvmti/attaching/host/src/android/jvmti/cts/ |
D | JvmtiAttachingHostTest.java | 64 public void run(ITestDevice device, String pkg, String apk, String abiName); in run() argument 70 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAttachDuringBind() argument 72 runAttachTestCmd(device, pkg, "--attach-agent-bind " + AGENT); in testJvmtiAttachDuringBind() 80 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAttachEarly() argument 82 String pwd = device.executeShellCommand("run-as " + pkg + " pwd"); in testJvmtiAttachEarly() 96 installLibToDataData(device, pkg, abiName, apk, pwd, AGENT, in testJvmtiAttachEarly() 98 runAttachTestCmd(device, pkg, "--attach-agent " + agentInDataData); in testJvmtiAttachEarly() 106 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentAppInternal() argument 108 String setAgentAppCmd = "cmd activity set-agent-app " + pkg + " " + AGENT; in testJvmtiAgentAppInternal() 115 runAttachTestCmd(device, pkg, ""); in testJvmtiAgentAppInternal() [all …]
|
/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/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 | 167 final String pkg = ri.activityInfo.packageName; in testImageCapture() local 172 ui.grantRuntimePermission(pkg, android.Manifest.permission.CAMERA); in testImageCapture() 173 ui.grantRuntimePermission(pkg, android.Manifest.permission.ACCESS_COARSE_LOCATION); in testImageCapture() 174 ui.grantRuntimePermission(pkg, android.Manifest.permission.ACCESS_FINE_LOCATION); in testImageCapture() 175 ui.grantRuntimePermission(pkg, android.Manifest.permission.RECORD_AUDIO); in testImageCapture() 176 ui.grantRuntimePermission(pkg, android.Manifest.permission.READ_EXTERNAL_STORAGE); in testImageCapture() 177 ui.grantRuntimePermission(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/appsecurity/src/android/appsecurity/cts/ |
D | CorruptApkTests.java | 70 public void uninstall(String pkg) throws Exception { in uninstall() argument 72 if (device.getInstalledPackageNames().contains(pkg)) { in uninstall() 73 device.uninstallPackage(pkg); in uninstall() 105 private void assertInstallNoFatalError(String filename, String pkg) throws Exception { in assertInstallNoFatalError() argument 117 assertThat(device.getInstalledPackageNames()).doesNotContain(pkg); in assertInstallNoFatalError()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | AppIdleStatePermissionTest.java | 53 for (PackageInfo pkg : holding) { in testChangeAppIdleStatePermission() 54 int uid = pm.getApplicationInfo(pkg.packageName, 0).uid; in testChangeAppIdleStatePermission() 56 pkgNames += pkg.packageName + "\n"; in testChangeAppIdleStatePermission()
|
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/ |
D | H264Yuv420_8bitBpBitstreamsTest.java | 32 BitstreamPackage pkg, BitstreamPackage packageToRun) { in H264Yuv420_8bitBpBitstreamsTest() argument 33 super(prefix, path, pkg, packageToRun); in H264Yuv420_8bitBpBitstreamsTest()
|
D | H264Yuv420_8bitMpBitstreamsTest.java | 32 BitstreamPackage pkg, BitstreamPackage packageToRun) { in H264Yuv420_8bitMpBitstreamsTest() argument 33 super(prefix, path, pkg, packageToRun); in H264Yuv420_8bitMpBitstreamsTest()
|
D | Vp9Yuv420BitstreamsTest.java | 32 BitstreamPackage pkg, BitstreamPackage packageToRun) { in Vp9Yuv420BitstreamsTest() argument 33 super(prefix, path, pkg, packageToRun); in Vp9Yuv420BitstreamsTest()
|
D | H264Yuv420_8bitHpBitstreamsTest.java | 32 BitstreamPackage pkg, BitstreamPackage packageToRun) { in H264Yuv420_8bitHpBitstreamsTest() argument 33 super(prefix, path, pkg, packageToRun); in H264Yuv420_8bitHpBitstreamsTest()
|
D | HevcYuv420BitstreamsTest.java | 32 BitstreamPackage pkg, BitstreamPackage packageToRun) { in HevcYuv420BitstreamsTest() argument 33 super(prefix, path, pkg, packageToRun); in HevcYuv420BitstreamsTest()
|
D | Vp8BitstreamsTest.java | 32 BitstreamPackage pkg, BitstreamPackage packageToRun) { in Vp8BitstreamsTest() argument 33 super(prefix, path, pkg, packageToRun); in Vp8BitstreamsTest()
|
D | Vp8BitstreamsFullTest.java | 34 BitstreamPackage pkg, BitstreamPackage packageToRun) { in Vp8BitstreamsFullTest() argument 35 super(prefix, path, pkg, packageToRun); in Vp8BitstreamsFullTest()
|
D | H264Yuv420_8bitBpBitstreamsFullTest.java | 34 BitstreamPackage pkg, BitstreamPackage packageToRun) { in H264Yuv420_8bitBpBitstreamsFullTest() argument 35 super(prefix, path, pkg, packageToRun); in H264Yuv420_8bitBpBitstreamsFullTest()
|
D | H264Yuv420_8bitHpBitstreamsFullTest.java | 34 BitstreamPackage pkg, BitstreamPackage packageToRun) { in H264Yuv420_8bitHpBitstreamsFullTest() argument 35 super(prefix, path, pkg, packageToRun); in H264Yuv420_8bitHpBitstreamsFullTest()
|
D | HevcYuv420BitstreamsFullTest.java | 34 BitstreamPackage pkg, BitstreamPackage packageToRun) { in HevcYuv420BitstreamsFullTest() argument 35 super(prefix, path, pkg, packageToRun); in HevcYuv420BitstreamsFullTest()
|
D | Vp9Yuv420BitstreamsFullTest.java | 34 BitstreamPackage pkg, BitstreamPackage packageToRun) { in Vp9Yuv420BitstreamsFullTest() argument 35 super(prefix, path, pkg, packageToRun); in Vp9Yuv420BitstreamsFullTest()
|
D | H264Yuv420_8bitMpBitstreamsFullTest.java | 34 BitstreamPackage pkg, BitstreamPackage packageToRun) { in H264Yuv420_8bitMpBitstreamsFullTest() argument 35 super(prefix, path, pkg, packageToRun); in H264Yuv420_8bitMpBitstreamsFullTest()
|
D | Vp9Yuv444BitstreamsFullTest.java | 34 BitstreamPackage pkg, BitstreamPackage packageToRun) { in Vp9Yuv444BitstreamsFullTest() argument 35 super(prefix, path, pkg, packageToRun); in Vp9Yuv444BitstreamsFullTest()
|
D | HevcYuv422BitstreamsFullTest.java | 34 BitstreamPackage pkg, BitstreamPackage packageToRun) { in HevcYuv422BitstreamsFullTest() argument 35 super(prefix, path, pkg, packageToRun); in HevcYuv422BitstreamsFullTest()
|
D | HevcYuv444BitstreamsFullTest.java | 34 BitstreamPackage pkg, BitstreamPackage packageToRun) { in HevcYuv444BitstreamsFullTest() argument 35 super(prefix, path, pkg, packageToRun); in HevcYuv444BitstreamsFullTest()
|
D | HevcYuv400BitstreamsFullTest.java | 34 BitstreamPackage pkg, BitstreamPackage packageToRun) { in HevcYuv400BitstreamsFullTest() argument 35 super(prefix, path, pkg, packageToRun); in HevcYuv400BitstreamsFullTest()
|
D | Vp9Yuv422BitstreamsFullTest.java | 34 BitstreamPackage pkg, BitstreamPackage packageToRun) { in Vp9Yuv422BitstreamsFullTest() argument 35 super(prefix, path, pkg, packageToRun); in Vp9Yuv422BitstreamsFullTest()
|