/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | TakeScreenshotService.java | 36 final Messenger callback = msg.replyTo; 42 callback.send(reply);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | EthernetSignalController.java | 50 public void notifyListeners(SignalCallback callback) { argument 55 callback.setEthernetIndicators(new IconState(ethernetVisible, getCurrentIconId(),
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
H A D | IImsVideoCallProvider.aidl | 44 void setCallback(IImsVideoCallCallback callback);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | ITelephonyRegistry.aidl | 33 IOnSubscriptionsChangedListener callback); 35 IOnSubscriptionsChangedListener callback); 36 void listen(String pkg, IPhoneStateListener callback, int events, boolean notifyNow); 37 void listenForSubscriber(in int subId, String pkg, IPhoneStateListener callback, int events,
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | SurfaceView.java | 64 public void addCallback(Callback callback) { 68 public void removeCallback(Callback callback) {
|
H A D | WindowCallback.java | 126 public ActionMode onWindowStartingActionMode(Callback callback) { argument 131 public ActionMode onWindowStartingActionMode(Callback callback, int type) { argument
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraExceptionHandler.java | 45 * A callback helps to handle RuntimeException thrown by camera framework. 55 * Construct a new instance of {@link CameraExceptionHandler} with a custom callback which will 58 * @param callback The callback which will be invoked. 59 * @param handler The handler in which the callback will be invoked in. 61 public CameraExceptionHandler(CameraExceptionCallback callback, Handler handler) { argument 63 mCallback = callback; 67 * Construct a new instance of {@link CameraExceptionHandler} with a default callback which will 70 * @param handler The handler in which the default callback will be invoked in.
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | Learning_MulticlassPA.java | 64 public void setModelChangeCallback(ModelChangeCallback callback) { argument 65 modelChangeCallback = callback;
|
/frameworks/native/include/binder/ |
H A D | IAppOpsService.h | 40 const sp<IAppOpsCallback>& callback) = 0; 41 virtual void stopWatchingMode(const sp<IAppOpsCallback>& callback) = 0;
|
/frameworks/native/libs/binder/ |
H A D | IAppOpsService.cpp | 89 const sp<IAppOpsCallback>& callback) { 94 data.writeStrongBinder(IInterface::asBinder(callback)); 98 virtual void stopWatchingMode(const sp<IAppOpsCallback>& callback) { argument 101 data.writeStrongBinder(IInterface::asBinder(callback)); 181 sp<IAppOpsCallback> callback = interface_cast<IAppOpsCallback>(data.readStrongBinder()); local 182 startWatchingMode(op, packageName, callback); 188 sp<IAppOpsCallback> callback = interface_cast<IAppOpsCallback>(data.readStrongBinder()); local 189 stopWatchingMode(callback); 88 startWatchingMode(int32_t op, const String16& packageName, const sp<IAppOpsCallback>& callback) argument
|
/frameworks/native/services/surfaceflinger/ |
H A D | DispSync.h | 110 // addEventListener registers a callback to be called repeatedly at the 111 // given phase offset from the hardware vsync events. The callback is 115 const sp<Callback>& callback); 117 // removeEventListener removes an already-registered event callback. Once 118 // this method returns that callback will no longer be called by the 120 status_t removeEventListener(const sp<Callback>& callback);
|
/frameworks/support/customtabs/src/android/support/customtabs/ |
H A D | CustomTabsSession.java | 40 ICustomTabsService service, ICustomTabsCallback callback, ComponentName componentName) { 42 mCallback = callback; 39 CustomTabsSession( ICustomTabsService service, ICustomTabsCallback callback, ComponentName componentName) argument
|
H A D | CustomTabsClient.java | 171 * Creates a new session through an ICustomTabsService with the optional callback. This session 175 * @param callback The callback through which the client will receive updates about the created 181 public CustomTabsSession newSession(final CustomTabsCallback callback) { argument 185 if (callback != null) callback.onNavigationEvent(navigationEvent, extras); 190 if (callback != null) callback.extraCallback(callbackName, args);
|
/frameworks/support/v4/java/android/support/v4/media/ |
H A D | VolumeProviderCompat.java | 145 * Sets a callback to receive volume changes. 150 public void setCallback(Callback callback) { argument 151 mCallback = callback;
|
/frameworks/wilhelm/src/itf/ |
H A D | IOutputMix.c | 48 slMixDeviceChangeCallback callback, void *pContext) 54 thiz->mCallback = callback; 47 IOutputMix_RegisterDeviceChangeCallback(SLOutputMixItf self, slMixDeviceChangeCallback callback, void *pContext) argument
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecController.java | 115 * and to pass callback for incoming message or event. 154 * @param callback callback interface to report allocated logical address to caller 158 final AllocateAddressCallback callback) { 164 handleAllocateLogicalAddress(deviceType, preferredAddress, callback); 171 final AllocateAddressCallback callback) { 209 if (callback != null) { 213 callback.onAllocated(deviceType, assignedAddress); 361 * @param callback an interface used to get a list of all remote devices' address 367 void pollDevices(DevicePollingCallback callback, in argument 157 allocateLogicalAddress(final int deviceType, final int preferredAddress, final AllocateAddressCallback callback) argument 170 handleAllocateLogicalAddress(final int deviceType, int preferredAddress, final AllocateAddressCallback callback) argument 435 runDevicePolling(final int sourceAddress, final List<Integer> candidates, final int retryCount, final DevicePollingCallback callback, final List<Integer> allocated) argument 563 sendCommand(final HdmiCecMessage cecMessage, final HdmiControlService.SendMessageCallback callback) argument [all...] |
H A D | RoutingControlAction.java | 75 IHdmiControlCallback callback) { 77 mCallback = callback; 82 // the result through this callback, not through notification. Any other events that 84 mNotifyInputChange = (callback == null); 188 private void queryDevicePowerStatus(int address, SendMessageCallback callback) { argument 190 callback); 74 RoutingControlAction(HdmiCecLocalDevice localDevice, int path, boolean queryDevicePowerStatus, IHdmiControlCallback callback) argument
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseSurfaceHolder.java | 74 public void addCallback(Callback callback) { argument 78 if (mCallbacks.contains(callback) == false) { 79 mCallbacks.add(callback); 84 public void removeCallback(Callback callback) { argument 86 mCallbacks.remove(callback);
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
H A D | BaseTestActivity.java | 218 public ActionMode onWindowStartingSupportActionMode(@NonNull ActionMode.Callback callback) { argument 220 return mAppCompatCallback.onWindowStartingSupportActionMode(callback); 222 return super.onWindowStartingSupportActionMode(callback); 225 public void setAppCompatCallback(AppCompatCallback callback) { argument 226 mAppCompatCallback = callback;
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | Call.java | 275 * Whether the call is made while the device is in emergency callback mode. 1170 * Registers a callback to this {@code Call}. 1172 * @param callback A {@code Callback}. 1174 public void registerCallback(Callback callback) { argument 1175 registerCallback(callback, new Handler()); 1179 * Registers a callback to this {@code Call}. 1181 * @param callback A {@code Callback}. 1184 public void registerCallback(Callback callback, Handler handler) { argument 1185 unregisterCallback(callback); 1186 // Don't allow new callback registratio 1197 unregisterCallback(Callback callback) argument [all...] |
/frameworks/base/core/java/android/hardware/fingerprint/ |
H A D | FingerprintManager.java | 256 * Container for callback data from {@link FingerprintManager#authenticate(CryptoObject, 419 * @param callback an object to receive authentication events 420 * @param handler an optional handler to handle callback events 429 int flags, @NonNull AuthenticationCallback callback, @Nullable Handler handler) { 430 authenticate(crypto, cancel, flags, callback, handler, UserHandle.myUserId()); 451 int flags, @NonNull AuthenticationCallback callback, Handler handler, int userId) { 452 if (callback == null) { 453 throw new IllegalArgumentException("Must supply an authentication callback"); 467 mAuthenticationCallback = callback; 474 if (callback ! 428 authenticate(@ullable CryptoObject crypto, @Nullable CancellationSignal cancel, int flags, @NonNull AuthenticationCallback callback, @Nullable Handler handler) argument 450 authenticate(@ullable CryptoObject crypto, @Nullable CancellationSignal cancel, int flags, @NonNull AuthenticationCallback callback, Handler handler, int userId) argument 500 enroll(byte [] token, CancellationSignal cancel, int flags, int userId, EnrollmentCallback callback) argument 589 remove(Fingerprint fp, int userId, RemovalCallback callback) argument 744 addLockoutResetCallback(final LockoutResetCallback callback) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | CallbackRegistry.java | 38 * @param <C> The callback type. 64 * The reentrancy level of the notification. When we notify a callback, it may cause 66 * the callback state when all notifications have been processed. 211 * Add a callback to be notified. If the callback is already in the list, another won't 213 * @param callback The callback to add. 215 public synchronized void add(C callback) { argument 216 int index = mCallbacks.lastIndexOf(callback); 218 mCallbacks.add(callback); 274 remove(C callback) argument 393 onNotifyCallback(C callback, T sender, int arg, A arg2) argument [all...] |
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
H A D | Transport.java | 174 * Registers a service and provides a callback to receive messages. 177 * @param callback The callback to use. 179 public void registerService(int service, Callback callback) { argument 181 if (callback == null) { 182 throw new IllegalArgumentException("callback must not be null"); 186 mServices.put(service, callback); 204 final Callback callback; 206 callback = mServices.get(service); 208 if (callback ! [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
H A D | AdapterHelper.java | 43 LayoutlibCallback callback, ResourceReference adapterRef, boolean skipCallbackParser) { 56 fillView(context, view, item, parentItem, callback, adapterRef); 68 AdapterItem parentItem, LayoutlibCallback callback, ResourceReference adapterRef) { 73 fillView(context, group.getChildAt(i), item, parentItem, callback, adapterRef); 88 Object value = callback.getAdapterItemValue( 108 Object value = callback.getAdapterItemValue( 128 Object value = callback.getAdapterItemValue( 42 getView(AdapterItem item, AdapterItem parentItem, ViewGroup parent, LayoutlibCallback callback, ResourceReference adapterRef, boolean skipCallbackParser) argument 67 fillView(BridgeContext context, View view, AdapterItem item, AdapterItem parentItem, LayoutlibCallback callback, ResourceReference adapterRef) argument
|
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/ |
H A D | CallbackRegistry.java | 40 * @param <C> The callback type. 208 * Add a callback to be notified. If the callback is already in the list, another won't 210 * @param callback The callback to add. 212 public synchronized void add(C callback) { argument 213 int index = mCallbacks.lastIndexOf(callback); 215 mCallbacks.add(callback); 220 * Returns true if the callback at index has been marked for removal. 223 * @return true if the callback a 273 remove(C callback) argument 412 onNotifyCallback(C callback, T sender, int arg, A arg2) argument [all...] |