Home
last modified time | relevance | path

Searched refs:context_id (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
Dinspector_backend_list.py38 def GetContextInfo(self, context_id): argument
39 return self._devtools_context_map_backend.GetContextInfo(context_id)
63 context_id = self._filtered_context_ids[index]
64 return self.GetBackendFromContextId(context_id)
70 def GetBackendFromContextId(self, context_id): argument
72 if context_id not in self._wrapper_dict:
75 context_id)
82 self._wrapper_dict[context_id] = wrapper
83 return self._wrapper_dict[context_id]
91 for context_id in self._filtered_context_ids:
[all …]
Dinspector_runtime_unittest.py53 def TestVarReady(context_id): argument
57 test_defined_js, context_id=context_id)
62 def TestVar(context_id): argument
65 py_utils.WaitFor(lambda: TestVarReady(context_id), timeout=10)
66 return self._tab.EvaluateJavaScript('testVar', context_id=context_id)
70 self.assertEquals(TestVar(context_id=all_contexts-3), 'host')
73 iframe1 = TestVar(context_id=all_contexts-2)
74 iframe2 = TestVar(context_id=all_contexts-1)
75 iframe3 = TestVar(context_id=all_contexts)
82 '1+1', context_id=all_contexts + 1))
Ddevtools_client_backend.py352 context_id = context['id']
353 backend = context_map.GetInspectorBackend(context_id)
440 def GetContextInfo(self, context_id): argument
442 if context['id'] == context_id:
444 raise KeyError('Cannot find a context with id=%s' % context_id)
446 def GetInspectorBackend(self, context_id): argument
451 if context_id in self._inspector_backends_dict:
452 return self._inspector_backends_dict[context_id]
455 if context['id'] == context_id:
458 self._inspector_backends_dict[context_id] = new_backend
[all …]
Dinspector_runtime.py20 def Execute(self, expr, context_id, timeout): argument
21 self.Evaluate(expr + '; 0;', context_id, timeout)
23 def Evaluate(self, expr, context_id, timeout): argument
42 if context_id is not None:
44 request['params']['contextId'] = context_id
Dinspector_backend.py214 context_id = kwargs.pop('context_id', None)
216 self._runtime.Execute(statement, context_id, timeout)
242 context_id = kwargs.pop('context_id', None)
244 return self._runtime.Evaluate(expression, context_id, timeout)
274 context_id = kwargs.pop('context_id', None)
278 return self._runtime.Evaluate(condition, context_id, timeout)
Ddevtools_client_backend_unittest.py75 context_id = c1.contexts[0]['id']
76 backend = c1.GetInspectorBackend(context_id)
81 self.assertEqual(c2.GetInspectorBackend(context_id), backend)
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
Dextension_backend.py31 for context_id in self._extension_backend_list.IterContextIds():
32 if self.ContextIdToExtensionId(context_id) == extension_id:
34 self._extension_backend_list.GetBackendFromContextId(context_id))
40 for context_id in self._extension_backend_list.IterContextIds():
41 yield self._extension_backend_list.GetBackendFromContextId(context_id)
46 def ContextIdToExtensionId(self, context_id): argument
47 context = self._extension_backend_list.GetContextInfo(context_id)
Dtab_list_backend_unittest.py29 for context_id in self.tabs._tab_list_backend.IterContextIds():
30 tab = self.tabs.GetTabById(context_id)
31 self.assertEquals(tab.id, context_id)
32 tabs.append(self.tabs.GetTabById(context_id))
Dtab_list_backend.py38 context_id = response['id']
43 return self.GetBackendFromContextId(context_id)
Doobe.py26 context_id=gaia_iframe_context):
102 context_id=gaia_iframe_context)
/external/kernel-headers/original/uapi/scsi/
Dcxlflash_ioctl.h70 __u64 context_id; /* Returned context */ member
81 __u64 context_id; /* Context to detach */ member
87 __u64 context_id; /* Context to own physical resources */ member
97 __u64 context_id; /* Context to own virtual resources */ member
106 __u64 context_id; /* Context owning resources */ member
113 __u64 context_id; /* Context owning resources */ member
133 __u64 context_id; /* Context owning resources to verify */ member
147 __u64 context_id; /* Context to recover / updated ID */ member
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dblock.c49 blocks->context_id = context->context_id; in XvMCCreateBlocks()
79 blocks->context_id = context->context_id; in XvMCCreateMacroBlocks()
Dsurface.c197 surface->context_id = context->context_id; in XvMCCreateSurface()
245 assert(context->context_id == target_surface->context_id); in XvMCRenderSurface()
246 assert(!past_surface || context->context_id == past_surface->context_id); in XvMCRenderSurface()
247 assert(!future_surface || context->context_id == future_surface->context_id); in XvMCRenderSurface()
252 assert(macroblocks->context_id == context->context_id); in XvMCRenderSurface()
253 assert(blocks->context_id == context->context_id); in XvMCRenderSurface()
Dsubpicture.c263 subpicture->context_id = context->context_id; in XvMCCreateSubpicture()
455 if (target_surface->context_id != subpicture->context_id) in XvMCBlendSubpicture()
486 if (source_surface->context_id != subpicture->context_id) in XvMCBlendSubpicture2()
489 if (source_surface->context_id != subpicture->context_id) in XvMCBlendSubpicture2()
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/
Dtest_blocks.c84 assert(blocks.context_id == context.context_id); in main()
96 assert(macroblocks.context_id == context.context_id); in main()
Dtest_surface.c82 assert(surface.context_id == context.context_id); in main()
Dtest_subpicture.c162 assert(subpicture.context_id == context.context_id); in main()
/external/selinux/secilc/docs/
Dcil_xen_statements.md15 (iomemcon mem_addr|(mem_low mem_high) context_id)
36 <td align="left"><p><code>context_id</code></p></td>
55 (ioportcon port|(port_low port_high) context_id)
76 <td align="left"><p><code>context_id</code></p></td>
95 (pcidevicecon device context_id)
114 <td align="left"><p><code>context_id</code></p></td>
133 (pirqcon irq_level context_id)
152 <td align="left"><p><code>context_id</code></p></td>
171 (devicetreecon path context_id)
190 <td align="left"><p><code>context_id</code></p></td>
Dcil_file_labeling_statements.md11 (filecon "path" file_type context_id)
78 <td align="left"><p><code>context_id</code></p></td>
111 (fsuse fstype fsname context_id)
139 <td align="left"><p><code>context_id</code></p></td>
177 (genfscon fsname path context_id)
200 <td align="left"><p><code>context_id</code></p></td>
Dcil_network_labeling_statements.md112 (nodecon subnet_id netmask_id context_id)
135 <td align="left"><p><code>context_id</code></p></td>
162 (portcon protocol port|(port_low port_high) context_id)
187 <td align="left"><p><code>context_id</code></p></td>
Dcil_sid_statements.md85 (sidcontext sid_id context_id)
104 <td align="left"><p><code>context_id</code></p></td>
Dcil_context_statement.md19 (context context_id (user_id role_id type_id levelrange_id)))
34 <td align="left"><p><code>context_id</code></p></td>
/external/libdrm/freedreno/kgsl/
Dmsm_kgsl.h240 unsigned int context_id; member
341 unsigned int context_id; member
350 unsigned int context_id; member
487 unsigned int context_id; /* Context for the timestamp */ member
/external/syslinux/gpxe/src/drivers/net/phantom/
Dnxhal_nic_interface.h326 U16 context_id; /* Handle for context */ member
429 U16 context_id; /* Handle for context */ member
493 U16 context_id; /* Which context */ member
Dphantom_hw.h89 pseudo_bit_t context_id[4]; /**< Context ID */ member
153 pseudo_bit_t context_id[16]; member

12