Home
last modified time | relevance | path

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

12

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DLauncherAppsTest.java99 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()
DApplicationExemptionsTest.java311 try (TestAppInstance app = sTestApp.install()) { in setApplicationExemptions_notPermitted_throwsException()
/cts/tests/backup/src/android/backup/cts/
DPermissionTest.java403 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/
DAbstractContentCaptureIntegrationAutoActivityLaunchTest.java53 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/
DBackgroundActivityTestBase.java222 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()
DBackgroundActivityLaunchTest.java1203 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/
DRollback.java49 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/
DSimpleBroadcastReceiver.java37 String app = context.getPackageName() + "@" + context.getApplicationInfo().targetSdkVersion; in onReceive() local
DStartPendingIntentActivity.java35 Components app = Components.get(getApplicationContext()); in onCreate() local
/cts/hostsidetests/scopedstorage/bypassdatabase/src/android/scopedstorage/cts/bypassdatabase/
DBypassDatabaseOperationsTest.java231 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/
DBindUtils.java156 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/
DAbstractMonkeyTest.java47 File app = buildHelper.getTestFile(APKS[i]); in setUp() local
/cts/hostsidetests/adpf/app/hintsession/src/cpp/
DJNIManager.h46 void setApp(android_app* app) { app_ = app; } in setApp()
/cts/hostsidetests/packagemanager/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
/cts/hostsidetests/ui/src/android/ui/cts/
DTaskSwitchingTest.java90 File app = buildHelper.getTestFile(APKS[i]); in installPackages() local
/cts/tests/translation/src/android/translation/cts/
DTranslationManagerTest.java123 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/
DTestUsbTest.java78 File app = buildHelper.getTestFile(APK_NAME); in installApp() local
/cts/hostsidetests/adpf/app/hintsession/src/cpp/external/
Dandroid_native_app_glue.c184 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()
Dandroid_native_app_glue.h95 struct android_app* app; member
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DOrgOwnedProfileOwnerTest.java352 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/
DTestAppProvider.java123 private void loadApk(TestappProtos.AndroidApp app) { in loadApk()
/cts/hostsidetests/os/src/android/os/cts/
DProcfsHostTests.java168 File app = buildHelper.getTestFile(APK_NAME); in startTestApp() local
/cts/libs/install/src/com/android/cts/install/lib/
DInstall.java334 private int createSingleInstallSession(TestApp app) throws IOException { in createSingleInstallSession()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DVoiceInteractionServiceTest.java281 final Application app = ApplicationProvider.getApplicationContext(); in startSessionForStartAssistantActivity() local

12