/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | ManagedTestDeviceFactoryTest.java | 81 String response = ManagedTestDeviceFactory.EXPECTED_RES + "\n"; in testFrameworkAvailable() 82 cor.addOutput(response.getBytes(), 0, response.length()); in testFrameworkAvailable() 107 String response = "ls: /system/bin/pm: No such file or directory\n"; in testFrameworkNotAvailable() 108 cor.addOutput(response.getBytes(), 0, response.length()); in testFrameworkNotAvailable() 133 String response = ""; in testCheckFramework_emptyReturns() 134 cor.addOutput(response.getBytes(), 0, response.length()); in testCheckFramework_emptyReturns()
|
D | MockTestDeviceHelper.java | 40 final String response, boolean asStub) throws Exception { in injectShellResponse() argument 46 byte[] inputData = response.getBytes(); in injectShellResponse() 84 final int expectedRetryAttempts, final String response, boolean asStub) in injectShellResponse() argument 91 byte[] inputData = response.getBytes(); in injectShellResponse()
|
D | MockDeviceHelper.java | 38 IDevice mockDevice, final String expectedCommand, final String response, boolean asStub) in injectShellResponse() argument 46 byte[] inputData = response.getBytes(); in injectShellResponse()
|
/tools/repohooks/rh/ |
D | terminal.py | 185 response = get_input(prompt).lower() 189 response = None 195 if not response: 197 if true_value.startswith(response): 198 if not false_value.startswith(response): 201 elif false_value.startswith(response):
|
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/ |
D | Sl4aEventDispatcher.java | 70 Object response = mClient.rpcCall("eventWait", mTimeout); in internalPolling() local 71 if (response == null) { in internalPolling() 74 EventSl4aObject event = new EventSl4aObject(new JSONObject(response.toString())); in internalPolling() 206 public EventSl4aObject(JSONObject response) throws JSONException { in EventSl4aObject() argument 207 mName = response.getString("name"); in EventSl4aObject() 208 mData = response.get("data").toString(); in EventSl4aObject() 209 mTime = response.getLong("time"); in EventSl4aObject()
|
D | Sl4aClient.java | 231 String response = in.readLine(); in sendCommand() local 232 return response; in sendCommand() 249 String response = in.readLine(); in sendThroughSocket() local 250 CLog.d("response: '%s'", response); in sendThroughSocket() 252 JSONObject resp = new JSONObject(response); in sendThroughSocket()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/sl4a/ |
D | FakeSocketServerHelper.java | 65 String response = in.readLine(); in run() local 66 if (response != null) { in run() 67 if (response.contains("initiate")) { in run() 71 } else if (response.contains("getBoolean")) { in run()
|
/tools/tradefederation/core/prod-tests/src/com/android/tradefed/ |
D | Sl4aBluetoothDiscovery.java | 76 EventSl4aObject response = clientDut.getEventDispatcher() in setup() local 78 Assert.assertNotNull(response); in setup() 79 response = clientDiscoverer.getEventDispatcher() in setup() 81 Assert.assertNotNull(response); in setup() 116 JSONArray response = (JSONArray) listDiscovered; in run() local 118 for (int i = 0; i < response.length(); i++) { in run() 119 JSONObject j = response.getJSONObject(i); in run()
|
/tools/test/connectivity/tools/lab/reporters/ |
D | logger_reporter.py | 48 for response in metric_responses[metric]: 49 extra['response_key'] = response 50 extra['response_val'] = metric_responses[metric][response]
|
/tools/test/connectivity/tools/lab/metrics/ |
D | cpu_metric.py | 36 response = { 39 return response
|
D | name_metric.py | 37 response = { 40 return response
|
D | time_metric.py | 39 response = { 42 return response
|
D | num_users_metric.py | 37 response = {self.NUM_USERS: int(result)} 38 return response
|
D | time_sync_metric.py | 40 response = { 43 return response
|
D | system_load_metric.py | 39 response = { 44 return response
|
D | uptime_metric.py | 47 response = { 51 return response
|
D | ram_metric.py | 54 response = { 62 return (response)
|
D | read_metric.py | 83 response = { 87 return response
|
D | process_time_metric.py | 77 response = { 83 return response
|
/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/acloud/internal/lib/ |
D | base_cloud_client.py | 235 def _CallBack(request_id, response, exception): argument 236 results[request_id] = (response, self._TranslateError(exception)) 321 response = self.Execute(api) 322 items.extend(response.get("items", [])) 323 next_page_token = response.get("nextPageToken")
|
D | base_cloud_client_test.py | 83 response=rid_to_responses.get(rid), 103 response = {"name": "fake_response"} 106 responses = {"r1": response, "r2": None, "r3": None} 112 "r1": (response, None),
|
D | gstorage_client.py | 99 response = self.Execute(request) 100 logger.info("Uploaded artifact: %s", response["selfLink"]) 101 return response
|
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/ |
D | rpc_client.py | 208 response = '' 214 response = connection.get_response() 215 self._log.debug('Received: %s', response) 216 if not response: 241 result = json.loads(str(response, encoding='utf8'))
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/net/ |
D | XmlRpcHelperTest.java | 63 String response = String.format(RESPONSE_TEMPLATE, in testParse_multiValue() local 73 resp = XmlRpcHelper.parseResponseTuple(new ByteArrayInputStream(response.getBytes())); in testParse_multiValue()
|