Home
last modified time | relevance | path

Searched refs:getCallback (Results 1 – 25 of 46) sorted by relevance

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DHidlVehicleStubUnitTest.java38 import android.hardware.automotive.vehicle.V2_0.IVehicle.getCallback;
190 getCallback callback = (getCallback) inv.getArgument(1); in testGetAllPropConfigsHidlMultipleRequests()
280 getCallback callback = (getCallback) inv.getArgument(1); in testGetAllPropConfigsHidlMultipleRequestsGetValueInvalidArg()
319 getCallback callback = (getCallback) inv.getArgument(1); in testGetAllPropConfigsHidlMultipleRequestsGetValueError()
341 getCallback callback = (getCallback) inv.getArgument(1); in testGetAllPropConfigsHidlMultipleRequestsGetValueUnavailable()
393 getCallback callback = (getCallback) args[1]; in testGetAsync()
417 getCallback callback = (getCallback) args[1]; in testGetAsyncError()
440 getCallback callback = (getCallback) args[1]; in testGetAsyncTryAgainError()
462 getCallback callback = (getCallback) args[1]; in testGetAsyncOneOkayResultOneNoValue()
504 getCallback callback = (getCallback) args[1]; in testGetSync()
[all …]
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
DAppActiveStreams.java41 public StreamingServiceCallback getCallback() { in getCallback() method in AppActiveStreams.StreamCallbackWithState
88 if (c.getCallback() == callback) { in startStreaming()
106 entry.getCallback().onStreamStateUpdated(StreamingService.STATE_STOPPED, reason); in stopStreaming()
127 callbackWithState.getCallback().onStreamMethodUpdated(newMethod); in updateStreamingMethod()
/packages/apps/Messaging/src/com/android/messaging/ui/
DBugleActionBarActivity.java180 mActionMode.getCallback().onCreateActionMode(mActionMode, menu)) { in onCreateOptionsMenu()
190 mActionMode.getCallback().onPrepareActionMode(mActionMode, menu)) { in onPrepareOptionsMenu()
199 mActionMode.getCallback().onActionItemClicked(mActionMode, menuItem)) { in onOptionsItemSelected()
238 return mActionMode.getCallback(); in getActionModeCallback()
341 public Callback getCallback() { in getCallback() method in BugleActionBarActivity.CustomActionMode
349 mActionMode.getCallback().onPrepareActionMode(mActionMode, mActionBarMenu); in updateActionBar()
/packages/services/Car/car-lib/src/android/car/input/
DCarInputManager.java409 private CallbackHolder getCallback(@DisplayTypeEnum int targetDisplayType) { in getCallback() method in CarInputManager
417 CallbackHolder callbackHolder = getCallback(targetDisplayType); in dispatchKeyEvents()
428 CallbackHolder callbackHolder = getCallback(targetDisplayType); in dispatchRotaryEvents()
439 CallbackHolder callbackHolder = getCallback(targetDisplayType); in dispatchOnCaptureStateChanged()
450 CallbackHolder callbackHolder = getCallback(targetDisplayType); in dispatchCustomInputEvents()
/packages/services/Car/tests/common_utils/src/com/android/car/test/
DFakeHandlerWrapper.java64 return mQueuedMessages.removeIf(msg -> msg.getCallback() == callback); in FakeHandlerWrapper()
81 Runnable callback = msg.getCallback(); in dispatchQueuedMessages()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DTwtManager.java388 private IInterface getCallback(int id) { in getCallback() method in TwtManager
405 ITwtCallback iTwtCallback = (ITwtCallback) getCallback(cmdId); in onTwtFailure()
421 ITwtCallback iTwtCallback = (ITwtCallback) getCallback(cmdId); in onTwtSessionCreate()
441 ITwtCallback iTwtCallback = (ITwtCallback) getCallback(cmdId); in onTwtSessionTeardown()
458 ITwtStatsListener iTwtStatsListener = (ITwtStatsListener) getCallback(cmdId); in onTwtSessionStats()
DRunnerHandler.java107 msg.getCallback()); in sendMessageAtTime()
155 msg.getCallback()); in postToFront()
DWifiNetworkAgent.java137 public Callback getCallback() { in getCallback() method in WifiNetworkAgent
/packages/services/Car/service/src/com/android/car/vms/
DVmsBrokerService.java270 callbackConsumer.accept(subscriber.getCallback()); in deliverToSubscribers()
287 client.getCallback().asBinder().unlinkToDeath(client.getDeathRecipient(), 0); in unregisterClient()
335 client.getCallback().onLayerAvailabilityChanged(availableLayers); in notifyOfAvailabilityChange()
392 client.getCallback().onSubscriptionStateChanged(subscriptionState); in notifyOfSubscriptionChange()
DVmsClientInfo.java83 IVmsClientCallback getCallback() { in getCallback() method in VmsClientInfo
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiThreadRunnerTest.java134 assertEquals(mRunnable, mCaptor.getValue().getCallback()); in postSuccess()
147 assertEquals(mRunnable, mCaptor.getValue().getCallback()); in postFailure()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/telephony/
DBluetoothInCallServiceTest.java403 mBluetoothInCallService.getCallback(parentCall).onChildrenChanged(parentCall, children); in testConferenceInProgressCDMA()
410 mBluetoothInCallService.getCallback(parentCall).onChildrenChanged(parentCall, children); in testConferenceInProgressCDMA()
1338 mBluetoothInCallService.getCallback(activeCall).onDetailsChanged(activeCall, null); in testOnDetailsChangeExternalRemovesCall()
1351 mBluetoothInCallService.getCallback(activeCall); in testOnDetailsChangeExternalAddsCall()
1377 .getCallback(activeCall) in testOnCallStateChangedConnectingCall()
1426 .getCallback(ringingCall) in testOnCallStateChangedRingingToAudioProcessing()
1440 .getCallback(ringingCall) in testOnCallStateChangedAudioProcessingToSimulatedRinging()
1459 .getCallback(activeCall) in testOnCallStateChangedAudioProcessingToActive()
1496 .getCallback(outgoingCall) in testOnCallStateChangedAlerting()
1523 .getCallback(disconnectedCall) in testOnCallStateChangedDisconnected()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DSurfaceViewUtils.java60 public static Message getCallback(Bundle bundle) { in getCallback() method in SurfaceViewUtils
/packages/services/Car/service/src/com/android/car/remoteaccess/
DCarRemoteAccessService.java314 callback = token.getCallback(); in maybeStartNewRemoteTask()
652 if (token.getCallback() != null) { in addCarRemoteTaskClient()
653 token.getCallback().asBinder().unlinkToDeath(token, /* flags= */ 0); in addCarRemoteTaskClient()
660 ICarRemoteAccessCallback oldCallback = token.getCallback(); in addCarRemoteTaskClient()
713 if (token.getCallback() == null) { in removeCarRemoteTaskClient()
717 if (token.getCallback().asBinder() != callback.asBinder()) { in removeCarRemoteTaskClient()
1113 if (clientToken.getCallback() == null) { in confirmReadyForShutdown()
1634 if (token.getCallback() == null) { in notifyShutdownStarting()
1639 callbacks.add(token.getCallback()); in notifyShutdownStarting()
1872 public ICarRemoteAccessCallback getCallback() { in getCallback() method in CarRemoteAccessService.ClientToken
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DSetWallpaperViewModel.java46 public static SetWallpaperCallback getCallback(@NonNull ViewModelProvider provider) { in getCallback() method in SetWallpaperViewModel
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/sdksandbox/
DSdkSandboxTest.java350 .getCallback() in testRequestSurfacePackage()
382 .getCallback() in testSurfacePackageError()
615 .getCallback() in testLatencyMetrics_requestSurfacePackage_success()
710 private ISdkSandboxManagerToSdkSandboxCallback getCallback() { in getCallback() method in SdkSandboxTest.LoadSdkCallback
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
DExpiredTimersActivityTest.java60 activity.getWindow().getCallback().onWindowFocusChanged(true); in configurationChanges_DoNotResetFiringTimer()
/packages/modules/Connectivity/framework/src/android/net/
DQosCallbackConnection.java46 public QosCallback getCallback() { in getCallback() method in QosCallbackConnection
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DAudioOffloadService.java91 mMediaControllerCallback = sessionParams.getCallback(); in openSession()
DTextSession.java205 mTextListener.setMediaCallback(sessionParams.getCallback()); in handleOpenSession()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWorkspaceSurfaceHolderCallback.java166 mCallback = SurfaceViewUtils.getCallback(result); in maybeRenderPreview()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningManagerTest.java92 msg.getCallback().run(); in setUp()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java285 final INsdManagerCallback cb1 = getCallback(); in testPreSClients()
291 final INsdManagerCallback cb2 = getCallback(); in testPreSClients()
316 final INsdManagerCallback cb1 = getCallback(); in testNoDaemonStartedWhenClientsConnect()
323 final INsdManagerCallback cb2 = getCallback(); in testNoDaemonStartedWhenClientsConnect()
349 final INsdManagerCallback cb1 = getCallback(); in testClientRequestsAreGCedAtDisconnection()
402 final INsdManagerCallback cb1 = getCallback(); in testCleanupDelayNoRequestActive()
869 final INsdManagerCallback cb = getCallback(); in testNoCrashWhenProcessResolutionAfterBinderDied()
2067 private INsdManagerCallback getCallback() { in getCallback() method in NsdServiceTest
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/
DWorkspacePreviewBinder.kt234 continuation.resume(SurfaceViewUtils.getCallback(resultBundle)) in <lambda>()
/packages/modules/StatsD/service/java/com/android/server/stats/
DStatsManagerService.java209 public IPullAtomCallback getCallback() { in getCallback() method in StatsManagerService.PullerValue
772 value.getTimeoutMillis(), value.getAdditiveFields(), value.getCallback()); in registerAllPullers()

12