/packages/modules/Permission/framework-s/java/android/app/role/ |
D | IRoleController.aidl | 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() 40 in RemoteCallback callback); in isApplicationVisibleForRole() 42 void isRoleVisible(in String roleName, in RemoteCallback callback); in isRoleVisible()
|
D | RoleControllerService.java | 96 RemoteCallback callback) { in onBind() 110 RemoteCallback callback) { in onBind() 123 public void onClearRoleHolders(String roleName, int flags, RemoteCallback callback) { in onBind() 142 RemoteCallback callback) { in onBind() 156 RemoteCallback callback) { in onBind() 169 public void isRoleVisible(String roleName, RemoteCallback callback) { in onBind()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioPolicyVolumeCallbackTest.java | 190 CarAudioPolicyVolumeCallback callback = in onVolumeAdjustment_withAdjustRaise_whileMuted_setsGroupVolumeToMin() local 205 CarAudioPolicyVolumeCallback callback = in onVolumeAdjustment_withAdjustLower_whileMuted_setsGroupVolumeToMin() local 258 CarAudioPolicyVolumeCallback callback = in onVolumeAdjustment_forGroupMute_withAdjustMute_mutesVolumeGroup() local 271 CarAudioPolicyVolumeCallback callback = in onVolumeAdjustment_forGroupMute_withAdjustToggleMute_togglesMutesVolumeGroup() local 284 CarAudioPolicyVolumeCallback callback = in onVolumeAdjustment_forGroupMute_withAdjustUnMute_UnMutesVolumeGroup() local 296 CarAudioPolicyVolumeCallback callback = in onVolumeAdjustment_withOemVolumeService_withEmptyChange() local 310 CarAudioPolicyVolumeCallback callback = in onVolumeAdjustment_withOemVolumeService_withNullChange() local 324 CarAudioPolicyVolumeCallback callback = in onVolumeAdjustment_onMute_withOemVolumeService_withChange() local 341 CarAudioPolicyVolumeCallback callback = in onVolumeAdjustment_onRaise_withOemVolumeService_withChange() local 358 CarAudioPolicyVolumeCallback callback = in onVolumeAdjustment_onSame_withOemVolumeService_muteChanged() local [all …]
|
D | CarAudioPlaybackCallbackTest.java | 116 CarAudioPlaybackCallback callback = in getAllActiveContextsForPrimaryZone_withNoOnPlaybackConfigChanged_returnsEmptyList() local 135 CarAudioPlaybackCallback callback = in getAllActiveContextsForPrimaryZone_withOneMatchingConfiguration_returnsActiveContext() local 160 CarAudioPlaybackCallback callback = in getAllActiveContextsForPrimaryZone_withMultipleConfiguration_returnsActiveContexts() local 188 CarAudioPlaybackCallback callback = in getAllActiveContextsForPrimaryZone_withInactiveConfigurations_returnsActiveContext() local 215 CarAudioPlaybackCallback callback = in getAllActiveContextsForPrimaryZone_withNoActiveConfigurations_returnsEmptyContexts() local 252 CarAudioPlaybackCallback callback = in getAllActiveContextsForPrimaryZone_withInactiveConfig_beforeTimeout_returnsContexts() local 296 CarAudioPlaybackCallback callback = in getAllActiveContextsForPrimaryZone_withInactiveConfigs_beforeTimeout_returnsContexts() local 340 CarAudioPlaybackCallback callback = in getAllActiveContextsForPrimaryZone_afterResetStillActiveContexts_returnsEmptyContext() local 383 CarAudioPlaybackCallback callback = in getAllActiveContextsForPrimaryZone_withInactiveConfig_afterTimeout_returnsContext() local 424 CarAudioPlaybackCallback callback = in getAllActiveContextsForPrimaryZone_withInactiveConfigs_afterTimeout_returnsEmpty() local [all …]
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/ |
D | AppSearchSession.java | 81 @NonNull Consumer<AppSearchResult<AppSearchSession>> callback) { in createSearchSession() 92 @NonNull Consumer<AppSearchResult<AppSearchSession>> callback) { in initialize() 146 @NonNull Consumer<AppSearchResult<SetSchemaResponse>> callback) { in setSchema() 194 @NonNull Consumer<AppSearchResult<GetSchemaResponse>> callback) { in getSchema() 232 @NonNull Consumer<AppSearchResult<Set<String>>> callback) { in getNamespaces() 282 @NonNull BatchResultCallback<String, Void> callback) { in put() 335 @NonNull BatchResultCallback<String, GenericDocument> callback) { in getByDocumentId() 444 @NonNull Consumer<AppSearchResult<Void>> callback) { in reportUsage() 499 @NonNull BatchResultCallback<String, Void> callback) { in remove() 559 @NonNull Consumer<AppSearchResult<Void>> callback) { in remove() [all …]
|
/packages/modules/Connectivity/nearby/framework/java/android/nearby/aidl/ |
D | IFastPairDataProvider.aidl | 35 in IFastPairAntispoofKeyDeviceMetadataCallback callback); in loadFastPairAntispoofKeyDeviceMetadata() 37 in IFastPairAccountDevicesMetadataCallback callback); in loadFastPairAccountDevicesMetadata() 39 in IFastPairEligibleAccountsCallback callback); in loadFastPairEligibleAccounts() 41 in IFastPairManageAccountCallback callback); in manageFastPairAccount() 43 in IFastPairManageAccountDeviceCallback callback); in manageFastPairAccountDevice()
|
/packages/apps/Car/Radio/src/com/android/car/radio/service/ |
D | IRadioAppService.aidl | 37 void addCallback(in IRadioAppCallback callback); in addCallback() 42 void removeCallback(in IRadioAppCallback callback); in removeCallback() 47 void tune(in ProgramSelector sel, in ITuneCallback callback); in tune() 52 void seek(boolean forward, in ITuneCallback callback); in seek() 57 void step(boolean forward, in ITuneCallback callback); in step() 62 void skip(boolean forward, in ITuneCallback callback); in skip()
|
/packages/services/Car/car-lib/src/android/car/ |
D | IAppFocus.aidl | 24 void registerFocusListener(IAppFocusListener callback, int appType) = 0; in registerFocusListener() 25 void unregisterFocusListener(IAppFocusListener callback, int appType) = 1; in unregisterFocusListener() 28 boolean isOwningFocus(IAppFocusOwnershipCallback callback, int appType) = 3; in isOwningFocus() 30 int requestAppFocus(IAppFocusOwnershipCallback callback, int appType) = 4; in requestAppFocus() 32 void abandonAppFocus(IAppFocusOwnershipCallback callback, int appType) = 5; in abandonAppFocus()
|
D | CarBugreportManager.java | 131 CarBugreportManagerCallbackWrapper(CarBugreportManagerCallback callback, in CarBugreportManagerCallbackWrapper() 139 CarBugreportManagerCallback callback = mWeakCallback.get(); in onProgress() local 148 CarBugreportManagerCallback callback = mWeakCallback.get(); in onError() local 157 CarBugreportManagerCallback callback = mWeakCallback.get(); in onFinished() local 198 @NonNull CarBugreportManagerCallback callback) { in requestBugreport() 213 @NonNull CarBugreportManagerCallback callback) { in requestBugreportForTesting() 226 @NonNull CarBugreportManagerCallback callback, in requestBugreport()
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/ |
D | SdkSandboxManagerServiceUnitTest.java | 124 FakeRemoteSdkCallback callback = new FakeRemoteSdkCallback(); in testLoadSdkIsSuccessful() local 153 FakeRemoteSdkCallback callback = new FakeRemoteSdkCallback(); in testLoadSdkPackageDoesNotExist() local 165 FakeRemoteSdkCallback callback = new FakeRemoteSdkCallback(); in testLoadSdk_errorFromSdkSandbox() local 179 FakeRemoteSdkCallback callback = new FakeRemoteSdkCallback(); in testLoadSdk_successOnFirstLoad_errorOnLoadAgain() local 188 FakeRemoteSdkCallback callback = new FakeRemoteSdkCallback(); in testLoadSdk_successOnFirstLoad_errorOnLoadAgain() local 202 FakeRemoteSdkCallback callback = new FakeRemoteSdkCallback(); in testLoadSdk_errorOnFirstLoad_canBeLoadedAgain() local 211 FakeRemoteSdkCallback callback = new FakeRemoteSdkCallback(); in testLoadSdk_errorOnFirstLoad_canBeLoadedAgain() local 233 FakeRemoteSdkCallback callback = new FakeRemoteSdkCallback(); in testRequestSurfacePackage() local 252 FakeRemoteSdkCallback callback = Mockito.spy(new FakeRemoteSdkCallback()); in testRequestSurfacePackageFailedAfterAppDied() local 279 FakeRemoteSdkCallback callback = new FakeRemoteSdkCallback(); in testSurfacePackageError() local [all …]
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/ |
D | IAppSearchManager.aidl | 44 in IAppSearchResultCallback callback); in initialize() 71 in IAppSearchResultCallback callback); in setSchema() 88 in IAppSearchResultCallback callback); in getSchema() 103 in IAppSearchResultCallback callback); in getNamespaces() 127 in IAppSearchBatchResultCallback callback); in putDocuments() 158 in IAppSearchBatchResultCallback callback); in getDocuments() 179 in IAppSearchResultCallback callback); in query() 199 in IAppSearchResultCallback callback); in globalQuery() 216 in IAppSearchResultCallback callback); in getNextPage() 253 in IAppSearchResultCallback callback); in writeQueryResultsToFile() [all …]
|
/packages/services/Mms/tests/robotests/src/com/android/mms/service/ |
D | MmsNetworkManagerTest.java | 110 final NetworkCallback callback = callbackCaptor.getValue(); in testAvailableNetwork_newNetworkIsSuspend() local 121 final NetworkCallback callback = acquireAvailableNetworkAndGetCallback( in testAvailableNetwork_networkSuspendThenResume() local 136 final NetworkCallback callback = acquireAvailableNetworkAndGetCallback( in testAvailableNetwork_networkReplaced() local 149 final NetworkCallback callback = acquireAvailableNetworkAndGetCallback( in testAvailableNetwork_networkBecomeSuspend() local 169 final NetworkCallback callback = callbackCaptor.getValue(); in testAvailableNetwork_networkUnavailable() local 190 final NetworkCallback callback = callbackCaptor.getValue(); in testAvailableNetwork_newNetworkSuspendedEventuallyReleased() local 212 final NetworkCallback callback = callbackCaptor.getValue(); in acquireAvailableNetworkAndGetCallback() local
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/task/ |
D | ConnectMobileNetworkTaskRoboTest.java | 66 FakeAbstractProvisioningTaskCallback callback = new FakeAbstractProvisioningTaskCallback(); in run_withoutConnection_noCallbackSuccess() local 77 FakeAbstractProvisioningTaskCallback callback = new FakeAbstractProvisioningTaskCallback(); in connectToNetwork_afterRun_callbackSuccess() local 90 FakeAbstractProvisioningTaskCallback callback = new FakeAbstractProvisioningTaskCallback(); in connectToNetworkTwice_afterRun_oneCallbackSuccess() local 106 FakeAbstractProvisioningTaskCallback callback = new FakeAbstractProvisioningTaskCallback(); in connectToNetwork_beforeRun_callbackSuccess() local 119 FakeAbstractProvisioningTaskCallback callback = new FakeAbstractProvisioningTaskCallback(); in connectToNetworkBroadcast_withoutConnectionAfterRun_noCallbackSuccess() local 131 FakeAbstractProvisioningTaskCallback callback = new FakeAbstractProvisioningTaskCallback(); in timeoutWaitingForConnection_afterRun_callbackError() local 145 private ConnectMobileNetworkTask buildTask(Callback callback) { in buildTask()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | UserHalServiceTest.java | 381 GenericHalCallback<InitialUserInfoResponse> callback = new GenericHalCallback<>( in testGetUserInfo_halSetTimedOut() local 397 GenericHalCallback<InitialUserInfoResponse> callback = new GenericHalCallback<>( in testGetUserInfo_halDidNotReply() local 435 GenericHalCallback<InitialUserInfoResponse> callback = new GenericHalCallback<>( in testGetUserInfo_halReplyWithWrongRequestId() local 453 GenericHalCallback<InitialUserInfoResponse> callback = new GenericHalCallback<>( in testGetUserInfo_halReturnedInvalidAction() local 476 GenericHalCallback<InitialUserInfoResponse> callback = new GenericHalCallback<>( in testGetUserInfo_successDefault() local 506 GenericHalCallback<InitialUserInfoResponse> callback = new GenericHalCallback<>( in testGetUserInfo_successSwitchUser() local 538 GenericHalCallback<InitialUserInfoResponse> callback = new GenericHalCallback<>( in testGetUserInfo_successCreateUser() local 614 GenericHalCallback<SwitchUserResponse> callback = new GenericHalCallback<>( in testSwitchUser_halSetTimedOut() local 618 callback); in testSwitchUser_halSetTimedOut() local 631 GenericHalCallback<SwitchUserResponse> callback = new GenericHalCallback<>( in testSwitchUser_halDidNotReply() local [all …]
|
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
D | UceControllerManagerTest.java | 135 IRcsUceControllerCallback callback = Mockito.mock(IRcsUceControllerCallback.class); in testRequestCapabilitiesWithRcsUnavailable() local 155 IRcsUceControllerCallback callback = Mockito.mock(IRcsUceControllerCallback.class); in testRequestCapabilitiesWithRcsConnected() local 172 IRcsUceControllerCallback callback = Mockito.mock(IRcsUceControllerCallback.class); in testRequestNetworkAvailability() local 187 IRcsUceControllerCallback callback = Mockito.mock(IRcsUceControllerCallback.class); in testRequestNetworkAvailabilityWithRcsUnavailable() local 227 IRcsUcePublishStateCallback callback = Mockito.mock(IRcsUcePublishStateCallback.class); in testRegisterPublishStateCallback() local 241 IRcsUcePublishStateCallback callback = Mockito.mock(IRcsUcePublishStateCallback.class); in testRegisterPublishStateCallbackWithRcsUnavailable() local 254 IRcsUcePublishStateCallback callback = Mockito.mock(IRcsUcePublishStateCallback.class); in testUnregisterPublishStateCallback() local
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | MediaDb.java | 135 public void addAudioUpdateCallback(@NonNull UpdateCallback callback) { in addAudioUpdateCallback() 139 public void removeAudioUpdateCallback(@NonNull UpdateCallback callback) { in removeAudioUpdateCallback() 143 public void addArtistUpdateCallback(@NonNull UpdateCallback callback) { in addArtistUpdateCallback() 147 public void removeArtistUpdateCallback(@NonNull UpdateCallback callback) { in removeArtistUpdateCallback() 151 public void addAlbumUpdateCallback(@NonNull UpdateCallback callback) { in addAlbumUpdateCallback() 155 public void removeAlbumUpdateCallback(@NonNull UpdateCallback callback) { in removeAlbumUpdateCallback() 159 public void addGenreUpdateCallback(@NonNull UpdateCallback callback) { in addGenreUpdateCallback() 163 public void removeGenreUpdateCallback(@NonNull UpdateCallback callback) { in removeGenreUpdateCallback() 167 public void addPlaylistUpdateCallback(@NonNull UpdateCallback callback) { in addPlaylistUpdateCallback() 171 public void removePlaylistUpdateCallback(@NonNull UpdateCallback callback) { in removePlaylistUpdateCallback() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/mockable/ |
D | MediaBrowser.java | 48 ConnectionCallback callback, Bundle rootHints) { in MediaBrowser() 100 public void getItem(String mediaId, ItemCallback callback) { in getItem() 135 public void subscribe(String parentId, Bundle options, SubscriptionCallback callback) { in subscribe() 142 public void subscribe(String parentId, SubscriptionCallback callback) { in subscribe() 157 public void unsubscribe(String parentId, SubscriptionCallback callback) { in unsubscribe() 167 ConnectionCallback callback, Bundle rootHints) { in testInit()
|
/packages/modules/NeuralNetworks/driver/sample_hidl/ |
D | SampleDriverUtils.cpp | 46 void notify(const sp<V1_0::IPreparedModelCallback>& callback, const V1_3::ErrorStatus& status, in notify() 54 void notify(const sp<V1_2::IPreparedModelCallback>& callback, const V1_3::ErrorStatus& status, in notify() 63 void notify(const sp<V1_3::IPreparedModelCallback>& callback, const V1_3::ErrorStatus& status, in notify() 72 void notify(const sp<V1_0::IExecutionCallback>& callback, const V1_3::ErrorStatus& status, in notify() 80 void notify(const sp<V1_2::IExecutionCallback>& callback, const V1_3::ErrorStatus& status, in notify() 88 void notify(const sp<V1_3::IExecutionCallback>& callback, const V1_3::ErrorStatus& status, in notify()
|
/packages/modules/Connectivity/nearby/framework/java/android/nearby/ |
D | FastPairDataProviderService.java | 232 @NonNull FastPairAntispoofKeyDeviceMetadataCallback callback); in onLoadFastPairAntispoofKeyDeviceMetadata() 242 @NonNull FastPairAccountDevicesMetadataCallback callback); in onLoadFastPairAccountDevicesMetadata() 252 @NonNull FastPairEligibleAccountsCallback callback); in onLoadFastPairEligibleAccounts() 261 @NonNull FastPairManageActionCallback callback); in onManageFastPairAccount() 270 @NonNull FastPairManageActionCallback callback); in onManageFastPairAccountDevice() 464 IFastPairAntispoofKeyDeviceMetadataCallback callback) { in WrapperFastPairAntispoofKeyDeviceMetadataCallback() 504 IFastPairAccountDevicesMetadataCallback callback) { in WrapperFastPairAccountDevicesMetadataCallback() 551 IFastPairEligibleAccountsCallback callback) { in WrapperFastPairEligibleAccountsCallback() 598 IFastPairManageAccountCallback callback) { in WrapperFastPairManageAccountCallback() 637 IFastPairManageAccountDeviceCallback callback) { in WrapperFastPairManageAccountDeviceCallback() [all …]
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | QosCallbackConnection.java | 60 @NonNull final QosCallback callback, in QosCallbackConnection() 80 final QosCallback callback = mCallback; in onQosEpsBearerSessionAvailable() local 99 final QosCallback callback = mCallback; in onNrQosSessionAvailable() local 114 final QosCallback callback = mCallback; in onQosSessionLost() local 129 final QosCallback callback = mCallback; in onError() local
|
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/ |
D | CallbackTranslator.java | 35 public final Callback<R> callback; field in CallbackTranslator 37 CallbackTranslator(Callback<R> callback) { in CallbackTranslator() 48 AppsCounterCallbackTranslator(Callback<Integer> callback) { in AppsCounterCallbackTranslator() 61 AppsListCallbackTranslator(Callback<List<UserAppInfo>> callback) { in AppsListCallbackTranslator()
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | AnimatorListeners.java | 35 public static AnimatorListener forSuccessCallback(Runnable callback) { in forSuccessCallback() 43 public static AnimatorListener forEndCallback(Consumer<Boolean> callback) { in forEndCallback() 50 public static AnimatorListener forEndCallback(Runnable callback) { in forEndCallback()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | PermissionControllerServiceImpl.java | 275 @NonNull Consumer<Map<String, List<String>>> callback) { in onRevokeRuntimePermissions() 368 @NonNull OutputStream backup, @NonNull Runnable callback) { in onGetRuntimePermissionsBackup() 392 @NonNull InputStream backup, @NonNull Runnable callback) { in onStageAndApplyRuntimePermissionsBackup() 413 @NonNull UserHandle user, @NonNull Consumer<Boolean> callback) { in onApplyStagedRuntimePermissionBackup() 430 @NonNull Consumer<List<RuntimePermissionPresentationInfo>> callback) { in onGetAppPermissions() 453 @NonNull String permissionName, @NonNull Runnable callback) { in onRevokeRuntimePermission() 481 @NonNull IntConsumer callback) { in onCountPermissionApps() 493 @NonNull Consumer<List<RuntimePermissionUsageInfo>> callback) { in onGetPermissionUsages() 500 @NonNull Consumer<Boolean> callback) { in onSetRuntimePermissionGrantStateByDeviceAdmin() 511 @NonNull Consumer<Boolean> callback) { in onSetRuntimePermissionGrantStateByDeviceAdmin() [all …]
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/enterprise/apps/ |
D | ApplicationFeatureProviderImpl.java | 58 public void calculateNumberOfPolicyInstalledApps(boolean async, NumberOfAppsCallback callback) { in calculateNumberOfPolicyInstalledApps() 69 public void listPolicyInstalledApps(ListOfAppsCallback callback) { in listPolicyInstalledApps() 77 boolean async, NumberOfAppsCallback callback) { in calculateNumberOfAppsWithAdminGrantedPermissions() 90 ListOfAppsCallback callback) { in listAppsWithAdminGrantedPermissions() 134 PackageManager packageManager, NumberOfAppsCallback callback) { in CurrentUserAndManagedProfilePolicyInstalledAppCounter() 152 DevicePolicyManager devicePolicyManager, NumberOfAppsCallback callback) { in CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter() 167 UserManager userManager, ListOfAppsCallback callback) { in CurrentUserPolicyInstalledAppLister() 185 ListOfAppsCallback callback) { in CurrentUserAppWithAdminGrantedPermissionsLister()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/face/ |
D | FaceUpdaterTest.java | 103 FaceManager.EnrollmentCallback callback = callbackCaptor.getValue(); in enroll_firstVersion_onEnrollmentCallbacks_triggerGivenCallback() local 129 FaceManager.EnrollmentCallback callback = callbackCaptor.getValue(); in enroll_firstVersion_onEnrollmentSuccess_invokedInteractionWithSafetyCenter() local 148 FaceManager.EnrollmentCallback callback = callbackCaptor.getValue(); in enroll_firstVersion_onEnrollmentNotYetFinished_didntInvokeInteractionWithSafetyCenter() local 169 FaceManager.EnrollmentCallback callback = callbackCaptor.getValue(); in enroll_secondVersion_onEnrollmentCallbacks_triggerGivenCallback() local 197 FaceManager.EnrollmentCallback callback = callbackCaptor.getValue(); in enroll_secondVersion_onEnrollmentSuccess_invokedInteractionWithSafetyCenter() local 218 FaceManager.EnrollmentCallback callback = callbackCaptor.getValue(); in enroll_secondVersion_onEnrollmentNotYetFinished_didntInvokeInteractionWithSafetyCenter() local 232 FaceManager.RemovalCallback callback = callbackCaptor.getValue(); in remove_onRemovalCallbacks_triggerGivenCallback() local 248 FaceManager.RemovalCallback callback = callbackCaptor.getValue(); in remove_onRemovalSuccess_invokedInteractionWithSafetyCenter() local
|