Searched refs:watcher (Results 1 - 15 of 15) sorted by relevance

/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DLeakTest.java78 final AnimationWatcher watcher = new AnimationWatcher();
85 getActivity().getWindow().getDecorView().postOnAnimation(watcher);
89 watcher.waitForAnimationThread();
96 getActivity().getWindow().getDecorView().postOnAnimation(watcher);
100 watcher.waitForAnimationThread();
/frameworks/base/services/core/java/com/android/server/am/
H A DInstrumentationReporter.java90 Slog.i(TAG, "Failure reporting to instrumentation watcher: comp="
105 Report(int type, IInstrumentationWatcher watcher, ComponentName name, int resultCode, argument
108 mWatcher = watcher;
115 public void reportStatus(IInstrumentationWatcher watcher, ComponentName name, int resultCode, argument
117 if (DEBUG) Slog.d(TAG, "Report status to " + watcher
120 report(new Report(REPORT_TYPE_STATUS, watcher, name, resultCode, results));
123 public void reportFinished(IInstrumentationWatcher watcher, ComponentName name, int resultCode, argument
125 if (DEBUG) Slog.d(TAG, "Report finished to " + watcher
128 report(new Report(REPORT_TYPE_FINISHED, watcher, name, resultCode, results));
H A DActivityManagerService.java4861 // ask watcher if this is allowed
18629 IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection,
18651 reportStartInstrumentationFailureLocked(watcher, className,
18656 reportStartInstrumentationFailureLocked(watcher, className,
18661 reportStartInstrumentationFailureLocked(watcher, className,
18676 reportStartInstrumentationFailureLocked(watcher, className, msg);
18689 app.instrumentationWatcher = watcher;
18703 * @param watcher The IInstrumentationWatcher. Null if there isn't one.
18707 private void reportStartInstrumentationFailureLocked(IInstrumentationWatcher watcher, argument
18710 if (watcher !
18627 startInstrumentation(ComponentName className, String profileFile, int flags, Bundle arguments, IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection, int userId, String abiOverride) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBinderInternal.java57 public static void addGcWatcher(Runnable watcher) { argument
59 sGcWatchers.add(watcher);
/frameworks/base/core/java/android/widget/
H A DDialerFilter.java359 public void setLettersWatcher(TextWatcher watcher) { argument
362 span.setSpan(watcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
365 public void setDigitsWatcher(TextWatcher watcher) { argument
368 span.setSpan(watcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
371 public void setFilterWatcher(TextWatcher watcher) { argument
373 setLettersWatcher(watcher);
375 setDigitsWatcher(watcher);
379 public void removeFilterWatcher(TextWatcher watcher) { argument
386 text.removeSpan(watcher);
H A DTextView.java8109 public void addTextChangedListener(TextWatcher watcher) { argument
8114 mListeners.add(watcher);
8122 public void removeTextChangedListener(TextWatcher watcher) { argument
8124 int i = mListeners.indexOf(watcher);
/frameworks/base/services/core/java/com/android/server/location/
H A DActivityRecognitionProxy.java120 IActivityRecognitionHardwareWatcher watcher =
122 if (watcher == null) {
123 Log.e(TAG, "No watcher found on connection.");
127 // to keep backwards compatibility do not update the watcher when there is no
133 watcher.onInstanceChanged(mInstance);
135 Log.e(TAG, "Error delivering hardware interface to watcher.", e);
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiDevice.java518 * @param watcher {@link UiWatcher}
521 public void registerWatcher(String name, UiWatcher watcher) { argument
522 Tracer.trace(name, watcher);
524 throw new IllegalStateException("Cannot register new watcher from within another");
526 mWatchers.put(name, watcher);
539 throw new IllegalStateException("Cannot remove a watcher from within another");
556 UiWatcher watcher = mWatchers.get(watcherName);
557 if (watcher != null) {
560 if (watcher.checkForCondition()) {
564 Log.e(LOG_TAG, "Exceuting watcher
[all...]
/frameworks/base/core/java/android/view/
H A DIWindowManager.aidl273 int watchRotation(IRotationWatcher watcher);
276 * Remove a rotation watcher set using watchRotation.
279 void removeRotationWatcher(IRotationWatcher watcher);
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java858 InstrumentationWatcher watcher = null;
861 watcher = new InstrumentationWatcher();
862 watcher.setRawOutput(rawMode);
889 if (!mAm.startInstrumentation(cn, profileFile, 0, args, watcher, connection, userId, abi)) {
893 if (watcher != null) {
894 if (!watcher.waitForFinish()) {
/frameworks/base/core/java/android/app/
H A DInstrumentation.java1785 IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection) {
1791 mWatcher = watcher;
1783 init(ActivityThread thread, Context instrContext, Context appContext, ComponentName component, IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection) argument
H A DIActivityManager.java261 int flags, Bundle arguments, IInstrumentationWatcher watcher,
342 public void setActivityController(IActivityController watcher, boolean imAMonkey) argument
260 startInstrumentation(ComponentName className, String profileFile, int flags, Bundle arguments, IInstrumentationWatcher watcher, IUiAutomationConnection connection, int userId, String abiOverride) argument
H A DActivityManagerNative.java1557 IActivityController watcher = IActivityController.Stub.asInterface(
1560 setActivityController(watcher, imAMonkey);
4531 int flags, Bundle arguments, IInstrumentationWatcher watcher,
4541 data.writeStrongBinder(watcher != null ? watcher.asBinder() : null);
5021 public void setActivityController(IActivityController watcher, boolean imAMonkey) argument
5027 data.writeStrongBinder(watcher != null ? watcher.asBinder() : null);
4530 startInstrumentation(ComponentName className, String profileFile, int flags, Bundle arguments, IInstrumentationWatcher watcher, IUiAutomationConnection connection, int userId, String instructionSet) argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java573 IRotationWatcher watcher; field in class:WindowManagerService.RotationWatcher
576 watcher = w;
6987 mRotationWatchers.get(i).watcher.onRotationChanged(rotation);
7015 public int watchRotation(IRotationWatcher watcher) { argument
7016 final IBinder watcherBinder = watcher.asBinder();
7022 if (watcherBinder == mRotationWatchers.get(i).watcher.asBinder()) {
7024 IBinder binder = removed.watcher.asBinder();
7037 watcher.asBinder().linkToDeath(dr, 0);
7038 mRotationWatchers.add(new RotationWatcher(watcher, dr));
7048 public void removeRotationWatcher(IRotationWatcher watcher) { argument
[all...]
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java2551 public void removeTextChangedListener(TextWatcher watcher) { argument
2553 super.removeTextChangedListener(watcher);
2582 // view. If there are, don't do anything in the text watcher.

Completed in 1150 milliseconds