Home
last modified time | relevance | path

Searched defs:app (Results 1 – 22 of 22) sorted by relevance

/cts/tests/backup/src/android/backup/cts/
DPermissionTest.java400 private void setFlag(String app, String permission, int flag) { in setFlag()
406 private void clearFlag(String app, String permission, int flag) { in clearFlag()
412 private boolean isFlagSet(String app, String permission, int flag) { in isFlagSet()
422 private int checkPermission(String app, String permission) { in checkPermission()
426 private void setAppOp(String app, String permission, int mode) { in setAppOp()
433 private int getAppOp(String app, String permission) { in getAppOp()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAbstractContentCaptureIntegrationAutoActivityLaunchTest.java53 final Application app = (Application) sContext.getApplicationContext(); in registerLifecycleCallback() local
62 final Application app = (Application) sContext.getApplicationContext(); in unregisterLifecycleCallback() local
/cts/libs/rollback/src/com/android/cts/rollback/lib/
DRollback.java49 public static Rollback from(TestApp app) { in from()
65 public Rollback to(TestApp app) { in to()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DApplicationHiddenTest.java110 policyExemptApps.forEach((app) -> { in testCannotHidePolicyExemptApps() argument
122 private void maybeUnhideApp(String app) { in maybeUnhideApp()
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DBypassDatabaseOperationsTest.java263 private void testAppDoesntBypassDatabaseOps(TestApp app) throws Exception { in testAppDoesntBypassDatabaseOps()
289 private void testAppBypassesDatabaseOps(TestApp app) throws Exception { in testAppBypassesDatabaseOps()
DScopedStorageDeviceTest.java1333 private void testAppOpInvalidation(TestApp app, File file, @Nullable String permission, in testAppOpInvalidation()
1353 private void assertAppOpInvalidation(TestApp app, File file, @Nullable String permission, in assertAppOpInvalidation()
/cts/hostsidetests/monkey/src/com/android/cts/monkey/
DAbstractMonkeyTest.java47 File app = buildHelper.getTestFile(APKS[i]); in setUp() local
/cts/hostsidetests/abioverride/src/android/abioverride/cts/
DAbiOverrideTest.java76 File app = buildHelper.getTestFile(APK_NAME); in setUp() local
/cts/tests/app/src/android/app/cts/
DApplicationTest.java66 Application app = new Application(); in testOnTrimMemory() local
DInstrumentationTest.java375 Application app = mInstrumentation.newApplication(cl, className, mContext); in testNewApplication() local
/cts/tests/translation/src/android/translation/cts/
DTranslationManagerTest.java117 final Application app = (Application) ApplicationProvider.getApplicationContext(); in cleanup() local
521 final Application app = (Application) ApplicationProvider.getApplicationContext(); in testGetTranslationSettingsActivityIntent() local
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppProvider.java81 private void loadApk(TestappProtos.AndroidApp app) { in loadApk()
/cts/hostsidetests/ui/src/android/ui/cts/
DTaskSwitchingTest.java90 File app = buildHelper.getTestFile(APKS[i]); in installPackages() local
/cts/hostsidetests/usb/src/com/android/cts/usb/
DTestUsbTest.java77 File app = buildHelper.getTestFile(APK_NAME); in installApp() local
/cts/tests/tests/permission/src/android/permission/cts/
DPermissionControllerTest.java165 private Map<String, List<String>> buildRevokeRequest(@NonNull String app, in buildRevokeRequest()
172 String app) throws Exception { in assertRuntimePermissionLabelsAreValid()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DOrgOwnedProfileOwnerTest.java421 private void addSmsRole(String app, int userId) throws Exception { in addSmsRole()
426 private void removeSmsRole(String app, int userId) throws Exception { in removeSmsRole()
/cts/tests/tests/permission2/src/android/permission2/cts/
DRestrictedPermissionsTest.java621 private void installApp(@NonNull String app, @Nullable Set<String> whitelistedPermissions) in installApp()
633 private void installApp(@NonNull String app, @Nullable Set<String> whitelistedPermissions, in installApp()
DRestrictedStoragePermissionTest.java686 private void installApp( in installApp()
/cts/hostsidetests/os/src/android/os/cts/
DProcfsHostTests.java167 File app = buildHelper.getTestFile(APK_NAME); in startTestApp() local
/cts/libs/install/src/com/android/cts/install/lib/
DInstall.java260 private int createSingleInstallSession(TestApp app) throws IOException { in createSingleInstallSession()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java1073 public static void pollForPermission(TestApp app, String perm, boolean granted) in pollForPermission()
1108 public static boolean checkPermission(TestApp app, String perm) { in checkPermission()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java837 ApplicationInfo app = findPackageItemOrFail( in testGetInstalledApplications() local