/external/autotest/tko/ |
job_serializer_unittest.py | 249 """Convert a protocol buffer repeated keyval object into a 256 return dict((keyval.name, keyval.value) for keyval in 260 def check_dict(self, dictionary, keyval): 262 repeated keyval pair. 265 @param keyval: The keyval object. 268 self.assertTrue(key in keyval); 269 self.assertEqual(str(value), keyval[key] [all...] |
models.py | 36 Read job keyval files. 38 @param dir: String name of directory containing job keyval files. 49 # Pull in and merge all the keyval files, with higher-level 51 keyval = {} 57 if 'hostname' in upper_keyval and 'hostname' in keyval: 59 keyval.update(upper_keyval) 61 pass # If the keyval can't be read just move on to the next. 67 return keyval 116 """Abstract method to load a list of iterations from a keyval file. 118 @param keyval_path: String path to a keyval file [all...] |
/external/autotest/client/tests/netpipe/ |
netpipe.py | 107 keyval = {'bandwidth':bandwidth, 'latency':latency} 108 self.write_iteration_keyval(attr, keyval)
|
/external/autotest/server/cros/chaos_lib/ |
chaos_parser.py | 121 @param filepath: the complete path to the keyval file 284 status.log and the keyval files. 293 keyval = None 300 elif name == 'keyval' and ('param-debug_info' in 302 # This is a keyval file for a single test and not a suite. 303 keyval = os.path.join(root, name) 307 if not keyval: 310 return {'status_file': status, 'keyval_file': keyval}
|
/external/autotest/client/site_tests/firmware_VbootCrypto/ |
firmware_VbootCrypto.py | 31 for keyval in results.splitlines(): 32 if keyval.strip().startswith('#'): 34 key, val = keyval.split(':')
|
/external/autotest/client/site_tests/graphics_WebGLAquarium/ |
graphics_WebGLAquarium.py | 202 keyval = power_logger.calc() 203 logging.info('Power output %s', keyval) 204 return keyval['result_' + measurements[0].domain + '_pwr']
|
/external/autotest/client/site_tests/video_HangoutHardwarePerf/ |
video_HangoutHardwarePerf.py | 136 keyval = self._power_logger.calc() 137 logging.info(keyval) 138 return keyval['result_' + self._system_power.domain + '_pwr']
|
/external/autotest/scheduler/ |
query_managers.py | 209 """Load suite_min_duts job keyval for a set of suites. 219 return dict((keyval.job_id, int(keyval.value)) for keyval in query)
|
/external/libnl/tests/ |
test-complex-HTB-with-hash-filters.c | 138 uint32_t keyval, uint32_t keymask, int keyoff, int keyoffmask, 145 //printf("Key Val : 0x%x\n", keyval); 169 rtnl_u32_add_key_uint32(cls, keyval, keymask, keyoff, keyoffmask); /* 10.0.0.0/8 */ 190 uint32_t keyval, uint32_t keymask, int keyoff, int keyoffmask, 197 //printf("Key Val : 0x%x\n", keyval); 222 rtnl_u32_add_key_uint32(cls, keyval, keymask, keyoff, keyoffmask);
|
test-u32-filter-with-actions.c | 103 uint32_t keyval, uint32_t keymask, int keyoff, int keyoffmask, 131 rtnl_u32_add_key_uint32(cls, keyval, keymask, keyoff, keyoffmask);
|
/external/autotest/client/site_tests/graphics_GLBench/ |
graphics_GLBench.py | 202 keyval, remainder = line[9:].split('[') 203 key, val = keyval.split('=')
|
/external/autotest/client/site_tests/video_PlaybackPerf/ |
video_PlaybackPerf.py | 225 keyval = power_logger.calc() 226 return keyval['result_' + measurements[0].domain + '_pwr']
|
/external/autotest/frontend/afe/ |
models_test.py | 516 for keyval in job['jobkeyval_set']: 517 keyval.pop('id') 520 keyval.pop('id')
|
/external/autotest/site_utils/ |
generate_test_report | 88 """Parses keyval file under testdir and return the perf keyval pairs. 92 @return dict of perf keyval pairs. 100 """Parses keyval file under testdir and return the attr keyval pairs. 104 @return dict of attr keyval pairs. 112 """Parses keyval file under testdir. 114 If testdir contains a result folder, process the keyval file and return 115 a dictionary of perf keyval pairs. 118 @param keyword: The keyword of keyval, either 'perf' or 'attr' [all...] |
gs_offloader.py | 138 keyval = models.test.parse_job_keyval(host) 141 build = keyval.get('build') 434 keyval = models.test.parse_job_keyval(host) 435 build = keyval.get('build') 436 suite = keyval.get('suite') 442 parent_job_id = str(keyval['parent_job_id']) [all...] |
/external/kmod/testsuite/ |
test-util.c | 202 .files = (const struct keyval[]) {
|
test-modprobe.c | 180 .env_vars = (const struct keyval[]) {
|
/external/autotest/client/site_tests/video_WebRtcPerf/ |
video_WebRtcPerf.py | 311 keyval = power_logger.calc() 312 return keyval['result_' + measurements[0].domain + '_pwr']
|
/external/autotest/client/tools/ |
html_report.py | [all...] |
/external/autotest/server/ |
test.py | 160 """Pulls sysinfo and keyval data from the client. 165 # pull the keyval data back into the local one 168 host.get_file(os.path.join(outputdir, "keyval"), path) 169 keyval = utils.read_keyval(path) 171 mytest.write_test_keyval(keyval)
|
/prebuilts/go/darwin-x86/src/cmd/go/ |
vcs.go | 323 // keyval is a list of key, value pairs. run expands 329 func (v *vcsCmd) run(dir string, cmd string, keyval ...string) error { 330 _, err := v.run1(dir, cmd, keyval, true) 335 func (v *vcsCmd) runVerboseOnly(dir string, cmd string, keyval ...string) error { 336 _, err := v.run1(dir, cmd, keyval, false) 341 func (v *vcsCmd) runOutput(dir string, cmd string, keyval ...string) ([]byte, error) { 342 return v.run1(dir, cmd, keyval, true) 346 func (v *vcsCmd) run1(dir string, cmdline string, keyval []string, verbose bool) ([]byte, error) { 348 for i := 0; i < len(keyval); i += 2 { 349 m[keyval[i]] = keyval[i+1 [all...] |
/prebuilts/go/linux-x86/src/cmd/go/ |
vcs.go | 323 // keyval is a list of key, value pairs. run expands 329 func (v *vcsCmd) run(dir string, cmd string, keyval ...string) error { 330 _, err := v.run1(dir, cmd, keyval, true) 335 func (v *vcsCmd) runVerboseOnly(dir string, cmd string, keyval ...string) error { 336 _, err := v.run1(dir, cmd, keyval, false) 341 func (v *vcsCmd) runOutput(dir string, cmd string, keyval ...string) ([]byte, error) { 342 return v.run1(dir, cmd, keyval, true) 346 func (v *vcsCmd) run1(dir string, cmdline string, keyval []string, verbose bool) ([]byte, error) { 348 for i := 0; i < len(keyval); i += 2 { 349 m[keyval[i]] = keyval[i+1 [all...] |
/external/autotest/client/site_tests/power_LoadTest/ |
power_LoadTest.py | 609 def _energy_use_from_powerlogger(self, keyval): 615 keyval: the dictionary of keyvals containing PowerLogger output 626 if duration_key not in keyval or avg_power_key not in keyval: 628 energy_wh += keyval[duration_key] * keyval[avg_power_key] / 3600
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
firmware_window.py | 411 def create_key_press_event(self, keyval): 416 event.keyval = keyval
|
/external/autotest/client/common_lib/ |
utils.py | 466 directory name, we assume you want the file to be called keyval. 473 path = os.path.join(path, 'keyval') 482 keyval = {} 496 keyval[key] = value 500 return keyval 519 path = os.path.join(path, 'keyval') 520 keyval = open(path, 'a') 533 keyval.write('%s=%s\n' % (key, dictionary[key])) 535 keyval.close() [all...] |