/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/ |
D | wifi_datastore_utils.py | 58 response = requests.post(request, 63 if response.json()['result'] == 'success': 78 response = requests.put(request, 82 if result_str in response.text: 98 response = requests.put(request, 101 if response.json()['result']: 116 response = requests.put(request, 119 if response.json()['result']: 134 response = requests.get(request) 135 if 'error' in response.text: [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/lib_controllers/ |
D | wlan_policy_controller.py | 67 response = self.device.basemgr_lib.killBasemgr() 68 if not response.get('error'): 71 self.log.debug(response['error']) 78 response = self.device.session_manager_lib.pauseSession() 79 if response.get('error'): 81 raise WlanPolicyControllerError(response['error']) 83 if response.get('result') == 'Success': 91 response = self.device.wlan_policy_lib.wlanCreateClientController() 92 if response.get('error'): 93 controller_errors.append(response['error']) [all …]
|
D | wlan_controller.py | 75 response = self.device.wlan_lib.wlanGetIfaceIdList() 76 if response.get('error'): 78 response['error']) 80 wlan_iface_ids = response.get('result', []) 87 response = self.device.wlan_lib.wlanQueryInterface(id) 88 if response.get('error'): 91 (id, response['error'])) 93 mac = response['result'].get('sta_addr', None) 98 mac = response['result'].get('mac_addr') 101 mac)] = response['result']
|
D | netstack_controller.py | 40 response = self.device.netstack_lib.netstackListInterfaces() 41 if response.get('error'): 44 response['error']) 45 return response['result']
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/ |
D | hardware_power_statecontrol_lib.py | 43 response = self.send_command(test_id, 51 return response 64 response = self.send_command(test_id, 71 return response 84 response = self.send_command(test_id, 91 return response 104 response = self.send_command(test_id, 111 return response 124 response = self.send_command(test_id, 131 return response
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/facade/ |
D | WlanDeprecatedConfigurationTest.py | 80 response = self.dut.device.wlan_ap_policy_lib.wlanStartAccessPoint( 83 if response.get('error'): 85 response['error']) 94 response = self.dut.device.wlan_ap_policy_lib.wlanStopAllAccessPoint() 95 if response.get('error'): 97 response['error']) 110 response = (self.dut.device.wlan_deprecated_configuration_lib. 112 if response.get('error'): 114 (mac_addr, response['error']))
|
/tools/acloud/create/ |
D | remote_image_remote_instance.py | 96 response = oxygen_client.OxygenClient.LeaseDevice( 106 session_id, server_url = self._GetDeviceInfoFromResponse(response) 111 response = e.output 123 match = _RE_OXYGEN_LEASE_ERROR.match(response) 125 response = match.group("error").strip() 129 reporter.AddError(response) 134 def _GetDeviceInfoFromResponse(response): argument 146 for line in response.splitlines(): 153 for line in response.splitlines():
|
/tools/acloud/internal/lib/ |
D | oxygen_client.py | 59 response = subprocess.check_output( 61 logger.debug("The response from oxygen client: %s", response) 62 return response 73 response = subprocess.check_output([ 77 logger.debug("The response from oxygen client: %s", response)
|
D | base_cloud_client.py | 245 def _CallBack(request_id, response, exception): argument 246 results[request_id] = (response, self._TranslateError(exception)) 330 response = self.Execute(api) 331 items.extend(response.get("items", [])) 332 next_page_token = response.get("nextPageToken")
|
D | gcompute_client_test.py | 402 request_id=rid, response=mock.MagicMock(), exception=None) 460 response = {"items": [image]} 461 self.Patch(gcompute_client.ComputeClient, "Execute", side_effect=[response]) 490 response = {"items": {'zones/fake_zone': {"instances": [instance_1, instance_2]}}} 494 side_effect=[response]) 512 response = {"items": {'zones/fake_zone': {"instances": [instance_1]}}} 516 side_effect=[response]) 522 response = {"items": {'zones/fake_zone': {"warning": "No instances."}}} 526 side_effect=[response]) 1107 def _GetSerialPortOutputTestHelper(self, response): argument [all …]
|
D | base_cloud_client_test.py | 82 response=rid_to_responses.get(rid), 100 response = {"name": "fake_response"} 103 responses = {"r1": response, "r2": None, "r3": None} 109 "r1": (response, None),
|
D | gstorage_client.py | 97 response = self.Execute(request) 98 logger.info("Uploaded artifact: %s", response["selfLink"]) 99 return response
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/ |
D | apollo_lib.py | 330 response = [] 335 return response 367 response.append(types) 369 return response 443 response = self.cmd('GetBatt') 444 for line in response[0]: 459 response = self.cmd('I2CRead 2 0x29') 460 for line in response[0]: 474 response = self.cmd('I2CRead 2 0x2A') 475 for line in response[0]: [all …]
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/functional/ |
D | ChannelSwitchTest.py | 310 response = self.dut.device.wlan_ap_policy_lib.wlanStartAccessPoint( 312 if response.get('error'): 314 response['error']) 323 response = self.dut.device.wlan_ap_policy_lib.wlanStopAllAccessPoint() 324 if response.get('error'): 327 response['error'])
|
D | SoftApTest.py | 237 response = self.dut.device.wlan_ap_policy_lib.wlanStartAccessPoint( 239 if response.get('error'): 241 response['error']) 259 response = self.dut.device.wlan_ap_policy_lib.wlanStopAccessPoint( 261 if response.get('error'): 263 response['error']) 271 response = self.dut.device.wlan_ap_policy_lib.wlanStopAllAccessPoint() 272 if response.get('error'): 275 response['error'])
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | native.py | 59 response = self.client.readline() 60 if not response: 64 str(response, encoding="utf8").rstrip().replace("\x00", ""))
|
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/ |
D | rpc_client.py | 256 response = '' 261 response = connection.get_response() 262 if not response: 304 result = json.loads(str(response, encoding='utf8'))
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan_policy/ |
D | StartStopClientConnectionsTest.py | 86 response = result_connect.get("result") 87 if response != expected_response: 90 % (expected_response, response))
|
/tools/test/connectivity/acts_tests/tests/google/bt/performance/ |
D | BtA2dpOtaRangeTest.py | 62 response = self.axis.query("*opc?\n") 63 if (response == '1'): 66 response = self.axis.query("CP?\n") 77 response = self.axis.query("*opc?\n") 78 if (response == '1'):
|
/tools/asuite/atest/ |
D | asuite_metrics.py | 64 response = urlopen(request, timeout=_METRICS_TIMEOUT) 65 content = response.read()
|
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/ |
D | mg3710a.py | 98 response = result.decode('utf-8') 99 self.log.info('<-- {}'.format(response)) 100 return response
|
/tools/asuite/atest-py2/ |
D | asuite_metrics.py | 68 response = urlopen(request, timeout=_METRICS_TIMEOUT) 69 content = response.read()
|
/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/ |
D | rpc_connection_test.py | 47 def mock_rpc_connection(response=MOCK_RESP, argument 50 fake_file = MockSocketFile(response)
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/abstract_devices/ |
D | wlan_device.py | 485 response = self.status() 486 if response.get('error'): 489 result = response.get('result')
|
/tools/asuite/atest-py2/metrics/ |
D | clearcut_client.py | 160 response = urlopen(request) 161 msg = response.read()
|