Lines Matching refs:getDevice
78 HostFlagsValueProvider.createCheckFlagsRule(this::getDevice);
82 ConfigUtils.removeConfig(getDevice()); in setUp()
83 ReportUtils.clearReports(getDevice()); in setUp()
84 getDevice().deleteFile(CONFIG_DIR + CONFIG_NAME); in setUp()
86 getDevice().executeShellCommand("killall uprobestats"); in setUp()
106 ITestDevice device = getDevice(); in startUprobeStats()
107 assertThat(getDevice().enableAdbRoot()).isTrue(); in startUprobeStats()
108 assertThat(getDevice().pushFile(tmp, CONFIG_DIR + CONFIG_NAME)).isTrue(); in startUprobeStats()
114 ConfigUtils.uploadConfig(getDevice(), configBuilder); in startUprobeStats()
159 DeviceUtils.setChargingState(getDevice(), 2); in batteryStats()
165 ReportUtils.getEventMetricDataList(getDevice(), mRegistry); in batteryStats()
179 assumeTrue(CpuFeatures.isArm64(getDevice())); in updateDeviceIdleTempAllowlist()
185 getDevice().executeShellCommand("cmd deviceidle tempwhitelist com.google.android.tts"); in updateDeviceIdleTempAllowlist()
191 ReportUtils.getEventMetricDataList(getDevice(), mRegistry); in updateDeviceIdleTempAllowlist()