Home
last modified time | relevance | path

Searched refs:context_id (Results 1 – 25 of 29) 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.py54 def TestVarReady(context_id): argument
58 context_id)
63 def TestVar(context_id): argument
66 util.WaitFor(lambda: TestVarReady(context_id), timeout=10)
67 return self._tab.EvaluateJavaScriptInContext('testVar', context_id)
70 self.assertEquals(TestVar(context_id=starting_contexts+1), 'host')
73 iframe1 = TestVar(context_id=starting_contexts+2)
74 iframe2 = TestVar(context_id=starting_contexts+3)
75 iframe3 = TestVar(context_id=starting_contexts+4)
82 '1+1', context_id=starting_contexts+5))
Ddevtools_client_backend.py352 context_id = context['id']
353 backend = context_map.GetInspectorBackend(context_id)
439 def GetContextInfo(self, context_id): argument
441 if context['id'] == context_id:
443 raise KeyError('Cannot find a context with id=%s' % context_id)
445 def GetInspectorBackend(self, context_id): argument
450 if context_id in self._inspector_backends_dict:
451 return self._inspector_backends_dict[context_id]
454 if context['id'] == context_id:
457 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
Ddevtools_client_backend_unittest.py71 context_id = c1.contexts[0]['id']
72 backend = c1.GetInspectorBackend(context_id)
77 self.assertEqual(c2.GetInspectorBackend(context_id), backend)
Dinspector_backend.py187 def ExecuteJavaScript(self, expr, context_id=None, timeout=60): argument
196 self._runtime.Execute(expr, context_id, timeout)
199 def EvaluateJavaScript(self, expr, context_id=None, timeout=60): argument
208 return self._runtime.Evaluate(expr, context_id, timeout)
/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.py37 context_id = response['id']
42 return self.GetBackendFromContextId(context_id)
/external/kernel-headers/original/uapi/scsi/
Dcxlflash_ioctl.h51 __u64 context_id; /* Returned context */ member
62 __u64 context_id; /* Context to detach */ member
68 __u64 context_id; /* Context to own physical resources */ member
78 __u64 context_id; /* Context to own virtual resources */ member
87 __u64 context_id; /* Context owning resources */ member
94 __u64 context_id; /* Context owning resources */ member
114 __u64 context_id; /* Context owning resources to verify */ member
128 __u64 context_id; /* Context to recover / updated ID */ member
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/
Dweb_contents.py168 statement, context_id=None, timeout=timeout)
187 expr, context_id=None, timeout=timeout)
189 def ExecuteJavaScriptInContext(self, expr, context_id, argument
201 expr, context_id=context_id, timeout=timeout)
203 def EvaluateJavaScriptInContext(self, expr, context_id, argument
215 expr, context_id=context_id, timeout=timeout)
/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/libdrm/tests/ttmtest/src/
Dxf86dri.h95 extern Bool uniDRIDestroyContext(Display * dpy, int screen, XID context_id);
/external/mesa3d/src/glx/
Dxf86dri.h98 extern Bool XF86DRIDestroyContext(Display * dpy, int screen, XID context_id);

12