Searched refs:testDevice (Results 1 – 4 of 4) sorted by relevance
77 public static DeviceFlags createDeviceFlags(ITestDevice testDevice) throws FlagReadException { in createDeviceFlags() argument79 deviceFlags.init(testDevice); in createDeviceFlags()93 public void init(ITestDevice testDevice) throws FlagReadException { in init() argument97 getDeviceConfigFlags(testDevice); in init()98 getAconfigFlags(testDevice); in init()102 private void getDeviceConfigFlags(ITestDevice testDevice) throws FlagReadException { in getDeviceConfigFlags() argument104 String deviceConfigList = testDevice.executeShellCommand(DUMP_DEVICE_CONFIG_CMD); in getDeviceConfigFlags()118 private void getAconfigFlags(ITestDevice testDevice) throws FlagReadException { in getAconfigFlags() argument119 getAconfigParsedFlags(testDevice) in getAconfigFlags()146 private parsed_flags getAconfigParsedFlags(ITestDevice testDevice) throws FlagReadException { in getAconfigParsedFlags() argument[all …]
83 ITestDevice testDevice = mTestDeviceSupplier.get(); in setUp() local84 TEST_DEVICES.put(testDevice.getSerialNumber(), testDevice); in setUp() local87 mDeviceFlags = CACHED_DEVICE_FLAGS.get(testDevice.getSerialNumber()); in setUp()
164 private void reversePort(ITestDevice testDevice, int destinationPort) { in reversePort() argument171 testDevice.getSerialNumber(), Defaults.DEVICE_PORT, destinationPort)); in reversePort()174 testDevice.executeAdbCommand( in reversePort()185 private void undoPortReversals(ITestDevice testDevice) { in undoPortReversals() argument190 testDevice.getSerialNumber())); in undoPortReversals()193 testDevice.executeAdbCommand(REVERSE_COMMAND, UNDO_REVERSALS_ARGUMENT); in undoPortReversals()198 testDevice.getSerialNumber())); in undoPortReversals()
151 ITestDevice testDevice = testInfo.getDevice(); in beforeClassWithDevice() local153 testDevice.enableAdbRoot(); in beforeClassWithDevice()154 testDevice.setDate(null); in beforeClassWithDevice()155 testDevice.nonBlockingReboot(); in beforeClassWithDevice()156 testDevice.waitForDeviceOnline(); in beforeClassWithDevice()157 testDevice.waitForDeviceAvailable(0); in beforeClassWithDevice()