/platform_testing/libraries/app-helpers/interfaces/ |
D | Android.bp | 18 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/ |
D | CommonLauncherHelper.java | 96 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()
|
D | VolvoLauncherStrategy.java | 18 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()
|
D | AutoLauncherStrategy.java | 18 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 …]
|
D | TvLauncherStrategy.java | 19 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/ |
D | Android.bp | 16 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/ |
D | KillAppsRule.java | 49 for (String app : mApplications) { in starting() 50 executeShellCommand(String.format("am force-stop %s", app)); in starting()
|
D | CompilationFilterRule.java | 65 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/ |
D | PermissionInstrumentation.java | 19 import android.app.Activity; 20 import android.app.Instrumentation;
|
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/ |
D | DummyActivity.java | 19 import android.app.Activity;
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/app-start/ |
D | README.md | 3 This statsd config collects app startup metrics.
|
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/ |
D | GarbageCollectRuleTest.java | 72 public TestableGarbageCollectRule(String app) { in TestableGarbageCollectRule() argument 73 super(app); in TestableGarbageCollectRule()
|
D | QuickstepPressureRuleTest.java | 73 public TestableQuickstepPressureRule(String app) { in TestableQuickstepPressureRule() argument 74 super(app); in TestableQuickstepPressureRule()
|
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
D | NotificationHelper.java | 19 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/ |
D | AwareActivity.java | 19 import android.app.Activity;
|
/platform_testing/tests/functional/testapks/permissiontestappmv1/src/com/android/permissontestappmv1/ |
D | MainActivity.java | 20 import androidx.core.app.ActivityCompat; 33 import android.app.Activity;
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/app-compact/ |
D | README.md | 3 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/ |
D | BusinessCardHelperImpl.java | 18 import android.app.Instrumentation;
|
/platform_testing/libraries/app-helpers/handheld/performance-launch-app-helper/src/android/platform/helpers/ |
D | PerformanceLaunchHelperImpl.java | 18 import android.app.Instrumentation;
|
/platform_testing/libraries/app-helpers/handheld/business-card-app-helper/ |
D | Android.bp | 18 name: "business-card-app-helper", 20 "app-helpers-handheld-interfaces",
|
/platform_testing/libraries/app-helpers/handheld/performance-launch-app-helper/ |
D | Android.bp | 18 name: "performance-launch-app-helper", 20 "app-helpers-handheld-interfaces",
|
/platform_testing/tests/functional/testapks/applinktestapp/src/com/android/applinktestapp/ |
D | MainActivity.java | 21 import android.app.Activity;
|
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/ |
D | EmptyActivity.java | 19 import android.app.Activity;
|
/platform_testing/tests/health/scenarios/ |
D | Android.bp | 21 "app-helpers-handheld-interfaces", 22 "handheld-app-helpers",
|
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
D | NotificationHelper.java | 19 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;
|