Home
last modified time | relevance | path

Searched refs:app (Results 1 – 25 of 140) sorted by relevance

123456

/platform_testing/libraries/app-helpers/interfaces/
DAndroid.bp18 name: "app-helpers-common-interfaces",
20 static_libs: ["app-helpers-core"],
28 name: "app-helpers-auto-interfaces",
31 "app-helpers-core",
34 static_libs: ["app-helpers-common-interfaces"],
42 name: "app-helpers-clockwork-interfaces",
45 "app-helpers-core",
47 static_libs: ["app-helpers-common-interfaces"],
55 name: "app-helpers-handheld-interfaces",
58 "app-helpers-core",
[all …]
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DCommonLauncherHelper.java96 private void ensureIconVisible(BySelector app, UiObject2 container, Direction dir) { in ensureIconVisible() argument
97 UiObject2 appIcon = mDevice.findObject(app); in ensureIconVisible()
132 public long launchApp(ILauncherStrategy launcherStrategy, BySelector app, in launchApp() argument
134 return launchApp(launcherStrategy, app, packageName, MAX_SCROLL_ATTEMPTS); in launchApp()
146 public long launchApp(ILauncherStrategy launcherStrategy, BySelector app, in launchApp() argument
158 if (!mDevice.hasObject(app)) { in launchApp()
162 if (!mDevice.hasObject(app)) { in launchApp()
165 while (!mDevice.hasObject(app) && container.scroll(dir, 0.8f)) { in launchApp()
175 ensureIconVisible(app, container, dir); in launchApp()
179 if (!mDevice.findObject(app).clickAndWait(Until.newWindow(), APP_LAUNCH_TIMEOUT)) { in launchApp()
DVolvoLauncherStrategy.java18 import android.app.Instrumentation;
82 UiObject2 app = mDevice.findObject(By.clickable(true).hasDescendant(By.text(appName))); in openApp() local
83 app.clickAndWait(Until.newWindow(), APP_LAUNCH_TIMEOUT_MS); in openApp()
94 UiObject2 app = mDevice.findObject(By.clickable(true).hasDescendant(By.text(appName))); in openBluetoothAudioApp() local
95 app.clickAndWait(Until.newWindow(), APP_LAUNCH_TIMEOUT_MS); in openBluetoothAudioApp()
105 UiObject2 app = findApplication(appName); in checkApplicationExists() local
106 return app != null; in checkApplicationExists()
DAutoLauncherStrategy.java18 import android.app.Instrumentation;
166 UiObject2 app = findApplication(appName); in openMediaFacet() local
167 if (app == null) { in openMediaFacet()
170 app.click(); in openMediaFacet()
328 UiObject2 app = findApplication(appName); in checkApplicationExists() local
329 return app != null; in checkApplicationExists()
335 UiObject2 app = mDevice.findObject(By.clickable(true).hasDescendant(By.text(appName))); in openApp() local
336 app.clickAndWait(Until.newWindow(), APP_LAUNCH_TIMEOUT); in openApp()
347 UiObject2 app = mDevice.findObject(By.clickable(true).hasDescendant(By.text(appName))); in openBluetoothAudioApp() local
348 app.clickAndWait(Until.newWindow(), APP_LAUNCH_TIMEOUT); in openBluetoothAudioApp()
[all …]
DTvLauncherStrategy.java19 import android.app.Instrumentation;
648 UiObject2 app = select(appSelector, direction, UI_TRANSITION_WAIT_TIME_MS);
649 while (app == null && move(Direction.DOWN)) {
651 app = select(appSelector, direction, UI_TRANSITION_WAIT_TIME_MS);
653 if (app != null) {
656 return app;
663 UiObject2 app = null;
670 app = selectAppInAllApps(getAppInAppsViewSelector(appName), packageName);
672 app = selectAppInAllAppsZigZag(getAppInAppsViewSelector(appName), packageName);
674 return app;
[all …]
/platform_testing/libraries/app-helpers/handheld/
DAndroid.bp16 name: "handheld-app-helpers",
19 "app-helpers-handheld-interfaces",
20 "business-card-app-helper",
21 "performance-launch-app-helper"
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DKillAppsRule.java49 for (String app : mApplications) { in starting()
50 executeShellCommand(String.format("am force-stop %s", app)); in starting()
DCompilationFilterRule.java65 for (String app : mApplications) { in starting()
66 String response = executeShellCommand(String.format(COMPILE_CMD_FORMAT, filter, app)); in starting()
69 throw new RuntimeException(String.format("Failed to compile %s.", app)); in starting()
/platform_testing/utils/permissions/src/com/android/permissionutils/
DPermissionInstrumentation.java19 import android.app.Activity;
20 import android.app.Instrumentation;
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DDummyActivity.java19 import android.app.Activity;
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/app-start/
DREADME.md3 This statsd config collects app startup metrics.
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DGarbageCollectRuleTest.java72 public TestableGarbageCollectRule(String app) { in TestableGarbageCollectRule() argument
73 super(app); in TestableGarbageCollectRule()
DQuickstepPressureRuleTest.java73 public TestableQuickstepPressureRule(String app) { in TestableQuickstepPressureRule() argument
74 super(app); in TestableQuickstepPressureRule()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DNotificationHelper.java19 import android.app.IntentService;
20 import android.app.Notification;
21 import android.app.NotificationChannel;
22 import android.app.NotificationManager;
23 import android.app.PendingIntent;
24 import android.app.RemoteInput;
/platform_testing/tests/perf/BootHelperApp/src/com/android/boothelper/
DAwareActivity.java19 import android.app.Activity;
/platform_testing/tests/functional/testapks/permissiontestappmv1/src/com/android/permissontestappmv1/
DMainActivity.java20 import androidx.core.app.ActivityCompat;
33 import android.app.Activity;
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/app-compact/
DREADME.md3 This config collects app compaction metrics. Please see the `AppCompacted` atom in statsd's
/platform_testing/libraries/app-helpers/handheld/business-card-app-helper/src/android/platform/helpers/
DBusinessCardHelperImpl.java18 import android.app.Instrumentation;
/platform_testing/libraries/app-helpers/handheld/performance-launch-app-helper/src/android/platform/helpers/
DPerformanceLaunchHelperImpl.java18 import android.app.Instrumentation;
/platform_testing/libraries/app-helpers/handheld/business-card-app-helper/
DAndroid.bp18 name: "business-card-app-helper",
20 "app-helpers-handheld-interfaces",
/platform_testing/libraries/app-helpers/handheld/performance-launch-app-helper/
DAndroid.bp18 name: "performance-launch-app-helper",
20 "app-helpers-handheld-interfaces",
/platform_testing/tests/functional/testapks/applinktestapp/src/com/android/applinktestapp/
DMainActivity.java21 import android.app.Activity;
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/
DEmptyActivity.java19 import android.app.Activity;
/platform_testing/tests/health/scenarios/
DAndroid.bp21 "app-helpers-handheld-interfaces",
22 "handheld-app-helpers",
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
DNotificationHelper.java19 import static android.app.NotificationManager.IMPORTANCE_DEFAULT;
20 import static android.app.NotificationManager.IMPORTANCE_LOW;
22 import android.app.Instrumentation;
23 import android.app.IntentService;
24 import android.app.KeyguardManager;
25 import android.app.Notification;
26 import android.app.NotificationChannel;
27 import android.app.NotificationManager;
28 import android.app.PendingIntent;
29 import android.app.RemoteInput;

123456