Home
last modified time | relevance | path

Searched refs:inspector (Results 1 – 25 of 64) sorted by relevance

123

/external/v8/src/inspector/
Dinspector.gypi8 '<(SHARED_INTERMEDIATE_DIR)/src/inspector/protocol/Forward.h',
9 '<(SHARED_INTERMEDIATE_DIR)/src/inspector/protocol/Protocol.cpp',
10 '<(SHARED_INTERMEDIATE_DIR)/src/inspector/protocol/Protocol.h',
11 '<(SHARED_INTERMEDIATE_DIR)/src/inspector/protocol/Console.cpp',
12 '<(SHARED_INTERMEDIATE_DIR)/src/inspector/protocol/Console.h',
13 '<(SHARED_INTERMEDIATE_DIR)/src/inspector/protocol/Debugger.cpp',
14 '<(SHARED_INTERMEDIATE_DIR)/src/inspector/protocol/Debugger.h',
15 '<(SHARED_INTERMEDIATE_DIR)/src/inspector/protocol/HeapProfiler.cpp',
16 '<(SHARED_INTERMEDIATE_DIR)/src/inspector/protocol/HeapProfiler.h',
17 '<(SHARED_INTERMEDIATE_DIR)/src/inspector/protocol/Profiler.cpp',
[all …]
Dinjected-script.cc67 V8InjectedScriptHost::create(context, inspectedContext->inspector()); in create()
84 if (!inspectedContext->inspector() in create()
100 V8InspectorImpl* inspector = inspectedContext->inspector(); in create() local
105 if (inspector->getContext(contextGroupId, contextId) != inspectedContext) in create()
129 V8FunctionCall function(m_context->inspector(), m_context->context(), in getProperties()
217 V8FunctionCall function(m_context->inspector(), m_context->context(), in wrapPropertyInArray()
233 V8FunctionCall function(m_context->inspector(), m_context->context(), in wrapValue()
249 V8FunctionCall function(m_context->inspector(), context, v8Value(), in wrapTable()
286 V8FunctionCall function(m_context->inspector(), m_context->context(), in setCustomObjectFormatterEnabled()
323 if (!m_context->inspector() in resolveCallArgument()
[all …]
DBUILD.gn26 "../../include/inspector/Debugger.h",
27 "../../include/inspector/Runtime.h",
28 "../../include/inspector/Schema.h",
114 v8_source_set("inspector") {
129 "../../include/v8-inspector-protocol.h",
130 "../../include/v8-inspector.h",
172 "v8-inspector-impl.cc",
173 "v8-inspector-impl.h",
174 "v8-inspector-session-impl.cc",
175 "v8-inspector-session-impl.h",
Dv8-console-message.cc234 V8InspectorImpl* inspector = session->inspector(); in wrapArguments() local
239 inspector->getContext(contextGroupId, contextId); in wrapArguments()
255 inspectedContext = inspector->getContext(contextGroupId, contextId); in wrapArguments()
266 inspectedContext = inspector->getContext(contextGroupId, contextId); in wrapArguments()
282 V8InspectorImpl* inspector = session->inspector(); in reportToFrontend() local
287 if (!inspector->hasConsoleMessageStorage(contextGroupId)) return; in reportToFrontend()
312 if (!inspector->hasConsoleMessageStorage(contextGroupId)) return; in reportToFrontend()
339 session->inspector()->getContext(session->contextGroupId(), m_contextId); in wrapException()
363 V8InspectorImpl* inspector = inspectedContext->inspector(); in createForConsoleAPI() local
399 inspector->client()->consoleAPIMessage( in createForConsoleAPI()
[all …]
Dv8-console-agent-impl.cc33 m_session->inspector()->enableStackCapturingIfNeeded(); in enable()
40 m_session->inspector()->disableStackCapturingIfNeeded(); in disable()
62 m_session->inspector()->ensureConsoleMessageStorage( in reportAllMessages()
76 return m_session->inspector()->hasConsoleMessageStorage( in reportMessage()
Dinspector.gyp10 'inspector.gypi',
100 'message': 'Generating inspector protocol sources from protocol json definition',
129 '--output_base', '<(SHARED_INTERMEDIATE_DIR)/src/inspector',
132 'message': 'Generating inspector protocol sources from protocol json',
Dtest-interface.cc12 void SetMaxAsyncTaskStacksForTest(V8Inspector* inspector, int limit) { in SetMaxAsyncTaskStacksForTest() argument
13 static_cast<V8InspectorImpl*>(inspector) in SetMaxAsyncTaskStacksForTest()
Dv8-heap-profiler-agent-impl.cc57 InspectedContext* context = m_session->inspector()->getContext( in GetName()
151 m_isolate(session->inspector()->isolate()), in V8HeapProfilerAgentImpl()
243 if (!m_session->inspector()->client()->isInspectableHeapObject(heapObject)) in getObjectByHeapObjectId()
262 if (!m_session->inspector()->client()->isInspectableHeapObject(heapObject)) in addInspectedHeapObject()
289 lastSeenObjectId, m_session->inspector()->client()->currentTimeMS()); in requestHeapStatsUpdate()
302 m_session->inspector()->client()->startRepeatingTimer( in startTrackingHeapObjectsInternal()
309 m_session->inspector()->client()->cancelTimer( in stopTrackingHeapObjectsInternal()
Dv8-injected-script-host.cc40 V8InspectorImpl* inspector = in unwrapInspector() local
42 DCHECK(inspector); in unwrapInspector()
43 return inspector; in unwrapInspector()
49 v8::Local<v8::Context> context, V8InspectorImpl* inspector) { in create() argument
50 v8::Isolate* isolate = inspector->isolate(); in create()
57 v8::External::New(isolate, inspector); in create()
Dv8-runtime-agent-impl.cc64 static void add(V8InspectorImpl* inspector, v8::Local<v8::Context> context, in add() argument
78 v8::MicrotasksScope microtasks_scope(inspector->isolate(), in add()
84 inspector, contextGroupId, executionContextId, objectGroup, in add()
86 v8::Local<v8::Value> wrapper = handler->m_wrapper.Get(inspector->isolate()); in add()
157 ProtocolPromiseHandler(V8InspectorImpl* inspector, int contextGroupId, in ProtocolPromiseHandler() argument
161 : m_inspector(inspector), in ProtocolPromiseHandler()
168 m_wrapper(inspector->isolate(), in ProtocolPromiseHandler()
169 v8::External::New(inspector->isolate(), this)) { in ProtocolPromiseHandler()
235 Response ensureContext(V8InspectorImpl* inspector, int contextGroupId, in ensureContext() argument
240 v8::HandleScope handles(inspector->isolate()); in ensureContext()
[all …]
Dinspected-context.cc34 InspectedContext::InspectedContext(V8InspectorImpl* inspector, in InspectedContext() argument
36 : m_inspector(inspector), in InspectedContext()
/external/r8/src/test/java/com/android/tools/r8/shaking/
DTreeShakingTest.java137 public static void shaking1HasNoClassUnused(DexInspector inspector) { in shaking1HasNoClassUnused() argument
138 Assert.assertFalse(inspector.clazz("shaking1.Unused").isPresent()); in shaking1HasNoClassUnused()
139 ClassSubject used = inspector.clazz("shaking1.Used"); in shaking1HasNoClassUnused()
147 public static void shaking1IsCorrectlyRepackaged(DexInspector inspector) { in shaking1IsCorrectlyRepackaged() argument
148 inspector.forAllClasses(clazz -> { in shaking1IsCorrectlyRepackaged()
156 private static void shaking2SuperClassIsAbstract(DexInspector inspector) { in shaking2SuperClassIsAbstract() argument
157 ClassSubject clazz = inspector.clazz("shaking2.SuperClass"); in shaking2SuperClassIsAbstract()
164 public static void shaking3HasNoClassB(DexInspector inspector) { in shaking3HasNoClassB() argument
165 Assert.assertFalse(inspector.clazz("shaking3.B").isPresent()); in shaking3HasNoClassB()
166 ClassSubject classA = inspector.clazz("shaking3.A"); in shaking3HasNoClassB()
[all …]
/external/r8/src/test/java/com/android/tools/r8/classmerging/
DClassMergingTest.java42 inspector = new DexInspector( in runR8()
46 private DexInspector inspector; field in ClassMergingTest
51 Assert.assertFalse(inspector.clazz("classmerging.GenericInterface").isPresent()); in testClassesHaveBeenMerged()
52 Assert.assertTrue(inspector.clazz("classmerging.GenericInterfaceImpl").isPresent()); in testClassesHaveBeenMerged()
53 Assert.assertFalse(inspector.clazz("classmerging.GenericAbstractClass").isPresent()); in testClassesHaveBeenMerged()
54 Assert.assertTrue(inspector.clazz("classmerging.GenericInterfaceImpl").isPresent()); in testClassesHaveBeenMerged()
55 Assert.assertFalse(inspector.clazz("classmerging.Outer$SuperClass").isPresent()); in testClassesHaveBeenMerged()
56 Assert.assertTrue(inspector.clazz("classmerging.Outer$SubClass").isPresent()); in testClassesHaveBeenMerged()
57 Assert.assertFalse(inspector.clazz("classmerging.SuperClass").isPresent()); in testClassesHaveBeenMerged()
58 Assert.assertTrue(inspector.clazz("classmerging.SubClass").isPresent()); in testClassesHaveBeenMerged()
[all …]
/external/r8/src/test/java/com/android/tools/r8/memberrebinding/
DMemberRebindingTest.java107 private static void inspectOriginalMain(DexInspector inspector) { in inspectOriginalMain() argument
108 MethodSubject main = inspector.clazz("memberrebinding.Memberrebinding") in inspectOriginalMain()
135 private static void inspectMain(DexInspector inspector) { in inspectMain() argument
136 MethodSubject main = inspector.clazz("memberrebinding.Memberrebinding") in inspectMain()
166 private static void inspectOriginalMain2(DexInspector inspector) { in inspectOriginalMain2() argument
167 MethodSubject main = inspector.clazz("memberrebinding2.Memberrebinding") in inspectOriginalMain2()
182 private static void inspectMain2(DexInspector inspector) { in inspectMain2() argument
183 MethodSubject main = inspector.clazz("memberrebinding2.Memberrebinding") in inspectMain2()
201 private static void inspectOriginal3(DexInspector inspector) { in inspectOriginal3() argument
202 MethodSubject main = inspector.clazz("memberrebinding3.Memberrebinding").method(TEST); in inspectOriginal3()
[all …]
/external/r8/src/test/java/com/android/tools/r8/shaking/includedescriptorclasses/
DIncludeDescriptorClassesTest.java68 final DexInspector inspector; field in IncludeDescriptorClassesTest.Result
71 Result(DexInspector inspector, Set<String> classesAfterProguard) { in Result() argument
72 this.inspector = inspector; in Result()
77 assertTrue(inspector.clazz(clazz.getCanonicalName()).isPresent()); in assertKept()
78 assertFalse(inspector.clazz(clazz.getCanonicalName()).isRenamed()); in assertKept()
85 assertFalse(inspector.clazz(clazz.getCanonicalName()).isPresent()); in assertRemoved()
93 assertTrue(inspector.clazz(clazz.getCanonicalName()).isPresent()); in assertRenamed()
94 assertTrue(inspector.clazz(clazz.getCanonicalName()).isRenamed()); in assertRenamed()
113 DexInspector inspector = new DexInspector(compileWithR8(classes, proguardConfig)); in runTest() local
122 return new Result(inspector, classesAfterProguard); in runTest()
/external/v8/include/
DOWNERS4 per-file v8-inspector.h=dgozman@chromium.org
5 per-file v8-inspector.h=pfeldman@chromium.org
6 per-file v8-inspector-protocol.h=dgozman@chromium.org
7 per-file v8-inspector-protocol.h=pfeldman@chromium.org
DDEPS2 # v8-inspector-protocol.h depends on generated files under include/inspector.
3 "+inspector",
/external/r8/src/test/java/com/android/tools/r8/utils/
DR8InliningTest.java105 DexInspector inspector = new DexInspector(path.toAbsolutePath()); in dump() local
106 inspector.clazz("inlining.Inlining").forAllMethods(m -> dump(m.getMethod())); in dump()
112 DexInspector inspector = new DexInspector(getGeneratedDexFile().toAbsolutePath(), in checkNoInvokes() local
114 ClassSubject clazz = inspector.clazz("inlining.Inlining"); in checkNoInvokes()
/external/r8/src/test/java/com/android/tools/r8/bridgeremoval/bridgestoremove/
DRemoveVisibilityBridgeMethodsTest.java23 DexInspector inspector = new DexInspector(compileWithR8(classes, proguardConfig)); in run() local
29 removedMethods.forEach(method -> assertFalse(inspector.method(method).isPresent())); in run()
/external/r8/src/test/java/com/android/tools/r8/bridgeremoval/bridgestokeep/
DKeepNonVisibilityBridgeMethodsTest.java35 DexInspector inspector = new DexInspector(compileWithR8(classes, proguardConfig)); in run() local
40 MethodSubject subject = inspector.method(registerObserver); in run()
/external/r8/src/test/java/com/android/tools/r8/rewrite/switchmaps/
DRewriteSwitchMapsTest.java33 DexInspector inspector = new DexInspector(result); in checkSwitchMapsRemoved() local
34 Assert.assertFalse(inspector.clazz(SWITCHMAP_CLASS_NAME).isPresent()); in checkSwitchMapsRemoved()
/external/r8/src/test/java/com/android/tools/r8/regress/
DRegress37740372.java126 DexInspector inspector = new DexInspector(app); in checkApplicationOnlyHasJavaLangObject() local
127 inspector.forAllClasses(this::assertIsJavaLangObjet); in checkApplicationOnlyHasJavaLangObject()
/external/r8/src/test/java/com/android/tools/r8/smali/
DSmaliBuildTest.java23 DexInspector inspector = new DexInspector(application); in checkJavaLangString() local
24 ClassSubject clazz = inspector.clazz("java.lang.String"); in checkJavaLangString()
/external/r8/src/test/java/com/android/tools/r8/
DRunExamplesAndroidOTest.java64 withDexCheck(inspector -> inspector.forAllClasses(check)); in withClassCheck()
132 DexInspector inspector = new DexInspector(out); in run() local
134 check.accept(inspector); in run()
/external/v8/gypfiles/
Dall.gyp30 '../test/inspector/inspector.gyp:*',

123