Home
last modified time | relevance | path

Searched refs:instrumentation (Results 1 – 25 of 385) sorted by relevance

12345678910>>...16

/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tests/
DWakelockAnomalyTest.java52 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()
DBluetoothAnomalyTest.java52 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()
DTestUtils.java37 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/
DRestrictAppTest.java70 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/
DFallbackRecentsTest.java78 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/
DInstrumentedActivity.java17 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/
DInstrumentedDialogFragment.java16 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;
DSettingsMetricsFeatureProvider.java17 package com.android.settings.core.instrumentation;
23 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider;
DSettingsEventLogWriter.java17 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/
DInstrumentedDialogFragment.java16 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;
DSettingsMetricsFeatureProvider.java17 package com.android.car.developeroptions.core.instrumentation;
21 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider;
/packages/apps/ManagedProvisioning/tests/
DREADME1 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/
Dtelecom_testing.sh55 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/
DInstrumentedFragment.java23 import com.android.settingslib.core.instrumentation.Instrumentable;
24 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider;
25 import com.android.settingslib.core.instrumentation.VisibilityLoggerMixin;
DInstrumentedPreferenceFragment.java30 import com.android.settingslib.core.instrumentation.Instrumentable;
31 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider;
32 import com.android.settingslib.core.instrumentation.VisibilityLoggerMixin;
DInstrumentedActivity.java22 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/
DInstrumentedFragment.java23 import com.android.settingslib.core.instrumentation.Instrumentable;
24 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider;
25 import com.android.settingslib.core.instrumentation.VisibilityLoggerMixin;
DInstrumentedPreferenceFragment.java30 import com.android.settingslib.core.instrumentation.Instrumentable;
31 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider;
32 import com.android.settingslib.core.instrumentation.VisibilityLoggerMixin;
DInstrumentedActivity.java22 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/
DWifiDppConfiguratorActivityTest.java185 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()
DWifiDppQrCodeScannerFragmentTest.java68 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/
DSettingsPreferenceFragment.java38 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/
DAddAccessoryPreferenceFragment.java40 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/
DInstrumentedDialogFragmentTest.java16 package com.android.settings.core.instrumentation;
22 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider;
DMetricsFeatureProviderTest.java16 package com.android.settings.core.instrumentation;
23 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider;

12345678910>>...16