/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/collectors/ |
D | DeviceCollectorsTest.java | 70 new RemoteAndroidTestRunner(PACKAGE_NAME, AJUR_RUNNER, getDevice().getIDevice()); in setUp() 75 doReturn(Arrays.asList(getDevice())).when(mContext).getDevices(); in setUp() 87 assertTrue(getDevice().runInstrumentationTests(mTestRunner, listener)); in testBaseListenerRuns() 114 assertTrue(getDevice().runInstrumentationTests(mTestRunner, listener)); in testBaseListenerRuns_withExcludeFilters() 144 assertTrue(getDevice().runInstrumentationTests(mTestRunner, listener)); in testBaseListenerRuns_withIncludeAndExcludeFilters() 174 assertTrue(getDevice().runInstrumentationTests(mTestRunner, listener)); in testBaseListenerRuns_withIncludeFilters() 210 assertTrue(getDevice().runInstrumentationTests(mTestRunner, listener)); in testScheduledListenerRuns() 233 assertTrue(getDevice().runInstrumentationTests(mTestRunner, listener)); in testScheduledListenerRuns_defaultValue()
|
D | ScreenshotOnFailureCollectorHostTest.java | 67 new RemoteAndroidTestRunner(PACKAGE_NAME, AJUR_RUNNER, getDevice().getIDevice()); in setUp() 70 doReturn(Arrays.asList(getDevice())).when(mContext).getDevices(); in setUp() 110 assertTrue(getDevice().runInstrumentationTests(mTestRunner, collector)); in testScreenshotListener()
|
D | BatterystatsCollectorHostTest.java | 76 new RemoteAndroidTestRunner(PACKAGE_NAME, AJUR_RUNNER, getDevice().getIDevice()); in setUp() 78 doReturn(Arrays.asList(getDevice())).when(mContext).getDevices(); in setUp() 120 assertTrue(getDevice().runInstrumentationTests(mTestRunner, collector)); in testBatteryStatsListener_perRun() 167 assertTrue(getDevice().runInstrumentationTests(mTestRunner, collector)); in testBatteryStatsListener_perTest()
|
D | LogcatCollectorHostTest.java | 75 doReturn(Arrays.asList(getDevice())).when(mContext).getDevices(); in setUp()
|
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/loggers/ |
D | DeviceFileLoggerHostTest.java | 62 new RemoteAndroidTestRunner(PACKAGE_NAME, AJUR_RUNNER, getDevice().getIDevice()); in setUp() 66 doReturn(Arrays.asList(getDevice())).when(mContext).getDevices(); in setUp() 75 assertTrue(getDevice().runInstrumentationTests(mTestRunner, listener)); in testFileIsLogged()
|
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/ |
D | HandheldHelperTest.java | 26 getDevice().setOrientationNatural(); in initialize()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | ScreenRecordCollector.java | 134 public UiDevice getDevice() { in getDevice() method in ScreenRecordCollector 170 getDevice() in run() 184 String[] pids = getDevice().executeShellCommand("pidof screenrecord").split(" "); in cancel() 191 getDevice().executeShellCommand(String.format("kill -2 %s", pid)); in cancel()
|
D | ScreenshotOnFailureCollector.java | 176 getDevice().dumpWindowHierarchy(uixFile); in collectUiXml() 184 private UiDevice getDevice() { in getDevice() method in ScreenshotOnFailureCollector
|
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/ |
D | SfStatsCollectionHelper.java | 76 getDevice().executeShellCommand(SFSTATS_COMMAND_ENABLE_AND_CLEAR); in startCollecting() 89 output = getDevice().executeShellCommand(SFSTATS_COMMAND_DUMP); in getMetrics() 154 getDevice().executeShellCommand(SFSTATS_COMMAND_DISABLE_AND_CLEAR); in stopCollecting() 164 protected UiDevice getDevice() { in getDevice() method in SfStatsCollectionHelper
|
D | JankCollectionHelper.java | 279 String output = getDevice().executeShellCommand(command); in clearGfxInfo() 285 String output = getDevice().executeShellCommand(command); in clearGfxInfo() 306 String output = getDevice().executeShellCommand(command); in getGfxInfoMetrics() 365 protected UiDevice getDevice() { in getDevice() method in JankCollectionHelper
|
D | BinderCollectionHelper.java | 92 getDevice() in getMetrics() 126 protected UiDevice getDevice() { in getDevice() method in BinderCollectionHelper
|
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/ |
D | ProcLoadHelper.java | 99 String output = getDevice().executeShellCommand(LOAD_CMD); in getProcLoadInLastMinute() 121 private UiDevice getDevice() { in getDevice() method in ProcLoadHelper
|
D | TimeInStateHelper.java | 68 result = getDevice().executeShellCommand(cmd); in setUp() 99 protected UiDevice getDevice() { in getDevice() method in TimeInStateHelper 133 timeInStateData = getDevice().executeShellCommand(cmd); in readFreqStats()
|
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/ |
D | ThermalHelper.java | 72 String[] output = getDevice().executeShellCommand(DUMP_THERMALSERVICE_CMD).split("\n"); in startCollecting() 133 String output = getDevice().executeShellCommand(DUMP_THERMALSERVICE_CMD); in updateTemperatureMetrics() 241 private UiDevice getDevice() { in getDevice() method in ThermalHelper
|
/platform_testing/libraries/collectors-helper/jank/test/src/com/android/helpers/ |
D | BinderCollectionHelperTest.java | 94 when(mHelper.getDevice()).thenReturn(mUiDevice); in setUp()
|
D | SfStatsCollectionHelperTest.java | 141 when(mHelper.getDevice()).thenReturn(mUiDevice); in setUp()
|
D | JankCollectionHelperTest.java | 104 when(mHelper.getDevice()).thenReturn(mUiDevice); in setUp()
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/ |
D | HelperTest.java | 128 public UiDevice getDevice() { in getDevice() method in HelperTest
|
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/generic/ |
D | OpenAppsFromHome.java | 88 sLauncher.getDevice().executeShellCommand("pm clear com.google.android.apps.nexuslauncher"); in closeAppAndRemoveIcon()
|
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | ScreenRecordCollectorTest.java | 93 doReturn(mDevice).when(listener).getDevice(); in initListener()
|