Searched refs:FromDict (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
H A Dsystem_info.py14 self._gpu = gpu_info.GPUInfo.FromDict(gpu_dict)
17 def FromDict(cls, attrs): member in class:SystemInfo
H A Dgpu_device_unittest.py23 device = gpu_device.GPUDevice.FromDict(dictionary)
41 gpu_device.GPUDevice.FromDict(data_copy)
H A Dgpu_info.py18 self._devices = [gpu_device.GPUDevice.FromDict(d) for d in device_array]
24 def FromDict(cls, attrs): member in class:GPUInfo
H A Dsystem_info_unittest.py23 info = system_info.SystemInfo.FromDict(data)
45 info = system_info.SystemInfo.FromDict(data)
63 system_info.SystemInfo.FromDict(data_copy)
H A Dgpu_info_unittest.py33 info = gpu_info.GPUInfo.FromDict(data)
66 gpu_info.GPUInfo.FromDict(data_copy)
79 gpu_info.GPUInfo.FromDict(data)
H A Dgpu_device.py38 def FromDict(cls, attrs): member in class:GPUDevice
/external/chromium-trace/catapult/tracing/tracing/mre/
H A Djob.py33 def FromDict(job_dict): member in class:Job
35 function_handle.FunctionHandle.FromDict(
H A Dfunction_handle_unittest.py47 mtl0 = function_handle.ModuleToLoad.FromDict(module_dict0)
48 mtl1 = function_handle.ModuleToLoad.FromDict(module_dict1)
83 handle = function_handle.FunctionHandle.FromDict(handle_dict)
H A Dfunction_handle.py37 def FromDict(module_dict): member in class:ModuleToLoad
110 def FromDict(handle_dict): member in class:FunctionHandle
112 modules_to_load = [ModuleToLoad.FromDict(module_dict) for module_dict in
H A Dfailure.py40 def FromDict(failure_dict, job, failure_names_to_constructors=None): member in class:Failure
H A Dfailure_unittest.py49 failure = failure_module.Failure.FromDict(failure_dict, job)
/external/chromium-trace/catapult/telemetry/telemetry/value/
H A Dvalue_unittest.py63 def FromDict(value_dict, page_dict): member in class:ValueForFromDictTest
200 v = value.Value.FromDict(d, None)
216 v = value.Value.FromDict(d, page_dict)
230 v = value.Value.FromDict(d, page_dict)
241 v = value.Value.FromDict(d, {})
253 v = value.Value.FromDict(d, {})
263 v = value.Value.FromDict(d, {})
275 v = value.Value.FromDict(d, {})
285 v = value.Value.FromDict(d, {})
298 v = value.Value.FromDict(
[all...]
H A Dcommon_value_helpers.py41 return scalar.ScalarValue.FromDict(scalar_value, {page.id: page})
H A Dhistogram_unittest.py96 v = value.Value.FromDict(d, {})
111 v = value.Value.FromDict(d, {})
133 v0, v1 = value.Value.FromDict(d1, {}), value.Value.FromDict(d2, {})
H A Dscalar_unittest.py157 v = value.Value.FromDict(d, {})
172 v = value.Value.FromDict(d, {})
185 v = value.Value.FromDict(d, {})
200 v = value.Value.FromDict(d, {})
H A Dskip.py55 def FromDict(value_dict, page_dict): member in class:SkipValue
H A Dskip_unittest.py57 v = value.Value.FromDict(d, {})
H A Dfailure.py82 def FromDict(value_dict, page_dict): member in class:FailureValue
H A Dfailure_unittest.py69 v = value.Value.FromDict(d, {})
H A Dlist_of_scalar_values_unittest.py218 v = value.Value.FromDict(d, {})
234 v = value.Value.FromDict(d, {})
248 v = value.Value.FromDict(d, {})
263 v = value.Value.FromDict(d, {})
H A D__init__.py229 def FromDict(value_dict, page_dict): member in class:Value
249 efficiently, where FromDict is meant to handle one-offs.
265 assert 'FromDict' in value_class.__dict__, \
266 'Subclass doesn\'t override FromDict'
267 values.append(value_class.FromDict(value_dict, page_dict))
H A Dscalar.py79 def FromDict(value_dict, page_dict): member in class:ScalarValue
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
H A Dsystem_info_backend.py30 return system_info.SystemInfo.FromDict(
/external/chromium-trace/catapult/devil/devil/utils/
H A Dgeometry.py68 def FromDict(cls, d): member in class:Rectangle
H A Dgeometry_test.py60 r2 = g.Rectangle.FromDict({'top': 1, 'left': 0, 'bottom': 3, 'right': 2})

Completed in 168 milliseconds

12