/device/google/contexthub/util/nanotool/ |
calibrationfile.cpp | 120 AString json_str = json_root_->toString(); local 121 LOGD("Saving JSONObject to file (%zd bytes):\n%s", json_str.size(), 122 json_str.c_str()); 124 ssize_t bytes_written = file_->write(json_str.c_str(), json_str.size()); 125 if (bytes_written < 0 || static_cast<size_t>(bytes_written) != json_str.size()) { 126 LOGE("Write returned %zd, expected %zu", bytes_written, json_str.size());
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/ |
devshell.py | 84 len_str, json_str = header.split('\n', 1) 85 to_read = int(len_str) - len(json_str) 87 json_str += sock.recv(to_read, socket.MSG_WAITALL).decode() 89 return CredentialInfoResponse(json_str)
|
/external/autotest/server/site_tests/autoupdate_EndToEndTest/ |
update_engine_performance_monitor.py | 251 json_str = monitor.run(signal.SIGTERM) variable 253 if json_str: 255 fifo.write(json_str) 270 json_str = fifo.read() variable 271 print json_str 277 json_str = monitor.run(signal.SIGINT) variable 278 if json_str: 279 print json_str
|
/system/update_engine/update_manager/ |
evaluation_context.cc | 244 string json_str; 246 value, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json_str); 247 base::TrimWhitespaceASCII(json_str, base::TRIM_TRAILING, &json_str); 249 return json_str;
|
/tools/test/connectivity/acts/framework/acts/ |
records.py | 176 def json_str(self): member in class:TestResultRecord 273 def json_str(self): member in class:TestResult 293 json_str = json.dumps(d, indent=4, sort_keys=True) 294 return json_str
|
test_runner.py | 408 f.write(self.results.json_str())
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
graph_json_test.py | 117 self, json_str, num_rows, num_cols, start_rev, end_rev, step=3): 131 json_str: The JSON string to check. 139 flot = json.loads(json_str) 309 json_str = graph_json.GetGraphJson( 315 flot = json.loads(json_str) 333 json_str = graph_json.GetGraphJson( 339 flot = json.loads(json_str) 367 json_str = graph_json.GetGraphJson( 373 flot = json.loads(json_str) 399 json_str = graph_json.GetGraphJson [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
extra_types_test.py | 151 def JtoM(class_type, json_str): 152 return encoding.JsonToMessage(class_type, json_str)
|
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/ |
json_util.py | 136 def from_json_str(cls, json_str): 140 json_str: json representation as string. 145 return cls.from_json(json.loads(json_str, cls=JsonDecoder))
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
tab_complete.py | 148 json_str = json.dumps({ 157 fp.write(json_str)
|
/tools/test/connectivity/acts/framework/tests/ |
acts_records_test.py | 59 self.assertTrue(record.json_str(), ("json str of the record should "
|