/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tests/ |
D | WakelockAnomalyTest.java | 52 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in setUp() local 53 final Context context = instrumentation.getContext(); in setUp() 54 mDevice = UiDevice.getInstance(instrumentation); in setUp() 57 TestUtils.setUp(instrumentation); in setUp() 82 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in testWakelockAnomaly_longTimeWhileRunning_report() local 83 instrumentation.startActivitySync(new Intent(BATTERY_INTENT)); in testWakelockAnomaly_longTimeWhileRunning_report() 103 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in testWakelockAnomaly_shortTime_notReport() local 104 instrumentation.startActivitySync(new Intent(BATTERY_INTENT)); in testWakelockAnomaly_shortTime_notReport() 126 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in testWakelockAnomaly_longTimeWhileNotRunning_notReport() local 127 instrumentation.startActivitySync(new Intent(BATTERY_INTENT)); in testWakelockAnomaly_longTimeWhileNotRunning_notReport()
|
D | BluetoothAnomalyTest.java | 52 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in setUp() local 53 final Context context = instrumentation.getContext(); in setUp() 54 mDevice = UiDevice.getInstance(instrumentation); in setUp() 57 TestUtils.setUp(instrumentation); in setUp() 81 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in testBluetoothAnomaly_longScanningTime_reportAnomaly() local 82 instrumentation.startActivitySync(new Intent(BATTERY_INTENT)); in testBluetoothAnomaly_longScanningTime_reportAnomaly() 102 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in testBluetoothAnomaly_shortScanningTime_notReport() local 103 instrumentation.startActivitySync(new Intent(BATTERY_INTENT)); in testBluetoothAnomaly_shortScanningTime_notReport()
|
D | TestUtils.java | 37 public static void setUp(Instrumentation instrumentation) { in setUp() argument 38 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in setUp() 50 public static void tearDown(Instrumentation instrumentation) { in tearDown() argument 51 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in tearDown()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/batterytip/ |
D | RestrictAppTest.java | 70 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in batterySettings_hasOneAnomaly_showAnomaly() local 71 instrumentation.startActivitySync(new Intent(BATTERY_INTENT)); in batterySettings_hasOneAnomaly_showAnomaly() 85 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in batterySettings_hasTwoAnomalies_showAnomalies() local 86 instrumentation.startActivitySync(new Intent(BATTERY_INTENT)); in batterySettings_hasTwoAnomalies_showAnomalies() 100 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in batterySettings_hasAutoHandledAnomalies_showAutoHandled() local 101 instrumentation.startActivitySync(new Intent(BATTERY_INTENT)); in batterySettings_hasAutoHandledAnomalies_showAutoHandled()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | FallbackRecentsTest.java | 78 Instrumentation instrumentation = getInstrumentation(); in FallbackRecentsTest() local 79 Context context = instrumentation.getContext(); in FallbackRecentsTest() 80 mDevice = UiDevice.getInstance(instrumentation); in FallbackRecentsTest() 133 final Instrumentation instrumentation = getInstrumentation(); in startAppFast() local 134 final Intent intent = instrumentation.getContext().getPackageManager(). in startAppFast() 138 instrumentation.getTargetContext().startActivity(intent); in startAppFast()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/core/instrumentation/ |
D | InstrumentedActivity.java | 17 package com.android.tv.settings.core.instrumentation; 23 import com.android.settingslib.core.instrumentation.Instrumentable; 24 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider; 25 import com.android.settingslib.core.instrumentation.VisibilityLoggerMixin;
|
/packages/apps/Settings/src/com/android/settings/core/instrumentation/ |
D | InstrumentedDialogFragment.java | 16 package com.android.settings.core.instrumentation; 22 import com.android.settingslib.core.instrumentation.Instrumentable; 23 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider; 24 import com.android.settingslib.core.instrumentation.VisibilityLoggerMixin;
|
D | SettingsMetricsFeatureProvider.java | 17 package com.android.settings.core.instrumentation; 23 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider;
|
D | SettingsEventLogWriter.java | 17 package com.android.settings.core.instrumentation; 23 import com.android.settingslib.core.instrumentation.EventLogWriter;
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/instrumentation/ |
D | InstrumentedDialogFragment.java | 16 package com.android.car.developeroptions.core.instrumentation; 22 import com.android.settingslib.core.instrumentation.Instrumentable; 23 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider; 24 import com.android.settingslib.core.instrumentation.VisibilityLoggerMixin;
|
D | SettingsMetricsFeatureProvider.java | 17 package com.android.car.developeroptions.core.instrumentation; 21 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider;
|
/packages/apps/ManagedProvisioning/tests/ |
D | README | 1 To run all instrumentation tests: 4 To run all instrumentation tests in a specific class: 7 To run a specific instrumentation test: 10 To obtain a test coverage report for instrumentation tests:
|
/packages/services/Telecomm/scripts/ |
D | telecom_testing.sh | 55 local instrumentation= 61 instrumentation="androidx.test.runner.AndroidJUnitRunner";; 66 instrumentation="androidx.test.runner.AndroidJUnitRunner";; 124 adb shell am instrument --no-hidden-api-checks ${e_options} -w "$package_prefix/$instrumentation"
|
/packages/apps/Settings/src/com/android/settings/core/ |
D | InstrumentedFragment.java | 23 import com.android.settingslib.core.instrumentation.Instrumentable; 24 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider; 25 import com.android.settingslib.core.instrumentation.VisibilityLoggerMixin;
|
D | InstrumentedPreferenceFragment.java | 30 import com.android.settingslib.core.instrumentation.Instrumentable; 31 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider; 32 import com.android.settingslib.core.instrumentation.VisibilityLoggerMixin;
|
D | InstrumentedActivity.java | 22 import com.android.settingslib.core.instrumentation.Instrumentable; 23 import com.android.settingslib.core.instrumentation.VisibilityLoggerMixin;
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/ |
D | InstrumentedFragment.java | 23 import com.android.settingslib.core.instrumentation.Instrumentable; 24 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider; 25 import com.android.settingslib.core.instrumentation.VisibilityLoggerMixin;
|
D | InstrumentedPreferenceFragment.java | 30 import com.android.settingslib.core.instrumentation.Instrumentable; 31 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider; 32 import com.android.settingslib.core.instrumentation.VisibilityLoggerMixin;
|
D | InstrumentedActivity.java | 22 import com.android.settingslib.core.instrumentation.Instrumentable; 23 import com.android.settingslib.core.instrumentation.VisibilityLoggerMixin;
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/ |
D | WifiDppConfiguratorActivityTest.java | 185 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in launchScanner_onNavigateUp_shouldFinish() local 189 instrumentation.runOnMainSync(() -> { in launchScanner_onNavigateUp_shouldFinish() 203 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in launchGenerator_onNavigateUp_shouldFinish() local 207 instrumentation.runOnMainSync(() -> { in launchGenerator_onNavigateUp_shouldFinish()
|
D | WifiDppQrCodeScannerFragmentTest.java | 68 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in onPause_shouldNotDecodeQrCode() local 70 instrumentation.runOnMainSync(() -> { in onPause_shouldNotDecodeQrCode() 71 instrumentation.callActivityOnPause(hostActivity); in onPause_shouldNotDecodeQrCode()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | SettingsPreferenceFragment.java | 38 import com.android.settingslib.core.instrumentation.Instrumentable; 39 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider; 40 import com.android.settingslib.core.instrumentation.VisibilityLoggerMixin;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | AddAccessoryPreferenceFragment.java | 40 import com.android.settingslib.core.instrumentation.Instrumentable; 41 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider; 42 import com.android.settingslib.core.instrumentation.VisibilityLoggerMixin;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/instrumentation/ |
D | InstrumentedDialogFragmentTest.java | 16 package com.android.settings.core.instrumentation; 22 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider;
|
D | MetricsFeatureProviderTest.java | 16 package com.android.settings.core.instrumentation; 23 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider;
|