/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | LauncherAppsTest.java | 99 try (TestAppInstance app = sTestApp.install(sDeviceState.dpc().user())) { in getActivityList_activityIsDisabled_isNotIncludedInList() 115 try (TestAppInstance app = sTestApp.install()) { in getActivityList_launcherActivityIsDisabled_syntheticActivityIsIncluded() 129 try (TestAppInstance app = sTestApp.install()) { in setSyntheticAppDetailsActivityEnabled_noPermission_throwsException() 140 try (TestAppInstance app = sTestApp.install()) { in setSyntheticAppDetailsActivityEnabled_true_isEnabled() 155 try (TestAppInstance app = sTestApp.install()) { in setSyntheticAppDetailsActivityEnabled_true_activityListIncludesSyntheticActivity() 171 try (TestAppInstance app = sTestApp.install()) { in setSyntheticAppDetailsActivityEnabled_false_isNotEnabled() 189 try (TestAppInstance app = sTestApp.install()) { in setSyntheticAppDetailsActivityEnabled_false_activityListDoesNotIncludeSyntheticActivity()
|
D | ApplicationExemptionsTest.java | 311 try (TestAppInstance app = sTestApp.install()) { in setApplicationExemptions_notPermitted_throwsException()
|
/cts/tests/backup/src/android/backup/cts/ |
D | PermissionTest.java | 403 private void setFlag(String app, String permission, int flag) { in setFlag() 409 private void clearFlag(String app, String permission, int flag) { in clearFlag() 415 private boolean isFlagSet(String app, String permission, int flag) { in isFlagSet() 425 private int checkPermission(String app, String permission) { in checkPermission() 429 private void setAppOp(String app, String permission, int mode) { in setAppOp() 436 private int getAppOp(String app, String permission) { in getAppOp()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | AbstractContentCaptureIntegrationAutoActivityLaunchTest.java | 53 final Application app = (Application) sContext.getApplicationContext(); in registerLifecycleCallback() local 62 final Application app = (Application) sContext.getApplicationContext(); in unregisterLifecycleCallback() local
|
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/ |
D | BackgroundActivityTestBase.java | 222 Intent getLaunchActivitiesBroadcast(Components app, in getLaunchActivitiesBroadcast() 237 Intent getLaunchActivitiesBroadcast(Components app, in getLaunchActivitiesBroadcast() 246 Intent getLaunchAndFinishActivitiesBroadcast(Components app, PendingIntent... pendingIntents) { in getLaunchAndFinishActivitiesBroadcast() 259 ActivityStartVerifier setupTaskWithForegroundActivity(Components app) { in setupTaskWithForegroundActivity() 264 ActivityStartVerifier setupTaskWithForegroundActivity(Components app, int id) { in setupTaskWithForegroundActivity() 274 ActivityStartVerifier setupTaskWithEmbeddingActivity(Components app) { in setupTaskWithEmbeddingActivity() 283 ActivityStartVerifier startFromForegroundActivity(Components app) { in startFromForegroundActivity() 289 ActivityStartVerifier startFromForegroundActivity(Components app, int id) { in startFromForegroundActivity() 295 ActivityStartVerifier startFromEmbeddingActivity(Components app) { in startFromEmbeddingActivity()
|
D | BackgroundActivityLaunchTest.java | 1203 private void clickAllowBindWidget(Components app, ResultReceiver resultReceiver) in clickAllowBindWidget() 1291 private void assertActivityNotResumed(Components app) throws Exception { in assertActivityNotResumed() 1372 private static void grantSystemAlertWindow(Components app) throws Exception { in grantSystemAlertWindow() 1376 private static void grantSystemAlertWindow(Components app, boolean allow) throws Exception { in grantSystemAlertWindow() 1387 private static void startBackgroundActivity(TestServiceClient service, Components app) in startBackgroundActivity() 1393 private void startBackgroundActivity(Components app) throws Exception { in startBackgroundActivity() 1394 startBackgroundActivity(getTestService(app), app); in startBackgroundActivity() local
|
/cts/libs/rollback/src/com/android/cts/rollback/lib/ |
D | Rollback.java | 49 public static Rollback from(TestApp app) { in from() 65 public Rollback to(TestApp app) { in to()
|
/cts/tests/framework/base/windowmanager/backgroundactivity/TestApp/src/android/server/wm/backgroundactivity/appa/ |
D | SimpleBroadcastReceiver.java | 37 String app = context.getPackageName() + "@" + context.getApplicationInfo().targetSdkVersion; in onReceive() local
|
D | StartPendingIntentActivity.java | 35 Components app = Components.get(getApplicationContext()); in onCreate() local
|
/cts/hostsidetests/scopedstorage/bypassdatabase/src/android/scopedstorage/cts/bypassdatabase/ |
D | BypassDatabaseOperationsTest.java | 231 private void testAppDoesntBypassDatabaseOps(TestApp app) throws Exception { in testAppDoesntBypassDatabaseOps() 257 private void testAppBypassesDatabaseOps(TestApp app) throws Exception { in testAppBypassesDatabaseOps()
|
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/ |
D | BindUtils.java | 156 private String getBindActionFromApplicationName(TelecomTestApp app) throws Exception { in getBindActionFromApplicationName() 172 private static String getPackageNameFromApplicationName(TelecomTestApp app) throws Exception { in getPackageNameFromApplicationName()
|
/cts/hostsidetests/monkey/src/com/android/cts/monkey/ |
D | AbstractMonkeyTest.java | 47 File app = buildHelper.getTestFile(APKS[i]); in setUp() local
|
/cts/hostsidetests/adpf/app/hintsession/src/cpp/ |
D | JNIManager.h | 46 void setApp(android_app* app) { app_ = app; } in setApp()
|
/cts/hostsidetests/packagemanager/abioverride/src/android/abioverride/cts/ |
D | AbiOverrideTest.java | 76 File app = buildHelper.getTestFile(APK_NAME); in setUp() local
|
/cts/tests/app/src/android/app/cts/ |
D | ApplicationTest.java | 66 Application app = new Application(); in testOnTrimMemory() local
|
/cts/hostsidetests/ui/src/android/ui/cts/ |
D | TaskSwitchingTest.java | 90 File app = buildHelper.getTestFile(APKS[i]); in installPackages() local
|
/cts/tests/translation/src/android/translation/cts/ |
D | TranslationManagerTest.java | 123 final Application app = (Application) ApplicationProvider.getApplicationContext(); in cleanup() local 516 final Application app = (Application) ApplicationProvider.getApplicationContext(); in testGetTranslationSettingsActivityIntent() local
|
/cts/hostsidetests/usb/src/com/android/cts/usb/ |
D | TestUsbTest.java | 78 File app = buildHelper.getTestFile(APK_NAME); in installApp() local
|
/cts/hostsidetests/adpf/app/hintsession/src/cpp/external/ |
D | android_native_app_glue.c | 184 static void process_input(struct android_app* app, struct android_poll_source* source) { in process_input() 198 static void process_cmd(struct android_app* app, struct android_poll_source* source) { in process_cmd()
|
D | android_native_app_glue.h | 95 struct android_app* app; member
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | OrgOwnedProfileOwnerTest.java | 352 private void addSmsRole(String app, int userId) throws Exception { in addSmsRole() 357 private void removeSmsRole(String app, int userId) throws Exception { in removeSmsRole()
|
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/ |
D | TestAppProvider.java | 123 private void loadApk(TestappProtos.AndroidApp app) { in loadApk()
|
/cts/hostsidetests/os/src/android/os/cts/ |
D | ProcfsHostTests.java | 168 File app = buildHelper.getTestFile(APK_NAME); in startTestApp() local
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | Install.java | 334 private int createSingleInstallSession(TestApp app) throws IOException { in createSingleInstallSession()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | VoiceInteractionServiceTest.java | 281 final Application app = ApplicationProvider.getApplicationContext(); in startSessionForStartAssistantActivity() local
|