Home
last modified time | relevance | path

Searched defs:callback (Results 1 – 25 of 1166) sorted by relevance

12345678910>>...47

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest11.java56 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_setDynamicShortcuts() local
83 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId() local
124 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached() local
151 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_pinShortcuts() local
183 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_pinShortcuts_unpinOthers() local
215 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_cacheShortcuts() local
243 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_cacheShortcuts_alreadyCached() local
275 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_uncacheShortcuts() local
315 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_uncacheShortcuts_causeDeletion() local
349 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_updateShortcuts() local
[all …]
/frameworks/base/telephony/java/android/service/euicc/
DIEuiccService.aidl40 in IDownloadSubscriptionCallback callback); in downloadSubscription()
42 boolean forceDeactivateSim, in IGetDownloadableSubscriptionMetadataCallback callback); in getDownloadableSubscriptionMetadata()
43 void getEid(int slotId, in IGetEidCallback callback); in getEid()
44 void getOtaStatus(int slotId, in IGetOtaStatusCallback callback); in getOtaStatus()
46 void getEuiccProfileInfoList(int slotId, in IGetEuiccProfileInfoListCallback callback); in getEuiccProfileInfoList()
48 in IGetDefaultDownloadableSubscriptionListCallback callback); in getDefaultDownloadableSubscriptionList()
49 void getEuiccInfo(int slotId, in IGetEuiccInfoCallback callback); in getEuiccInfo()
50 void deleteSubscription(int slotId, String iccid, in IDeleteSubscriptionCallback callback); in deleteSubscription()
52 in ISwitchToSubscriptionCallback callback); in switchToSubscription()
54 in IUpdateSubscriptionNicknameCallback callback); in updateSubscriptionNickname()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/
DIEuiccCardController.aidl45 in IGetAllProfilesCallback callback); in getAllProfiles()
47 in IGetProfileCallback callback); in getProfile()
49 in IDisableProfileCallback callback); in disableProfile()
51 in ISwitchToProfileCallback callback); in switchToProfile()
53 in ISetNicknameCallback callback); in setNickname()
55 in IDeleteProfileCallback callback); in deleteProfile()
56 …d resetMemory(String callingPackage, String cardId, int options, in IResetMemoryCallback callback); in resetMemory()
58 in IGetDefaultSmdpAddressCallback callback); in getDefaultSmdpAddress()
60 in IGetSmdsAddressCallback callback); in getSmdsAddress()
62 in ISetDefaultSmdpAddressCallback callback); in setDefaultSmdpAddress()
[all …]
/frameworks/base/core/java/android/permission/
DPermissionControllerService.java99 @NonNull Consumer<Map<String, List<String>>> callback); in onRevokeRuntimePermissions()
110 @NonNull OutputStream backup, @NonNull Runnable callback); in onGetRuntimePermissionsBackup()
119 @NonNull InputStream backup, @NonNull Runnable callback) { in onRestoreRuntimePermissionsBackup()
134 @NonNull InputStream backup, @NonNull Runnable callback) { in onStageAndApplyRuntimePermissionsBackup()
144 @NonNull UserHandle user, @NonNull Consumer<Boolean> callback) { in onRestoreDelayedRuntimePermissionsBackup()
157 @NonNull UserHandle user, @NonNull Consumer<Boolean> callback) { in onApplyStagedRuntimePermissionBackup()
169 @NonNull Consumer<List<RuntimePermissionPresentationInfo>> callback); in onGetAppPermissions()
180 @NonNull String permissionName, @NonNull Runnable callback); in onRevokeRuntimePermission()
192 @CountPermissionAppsFlag int flags, @NonNull IntConsumer callback); in onCountPermissionApps()
203 @NonNull Consumer<List<RuntimePermissionUsageInfo>> callback); in onGetPermissionUsages()
[all …]
DIPermissionController.aidl32 String callerPackageName, in AndroidFuture callback); in revokeRuntimePermissions()
36 in AndroidFuture callback); in applyStagedRuntimePermissionBackup()
37 void getAppPermissions(String packageName, in AndroidFuture callback); in getAppPermissions()
40 in AndroidFuture callback); in countPermissionApps()
41 void getPermissionUsages(boolean countSystem, long numMillis, in AndroidFuture callback); in getPermissionUsages()
43 String permission, int grantState, in AndroidFuture callback); in setRuntimePermissionGrantStateByDeviceAdmin()
44 void grantOrUpgradeDefaultRuntimePermissions(in AndroidFuture callback); in grantOrUpgradeDefaultRuntimePermissions()
46 void updateUserSensitiveForApp(int uid, in AndroidFuture callback); in updateUserSensitiveForApp()
/frameworks/base/core/java/android/app/
DInstantAppResolverService.java71 @NonNull InstantAppResolutionCallback callback) { in onGetInstantAppResolveInfo()
86 @NonNull InstantAppResolutionCallback callback) { in onGetInstantAppIntentFilter()
117 @NonNull InstantAppResolutionCallback callback) { in onGetInstantAppResolveInfo()
148 @NonNull String token, @NonNull InstantAppResolutionCallback callback) { in onGetInstantAppIntentFilter()
185 @NonNull String token, @NonNull InstantAppResolutionCallback callback) { in onGetInstantAppResolveInfo()
212 @NonNull String token, @NonNull InstantAppResolutionCallback callback) { in onGetInstantAppIntentFilter()
231 @NonNull InstantAppResolutionCallback callback) { in onGetInstantAppResolveInfo()
234 request.getUserHandle(), request.getToken(), callback); in onGetInstantAppResolveInfo() local
248 @NonNull InstantAppResolutionCallback callback) { in onGetInstantAppIntentFilter()
251 request.getUserHandle(), request.getToken(), callback); in onGetInstantAppIntentFilter() local
[all …]
/frameworks/base/core/java/android/app/role/
DIRoleController.aidl26 void grantDefaultRoles(in RemoteCallback callback); in grantDefaultRoles()
29 in RemoteCallback callback); in onAddRoleHolder()
32 in RemoteCallback callback); in onRemoveRoleHolder()
34 void onClearRoleHolders(in String roleName, int flags, in RemoteCallback callback); in onClearRoleHolders()
37 in RemoteCallback callback); in isApplicationQualifiedForRole()
40 in RemoteCallback callback); in isApplicationVisibleForRole()
42 void isRoleVisible(in String roleName, in RemoteCallback callback); in isRoleVisible()
DRoleControllerService.java95 RemoteCallback callback) { in onBind()
110 RemoteCallback callback) { in onBind()
124 public void onClearRoleHolders(String roleName, int flags, RemoteCallback callback) { in onBind()
144 RemoteCallback callback) { in onBind()
158 RemoteCallback callback) { in onBind()
171 public void isRoleVisible(String roleName, RemoteCallback callback) { in onBind()
/frameworks/base/telephony/java/android/telephony/data/
DDataService.java164 @NonNull DataServiceCallback callback) { in setupDataCall()
186 @Nullable DataServiceCallback callback) { in deactivateDataCall()
201 @NonNull DataServiceCallback callback) { in setInitialAttachApn()
219 @NonNull DataServiceCallback callback) { in setDataProfile()
231 public void requestDataCallList(@NonNull DataServiceCallback callback) { in requestDataCallList()
237 private void registerForDataCallListChanged(IDataServiceCallback callback) { in registerForDataCallListChanged()
243 private void unregisterForDataCallListChanged(IDataServiceCallback callback) { in unregisterForDataCallListChanged()
281 public final IDataServiceCallback callback; field in DataService.SetupDataCallRequest
284 IDataServiceCallback callback) { in SetupDataCallRequest()
298 public final IDataServiceCallback callback; field in DataService.DeactivateDataCallRequest
[all …]
DIDataService.aidl32 IDataServiceCallback callback); in setupDataCall()
33 void deactivateDataCall(int slotId, int cid, int reason, IDataServiceCallback callback); in deactivateDataCall()
35 IDataServiceCallback callback); in setInitialAttachApn()
37 IDataServiceCallback callback); in setDataProfile()
38 void requestDataCallList(int slotId, IDataServiceCallback callback); in requestDataCallList()
39 void registerForDataCallListChanged(int slotId, IDataServiceCallback callback); in registerForDataCallListChanged()
40 void unregisterForDataCallListChanged(int slotId, IDataServiceCallback callback); in unregisterForDataCallListChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DLocationControllerImplTest.java61 LocationController.LocationChangeCallback callback = new LocationChangeCallback() { in testRemoveSelfActive_DoesNotCrash() local
82 LocationController.LocationChangeCallback callback = new LocationChangeCallback() { in testRemoveSelfSettings_DoesNotCrash() local
96 LocationChangeCallback callback = mock(LocationChangeCallback.class); in testAddCallback_notifiedImmediately() local
107 LocationChangeCallback callback = mock(LocationChangeCallback.class); in testCallbackNotified() local
119 LocationChangeCallback callback = mock(LocationChangeCallback.class); in testCallbackRemoved() local
/frameworks/base/native/android/
Dchoreographer.cpp25 AChoreographer_frameCallback callback, void* data) { in AChoreographer_postFrameCallback()
29 AChoreographer_frameCallback callback, void* data, in AChoreographer_postFrameCallbackDelayed()
34 AChoreographer_frameCallback64 callback, void* data) { in AChoreographer_postFrameCallback64()
38 AChoreographer_frameCallback64 callback, void* data, in AChoreographer_postFrameCallbackDelayed64()
44 AChoreographer_refreshRateCallback callback, in AChoreographer_registerRefreshRateCallback()
49 AChoreographer_refreshRateCallback callback, in AChoreographer_unregisterRefreshRateCallback()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DAutoFillUI.java101 public void setCallback(@NonNull AutoFillUiCallback callback) { in setCallback()
117 public void clearCallback(@NonNull AutoFillUiCallback callback) { in clearCallback()
129 public void showError(int resId, @NonNull AutoFillUiCallback callback) { in showError()
130 showError(mContext.getString(resId), callback); in showError() local
136 public void showError(@Nullable CharSequence message, @NonNull AutoFillUiCallback callback) { in showError()
153 public void hideFillUi(@NonNull AutoFillUiCallback callback) { in hideFillUi()
162 public void filterFillUi(@Nullable String filterText, @NonNull AutoFillUiCallback callback) { in filterFillUi()
190 @NonNull Drawable serviceIcon, @NonNull AutoFillUiCallback callback, int sessionId, in showFillUi()
302 @NonNull AutoFillUiCallback callback, @NonNull PendingUi pendingSaveUi, in showSaveUi()
387 public void hideAll(@Nullable AutoFillUiCallback callback) { in hideAll()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java200 public void getSpecVersion(AsyncResultCallback<EuiccSpecVersion> callback, Handler handler) { in getSpecVersion()
207 (byte[] response) -> mSpecVersion, callback, handler); in getSpecVersion() local
236 public void getAllProfiles(AsyncResultCallback<EuiccProfileInfo[]> callback, Handler handler) { in getAllProfiles()
275 public final void getProfile(String iccid, AsyncResultCallback<EuiccProfileInfo> callback, in getProfile()
311 public void disableProfile(String iccid, boolean refresh, AsyncResultCallback<Void> callback, in disableProfile()
350 public void switchToProfile(String iccid, boolean refresh, AsyncResultCallback<Void> callback, in switchToProfile()
395 public void getEid(AsyncResultCallback<String> callback, Handler handler) { in getEid()
424 public void setNickname(String iccid, String nickname, AsyncResultCallback<Void> callback, in setNickname()
452 public void deleteProfile(String iccid, AsyncResultCallback<Void> callback, Handler handler) { in deleteProfile()
481 AsyncResultCallback<Void> callback, Handler handler) { in resetMemory()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DIVoiceInteractor.aidl31 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in Bundle extras); in startConfirmation()
33 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in startPickOption()
36 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in Bundle extras); in startCompleteVoice()
38 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in Bundle extras); in startAbortVoice()
40 IVoiceInteractorCallback callback, String command, in Bundle extras); in startCommand()
43 void setKillCallback(in ICancellationSignal callback); in setKillCallback()
/frameworks/ml/nn/driver/sample/
DSampleDriverUtils.cpp28 void notify(const sp<V1_0::IPreparedModelCallback>& callback, const ErrorStatus& status, in notify()
36 void notify(const sp<V1_2::IPreparedModelCallback>& callback, const ErrorStatus& status, in notify()
45 void notify(const sp<V1_3::IPreparedModelCallback>& callback, const ErrorStatus& status, in notify()
54 void notify(const sp<V1_0::IExecutionCallback>& callback, const ErrorStatus& status, in notify()
62 void notify(const sp<V1_2::IExecutionCallback>& callback, const ErrorStatus& status, in notify()
70 void notify(const sp<V1_3::IExecutionCallback>& callback, const ErrorStatus& status, in notify()
/frameworks/base/core/java/android/service/carrier/
DCarrierMessagingService.java127 int subId, @NonNull ResultCallback<Boolean> callback) { in onFilterSms()
155 int destPort, int subId, @NonNull final ResultCallback<Integer> callback) { in onReceiveTextSms()
177 @NonNull ResultCallback<SendSmsResult> callback) { in onSendTextSms()
197 int sendSmsFlag, @NonNull ResultCallback<SendSmsResult> callback) { in onSendTextSms()
215 @NonNull ResultCallback<SendSmsResult> callback) { in onSendDataSms()
236 @NonNull ResultCallback<SendSmsResult> callback) { in onSendDataSms()
253 @NonNull ResultCallback<SendMultipartSmsResult> callback) { in onSendMultipartTextSms()
274 @NonNull ResultCallback<SendMultipartSmsResult> callback) { in onSendMultipartTextSms()
289 @Nullable Uri location, @NonNull ResultCallback<SendMmsResult> callback) { in onSendMms()
308 @NonNull ResultCallback<Integer> callback) { in onDownloadMms()
[all …]
DICarrierMessagingService.aidl42 in ICarrierMessagingCallback callback); in filterSms()
56 in ICarrierMessagingCallback callback); in sendTextSms()
71 int sendSmsFlag, in ICarrierMessagingCallback callback); in sendDataSms()
85 int sendSmsFlag, in ICarrierMessagingCallback callback); in sendMultipartTextSms()
99 in ICarrierMessagingCallback callback); in sendMms()
112 in ICarrierMessagingCallback callback); in downloadMms()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccCardController.java222 IGetAllProfilesCallback callback) { in getAllProfiles()
271 IGetProfileCallback callback) { in getProfile()
319 IDisableProfileCallback callback) { in disableProfile()
367 ISwitchToProfileCallback callback) { in switchToProfile()
433 ISetNicknameCallback callback) { in setNickname()
481 IDeleteProfileCallback callback) { in deleteProfile()
533 @EuiccCardManager.ResetOption int options, IResetMemoryCallback callback) { in resetMemory()
585 IGetDefaultSmdpAddressCallback callback) { in getDefaultSmdpAddress()
633 IGetSmdsAddressCallback callback) { in getSmdsAddress()
681 ISetDefaultSmdpAddressCallback callback) { in setDefaultSmdpAddress()
[all …]
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java180 private void addCallback(final IMediaProjectionWatcherCallback callback) { in addCallback()
193 private void removeCallback(IMediaProjectionWatcherCallback callback) { in removeCallback()
200 private void linkDeathRecipientLocked(IMediaProjectionWatcherCallback callback, in linkDeathRecipientLocked()
211 private void unlinkDeathRecipientLocked(IMediaProjectionWatcherCallback callback) { in unlinkDeathRecipientLocked()
351 public void addCallback(final IMediaProjectionWatcherCallback callback) { in addCallback()
366 public void removeCallback(IMediaProjectionWatcherCallback callback) { in removeCallback()
464 public void start(final IMediaProjectionCallback callback) { in start()
569 public void registerCallback(IMediaProjectionCallback callback) { in registerCallback()
577 public void unregisterCallback(IMediaProjectionCallback callback) { in unregisterCallback()
631 public void add(IMediaProjectionCallback callback) { in add()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsRegistrationCallbackHelperTest.java119 RegistrationCallback callback = mRegistrationCallbackHelper.getCallback(); in testImsOnRegistered() local
135 RegistrationCallback callback = mRegistrationCallbackHelper.getCallback(); in testImsOnRegistering() local
151 RegistrationCallback callback = mRegistrationCallbackHelper.getCallback(); in testImsUnRegistered() local
168 RegistrationCallback callback = mRegistrationCallbackHelper.getCallback(); in testSubscriberAssociatedUriChanged() local
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityButtonController.java96 public void registerAccessibilityButtonCallback(@NonNull AccessibilityButtonCallback callback) { in registerAccessibilityButtonCallback()
109 public void registerAccessibilityButtonCallback(@NonNull AccessibilityButtonCallback callback, in registerAccessibilityButtonCallback()
128 public void unregisterAccessibilityButtonCallback( in unregisterAccessibilityButtonCallback()
162 final AccessibilityButtonCallback callback = entries.keyAt(i); in dispatchAccessibilityButtonClicked() local
187 final AccessibilityButtonCallback callback = entries.keyAt(i); in dispatchAccessibilityButtonAvailabilityChanged() local
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java248 public void registerAvailabilityCallback(@NonNull AvailabilityCallback callback, in registerAvailabilityCallback()
268 @NonNull AvailabilityCallback callback) { in registerAvailabilityCallback()
283 public void unregisterAvailabilityCallback(@NonNull AvailabilityCallback callback) { in unregisterAvailabilityCallback()
309 public void registerTorchCallback(@NonNull TorchCallback callback, @Nullable Handler handler) { in registerTorchCallback()
328 @NonNull TorchCallback callback) { in registerTorchCallback()
343 public void unregisterTorchCallback(@NonNull TorchCallback callback) { in unregisterTorchCallback()
483 CameraDevice.StateCallback callback, Executor executor, final int uid) in openCameraDeviceUserAsync()
650 @NonNull final CameraDevice.StateCallback callback, @Nullable Handler handler) in openCamera()
688 @NonNull final CameraDevice.StateCallback callback) in openCamera()
712 @NonNull final CameraDevice.StateCallback callback, @NonNull Executor executor, in openCameraForUid()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DRemoteConference.java169 final Callback callback = record.getCallback(); in setDestroyed() local
194 final Callback callback = record.getCallback(); in setState() local
212 final Callback callback = record.getCallback(); in addConnection() local
230 final Callback callback = record.getCallback(); in removeConnection() local
247 final Callback callback = record.getCallback(); in setConnectionCapabilities() local
265 final Callback callback = record.getCallback(); in setConnectionProperties() local
283 final Callback callback = record.getCallback(); in setConferenceableConnections() local
301 final Callback callback = record.getCallback(); in setDisconnected() local
340 final Callback callback = record.getCallback(); in notifyExtrasChanged() local
551 public final void registerCallback(Callback callback) { in registerCallback()
[all …]
/frameworks/base/core/java/android/animation/
DAnimationHandler.java93 public void addAnimationFrameCallback(final AnimationFrameCallback callback, long delay) { in addAnimationFrameCallback()
117 public void addOneShotCommitCallback(final AnimationFrameCallback callback) { in addOneShotCommitCallback()
127 public void removeCallback(AnimationFrameCallback callback) { in removeCallback()
141 final AnimationFrameCallback callback = mAnimationCallbacks.get(i); in doAnimationFrame() local
160 private void commitAnimationFrame(AnimationFrameCallback callback, long frameTime) { in commitAnimationFrame()
174 private boolean isCallbackDue(AnimationFrameCallback callback, long currentTime) { in isCallbackDue()
247 public void postFrameCallback(Choreographer.FrameCallback callback) { in postFrameCallback()
311 void postFrameCallback(Choreographer.FrameCallback callback); in postFrameCallback()

12345678910>>...47