Home
last modified time | relevance | path

Searched refs:RemoteCallback (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/base/core/java/android/os/
DRemoteCallback.java29 public final class RemoteCallback implements Parcelable { class
39 public RemoteCallback(OnResultListener listener) { in RemoteCallback() method in RemoteCallback
43 public RemoteCallback(@NonNull OnResultListener listener, @Nullable Handler handler) { in RemoteCallback() method in RemoteCallback
52 RemoteCallback.this.sendResult(data); in RemoteCallback()
57 RemoteCallback(Parcel parcel) { in RemoteCallback() method in RemoteCallback
97 public static final @android.annotation.NonNull Parcelable.Creator<RemoteCallback> CREATOR
98 = new Parcelable.Creator<RemoteCallback>() {
99 public RemoteCallback createFromParcel(Parcel parcel) {
100 return new RemoteCallback(parcel);
103 public RemoteCallback[] newArray(int size) {
[all …]
DRemoteCallback.aidl19 parcelable RemoteCallback;
/frameworks/base/core/java/android/permission/
DIPermissionController.aidl19 import android.os.RemoteCallback;
31 String callerPackageName, in RemoteCallback callback); in revokeRuntimePermissions()
35 in RemoteCallback callback); in restoreDelayedRuntimePermissionBackup()
36 void getAppPermissions(String packageName, in RemoteCallback callback); in getAppPermissions()
39 in RemoteCallback callback); in countPermissionApps()
40 void getPermissionUsages(boolean countSystem, long numMillis, in RemoteCallback callback); in getPermissionUsages()
42 String permission, int grantState, in RemoteCallback callback); in setRuntimePermissionGrantStateByDeviceAdmin()
43 void grantOrUpgradeDefaultRuntimePermissions(in RemoteCallback callback); in grantOrUpgradeDefaultRuntimePermissions()
DPermissionControllerService.java44 import android.os.RemoteCallback;
212 String callerPackageName, RemoteCallback callback) { in onBind()
297 RemoteCallback callback) { in onBind()
314 public void getAppPermissions(String packageName, RemoteCallback callback) { in onBind()
352 RemoteCallback callback) { in onBind()
368 RemoteCallback callback) { in onBind()
388 RemoteCallback callback) { in onBind()
417 public void grantOrUpgradeDefaultRuntimePermissions(@NonNull RemoteCallback callback) { in onBind()
DPermissionControllerManager.java55 import android.os.RemoteCallback;
706 private final @NonNull RemoteCallback mRemoteCallback;
722 mRemoteCallback = new RemoteCallback(result -> executor.execute(() -> { in PendingRevokeRuntimePermissionRequest()
857 private final @NonNull RemoteCallback mRemoteCallback;
872 mRemoteCallback = new RemoteCallback(result -> executor.execute(() -> { in PendingSetRuntimePermissionGrantStateByDeviceAdmin()
955 private final @NonNull RemoteCallback mRemoteCallback;
967 mRemoteCallback = new RemoteCallback(result -> executor.execute(() -> { in PendingRestoreDelayedRuntimePermissionBackup()
1009 private final @NonNull RemoteCallback mRemoteCallback;
1019 mRemoteCallback = new RemoteCallback(result -> { in PendingGetAppPermissionRequest()
1084 private final @NonNull RemoteCallback mRemoteCallback;
[all …]
/frameworks/base/core/java/android/app/role/
DIRoleController.aidl19 import android.os.RemoteCallback;
26 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()
39 void isRoleVisible(in String roleName, in RemoteCallback callback); in isRoleVisible()
DRoleControllerManager.java34 import android.os.RemoteCallback;
131 @RoleManager.ManageHoldersFlags int flags, @NonNull RemoteCallback callback) { in onAddRoleHolder()
140 @RoleManager.ManageHoldersFlags int flags, @NonNull RemoteCallback callback) { in onRemoveRoleHolder()
149 @RoleManager.ManageHoldersFlags int flags, @NonNull RemoteCallback callback) { in onClearRoleHolders()
245 private final RemoteCallback mRemoteCallback;
254 mRemoteCallback = new RemoteCallback(result -> mExecutor.execute(() -> { in GrantDefaultRolesRequest()
299 private final RemoteCallback mCallback;
302 private final RemoteCallback mRemoteCallback;
306 @NonNull RemoteCallback callback) { in OnAddRoleHolderRequest()
314 mRemoteCallback = new RemoteCallback(result -> { in OnAddRoleHolderRequest()
[all …]
DRoleControllerService.java32 import android.os.RemoteCallback;
82 public void grantDefaultRoles(RemoteCallback callback) { in onBind()
94 RemoteCallback callback) { in onBind()
109 RemoteCallback callback) { in onBind()
123 public void onClearRoleHolders(String roleName, int flags, RemoteCallback callback) { in onBind()
143 RemoteCallback callback) { in onBind()
156 public void isRoleVisible(String roleName, RemoteCallback callback) { in onBind()
168 private void grantDefaultRoles(@NonNull RemoteCallback callback) {
174 @RoleManager.ManageHoldersFlags int flags, @NonNull RemoteCallback callback) {
180 @RoleManager.ManageHoldersFlags int flags, @NonNull RemoteCallback callback) {
[all …]
DIRoleManager.aidl21 import android.os.RemoteCallback;
36 in RemoteCallback callback); in addRoleHolderAsUser()
39 in RemoteCallback callback); in removeRoleHolderAsUser()
42 in RemoteCallback callback); in clearRoleHoldersAsUser()
/frameworks/base/core/java/android/service/watchdog/
DIExplicitHealthCheckService.aidl19 import android.os.RemoteCallback;
26 void setCallback(in @nullable RemoteCallback callback); in setCallback()
29 void getSupportedPackages(in RemoteCallback callback); in getSupportedPackages()
30 void getRequestedPackages(in RemoteCallback callback); in getRequestedPackages()
DExplicitHealthCheckService.java33 import android.os.RemoteCallback;
151 @Nullable private RemoteCallback mCallback;
284 public void setCallback(RemoteCallback callback) throws RemoteException { in setCallback()
301 public void getSupportedPackages(RemoteCallback callback) throws RemoteException { in getSupportedPackages()
313 public void getRequestedPackages(RemoteCallback callback) throws RemoteException { in getRequestedPackages()
/frameworks/base/core/java/android/app/usage/
DCacheQuotaService.java28 import android.os.RemoteCallback;
78 RemoteCallback callback, List<CacheQuotaHint> requests) { in computeCacheQuotaHints()
79 final Pair<RemoteCallback, List<CacheQuotaHint>> pair = in computeCacheQuotaHints()
98 final Pair<RemoteCallback, List<CacheQuotaHint>> pair = in handleMessage()
99 (Pair<RemoteCallback, List<CacheQuotaHint>>) msg.obj; in handleMessage()
104 final RemoteCallback callback = pair.first; in handleMessage()
DICacheQuotaService.aidl19 import android.os.RemoteCallback;
24 void computeCacheQuotaHints(in RemoteCallback callback, in List<CacheQuotaHint> requests); in computeCacheQuotaHints()
/frameworks/base/core/java/com/android/internal/app/
DIVoiceInteractionManagerService.aidl22 import android.os.RemoteCallback;
166 in RemoteCallback cancellationCallback, in RemoteCallback callback); in requestDirectActions()
172 IBinder assistToken, in RemoteCallback cancellationCallback, in performDirectAction()
173 in RemoteCallback resultCallback); in performDirectAction()
DIAppOpsService.aidl23 import android.os.RemoteCallback;
56 long endTimeMillis, int flags, in RemoteCallback callback); in getHistoricalOps()
58 long beginTimeMillis, long endTimeMillis, int flags, in RemoteCallback callback); in getHistoricalOpsFromDiskRaw()
/frameworks/base/core/java/android/content/pm/permission/
DIRuntimePermissionPresenter.aidl19 import android.os.RemoteCallback;
29 void getAppPermissions(String packageName, in RemoteCallback callback); in getAppPermissions()
/frameworks/base/core/java/android/service/sms/
DFinancialSmsService.java30 import android.os.RemoteCallback;
56 private void getSmsMessages(RemoteCallback callback, Bundle params) { in getSmsMessages()
96 public void getSmsMessages(RemoteCallback callback, Bundle params) throws RemoteException { in getSmsMessages()
DIFinancialSmsService.aidl20 import android.os.RemoteCallback;
29 void getSmsMessages(in RemoteCallback callback, in Bundle params); in getSmsMessages()
/frameworks/base/core/java/android/app/
DIApplicationThread.aidl43 import android.os.RemoteCallback;
106 in ParcelFileDescriptor fd, in RemoteCallback finishCallback); in dumpHeap()
144 in RemoteCallback cancellationCallback, in RemoteCallback callback); in requestDirectActions()
146 in Bundle arguments, in RemoteCallback cancellationCallback, in performDirectAction()
147 in RemoteCallback resultCallback); in performDirectAction()
/frameworks/base/core/java/android/permissionpresenterservice/
DRuntimePermissionPresenterService.java32 import android.os.RemoteCallback;
85 public void getAppPermissions(String packageName, RemoteCallback callback) { in onBind()
96 private void getAppPermissions(@NonNull String packageName, @NonNull RemoteCallback callback) {
/frameworks/base/core/java/android/service/autofill/
DIAutofillFieldClassificationService.aidl20 import android.os.RemoteCallback;
31 void calculateScores(in RemoteCallback callback, in List<AutofillValue> actualValues, in calculateScores()
DAutofillFieldClassificationService.java32 import android.os.RemoteCallback;
101 private void calculateScores(RemoteCallback callback, List<AutofillValue> actualValues, in calculateScores()
286 public void calculateScores(RemoteCallback callback, List<AutofillValue> actualValues, in calculateScores()
/frameworks/base/core/java/android/accounts/
DAccountManagerInternal.java21 import android.os.RemoteCallback;
58 @NonNull RemoteCallback callback); in requestAccountAccess()
/frameworks/base/services/core/java/com/android/server/role/
DRoleManagerShellCommand.java22 import android.os.RemoteCallback;
44 public RemoteCallback createCallback() { in createCallback()
45 return new RemoteCallback(result -> { in createCallback()
DRoleManagerService.java45 import android.os.RemoteCallback;
477 @NonNull RemoteCallback callback) { in addRoleHolderAsUser()
497 @NonNull RemoteCallback callback) { in removeRoleHolderAsUser()
517 @NonNull RemoteCallback callback) { in clearRoleHoldersAsUser()
689 financialSmsManager.getSmsMessages(new RemoteCallback((result) -> { in getSmsMessagesForFinancialApp()
745 RemoteCallback callback = new RemoteCallback(result -> { in setDefaultBrowser()
771 RemoteCallback callback = new RemoteCallback(result -> { in setDefaultBrowserAsync()
809 RemoteCallback remoteCallback = new RemoteCallback(result -> { in setDefaultHomeAsync()

123