Searched refs:callback (Results 151 - 175 of 452) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHealth.java40 * <li> Create an {@link BluetoothHealth} callback and call
47 * callback will inform the application of channel state change. </li>
134 * the callback is used to notify success or failure if the function returns true.
141 * @param callback A callback to indicate success or failure of the registration and
143 * @return If true, callback will be called.
146 BluetoothHealthCallback callback) {
151 CHANNEL_TYPE_ANY, callback);
157 * the callback is used to notify success or failure if the function returns true.
166 * @param callback
145 registerSinkAppConfiguration(String name, int dataType, BluetoothHealthCallback callback) argument
170 registerAppConfiguration(String name, int dataType, int role, int channelType, BluetoothHealthCallback callback) argument
425 BluetoothHealthCallbackWrapper(BluetoothHealthCallback callback) argument
555 checkAppParam(String name, int role, int channelType, BluetoothHealthCallback callback) argument
[all...]
H A DIBluetoothHealth.aidl32 in IBluetoothHealthCallback callback);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedRotateDrawable.java190 final Callback callback = getCallback();
191 if (callback != null) {
192 callback.invalidateDrawable(this);
198 final Callback callback = getCallback();
199 if (callback != null) {
200 callback.scheduleDrawable(this, what, when);
206 final Callback callback = getCallback();
207 if (callback != null) {
208 callback.unscheduleDrawable(this, what);
/frameworks/base/core/java/android/os/
H A DLooper.java132 msg.callback + ": " + msg.what);
138 logging.println("<<<<< Finished to " + msg.target + " " + msg.callback);
149 + msg.callback + " what=" + msg.what);
H A DSystemProperties.java133 public static void addChangeCallback(Runnable callback) { argument
138 sChangeCallbacks.add(callback);
/frameworks/base/libs/hwui/renderthread/
H A DRenderThread.h82 void postFrameCallback(IFrameCallback* callback);
83 void removeFrameCallback(IFrameCallback* callback);
84 // If the callback is currently registered, it will be pushed back until
86 void pushBackFrameCallback(IFrameCallback* callback);
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProvider.java117 * Sets a callback to invoke when the provider's descriptor changes.
119 * @param callback The callback to use, or null if none.
121 public final void setCallback(@Nullable Callback callback) { argument
123 mCallback = callback;
172 * a callback, it also provides a selector to specify the kinds of routes that
198 * by registering a {@link Callback callback} with {@link #setCallback}.
214 * {@link Callback callback} about the change to the provider's descriptor.
354 * @param callback A {@link ControlRequestCallback} to invoke with the result
357 * invoke the callback whe
362 onControlRequest(Intent intent, @Nullable ControlRequestCallback callback) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraDevice.java203 * {@link CameraCaptureSession.StateCallback#onConfigured} callback will be called.</p>
343 * @param callback The callback to notify about the status of the new capture session.
344 * @param handler The handler on which the callback should be invoked, or {@code null} to use
348 * the callback is null, or the handler is null but the current
360 CameraCaptureSession.StateCallback callback, Handler handler)
396 * fully shut down, the {@link StateCallback#onClosed} callback will be called, and the camera
410 * A callback objects for receiving updates about the state of a camera device.
412 * <p>A callback instance must be provided to the {@link CameraManager#openCamera} method to
524 * <p>This callback ma
359 createCaptureSession(List<Surface> outputs, CameraCaptureSession.StateCallback callback, Handler handler) argument
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethod.java156 * @param callback Interface that is called with the newly created session.
158 public void createSession(SessionCallback callback); argument
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrinterRegistry.java120 // are not allowed in this callback, such as fragment transactions.
136 // are not allowed in this callback, such as fragment transactions.
176 OnPrintersChangeListener callback = (OnPrintersChangeListener) args.arg1;
179 callback.onPrintersChanged(printers);
183 OnPrintersChangeListener callback = (OnPrintersChangeListener) message.obj;
184 callback.onPrintersInvalid();
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardService.java87 public void verifyUnlock(IKeyguardExitCallback callback) {
89 mKeyguardViewMediator.verifyUnlock(callback);
151 public void onScreenTurnedOn(IKeyguardShowCallback callback) {
153 mKeyguardViewMediator.onScreenTurnedOn(callback);
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecFeatureAction.java36 * initiates the action, through the callback given at the creation of the object. All the actual
175 HdmiControlService.SendMessageCallback callback) {
176 mService.sendCecCommand(cmd, callback);
210 protected final void pollDevices(DevicePollingCallback callback, int pickStrategy, argument
212 mService.pollDevices(callback, getSourceAddress(), pickStrategy, retryCount);
174 sendCommand(HdmiCecMessage cmd, HdmiControlService.SendMessageCallback callback) argument
H A DSystemAudioStatusAction.java40 IHdmiControlCallback callback) {
43 mCallback = callback;
76 // Still return SUCCESS to callback.
113 Slog.e(TAG, "Failed to invoke callback.", e);
39 SystemAudioStatusAction(HdmiCecLocalDevice source, int avrAddress, IHdmiControlCallback callback) argument
/frameworks/base/telecomm/java/android/telecom/
H A DRemoteConference.java242 public final void registerCallback(Callback callback) { argument
243 mCallbacks.add(callback);
246 public final void unregisterCallback(Callback callback) { argument
247 mCallbacks.remove(callback);
/frameworks/native/include/android/
H A Dlooper.h50 * ALooper_addFd() that do not have a callback (that is provide NULL
51 * for the callback). In this case the caller of ALooper_pollOnce()
150 * For callback-based event loops, this is the prototype of the function
157 * to have this file descriptor and callback unregistered from the looper.
180 * and it has no callback function (requiring the caller here to handle it).
191 * data has been consumed or a file descriptor is available with no callback.
210 * The identifier must be >= 0, or ALOOPER_POLL_CALLBACK if providing a non-NULL callback.
212 * "callback" is the function to call when there is an event on the file descriptor.
213 * "data" is a private data pointer to supply to the callback.
217 * (1) If "callback" i
[all...]
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DResourceRequestKey.java49 public Cancelable createFileDescriptorFactoryAsync(RequestKey requestKey, Callback callback) { argument
/frameworks/support/v4/api21/android/support/v4/media/session/
H A DMediaSessionCompatApi21.java44 public static Object createCallback(Callback callback) { argument
45 return new CallbackProxy<Callback>(callback);
112 public CallbackProxy(T callback) { argument
113 mCallback = callback;
/frameworks/wilhelm/src/desktop/
H A DSDL.c56 fmt.callback = SDL_callback;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DSubMenuBuilder.java70 public void setCallback(Callback callback) { argument
71 mParentMenu.setCallback(callback);
/frameworks/base/native/android/
H A Dlooper.cpp79 ALooper_callbackFunc callback, void* data) {
80 return ALooper_to_Looper(looper)->addFd(fd, ident, events, callback, data);
78 ALooper_addFd(ALooper* looper, int fd, int ident, int events, ALooper_callbackFunc callback, void* data) argument
/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaSessionCompat.java99 * Add a callback to receive updates on for the MediaSession. This includes
103 * @param callback The callback object
105 public void setCallback(Callback callback) { argument
106 setCallback(callback, null);
110 * Set the callback to receive updates for the MediaSession. This includes
111 * media button and volume events. Set the callback to null to stop
114 * @param callback The callback to receive updates on.
117 public void setCallback(Callback callback, Handle argument
465 setCallback(Callback callback, Handler handler) argument
482 setCallback(Callback callback, Handler handler) argument
548 setCallback(Callback callback, Handler handler) argument
[all...]
/frameworks/wilhelm/src/itf/
H A DIDynamicInterfaceManagement.c91 // Make a copy of these, so we can call the callback with mutex unlocked
92 slDynamicInterfaceManagementCallback callback = thiz->mCallback; local
96 // Note that the mutex is unlocked during the callback
97 if (NULL != callback) {
99 (*callback)(&thiz->mItf, context, SL_DYNAMIC_ITF_EVENT_ASYNC_TERMINATION, result, iid);
340 // Make a copy of these, so we can call the callback with mutex unlocked
341 slDynamicInterfaceManagementCallback callback = thiz->mCallback; local
345 // Note that the mutex is unlocked during the callback
346 if (NULL != callback) {
348 (*callback)(
440 IDynamicInterfaceManagement_RegisterCallback(SLDynamicInterfaceManagementItf self, slDynamicInterfaceManagementCallback callback, void *pContext) argument
[all...]
/frameworks/base/core/java/android/app/
H A DINotificationManager.aidl39 void enqueueToast(String pkg, ITransientNotification callback, int duration);
40 void cancelToast(String pkg, ITransientNotification callback);
78 oneway void requestZenModeConditions(in IConditionListener callback, int relevance);
/frameworks/base/media/java/android/media/tv/
H A DITvInputManager.aidl44 void registerCallback(in ITvInputManagerCallback callback, int userId);
45 void unregisterCallback(in ITvInputManagerCallback callback, int userId);
78 ITvInputHardware acquireTvInputHardware(int deviceId, in ITvInputHardwareCallback callback,
/frameworks/base/services/core/java/com/android/server/
H A DBluetoothManagerService.java320 public IBluetooth registerAdapter(IBluetoothManagerCallback callback){ argument
321 if (callback == null) {
326 msg.obj = callback;
333 public void unregisterAdapter(IBluetoothManagerCallback callback) { argument
334 if (callback == null) {
341 msg.obj = callback;
345 public void registerStateChangeCallback(IBluetoothStateChangeCallback callback) { argument
349 msg.obj = callback;
353 public void unregisterStateChangeCallback(IBluetoothStateChangeCallback callback) { argument
357 msg.obj = callback;
[all...]

Completed in 833 milliseconds

1234567891011>>