Home
last modified time | relevance | path

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

12345678910>>...21

/packages/services/Car/car-lib/src/android/car/
DIAppFocus.aidl24 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()
DCarBugreportManager.java115 CarBugreportManagerCallbackWrapper(CarBugreportManagerCallback callback, in CarBugreportManagerCallbackWrapper()
123 CarBugreportManagerCallback callback = mWeakCallback.get(); in onProgress() local
132 CarBugreportManagerCallback callback = mWeakCallback.get(); in onError() local
141 CarBugreportManagerCallback callback = mWeakCallback.get(); in onFinished() local
180 @NonNull CarBugreportManagerCallback callback) { in requestBugreport()
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DIRadioAppService.aidl37 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/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/external/
DIConnectedDeviceManager.aidl38 void registerActiveUserConnectionCallback(in IConnectionCallback callback); in registerActiveUserConnectionCallback()
45 void unregisterConnectionCallback(in IConnectionCallback callback); in unregisterConnectionCallback()
55 in IDeviceCallback callback); in registerDeviceCallback()
65 in IDeviceCallback callback); in unregisterDeviceCallback()
93 void registerDeviceAssociationCallback(in IDeviceAssociationCallback callback); in registerDeviceAssociationCallback()
100 void unregisterDeviceAssociationCallback(in IDeviceAssociationCallback callback); in unregisterDeviceAssociationCallback()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/internal/trust/
DITrustedDeviceManager.aidl39 void registerTrustedDeviceCallback(in ITrustedDeviceCallback callback); in registerTrustedDeviceCallback()
42 void unregisterTrustedDeviceCallback(in ITrustedDeviceCallback callback); in unregisterTrustedDeviceCallback()
45 void registerTrustedDeviceEnrollmentCallback(in ITrustedDeviceEnrollmentCallback callback); in registerTrustedDeviceEnrollmentCallback()
48 void unregisterTrustedDeviceEnrollmentCallback(in ITrustedDeviceEnrollmentCallback callback); in unregisterTrustedDeviceEnrollmentCallback()
66 void registerAssociatedDeviceCallback(in IDeviceAssociationCallback callback); in registerAssociatedDeviceCallback()
69 void unregisterAssociatedDeviceCallback(IDeviceAssociationCallback callback); in unregisterAssociatedDeviceCallback()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/task/
DConnectMobileNetworkTaskRoboTest.java65 FakeAbstractProvisioningTaskCallback callback = new FakeAbstractProvisioningTaskCallback(); in run_withoutConnection_noCallbackSuccess() local
75 FakeAbstractProvisioningTaskCallback callback = new FakeAbstractProvisioningTaskCallback(); in connectToNetwork_afterRun_callbackSuccess() local
88 FakeAbstractProvisioningTaskCallback callback = new FakeAbstractProvisioningTaskCallback(); in connectToNetworkTwice_afterRun_oneCallbackSuccess() local
104 FakeAbstractProvisioningTaskCallback callback = new FakeAbstractProvisioningTaskCallback(); in connectToNetwork_beforeRun_callbackSuccess() local
117 FakeAbstractProvisioningTaskCallback callback = new FakeAbstractProvisioningTaskCallback(); in connectToNetworkBroadcast_withoutConnectionAfterRun_noCallbackSuccess() local
129 FakeAbstractProvisioningTaskCallback callback = new FakeAbstractProvisioningTaskCallback(); in timeoutWaitingForConnection_afterRun_callbackError() local
143 private ConnectMobileNetworkTask buildTask(Callback callback) { in buildTask()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/
DMediaBrowser.java47 ConnectionCallback callback, Bundle rootHints) { in MediaBrowser()
94 public void getItem(String mediaId, ItemCallback callback) { in getItem()
129 public void subscribe(String parentId, Bundle options, SubscriptionCallback callback) { in subscribe()
136 public void subscribe(String parentId, SubscriptionCallback callback) { in subscribe()
151 public void unsubscribe(String parentId, SubscriptionCallback callback) { in unsubscribe()
161 ConnectionCallback callback, Bundle rootHints) { in testInit()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DApplicationFeatureProvider.java34 void calculateNumberOfPolicyInstalledApps(boolean async, NumberOfAppsCallback callback); in calculateNumberOfPolicyInstalledApps()
42 void listPolicyInstalledApps(ListOfAppsCallback callback); in listPolicyInstalledApps()
54 NumberOfAppsCallback callback); in calculateNumberOfAppsWithAdminGrantedPermissions()
64 void listAppsWithAdminGrantedPermissions(String[] permissions, ListOfAppsCallback callback); in listAppsWithAdminGrantedPermissions()
DApplicationFeatureProviderImpl.java60 public void calculateNumberOfPolicyInstalledApps(boolean async, NumberOfAppsCallback callback) { in calculateNumberOfPolicyInstalledApps()
71 public void listPolicyInstalledApps(ListOfAppsCallback callback) { in listPolicyInstalledApps()
79 boolean async, NumberOfAppsCallback callback) { in calculateNumberOfAppsWithAdminGrantedPermissions()
92 ListOfAppsCallback callback) { in listAppsWithAdminGrantedPermissions()
173 PackageManager packageManager, NumberOfAppsCallback callback) { in CurrentUserAndManagedProfilePolicyInstalledAppCounter()
191 DevicePolicyManager devicePolicyManager, NumberOfAppsCallback callback) { in CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter()
206 UserManager userManager, ListOfAppsCallback callback) { in CurrentUserPolicyInstalledAppLister()
224 ListOfAppsCallback callback) { in CurrentUserAppWithAdminGrantedPermissionsLister()
/packages/services/Car/tools/keventreader/common/com/android/car/keventreader/
DIEventProvider.aidl22 void registerCallback(in IEventCallback callback); in registerCallback()
23 void unregisterCallback(in IEventCallback callback); in unregisterCallback()
/packages/apps/Settings/src/com/android/settings/applications/
DApplicationFeatureProvider.java34 void calculateNumberOfPolicyInstalledApps(boolean async, NumberOfAppsCallback callback); in calculateNumberOfPolicyInstalledApps()
42 void listPolicyInstalledApps(ListOfAppsCallback callback); in listPolicyInstalledApps()
54 NumberOfAppsCallback callback); in calculateNumberOfAppsWithAdminGrantedPermissions()
64 void listAppsWithAdminGrantedPermissions(String[] permissions, ListOfAppsCallback callback); in listAppsWithAdminGrantedPermissions()
DApplicationFeatureProviderImpl.java60 public void calculateNumberOfPolicyInstalledApps(boolean async, NumberOfAppsCallback callback) { in calculateNumberOfPolicyInstalledApps()
71 public void listPolicyInstalledApps(ListOfAppsCallback callback) { in listPolicyInstalledApps()
79 boolean async, NumberOfAppsCallback callback) { in calculateNumberOfAppsWithAdminGrantedPermissions()
92 ListOfAppsCallback callback) { in listAppsWithAdminGrantedPermissions()
173 PackageManager packageManager, NumberOfAppsCallback callback) { in CurrentUserAndManagedProfilePolicyInstalledAppCounter()
191 DevicePolicyManager devicePolicyManager, NumberOfAppsCallback callback) { in CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter()
206 UserManager userManager, ListOfAppsCallback callback) { in CurrentUserPolicyInstalledAppLister()
224 ListOfAppsCallback callback) { in CurrentUserAppWithAdminGrantedPermissionsLister()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DImageLoader.java59 public void addCallback(@NonNull Callback callback) { in addCallback()
63 public void addCallback(@NonNull Callback callback, @NonNull Executor executor) { in addCallback()
71 public void removeCallback(@NonNull Callback callback) { in removeCallback()
75 public void removeCallback(@NonNull Callback callback, @NonNull Executor executor) { in removeCallback()
83 public void loadImage(@NonNull Uri uri, @NonNull Callback callback) { in loadImage()
87 public void loadImage(@NonNull Uri uri, @NonNull Callback callback, in loadImage()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DProvisioningManagerHelper.java77 public void registerListener(ProvisioningManagerCallback callback) { in registerListener()
84 public void unregisterListener(ProvisioningManagerCallback callback) { in unregisterListener()
102 private void callLastCallbackLocked(ProvisioningManagerCallback callback) { in callLastCallbackLocked()
156 private void postCallbackToUiHandler(ProvisioningManagerCallback callback, in postCallbackToUiHandler()
167 private boolean isCallbackStillRequired(ProvisioningManagerCallback callback) { in isCallbackStillRequired()
DProvisioningManagerInterface.java46 void registerListener(ProvisioningManagerCallback callback); in registerListener()
53 void unregisterListener(ProvisioningManagerCallback callback); in unregisterListener()
/packages/apps/ThemePicker/src/com/android/customization/model/clock/
DBaseClockManager.java37 public void apply(Clockface option, Callback callback) { in apply()
42 public void fetchOptions(OptionsFetchedListener<Clockface> callback, boolean reload) { in fetchOptions()
57 protected abstract void handleApply(Clockface option, Callback callback); in handleApply()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DPeriodicScanManager.java75 public IPeriodicAdvertisingCallback callback; field in PeriodicScanManager.SyncInfo
78 IPeriodicAdvertisingCallback callback) { in SyncInfo()
90 public IPeriodicAdvertisingCallback callback; field in PeriodicScanManager.SyncDeathRecipient
92 SyncDeathRecipient(IPeriodicAdvertisingCallback callback) { in SyncDeathRecipient()
132 IPeriodicAdvertisingCallback callback = entry.getValue().callback; in onSyncStarted() local
157 IPeriodicAdvertisingCallback callback = entry.getValue().callback; in onSyncReport() local
175 IPeriodicAdvertisingCallback callback = entry.getValue().callback; in onSyncLost() local
181 IPeriodicAdvertisingCallback callback) { in startSync()
202 void stopSync(IPeriodicAdvertisingCallback callback) { in stopSync()
DAdvertiseManager.java97 public IAdvertisingSetCallback callback; field in AdvertiseManager.AdvertiserInfo
100 IAdvertisingSetCallback callback) { in AdvertiserInfo()
112 public IAdvertisingSetCallback callback; field in AdvertiseManager.AdvertisingSetDeathRecipient
114 AdvertisingSetDeathRecipient(IAdvertisingSetCallback callback) { in AdvertisingSetDeathRecipient()
155 IAdvertisingSetCallback callback = entry.getValue().callback; in onAdvertisingSetStarted() local
181 IAdvertisingSetCallback callback = entry.getValue().callback; in onAdvertisingEnabled() local
188 IAdvertisingSetCallback callback) { in startAdvertisingSet()
224 IAdvertisingSetCallback callback = entry.getValue().callback; in onOwnAddressRead() local
232 void stopAdvertisingSet(IAdvertisingSetCallback callback) { in stopAdvertisingSet()
309 IAdvertisingSetCallback callback = entry.getValue().callback; in onAdvertisingDataSet() local
[all …]
/packages/services/Car/car-lib/src/android/car/trust/
DICarTrustAgentEnrollment.aidl41 void registerEnrollmentCallback(in ICarTrustAgentEnrollmentCallback callback); in registerEnrollmentCallback()
42 void unregisterEnrollmentCallback(in ICarTrustAgentEnrollmentCallback callback); in unregisterEnrollmentCallback()
43 void registerBleCallback(in ICarTrustAgentBleCallback callback); in registerBleCallback()
44 void unregisterBleCallback(in ICarTrustAgentBleCallback callback); in unregisterBleCallback()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DMediaDb.java135 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/services/Car/car-lib/src/android/car/cluster/
DIInstrumentClusterManagerService.aidl31 oneway void registerCallback(in IInstrumentClusterManagerCallback callback); in registerCallback()
32 oneway void unregisterCallback(in IInstrumentClusterManagerCallback callback); in unregisterCallback()
/packages/services/Car/service/src/com/android/car/
DCarBugreportManagerService.java114 ICarBugreportCallback callback) { in requestBugreport()
150 ParcelFileDescriptor extraOutput, ICarBugreportCallback callback) { in requestBugReportLocked()
161 ICarBugreportCallback callback) { in startBugreportd()
176 private void handleProgress(String line, ICarBugreportCallback callback) { in handleProgress()
204 ICarBugreportCallback callback) { in handleFinished()
229 ICarBugreportCallback callback) { in processBugreportSockets()
263 ParcelFileDescriptor pfd, String remoteSocket, ICarBugreportCallback callback) { in copySocketToPfd()
284 private void reportError(ICarBugreportCallback callback, int errorCode) { in reportError()
/packages/services/Car/car-lib/src/android/car/media/
DICarMedia.aidl31 void registerMediaSourceListener(in ICarMediaSourceListener callback); in registerMediaSourceListener()
32 void unregisterMediaSourceListener(in ICarMediaSourceListener callback); in unregisterMediaSourceListener()
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ble/
DCarBlePeripheralManagerTest.java111 AssociationCallback callback = createAssociationCallback(semaphore); in testStartAssociationAdvertisingSuccess() local
127 AssociationCallback callback = createAssociationCallback(semaphore); in testStartAssociationAdvertisingFailure() local
143 AssociationCallback callback = createAssociationCallback(semaphore); in testNotifyAssociationSuccess() local
160 AssociationCallback callback = createAssociationCallback(semaphore); in testShowVerificationCode() local
170 AssociationCallback callback = createAssociationCallback(semaphore); in testAssociationSuccess() local
189 AssociationCallback callback = createAssociationCallback(semaphore); in testAssociationFailure_channelError() local
212 private BlePeripheralManager.Callback startAssociation(AssociationCallback callback, in startAssociation()
221 private SecureBleChannel getChannelForAssociation(AssociationCallback callback) { in getChannelForAssociation()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/internal/association/
DIAssociatedDeviceManager.aidl32 void setAssociationCallback(in IAssociationCallback callback); in setAssociationCallback()
57 void setDeviceAssociationCallback(in IDeviceAssociationCallback callback); in setDeviceAssociationCallback()
70 void setConnectionCallback(in IConnectionCallback callback); in setConnectionCallback()

12345678910>>...21