Home
last modified time | relevance | path

Searched refs:mTrace (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationConnectionWrapper.java45 private final @NonNull AccessibilityTraceManager mTrace; field in MagnificationConnectionWrapper
50 mTrace = trace; in MagnificationConnectionWrapper()
63 if (mTrace.isA11yTracingEnabledForTypes(FLAGS_MAGNIFICATION_CONNECTION)) { in onFullscreenMagnificationActivationChanged()
64 mTrace.logTrace(TAG + ".onFullscreenMagnificationActivationChanged", in onFullscreenMagnificationActivationChanged()
81 if (mTrace.isA11yTracingEnabledForTypes(FLAGS_MAGNIFICATION_CONNECTION)) { in enableWindowMagnification()
82 mTrace.logTrace(TAG + ".enableWindowMagnification", in enableWindowMagnification()
92 transformToRemoteCallback(callback, mTrace)); in enableWindowMagnification()
103 if (mTrace.isA11yTracingEnabledForTypes(FLAGS_MAGNIFICATION_CONNECTION)) { in setScaleForWindowMagnification()
104 mTrace.logTrace(TAG + ".setScale", FLAGS_MAGNIFICATION_CONNECTION, in setScaleForWindowMagnification()
120 if (mTrace.isA11yTracingEnabledForTypes(FLAGS_MAGNIFICATION_CONNECTION)) { in disableWindowMagnification()
[all …]
DMagnificationConnectionManager.java210 private final AccessibilityTraceManager mTrace; field in MagnificationConnectionManager
218 mTrace = trace; in MagnificationConnectionManager()
250 mConnectionWrapper = new MagnificationConnectionWrapper(connection, mTrace); in setConnection()
292 if (mTrace.isA11yTracingEnabledForTypes(FLAGS_MAGNIFICATION_CONNECTION)) { in requestConnection()
293 mTrace.logTrace(TAG + ".requestMagnificationConnection", in requestConnection()
950 if (mTrace.isA11yTracingEnabledForTypes( in onWindowMagnifierBoundsChanged()
952 mTrace.logTrace(TAG + "ConnectionCallback.onWindowMagnifierBoundsChanged", in onWindowMagnifierBoundsChanged()
973 if (mTrace.isA11yTracingEnabledForTypes( in onChangeMagnificationMode()
975 mTrace.logTrace(TAG + "ConnectionCallback.onChangeMagnificationMode", in onChangeMagnificationMode()
985 if (mTrace.isA11yTracingEnabledForTypes( in onSourceBoundsChanged()
[all …]
DMagnificationGestureHandler.java93 private final AccessibilityTraceManager mTrace; field in MagnificationGestureHandler
107 mTrace = trace; in MagnificationGestureHandler()
119 if (mTrace.isA11yTracingEnabledForTypes( in onMotionEvent()
121 mTrace.logTrace("MagnificationGestureHandler.onMotionEvent", in onMotionEvent()
DFullScreenMagnificationController.java2164 private final AccessibilityTraceManager mTrace; field in FullScreenMagnificationController.ControllerContext
2178 mTrace = traceManager; in ControllerContext()
2197 return mTrace; in getTraceManager()
/frameworks/native/services/inputflinger/tests/
DFakeInputTracingBackend.cpp167 std::scoped_lock lock(mTrace->mLock); in traceKeyEvent()
168 mTrace->mTracedEvents.emplace(event.id, event); in traceKeyEvent()
170 mTrace->mEventTracedCondition.notify_all(); in traceKeyEvent()
176 std::scoped_lock lock(mTrace->mLock); in traceMotionEvent()
177 mTrace->mTracedEvents.emplace(event.id, event); in traceMotionEvent()
179 mTrace->mEventTracedCondition.notify_all(); in traceMotionEvent()
185 std::scoped_lock lock(mTrace->mLock); in traceWindowDispatch()
186 mTrace->mTracedWindowDispatches.push_back(args); in traceWindowDispatch()
188 mTrace->mEventTracedCondition.notify_all(); in traceWindowDispatch()
DFakeInputTracingBackend.h80 FakeInputTracingBackend(std::shared_ptr<VerifyingTrace> trace) : mTrace(trace) {} in FakeInputTracingBackend()
83 std::shared_ptr<VerifyingTrace> mTrace;
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAutoclickController.java60 private final AccessibilityTraceManager mTrace; field in AutoclickController
69 mTrace = trace; in AutoclickController()
76 if (mTrace.isA11yTracingEnabledForTypes(AccessibilityTrace.FLAGS_INPUT_FILTER)) { in onMotionEvent()
77 mTrace.logTrace(LOG_TAG + ".onMotionEvent", AccessibilityTrace.FLAGS_INPUT_FILTER, in onMotionEvent()
99 if (mTrace.isA11yTracingEnabledForTypes(AccessibilityTrace.FLAGS_INPUT_FILTER)) { in onKeyEvent()
100 mTrace.logTrace(LOG_TAG + ".onKeyEvent", AccessibilityTrace.FLAGS_INPUT_FILTER, in onKeyEvent()
DMotionEventInjector.java72 private final AccessibilityTraceManager mTrace; field in MotionEventInjector
87 mTrace = trace; in MotionEventInjector()
95 mTrace = trace; in MotionEventInjector()
119 if (mTrace.isA11yTracingEnabledForTypes( in onMotionEvent()
121 mTrace.logTrace(LOG_TAG + ".onMotionEvent", in onMotionEvent()
DUiAutomationManager.java292 if (mTrace.isA11yTracingEnabledForTypes( in connectServiceUnknownThread()
294 mTrace.logTrace("UiAutomationService.connectServiceUnknownThread", in connectServiceUnknownThread()
DAbstractAccessibilityServiceConnection.java165 protected final AccessibilityTrace mTrace; field in AbstractAccessibilityServiceConnection
354 mTrace = trace; in AbstractAccessibilityServiceConnection()
2623 if (mTrace.isA11yTracingEnabledForTypes(loggingTypes)) { in logTrace()
2630 mTrace.logTrace(timestamp, where, loggingTypes, callingParams, processId, threadId, in logTrace()
2639 return mTrace.isA11yTracingEnabledForTypes(FLAGS_ACCESSIBILITY_SERVICE_CLIENT); in svcClientTracingEnabled()
2643 mTrace.logTrace(TRACE_SVC_CLIENT + "." + methodName, in logTraceSvcClient()
2648 return mTrace.isA11yTracingEnabledForTypes(FLAGS_ACCESSIBILITY_SERVICE_CONNECTION); in svcConnTracingEnabled()
2652 mTrace.logTrace(TRACE_SVC_CONN + "." + methodName, in logTraceSvcConn()
2657 return mTrace.isA11yTracingEnabledForTypes(FLAGS_ACCESSIBILITY_INTERACTION_CONNECTION); in intConnTracingEnabled()
2661 mTrace.logTrace(LOG_TAG + "." + methodName, in logTraceIntConn()
[all …]
DAccessibilityServiceConnection.java654 if (mTrace.isA11yTracingEnabled()) { in notifyMotionEventInternal()
669 if (mTrace.isA11yTracingEnabled()) { in notifyTouchStateInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationConnectionWrapperTest.java50 private AccessibilityTraceManager mTrace; field in MagnificationConnectionWrapperTest
64 mConnectionWrapper = new MagnificationConnectionWrapper(mConnection, mTrace); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java125 AccessibilityTraceManager mTrace; field in MotionEventInjectorTest
152 mTrace = mock(AccessibilityTraceManager.class); in setUp()
153 mMotionEventInjector = new MotionEventInjector(mMessageCapturingHandler, mTrace); in setUp()