Home
last modified time | relevance | path

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

12345678910>>...23

/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.java114 CarBugreportManagerCallbackWrapper(CarBugreportManagerCallback callback, in CarBugreportManagerCallbackWrapper()
122 CarBugreportManagerCallback callback = mWeakCallback.get(); in onProgress() local
131 CarBugreportManagerCallback callback = mWeakCallback.get(); in onError() local
140 CarBugreportManagerCallback callback = mWeakCallback.get(); in onFinished() local
179 @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/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/carservice_unit_test/src/com/android/car/hal/
DUserHalServiceTest.java285 GenericHalCallback<InitialUserInfoResponse> callback = new GenericHalCallback<>( in testGetUserInfo_halSetTimedOut() local
301 GenericHalCallback<InitialUserInfoResponse> callback = new GenericHalCallback<>( in testGetUserInfo_halDidNotReply() local
339 GenericHalCallback<InitialUserInfoResponse> callback = new GenericHalCallback<>( in testGetUserInfo_halReplyWithWrongRequestId() local
357 GenericHalCallback<InitialUserInfoResponse> callback = new GenericHalCallback<>( in testGetUserInfo_halReturnedInvalidAction() local
380 GenericHalCallback<InitialUserInfoResponse> callback = new GenericHalCallback<>( in testGetUserInfo_successDefault() local
410 GenericHalCallback<InitialUserInfoResponse> callback = new GenericHalCallback<>( in testGetUserInfo_successSwitchUser() local
443 GenericHalCallback<InitialUserInfoResponse> callback = new GenericHalCallback<>( in testGetUserInfo_successCreateUser() local
517 GenericHalCallback<SwitchUserResponse> callback = new GenericHalCallback<>( in testSwitchUser_halSetTimedOut() local
520 callback); in testSwitchUser_halSetTimedOut() local
533 GenericHalCallback<SwitchUserResponse> callback = new GenericHalCallback<>( in testSwitchUser_halDidNotReply() local
[all …]
/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()
/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
237 void stopAdvertisingSet(IAdvertisingSetCallback callback) { in stopAdvertisingSet()
349 IAdvertisingSetCallback callback = entry.getValue().callback; in onAdvertisingDataSet() local
[all …]
/packages/services/Car/car-lib/src/android/car/trust/
DICarTrustAgentEnrollment.aidl43 void registerEnrollmentCallback(in ICarTrustAgentEnrollmentCallback callback); in registerEnrollmentCallback()
44 void unregisterEnrollmentCallback(in ICarTrustAgentEnrollmentCallback callback); in unregisterEnrollmentCallback()
45 void registerBleCallback(in ICarTrustAgentBleCallback callback); in registerBleCallback()
46 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/car-lib/src/android/car/hardware/property/
DICarProperty.aidl28 void registerListener(int propId, float rate, in ICarPropertyEventListener callback) = 0; in registerListener()
30 void unregisterListener(int propId, in ICarPropertyEventListener callback) = 1; in unregisterListener()
36 void setProperty(in CarPropertyValue prop, in ICarPropertyEventListener callback) = 4; in setProperty()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DImageLoader.java80 public void addCallback(@NonNull Callback callback) { in addCallback()
84 public void addCallback(@NonNull Callback callback, @NonNull Executor executor) { in addCallback()
92 public void removeCallback(@NonNull Callback callback) { in removeCallback()
96 public void removeCallback(@NonNull Callback callback, @NonNull Executor executor) { in removeCallback()
104 public void loadImage(@NonNull Uri uri, @NonNull Callback callback) { in loadImage()
108 public void loadImage(@NonNull Uri uri, @NonNull Callback callback, in loadImage()
/packages/services/Car/car-lib/src/android/car/input/
DICarInput.aidl28 int requestInputEventCapture(in ICarInputCallback callback, int targetDisplayType, in requestInputEventCapture()
31 void releaseInputEventCapture(in ICarInputCallback callback, int targetDisplayType) = 2; in releaseInputEventCapture()
/packages/services/Car/computepipe/tests/runner/graph/includes/
DPrebuiltEngineInterfaceImpl.h64 void SetPixelCallback(PixelCallback callback) { mPixelCallbackFn = callback; } in SetPixelCallback()
66 void SetSerializedStreamCallback(SerializedStreamCallback callback) { in SetSerializedStreamCallback()
70 void SetGraphTerminationCallback(GraphTerminationCallback callback) { in SetGraphTerminationCallback()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DDocumentClipper.java85 FileOperations.Callback callback); in copyFromClipboard()
96 FileOperations.Callback callback); in copyFromClipboard()
111 FileOperations.Callback callback); in copyFromClipData()
126 FileOperations.Callback callback); in copyFromClipData()
139 FileOperations.Callback callback); in copyFromClipData()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDocumentClipper.java87 Callback callback) { in copyFromClipboard()
92 public void copyFromClipboard(DocumentStack docStack, Callback callback) { in copyFromClipboard()
98 ClipData clipData, Callback callback) { in copyFromClipData()
104 @OpType int opType, Callback callback) { in copyFromClipData()
110 public void copyFromClipData(DocumentStack docStack, ClipData clipData, Callback callback) { in copyFromClipData()
/packages/apps/Launcher3/src/com/android/launcher3/
DGestureNavContract.java52 public GestureNavContract(ComponentName componentName, UserHandle user, Message callback) { in GestureNavContract()
67 Message callback = Message.obtain(); in sendEndPosition() local
93 Message callback = extras.getParcelable(EXTRA_REMOTE_CALLBACK); in fromIntent() local

12345678910>>...23