Searched refs:targetPackageName (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | AppEnumerationTests.java | 316 String sourcePackageName, String targetPackageName, Intent intent) throws Exception { in startExplicitActivityWithIntent() argument 317 sendCommandBlocking(sourcePackageName, targetPackageName, in startExplicitActivityWithIntent() 318 intent.setClassName(targetPackageName, ACTIVITY_CLASS_TEST), in startExplicitActivityWithIntent() 670 private void assertVisible(String sourcePackageName, String targetPackageName) in assertVisible() argument 673 Assert.assertNotNull(sourcePackageName + " should be able to see " + targetPackageName, in assertVisible() 674 getPackageInfo(sourcePackageName, targetPackageName)); in assertVisible() 1100 private void assertNotVisible(String sourcePackageName, String targetPackageName) in assertNotVisible() argument 1104 getPackageInfo(sourcePackageName, targetPackageName); in assertNotVisible() 1105 fail(sourcePackageName + " should not be able to see " + targetPackageName); in assertNotVisible() 1110 private void assertServiceVisible(String sourcePackageName, String targetPackageName) in assertServiceVisible() argument [all …]
|
/cts/tests/tests/content/src/android/content/om/cts/ |
D | OverlayManagerTest.java | 84 String targetPackageName = "overlay target package name"; in testGetOverlayInfosForTarget() local 87 verify(mMockService, times(0)).getOverlayInfosForTarget(targetPackageName, userId); in testGetOverlayInfosForTarget() 88 mManager.getOverlayInfosForTarget(targetPackageName, user); in testGetOverlayInfosForTarget() 89 verify(mMockService, times(1)).getOverlayInfosForTarget(targetPackageName, userId); in testGetOverlayInfosForTarget()
|
D | OverlayInfoTest.java | 104 assertEquals(info.targetPackageName, copyInfo.targetPackageName); in testWriteToParcel()
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/ |
D | BindDeviceAdminServiceFailsTest.java | 66 private void checkCannotBind(String targetPackageName, UserHandle otherProfile) { in checkCannotBind() argument 69 … serviceIntent.setClassName(targetPackageName, ProtectedCrossUserService.class.getName()); in checkCannotBind()
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | CommonExternalStorageTest.java | 171 String targetPackageName) { in getAllPackageSpecificObbGiftPaths() argument 175 obbDir.getAbsolutePath().replace(context.getPackageName(), targetPackageName)); in getAllPackageSpecificObbGiftPaths() 176 targetFiles.add(new File(targetObbDir, targetPackageName + ".gift")); in getAllPackageSpecificObbGiftPaths() 186 String targetPackageName) { in getAllPackageSpecificNoGiftPaths() argument 191 file.getAbsolutePath().replace(context.getPackageName(), targetPackageName)); in getAllPackageSpecificNoGiftPaths() 192 targetFiles.add(new File(targetFile, targetPackageName + ".gift")); in getAllPackageSpecificNoGiftPaths()
|
/cts/tests/tests/appenumeration/app/source/src/android/appenumeration/cts/query/ |
D | TestActivity.java | 245 final String targetPackageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME); in handleIntent() local 248 sendSetInstallerPackageName(remoteCallback, targetPackageName, in handleIntent() 618 String targetPackageName, String installerPackageName) { in sendSetInstallerPackageName() argument 620 getPackageManager().setInstallerPackageName(targetPackageName, installerPackageName); in sendSetInstallerPackageName()
|
/cts/tests/providerui/src/android/providerui/cts/ |
D | MediaStoreUiTest.java | 323 private void assertToolbarTitleEquals(String targetPackageName, String label) in assertToolbarTitleEquals() argument 326 targetPackageName + ":id/toolbar"); in assertToolbarTitleEquals()
|