/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/packages/ |
D | PackagesTest.java | 118 Package pkg = TestApis.packages().install(mUser, TEST_APP_APK_FILE); in installedForUser_containsPackageInstalledForUser() local 129 Package pkg = TestApis.packages().install(mUser, TEST_APP_APK_FILE); in installedForUser_doesNotContainPackageNotInstalledForUser() local 171 Package pkg = in install_instrumentedUser_isInstalled() local 183 Package pkg = in install_byteArray_instrumentedUser_isInstalled() local 198 Package pkg = TestApis.packages().find(TEST_APP_PACKAGE_NAME); in install_inWorkProfile_isInstalled() local 212 Package pkg = TestApis.packages().find(TEST_APP_PACKAGE_NAME); in install_differentUser_isInstalled() local 225 Package pkg = TestApis.packages().find(TEST_APP_PACKAGE_NAME); in install_byteArray_differentUser_isInstalled() local 269 Package pkg = TestApis.packages().install(mUser, TEST_APP_APK_FILE); in install_alreadyInstalledForUser_installs() local 281 Package pkg = TestApis.packages().install(mUser, TEST_APP_BYTES); in install_byteArray_alreadyInstalledForUser_installs() local 293 Package pkg = null; in install_alreadyInstalledOnOtherUser_installs() local [all …]
|
D | PackageTest.java | 137 Package pkg = TestApis.packages().install(sTestAppApkFile); in uninstallForAllUsers_isUninstalledForAllUsers() local 150 Package pkg = TestApis.packages().install(sTestAppApkFile); in uninstall_packageIsInstalledForDifferentUser_isUninstalledForUser() local 167 Package pkg = TestApis.packages().install(sTestAppApkFile); in uninstall_packageIsUninstalled() local 189 Package pkg = TestApis.packages().find(NON_EXISTING_PACKAGE_NAME); in uninstall_packageDoesNotExist_doesNotThrowException() local 258 Package pkg = TestApis.packages().find(sContext.getPackageName()); in denyPermission_ownPackage_permissionIsNotGranted_doesNotThrowException() local 265 Package pkg = TestApis.packages().find(sContext.getPackageName()); in denyPermission_ownPackage_permissionIsGranted_throwsException() local 350 Package pkg = TestApis.packages().find(sTestApp.packageName()); in installedOnUsers_includesUserWithPackageInstalled() local 363 Package pkg = TestApis.packages().install(sTestAppApkFile); in installedOnUsers_doesNotIncludeUserWithoutPackageInstalled() local 377 Package pkg = TestApis.packages().find(sContext.getPackageName()); in grantedPermission_includesKnownInstallPermission() local
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | ApiCoverage.java | 31 public void addPackage(ApiPackage pkg) { in addPackage() 32 mPackages.put(pkg.getName(), pkg); in addPackage() local 46 ApiPackage pkg = entry.getValue(); in resolveSuperClasses() local
|
/cts/hostsidetests/jvmti/attaching/host/src/android/jvmti/cts/ |
D | JvmtiAttachingHostTest.java | 71 public void run(ITestDevice device, String pkg, String apk, String abiName); in run() 86 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAttachDuringBind() 96 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAttachEarly() 123 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentStartupAgents() 152 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentAppInternal() 172 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentAppExternal() 200 private String getPwd(ITestDevice device, String pkg) throws Exception { in getPwd() 247 private static void runAttachTestCmd(ITestDevice device, String pkg, String agentParams) in runAttachTestCmd() 278 private String installLibToDataData(ITestDevice device, String pkg, String abiName, in installLibToDataData()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/ |
D | AdbPackageParser26.java | 81 AdbPackage pkg = new AdbPackage(parsePackage(packageString)); in parsePackages() local 82 packages.put(pkg.packageName(), pkg); in parsePackages() local 105 AdbPackage.MutablePackage pkg = new AdbPackage.MutablePackage(); in parsePackage() local 128 void parseInstallPermissions(String section, AdbPackage.MutablePackage pkg) { in parseInstallPermissions() 140 void parseUser(String section, AdbPackage.MutablePackage pkg) throws AdbParseException { in parseUser()
|
D | KeepUninstalledPackagesBuilder.java | 82 public KeepUninstalledPackagesBuilder add(Package pkg) { in add() 91 public KeepUninstalledPackagesBuilder add(String pkg) { in add()
|
D | ProcessReference.java | 30 ProcessReference(Package pkg, int pid, int uid, UserReference user) { in ProcessReference() 43 public Package pkg() { in pkg() method in ProcessReference
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/ |
D | DevicePolicyController.java | 36 DevicePolicyController(UserReference user, Package pkg, ComponentName componentName) { in DevicePolicyController() 56 public Package pkg() { in pkg() method in DevicePolicyController
|
/cts/tests/app/src/android/app/cts/ |
D | ConditionTest.java | 88 String pkg = this.getClass().getPackage().toString(); in testIsValidId_noScheme() local 94 String pkg = this.getClass().getPackage().toString(); in testIsValidId_wrongAuthority() local 100 String pkg = this.getClass().getPackage().toString(); in testIsValidId() local
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/deviceadminreceivers/ |
D | DeviceAdminLockTaskModeEnteringEvent.java | 116 DeviceAdminReceiver deviceAdminReceiver, Context context, Intent intent, String pkg) { in logger() 126 Context context, Intent intent, String pkg) { in DeviceAdminLockTaskModeEnteringEventLogger() 161 public DeviceAdminLockTaskModeEnteringEventLogger setPkg(String pkg) { in setPkg() 186 public String pkg() { in pkg() method in DeviceAdminLockTaskModeEnteringEvent
|
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/ |
D | BroadcastTestBase.java | 137 String pkg, String cls) throws Exception { in startTestAndWaitForBroadcast() 140 mActivity.startTest(testCaseType.toString(), pkg, cls); in startTestAndWaitForBroadcast() local 179 String pkg, String cls) in startTestAndWaitForChange() 188 mActivity.startTest(testCaseType.toString(), pkg, cls); in startTestAndWaitForChange() local
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | SuspendPackageTest.java | 122 private void assertPackageSuspended(String pkg) throws Exception { in assertPackageSuspended() 126 private void assertPackageNotSuspended(String pkg) throws Exception { in assertPackageNotSuspended() 130 private void assertPackageSuspension(String pkg, boolean expected) throws Exception { in assertPackageSuspension()
|
/cts/tests/tests/app.usage/TestApp1/aidl/android/app/usage/cts/ |
D | ITestReceiver.aidl | 19 boolean isAppInactive(String pkg); in isAppInactive()
|
/cts/tests/appsearch/src/com/android/cts/appsearch/app/ |
D | GlobalSearchSessionPlatformCtsTest.java | 515 private void assertPackageCannotAccess(String pkg) throws Exception { in assertPackageCannotAccess() 527 private void assertPackageCanAccess(GenericDocument expectedDocument, String pkg) in assertPackageCanAccess() 540 private void indexGloballySearchableDocument(String pkg) throws Exception { in indexGloballySearchableDocument() 551 private void indexNotGloballySearchableDocument(String pkg) throws Exception { in indexNotGloballySearchableDocument() 562 private void clearData(String pkg) throws Exception { in clearData() 574 String pkg) { in bindToHelperService()
|
/cts/tests/framework/base/windowmanager/appPrereleaseSdk/fake-framework/src/android/content/ |
D | ComponentName.java | 20 public ComponentName(String pkg, String cls) {} in ComponentName()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | RemovePermissionTest.java | 136 private void uninstallApp(String pkg) throws InterruptedException { in uninstallApp() 140 private void uninstallApp(String pkg, boolean cleanUp) throws InterruptedException { in uninstallApp() 148 private void grantPermission(String pkg, String permission) { in grantPermission()
|
/cts/tests/tests/app.usage/TestApp1/src/android/app/usage/cts/test1/ |
D | TestService.java | 34 public boolean isAppInactive(String pkg) { in isAppInactive()
|
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/ |
D | Vp9Yuv420BitstreamsTest.java | 35 BitstreamPackage pkg, BitstreamPackage packageToRun, boolean enforce) { in Vp9Yuv420BitstreamsTest()
|
D | Vp8BitstreamsTest.java | 35 BitstreamPackage pkg, BitstreamPackage packageToRun, boolean enforce) { in Vp8BitstreamsTest()
|
D | H264Yuv420_8bitMpBitstreamsTest.java | 35 BitstreamPackage pkg, BitstreamPackage packageToRun, boolean enforce) { in H264Yuv420_8bitMpBitstreamsTest()
|
D | H264Yuv420_8bitHpBitstreamsTest.java | 35 BitstreamPackage pkg, BitstreamPackage packageToRun, boolean enforce) { in H264Yuv420_8bitHpBitstreamsTest()
|
D | H264Yuv420_8bitBpBitstreamsTest.java | 35 BitstreamPackage pkg, BitstreamPackage packageToRun, boolean enforce) { in H264Yuv420_8bitBpBitstreamsTest()
|
D | HevcYuv420BitstreamsTest.java | 35 BitstreamPackage pkg, BitstreamPackage packageToRun, boolean enforce) { in HevcYuv420BitstreamsTest()
|
D | HevcYuv444BitstreamsFullTest.java | 37 BitstreamPackage pkg, BitstreamPackage packageToRun, boolean enforce) { in HevcYuv444BitstreamsFullTest()
|
D | Vp8BitstreamsFullTest.java | 37 BitstreamPackage pkg, BitstreamPackage packageToRun, boolean enforce) { in Vp8BitstreamsFullTest()
|