/frameworks/base/core/java/android/view/ |
H A D | WindowCallbackWrapper.java | 27 * the wrapped callback for any subclasses. 36 throw new IllegalArgumentException("Window callback may not be null"); 137 public ActionMode onWindowStartingActionMode(ActionMode.Callback callback) { argument 138 return mWrapped.onWindowStartingActionMode(callback); 142 public ActionMode onWindowStartingActionMode(ActionMode.Callback callback, int type) { argument 143 return mWrapped.onWindowStartingActionMode(callback, type);
|
H A D | SurfaceHolder.java | 153 * @param callback The new Callback interface. 155 public void addCallback(Callback callback); argument 160 * @param callback The Callback interface to remove. 162 public void removeCallback(Callback callback); argument
|
/frameworks/base/core/tests/coretests/src/android/print/mockservice/ |
H A D | PrinterDiscoverySessionCallbacks.java | 46 CancellationSignal cancellationSignal, CustomPrinterIconCallback callback); 45 onRequestCustomPrinterIcon(PrinterId printerId, CancellationSignal cancellationSignal, CustomPrinterIconCallback callback) argument
|
H A D | StubbablePrinterDiscoverySession.java | 76 @NonNull CustomPrinterIconCallback callback) { 78 mCallbacks.onRequestCustomPrinterIcon(printerId, cancellationSignal, callback); 74 onRequestCustomPrinterIcon(@onNull PrinterId printerId, @NonNull CancellationSignal cancellationSignal, @NonNull CustomPrinterIconCallback callback) argument
|
/frameworks/base/media/java/android/media/midi/ |
H A D | IMidiManager.aidl | 38 void openDevice(IBinder clientToken, in MidiDeviceInfo device, in IMidiDeviceOpenCallback callback); 40 in IMidiDeviceOpenCallback callback);
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
H A D | ServiceResolveQueue.java | 61 public void queueRequest(NsdServiceInfo serviceInfo, ResolveCallback callback) { argument 63 Pair<NsdServiceInfo, ResolveCallback> newRequest = Pair.create(serviceInfo, callback); 70 public void removeRequest(NsdServiceInfo serviceInfo, ResolveCallback callback) { argument 72 Pair<NsdServiceInfo, ResolveCallback> newRequest = Pair.create(serviceInfo, callback);
|
H A D | ServiceRecommendationPlugin.java | 60 public void start(@NonNull PrinterDiscoveryCallback callback) throws Exception { argument 62 mCallback = callback;
|
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/mockservice/ |
H A D | PrinterDiscoverySessionCallbacks.java | 46 CancellationSignal cancellationSignal, CustomPrinterIconCallback callback); 45 onRequestCustomPrinterIcon(PrinterId printerId, CancellationSignal cancellationSignal, CustomPrinterIconCallback callback) argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | BluetoothEventManager.java | 124 public void registerCallback(BluetoothCallback callback) { argument 126 mCallbacks.add(callback); 131 public void unregisterCallback(BluetoothCallback callback) { argument 133 mCallbacks.remove(callback); 158 // send callback to update UI and possibly start scanning 160 for (BluetoothCallback callback : mCallbacks) { 161 callback.onBluetoothStateChanged(state); 178 for (BluetoothCallback callback : mCallbacks) { 179 callback.onScanningStateChanged(mStarted); 219 for (BluetoothCallback callback [all...] |
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
H A D | ActivityStarter.java | 23 * An interface to start activities. This is used as a callback from the views to 34 void startActivity(Intent intent, boolean dismissShade, Callback callback); argument
|
H A D | VolumeDialog.java | 31 void init(int windowType, Callback callback); argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyguardMonitorImpl.java | 61 public void addCallback(Callback callback) { argument 62 mCallbacks.add(callback); 72 public void removeCallback(Callback callback) { argument 73 if (mCallbacks.remove(callback) && mCallbacks.size() == 0 && mListening) { 119 // Copy the list to allow removal during callback.
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiMhlLocalDeviceStub.java | 41 void turnOn(IHdmiControlCallback callback) { argument
|
/frameworks/support/compat/java/android/support/v4/content/pm/ |
H A D | ShortcutManagerCompat.java | 81 * @param callback if not null, this intent will be sent when the shortcut is pinned 90 @NonNull ShortcutInfoCompat shortcut, @Nullable final IntentSender callback) { 93 shortcut.toShortcutInfo(), callback); 101 // If the callback is null, just send the broadcast 102 if (callback == null) { 107 // Otherwise send the callback when the intent has successfully been dispatched. 112 callback.sendIntent(context, 0, null, null, null); 89 requestPinShortcut(@onNull final Context context, @NonNull ShortcutInfoCompat shortcut, @Nullable final IntentSender callback) argument
|
/frameworks/support/customtabs/src/android/support/customtabs/ |
H A D | CustomTabsClient.java | 177 * Creates a new session through an ICustomTabsService with the optional callback. This session 181 * @param callback The callback through which the client will receive updates about the created 187 public CustomTabsSession newSession(final CustomTabsCallback callback) { argument 193 if (callback == null) return; 197 callback.onNavigationEvent(navigationEvent, extras); 205 if (callback == null) return; 209 callback.extraCallback(callbackName, args); 217 if (callback == null) return; 221 callback [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
H A D | MessageThreadUtil.java | 30 public MainThreadCallback<T> getMainThreadProxy(final MainThreadCallback<T> callback) { argument 66 callback.updateItemCount(msg.arg1, msg.arg2); 70 callback.addTile(msg.arg1, (TileList.Tile<T>) msg.data); 73 callback.removeTile(msg.arg1, msg.arg2); 86 public BackgroundCallback<T> getBackgroundProxy(final BackgroundCallback<T> callback) { argument 146 callback.refresh(msg.arg1); 151 callback.updateRange( 155 callback.loadTile(msg.arg1, msg.arg2); 159 callback.recycleTile((TileList.Tile<T>) msg.data);
|
/frameworks/wilhelm/src/android/ |
H A D | BufferQueueSource.cpp | 66 slAndroidBufferQueueCallback callback = NULL; local 82 // can this read operation cause us to call the buffer queue callback 135 callback = mAndroidBufferQueueSource->mCallback; 136 // save callback data while under lock 149 if (NULL != callback) { 150 SLresult result = (*callback)(&mAndroidBufferQueueSource->mItf, callbackPContext,
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
H A D | SoundTriggerHelper.java | 135 * @param callback Callack for the recognition events related to the given keyphrase. 141 IRecognitionStatusCallback callback, RecognitionConfig recognitionConfig) { 143 if (modelId == null || soundModel == null || callback == null || 155 return startRecognition(soundModel, modelData, callback, recognitionConfig, 166 * @param callback The callback for the recognition events related to the given keyphrase. 170 IRecognitionStatusCallback callback, RecognitionConfig recognitionConfig) { 173 if (soundModel == null || callback == null || recognitionConfig == null) { 179 + " soundModel=" + soundModel + ", callback=" + callback 140 startGenericRecognition(UUID modelId, GenericSoundModel soundModel, IRecognitionStatusCallback callback, RecognitionConfig recognitionConfig) argument 169 startKeyphraseRecognition(int keyphraseId, KeyphraseSoundModel soundModel, IRecognitionStatusCallback callback, RecognitionConfig recognitionConfig) argument 237 startRecognition(SoundModel soundModel, ModelData modelData, IRecognitionStatusCallback callback, RecognitionConfig recognitionConfig, int keyphraseId) argument 338 stopGenericRecognition(UUID modelId, IRecognitionStatusCallback callback) argument 371 stopKeyphraseRecognition(int keyphraseId, IRecognitionStatusCallback callback) argument 408 stopRecognition(ModelData modelData, IRecognitionStatusCallback callback) argument 1180 setCallback(IRecognitionStatusCallback callback) argument [all...] |
/frameworks/base/core/java/android/hardware/fingerprint/ |
H A D | FingerprintManager.java | 273 * Container for callback data from {@link FingerprintManager#authenticate(CryptoObject, 471 * @param callback an object to receive authentication events 472 * @param handler an optional handler to handle callback events 481 int flags, @NonNull AuthenticationCallback callback, @Nullable Handler handler) { 482 authenticate(crypto, cancel, flags, callback, handler, UserHandle.myUserId()); 503 int flags, @NonNull AuthenticationCallback callback, Handler handler, int userId) { 504 if (callback == null) { 505 throw new IllegalArgumentException("Must supply an authentication callback"); 519 mAuthenticationCallback = callback; 526 if (callback ! 480 authenticate(@ullable CryptoObject crypto, @Nullable CancellationSignal cancel, int flags, @NonNull AuthenticationCallback callback, @Nullable Handler handler) argument 502 authenticate(@ullable CryptoObject crypto, @Nullable CancellationSignal cancel, int flags, @NonNull AuthenticationCallback callback, Handler handler, int userId) argument 552 enroll(byte [] token, CancellationSignal cancel, int flags, int userId, EnrollmentCallback callback) argument 641 remove(Fingerprint fp, int userId, RemovalCallback callback) argument 664 enumerate(int userId, @NonNull EnumerateCallback callback) argument 818 addLockoutResetCallback(final LockoutResetCallback callback) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | LauncherApps.java | 964 * Registers a callback for changes to packages in current and managed profiles. 966 * @param callback The callback to register. 968 public void registerCallback(Callback callback) { argument 969 registerCallback(callback, null); 973 * Registers a callback for changes to packages in current and managed profiles. 975 * @param callback The callback to register. 978 public void registerCallback(Callback callback, Handler handler) { argument 980 if (callback ! 1001 unregisterCallback(Callback callback) argument 1015 findCallbackLocked(Callback callback) argument 1028 removeCallbackLocked(Callback callback) argument 1035 addCallbackLocked(Callback callback, Handler handler) argument 1171 CallbackMessageHandler(Looper looper, LauncherApps.Callback callback) argument [all...] |
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
H A D | AnimatedVectorDrawableCompat.java | 156 // Use internal listener to support AVDC's callback. 737 * A helper function to unregister the Animatable2Compat callback from the platform's 738 * Animatable2 callback, while keeping the internal array of callback up to date. 742 Animatable2Compat.AnimationCallback callback) { 743 return dr.unregisterAnimationCallback(callback.getPlatformCallback()); 748 callback) { 751 registerPlatformCallback((AnimatedVectorDrawable) mDelegateDrawable, callback); 755 if (callback == null) { 764 if (mAnimationCallbacks.contains(callback)) { 741 unregisterPlatformCallback(AnimatedVectorDrawable dr, Animatable2Compat.AnimationCallback callback) argument 747 registerAnimationCallback(@onNull Animatable2Compat.AnimationCallback callback) argument 804 registerPlatformCallback(@onNull AnimatedVectorDrawable avd, @NonNull final Animatable2Compat.AnimationCallback callback) argument 820 unregisterAnimationCallback( @onNull Animatable2Compat.AnimationCallback callback) argument 861 registerAnimationCallback(Drawable dr, Animatable2Compat.AnimationCallback callback) argument 883 unregisterAnimationCallback(Drawable dr, Animatable2Compat.AnimationCallback callback) argument [all...] |
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManager.java | 149 * run asynchronously. If a callback is provided then 154 * to the callback). This method waits for the operation to complete (if 158 * future from the method; no callback need be supplied. 712 * @param callback callback to invoke when the result is available. may be null. 713 * @param handler the handler on which to invoke the callback, or null for the main thread 719 AccountManagerCallback<String> callback, Handler handler) { 722 return new Future2Task<String>(handler, callback) { 756 * @param callback Callback to invoke when the request completes, null for no callback 717 getAuthTokenLabel( final String accountType, final String authTokenType, AccountManagerCallback<String> callback, Handler handler) argument 761 hasFeatures(final Account account, final String[] features, AccountManagerCallback<Boolean> callback, Handler handler) argument 822 getAccountsByTypeAndFeatures( final String type, final String[] features, AccountManagerCallback<Account[]> callback, Handler handler) argument 1078 renameAccount( final Account account, @Size(min = 1) final String newName, AccountManagerCallback<Account> callback, Handler handler) argument 1148 removeAccount(final Account account, AccountManagerCallback<Boolean> callback, Handler handler) argument 1207 removeAccount(final Account account, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 1226 removeAccountAsUser(final Account account, AccountManagerCallback<Boolean> callback, Handler handler, final UserHandle userHandle) argument 1250 removeAccountAsUser(final Account account, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler, final UserHandle userHandle) argument 1565 getAuthToken( final Account account, final String authTokenType, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 1654 getAuthToken( final Account account, final String authTokenType, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument 1734 getAuthToken( final Account account, final String authTokenType, final Bundle options, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument 1805 addAccount(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 1829 addAccountAsUser(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler, final UserHandle userHandle) argument 1882 copyAccountToUser( final Account account, final UserHandle fromUser, final UserHandle toUser, AccountManagerCallback<Boolean> callback, Handler handler) argument 1995 confirmCredentials(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 2009 confirmCredentialsAsUser(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler, UserHandle userHandle) argument 2073 updateCredentials(final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 2129 editProperties(final String accountType, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 2170 postToHandler(Handler handler, final AccountManagerCallback<Bundle> callback, final AccountManagerFuture<Bundle> future) argument 2224 AmsTask(Activity activity, Handler handler, AccountManagerCallback<Bundle> callback) argument 2420 Future2Task(Handler handler, AccountManagerCallback<T> callback) argument 2514 getAccountByTypeAndFeatures(String accountType, String[] features, AccountManagerCallback<Bundle> callback, Handler handler) argument 2528 GetAuthTokenByTypeAndFeaturesTask(final String accountType, final String authTokenType, final String[] features, Activity activityForPrompting, final Bundle addAccountOptions, final Bundle loginOptions, AccountManagerCallback<Bundle> callback, Handler handler) argument 2690 getAuthTokenByFeatures( final String accountType, final String authTokenType, final String[] features, final Activity activity, final Bundle addAccountOptions, final Bundle getAuthTokenOptions, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 3031 startAddAccountSession( final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 3111 startUpdateCredentialsSession( final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 3191 finishSession( final Bundle sessionBundle, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 3210 finishSessionAsUser( final Bundle sessionBundle, final Activity activity, final UserHandle userHandle, AccountManagerCallback<Bundle> callback, Handler handler) argument 3252 isCredentialsUpdateSuggested( final Account account, final String statusToken, AccountManagerCallback<Boolean> callback, Handler handler) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | RequestHandlerThread.java | 40 public RequestHandlerThread(String name, Handler.Callback callback) { argument 42 mCallback = callback;
|
/frameworks/base/core/java/android/hardware/location/ |
H A D | IContextHubService.aidl | 32 // register a callback to receive messages 33 int registerCallback(in IContextHubCallback callback);
|
/frameworks/base/core/java/android/service/trust/ |
H A D | ITrustAgentService.aidl | 33 oneway void setCallback(ITrustAgentServiceCallback callback);
|