Searched refs:callback (Results 76 - 100 of 922) sorted by relevance

1234567891011>>

/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternChecker.java15 * Interface for a callback to be invoked after security check.
41 * Interface for a callback to be invoked after security verification.
61 * @param callback The callback to be invoked with the verification result.
67 final OnVerifyCallback callback) {
91 callback.onVerified(result, mThrottleTimeout);
104 * @param callback The callback to be invoked with the check result.
109 final OnCheckCallback callback) {
124 return utils.checkPattern(patternCopy, userId, callback
63 verifyPattern(final LockPatternUtils utils, final List<LockPatternView.Cell> pattern, final long challenge, final int userId, final OnVerifyCallback callback) argument
106 checkPattern(final LockPatternUtils utils, final List<LockPatternView.Cell> pattern, final int userId, final OnCheckCallback callback) argument
154 verifyPassword(final LockPatternUtils utils, final String password, final long challenge, final int userId, final OnVerifyCallback callback) argument
190 verifyTiedProfileChallenge(final LockPatternUtils utils, final String password, final boolean isPattern, final long challenge, final int userId, final OnVerifyCallback callback) argument
226 checkPassword(final LockPatternUtils utils, final String password, final int userId, final OnCheckCallback callback) argument
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DRemoteConference.java169 final Callback callback = record.getCallback();
173 callback.onDestroyed(conference);
194 final Callback callback = record.getCallback();
198 callback.onStateChanged(conference, oldState, newState);
212 final Callback callback = record.getCallback();
216 callback.onConnectionAdded(conference, connection);
230 final Callback callback = record.getCallback();
234 callback.onConnectionRemoved(conference, connection);
247 final Callback callback = record.getCallback();
251 callback
551 registerCallback(Callback callback) argument
562 registerCallback(Callback callback, Handler handler) argument
576 unregisterCallback(Callback callback) argument
[all...]
/frameworks/base/media/java/android/media/projection/
H A DMediaProjection.java68 * @param callback The callback to call.
69 * @param handler The handler on which the callback should be invoked, or
70 * null if the callback should be invoked on the calling thread's looper.
74 public void registerCallback(Callback callback, Handler handler) { argument
75 if (callback == null) {
76 throw new IllegalArgumentException("callback should not be null");
81 mCallbacks.put(callback, new CallbackRecord(callback, handler));
86 * @param callback Th
90 unregisterCallback(Callback callback) argument
100 createVirtualDisplay(@onNull String name, int width, int height, int dpi, boolean isSecure, @Nullable Surface surface, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument
134 createVirtualDisplay(@onNull String name, int width, int height, int dpi, int flags, @Nullable Surface surface, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument
198 CallbackRecord(Callback callback, Handler handler) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DAccessPointControllerImpl.java79 public void addAccessPointCallback(AccessPointCallback callback) { argument
80 if (callback == null || mCallbacks.contains(callback)) return;
81 if (DEBUG) Log.d(TAG, "addCallback " + callback);
82 mCallbacks.add(callback);
89 public void removeAccessPointCallback(AccessPointCallback callback) { argument
90 if (callback == null) return;
91 if (DEBUG) Log.d(TAG, "removeCallback " + callback);
92 mCallbacks.remove(callback);
132 for (AccessPointCallback callback
[all...]
H A DHotspotControllerImpl.java82 public void addCallback(Callback callback) { argument
84 if (callback == null || mCallbacks.contains(callback)) return;
85 if (DEBUG) Log.d(TAG, "addCallback " + callback);
86 mCallbacks.add(callback);
92 public void removeCallback(Callback callback) { argument
93 if (callback == null) return;
94 if (DEBUG) Log.d(TAG, "removeCallback " + callback);
96 mCallbacks.remove(callback);
114 OnStartTetheringCallback callback
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DManagedProfileControllerImpl.java47 public void addCallback(Callback callback) { argument
48 mCallbacks.add(callback);
52 callback.onManagedProfileChanged();
55 public void removeCallback(Callback callback) { argument
56 if (mCallbacks.remove(callback) && mCallbacks.size() == 0) {
89 for (Callback callback : mCallbacks) {
90 callback.onManagedProfileRemoved();
137 for (Callback callback : mCallbacks) {
138 callback.onManagedProfileChanged();
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardware.java222 * about the area specified by the geofence, the given callback will be called.
242 * long as the same callback object is used.
263 * @param callback {@link GeofenceHardwareCallback} that will be use to notify the
269 geofenceRequest, GeofenceHardwareCallback callback) {
275 getCallbackWrapper(callback));
377 * Register the callback to be notified when the state of a hardware geofence
391 * <p> The same callback object can be used to be informed of geofence transitions
395 * @param callback Callback that will be called.
399 GeofenceHardwareMonitorCallback callback) {
402 getMonitorCallbackWrapper(callback));
268 addGeofence(int geofenceId, int monitoringType, GeofenceHardwareRequest geofenceRequest, GeofenceHardwareCallback callback) argument
398 registerForMonitorStateChangeCallback(int monitoringType, GeofenceHardwareMonitorCallback callback) argument
426 unregisterForMonitorStateChangeCallback(int monitoringType, GeofenceHardwareMonitorCallback callback) argument
440 removeCallback(GeofenceHardwareCallback callback) argument
446 getCallbackWrapper(GeofenceHardwareCallback callback) argument
457 removeMonitorCallback(GeofenceHardwareMonitorCallback callback) argument
463 getMonitorCallbackWrapper( GeofenceHardwareMonitorCallback callback) argument
[all...]
H A DContextHubManager.java259 * Set a callback to receive messages from the context hub
261 * @param callback Callback object
268 public int registerCallback(Callback callback) { argument
269 return registerCallback(callback, null);
277 public int registerCallback(ICallback callback) { argument
282 mLocalCallback = callback;
287 * Set a callback to receive messages from the context hub
289 * @param callback Callback object
297 public int registerCallback(Callback callback, Handler handler) { argument
303 mCallback = callback;
319 unregisterCallback(Callback callback) argument
337 unregisterCallback(ICallback callback) argument
[all...]
/frameworks/av/camera/include/camera/ndk/
H A DNdkCameraManager.h121 * this callback returns.
155 * <p>Since this callback will be registered with the camera service, remember to unregister it
156 * once it is no longer needed; otherwise the callback will continue to receive events
162 * @param callback the {@link ACameraManager_AvailabilityCallbacks} to be registered.
166 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if manager or callback is NULL, or
171 ACameraManager* manager, const ACameraManager_AvailabilityCallbacks* callback);
176 * <p>Removing a callback that isn't registered has no effect.</p>
179 * @param callback the {@link ACameraManager_AvailabilityCallbacks} to be unregistered.
183 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if callback,
188 ACameraManager* manager, const ACameraManager_AvailabilityCallbacks* callback);
[all...]
/frameworks/av/include/camera/ndk/
H A DNdkCameraManager.h121 * this callback returns.
155 * <p>Since this callback will be registered with the camera service, remember to unregister it
156 * once it is no longer needed; otherwise the callback will continue to receive events
162 * @param callback the {@link ACameraManager_AvailabilityCallbacks} to be registered.
166 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if manager or callback is NULL, or
171 ACameraManager* manager, const ACameraManager_AvailabilityCallbacks* callback);
176 * <p>Removing a callback that isn't registered has no effect.</p>
179 * @param callback the {@link ACameraManager_AvailabilityCallbacks} to be unregistered.
183 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if callback,
188 ACameraManager* manager, const ACameraManager_AvailabilityCallbacks* callback);
[all...]
/frameworks/base/core/java/android/accessibilityservice/
H A DIAccessibilityServiceConnection.aidl40 IAccessibilityInteractionConnectionCallback callback, int flags, long threadId,
44 String text, int interactionId, IAccessibilityInteractionConnectionCallback callback,
49 IAccessibilityInteractionConnectionCallback callback, long threadId);
52 int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId);
55 int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId);
59 IAccessibilityInteractionConnectionCallback callback, long threadId);
/frameworks/base/core/java/android/hardware/hdmi/
H A DIHdmiControlService.aidl42 void oneTouchPlay(IHdmiControlCallback callback);
43 void queryDisplayStatus(IHdmiControlCallback callback);
47 void deviceSelect(int deviceId, IHdmiControlCallback callback);
48 void portSelect(int portId, IHdmiControlCallback callback);
53 void setSystemAudioMode(boolean enabled, IHdmiControlCallback callback);
67 void setHdmiRecordListener(IHdmiRecordListener callback);
/frameworks/base/core/java/android/os/
H A DRemoteCallbackList.java47 * <p>If a registered callback's process goes away, this class will take
66 Callback(E callback, Object cookie) { argument
67 mCallback = callback;
83 public boolean register(E callback) { argument
84 return register(callback, null);
88 * Add a new callback to the list. This callback will remain in the list
90 * goes away. If the callback was already registered (determined by
91 * checking to see if the {@link IInterface#asBinder callback.asBinder()}
94 * will remove a callback afte
113 register(E callback, Object cookie) argument
149 unregister(E callback) argument
183 onCallbackDied(E callback) argument
200 onCallbackDied(E callback, Object cookie) argument
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DIAccessibilityInteractionConnection.aidl35 int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags,
40 in Region bounds, int interactionId, IAccessibilityInteractionConnectionCallback callback,
44 int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags,
48 IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid,
52 IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid,
56 int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags,
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodSession.java109 * the implementation must call back on <var>callback</var> with its
123 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback); argument
138 public void dispatchTrackballEvent(int seq, MotionEvent event, EventCallback callback); argument
153 public void dispatchGenericMotionEvent(int seq, MotionEvent event, EventCallback callback); argument
/frameworks/base/core/java/android/webkit/
H A DWebStorage.java41 * Encapsulates a callback function which is used to provide a new quota
119 * We have to do everything asynchronously, by providing a callback function.
122 * We can then use the callback function to return the value.
132 public void getOrigins(ValueCallback<Map> callback) { argument
143 public void getUsageForOrigin(String origin, ValueCallback<Long> callback) { argument
154 public void getQuotaForOrigin(String origin, ValueCallback<Long> callback) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DPipAccessibilityInteractionConnection.java62 IAccessibilityInteractionConnectionCallback callback, int flags,
65 callback.setFindAccessibilityNodeInfosResult(
76 IAccessibilityInteractionConnectionCallback callback, int flags,
112 callback.setPerformAccessibilityActionResult(result, interactionId);
121 IAccessibilityInteractionConnectionCallback callback, int flags,
125 callback.setFindAccessibilityNodeInfoResult(null, interactionId);
134 IAccessibilityInteractionConnectionCallback callback, int flags,
138 callback.setFindAccessibilityNodeInfoResult(null, interactionId);
146 int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags,
150 callback
60 findAccessibilityNodeInfoByAccessibilityId(long accessibilityNodeId, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec, Bundle args) argument
74 performAccessibilityAction(long accessibilityNodeId, int action, Bundle arguments, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid) argument
119 findAccessibilityNodeInfosByViewId(long accessibilityNodeId, String viewId, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
132 findAccessibilityNodeInfosByText(long accessibilityNodeId, String text, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
145 findFocus(long accessibilityNodeId, int focusType, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
157 focusSearch(long accessibilityNodeId, int direction, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
[all...]
/frameworks/base/services/core/java/com/android/server/media/projection/
H A DMediaProjectionManagerService.java127 private void addCallback(final IMediaProjectionWatcherCallback callback) { argument
131 removeCallback(callback);
135 mCallbackDelegate.add(callback);
136 linkDeathRecipientLocked(callback, deathRecipient);
140 private void removeCallback(IMediaProjectionWatcherCallback callback) { argument
142 unlinkDeathRecipientLocked(callback);
143 mCallbackDelegate.remove(callback);
147 private void linkDeathRecipientLocked(IMediaProjectionWatcherCallback callback, argument
150 final IBinder token = callback.asBinder();
154 Slog.e(TAG, "Unable to link to death for media projection monitoring callback",
158 unlinkDeathRecipientLocked(IMediaProjectionWatcherCallback callback) argument
287 addCallback(final IMediaProjectionWatcherCallback callback) argument
302 removeCallback(IMediaProjectionWatcherCallback callback) argument
393 start(final IMediaProjectionCallback callback) argument
441 registerCallback(IMediaProjectionCallback callback) argument
449 unregisterCallback(IMediaProjectionCallback callback) argument
499 add(IMediaProjectionCallback callback) argument
505 add(IMediaProjectionWatcherCallback callback) argument
511 remove(IMediaProjectionCallback callback) argument
517 remove(IMediaProjectionWatcherCallback callback) argument
560 WatcherStartCallback(MediaProjectionInfo info, IMediaProjectionWatcherCallback callback) argument
580 WatcherStopCallback(MediaProjectionInfo info, IMediaProjectionWatcherCallback callback) argument
599 ClientStopCallback(IMediaProjectionCallback callback) argument
[all...]
/frameworks/support/customtabs/src/android/support/customtabs/
H A DCustomTabsService.java91 public boolean newSession(ICustomTabsCallback callback) {
92 final CustomTabsSessionToken sessionToken = new CustomTabsSessionToken(callback);
101 callback.asBinder().linkToDeath(deathRecipient, 0);
102 mDeathRecipientMap.put(callback.asBinder(), deathRecipient);
111 public boolean mayLaunchUrl(ICustomTabsCallback callback, Uri url,
114 new CustomTabsSessionToken(callback), url, extras, otherLikelyBundles);
123 public boolean updateVisuals(ICustomTabsCallback callback, Bundle bundle) {
125 new CustomTabsSessionToken(callback), bundle);
129 public boolean requestPostMessageChannel(ICustomTabsCallback callback,
132 new CustomTabsSessionToken(callback), postMessageOrigi
[all...]
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHalLegacy.h40 sound_model_callback_t callback,
51 * Once recognition succeeds of fails, the callback is called.
56 recognition_callback_t callback,
60 * The implementation does not have to call the callback when stopped via this method.
/frameworks/base/core/java/android/hardware/fingerprint/
H A DIFingerprintServiceLockoutResetCallback.aidl30 * A wakelock will be held until the reciever calls back into {@param callback}
32 void onLockoutReset(long deviceId, IRemoteCallback callback);
/frameworks/base/core/java/android/net/
H A DIIpConnectivityMetrics.aidl33 * At most one callback can be registered (by DevicePolicyManager).
34 * @return status {@code true} if registering/unregistering of the callback was successful,
38 boolean registerNetdEventCallback(in INetdEventCallback callback);
/frameworks/base/core/java/android/print/
H A DPrintDocumentAdapter.java30 * Initially, you will receive a call to {@link #onStart()}. This callback
48 * callback to release resources allocated in {@link #onStart()}.
52 * The {@link #onStart()} callback is always the first call you will receive and
58 * LayoutResultCallback, Bundle)} callback requires that you layout the content
61 * callback instance. Hence, you will not receive a subsequent call to any other
63 * one of the callback methods.
70 * callback instance. Hence, you will not receive a subsequent call to any other
72 * one of the callback methods. You will never receive a sequence of one or more
77 * The {@link #onFinish()} callback is always the last call you will receive and
116 * LayoutResultCallback, Bundle)} callback
186 onLayout(PrintAttributes oldAttributes, PrintAttributes newAttributes, CancellationSignal cancellationSignal, LayoutResultCallback callback, Bundle extras) argument
241 onWrite(PageRange[] pages, ParcelFileDescriptor destination, CancellationSignal cancellationSignal, WriteResultCallback callback) argument
[all...]
/frameworks/base/core/java/android/service/autofill/
H A DSaveCallback.java31 SaveCallback(ISaveCallback callback) { argument
32 mCallback = callback;
/frameworks/base/core/java/com/android/internal/graphics/
H A DSfVsyncFrameCallbackProvider.java32 public void postFrameCallback(Choreographer.FrameCallback callback) { argument
33 mChoreographer.postFrameCallback(callback);

Completed in 565 milliseconds

1234567891011>>