Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/os/
DRemoteCallback.java30 public final class RemoteCallback implements Parcelable { class
41 public RemoteCallback(OnResultListener listener) { in RemoteCallback() method in RemoteCallback
45 public RemoteCallback(@NonNull OnResultListener listener, @Nullable Handler handler) { in RemoteCallback() method in RemoteCallback
54 RemoteCallback.this.sendResult(data); in RemoteCallback()
59 RemoteCallback(Parcel parcel) { in RemoteCallback() method in RemoteCallback
99 public static final @android.annotation.NonNull Parcelable.Creator<RemoteCallback> CREATOR
100 = new Parcelable.Creator<RemoteCallback>() {
101 public RemoteCallback createFromParcel(Parcel parcel) {
102 return new RemoteCallback(parcel);
105 public RemoteCallback[] newArray(int size) {
[all …]
/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;
35 in RemoteCallback callback); in addRoleHolderAsUser()
38 in RemoteCallback callback); in removeRoleHolderAsUser()
41 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;
285 public void setCallback(RemoteCallback callback) throws RemoteException { in setCallback()
302 public void getSupportedPackages(RemoteCallback callback) throws RemoteException { in getSupportedPackages()
314 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/app/
DIApplicationThread.aidl43 import android.os.RemoteCallback;
106 in ParcelFileDescriptor fd, in RemoteCallback finishCallback); in dumpHeap()
145 in RemoteCallback cancellationCallback, in RemoteCallback callback); in requestDirectActions()
147 in Bundle arguments, in RemoteCallback cancellationCallback, in performDirectAction()
148 in RemoteCallback resultCallback); in performDirectAction()
/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/content/pm/permission/
DIRuntimePermissionPresenter.aidl19 import android.os.RemoteCallback;
29 void getAppPermissions(String packageName, in RemoteCallback callback); in getAppPermissions()
/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/telephony/java/android/telephony/
DICellBroadcastService.aidl19 import android.os.RemoteCallback;
38 String originatingAddress, in RemoteCallback callback); in handleCdmaScpMessage()
DCellBroadcastService.java28 import android.os.RemoteCallback;
171 RemoteCallback callback) { in handleCdmaScpMessage()
/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()
/frameworks/base/core/java/android/accounts/
DAccountManagerInternal.java21 import android.os.RemoteCallback;
58 @NonNull RemoteCallback callback); in requestAccountAccess()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellBroadcastServiceManager.java31 import android.os.RemoteCallback;
100 public void sendCdmaScpMessageToHandler(SmsMessage sms, RemoteCallback callback) { in sendCdmaScpMessageToHandler()
167 Pair<SmsMessage, RemoteCallback> smsAndCallback = in initCellBroadcastServiceModule()
168 (Pair<SmsMessage, RemoteCallback>) msg.obj; in initCellBroadcastServiceModule()
170 RemoteCallback callback = smsAndCallback.second; in initCellBroadcastServiceModule()
/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()

123