Home
last modified time | relevance | path

Searched refs:mWatcher (Results 1 – 11 of 11) sorted by relevance

/frameworks/support/emoji/core/tests/java/android/support/text/emoji/widget/
DSpannableBuilderTest.java56 private TextWatcher mWatcher; field in SpannableBuilderTest
61 mWatcher = mock(TextWatcher.class, withSettings().extraInterfaces(SpanWatcher.class)); in setup()
62 mClass = mWatcher.getClass(); in setup()
96 spannable.setSpan(mWatcher, 1, 2, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in testSetAndGetSpan()
102 assertSame(mWatcher, spans[0]); in testSetAndGetSpan()
105 assertEquals(1, spannable.getSpanStart(mWatcher)); in testSetAndGetSpan()
106 assertEquals(2, spannable.getSpanEnd(mWatcher)); in testSetAndGetSpan()
107 assertEquals(Spanned.SPAN_INCLUSIVE_INCLUSIVE, spannable.getSpanFlags(mWatcher)); in testSetAndGetSpan()
110 spannable.removeSpan(mWatcher); in testSetAndGetSpan()
119 spannable.setSpan(mWatcher, 1, 2, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in testNextSpanTransition()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DInstrumentationReporter.java77 if (DEBUG) Slog.d(TAG, "Dispatch status to " + rep.mWatcher in run()
80 rep.mWatcher.instrumentationStatus(rep.mName, rep.mResultCode, in run()
83 if (DEBUG) Slog.d(TAG, "Dispatch finished to " + rep.mWatcher in run()
86 rep.mWatcher.instrumentationFinished(rep.mName, rep.mResultCode, in run()
100 final IInstrumentationWatcher mWatcher; field in InstrumentationReporter.Report
108 mWatcher = watcher; in Report()
DActiveInstrumentation.java46 IInstrumentationWatcher mWatcher; field in ActiveInstrumentation
112 if (mWatcher != null) { in dump()
113 pw.print(prefix); pw.print("mWatcher="); pw.println(mWatcher); in dump()
DActivityManagerService.java6911 app.instr.mWatcher, in attachApplicationLocked()
19886 activeInstr.mWatcher = watcher;
19968 if (app.instr.mWatcher != null) {
19977 mInstrumentationReporter.reportFinished(app.instr.mWatcher,
/frameworks/base/services/core/java/com/android/server/tv/
DTvRemoteService.java219 private final TvRemoteProviderWatcher mWatcher; field in TvRemoteService.UserHandler
224 mWatcher = new TvRemoteProviderWatcher(context, provider, this); in UserHandler()
248 mWatcher.start(); // also starts all providers in start()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestRunner.java67 private final FakeInstrumentationWatcher mWatcher = new FakeInstrumentationWatcher(); field in UiAutomatorTestRunner
71 mWatcher.instrumentationStatus(null, resultCode, status);
86 mWatcher.instrumentationFinished(null, 0, results); in run()
/frameworks/base/core/java/android/text/
DDynamicLayout.java184 if (mWatcher == null) in DynamicLayout()
185 mWatcher = new ChangeWatcher(this); in DynamicLayout()
193 sp.setSpan(mWatcher, 0, base.length(), in DynamicLayout()
807 private ChangeWatcher mWatcher; field in DynamicLayout
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java634 private final RemoteDisplayProviderWatcher mWatcher; field in MediaRouterService.UserHandler
652 mWatcher = new RemoteDisplayProviderWatcher(service.mContext, this, in UserHandler()
710 mWatcher.dump(pw, prefix); in dump()
725 mWatcher.start(); // also starts all providers in start()
733 mWatcher.stop(); // also stops all providers in stop()
/frameworks/base/core/java/android/app/
DInstrumentation.java103 private IInstrumentationWatcher mWatcher; field in Instrumentation
197 if (mWatcher != null) { in sendStatus()
199 mWatcher.instrumentationStatus(mComponent, resultCode, results); in sendStatus()
202 mWatcher = null; in sendStatus()
1918 mWatcher = watcher; in init()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java553 IRotationWatcher mWatcher; field in WindowManagerService.RotationWatcher
558 mWatcher = watcher; in RotationWatcher()
3949 if (watcherBinder == mRotationWatchers.get(i).mWatcher.asBinder()) { in watchRotation()
3951 IBinder binder = removed.mWatcher.asBinder(); in watchRotation()
3980 if (watcherBinder == rotationWatcher.mWatcher.asBinder()) { in removeRotationWatcher()
3982 IBinder binder = removed.mWatcher.asBinder(); in removeRotationWatcher()
DDisplayContent.java1084 rotationWatcher.mWatcher.onRotationChanged(rotation); in updateRotationUnchecked()