Searched defs:watcher (Results 1 - 9 of 9) sorted by relevance

/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/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.java5024 // ask watcher if this is allowed
19821 IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection,
19843 reportStartInstrumentationFailureLocked(watcher, className,
19848 reportStartInstrumentationFailureLocked(watcher, className,
19853 reportStartInstrumentationFailureLocked(watcher, className,
19868 reportStartInstrumentationFailureLocked(watcher, className, msg);
19886 activeInstr.mWatcher = watcher;
19912 * @param watcher The IInstrumentationWatcher. Null if there isn't one.
19916 private void reportStartInstrumentationFailureLocked(IInstrumentationWatcher watcher, argument
19919 if (watcher !
19819 startInstrumentation(ComponentName className, String profileFile, int flags, Bundle arguments, IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection, int userId, String abiOverride) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DDialerFilter.java364 public void setLettersWatcher(TextWatcher watcher) { argument
367 span.setSpan(watcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
370 public void setDigitsWatcher(TextWatcher watcher) { argument
373 span.setSpan(watcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
376 public void setFilterWatcher(TextWatcher watcher) { argument
378 setLettersWatcher(watcher);
380 setDigitsWatcher(watcher);
384 public void removeFilterWatcher(TextWatcher watcher) { argument
391 text.removeSpan(watcher);
H A DTextView.java9281 public void addTextChangedListener(TextWatcher watcher) { argument
9286 mListeners.add(watcher);
9294 public void removeTextChangedListener(TextWatcher watcher) { argument
9296 int i = mListeners.indexOf(watcher);
/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/app/
H A DInstrumentation.java1912 IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection) {
1918 mWatcher = watcher;
1910 init(ActivityThread thread, Context instrContext, Context appContext, ComponentName component, IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection) argument
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java2773 public void removeTextChangedListener(TextWatcher watcher) { argument
2775 super.removeTextChangedListener(watcher);
2804 // view. If there are, don't do anything in the text watcher.
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java556 RotationWatcher(IRotationWatcher watcher, IBinder.DeathRecipient deathRecipient, argument
558 mWatcher = watcher;
3942 public int watchRotation(IRotationWatcher watcher, int displayId) { argument
3943 final IBinder watcherBinder = watcher.asBinder();
3964 watcher.asBinder().linkToDeath(dr, 0);
3965 mRotationWatchers.add(new RotationWatcher(watcher, dr, displayId));
3975 public void removeRotationWatcher(IRotationWatcher watcher) { argument
3976 final IBinder watcherBinder = watcher.asBinder();

Completed in 305 milliseconds