Home
last modified time | relevance | path

Searched refs:addCallback (Results 1 – 25 of 125) sorted by relevance

12345

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiTrafficPollerTest.java95 mWifiTrafficPoller.addCallback(mTrafficStateCallback); in testClientNotification()
109 mWifiTrafficPoller.addCallback(mTrafficStateCallback); in testDataActivityUpdatePacketThreshold()
149 mWifiTrafficPoller.addCallback(mTrafficStateCallback); in testRemoveClient()
165 mWifiTrafficPoller.addCallback(mTrafficStateCallback); in testRemoveClientWithWrongCallback()
182 mWifiTrafficPoller.addCallback(mTrafficStateCallback); in registersForBinderDeathOnAddClient()
194 mWifiTrafficPoller.addCallback(mTrafficStateCallback); in addCallbackFailureOnLinkToDeath()
206 mWifiTrafficPoller.addCallback(mTrafficStateCallback); in unchangedDataActivityNotNotified()
226 mWifiTrafficPoller.addCallback(mTrafficStateCallback); in multipleCallbacksOnlyChangedNotified()
233 mWifiTrafficPoller.addCallback(mTrafficStateCallback2); in multipleCallbacksOnlyChangedNotified()
DWifiNetworkFactoryTest.java829 mWifiNetworkFactory.addCallback(mNetworkRequestMatchCallback); in testPeriodicScanCancelOnUserSelectNetwork()
856 mWifiNetworkFactory.addCallback(mNetworkRequestMatchCallback); in testHandleCallbackRegistrationAndUnregistration()
877 mWifiNetworkFactory.addCallback(mNetworkRequestMatchCallback); in testHandleCallbackRegistrationWithNoActiveRequest()
912 mWifiNetworkFactory.addCallback(mNetworkRequestMatchCallback); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch()
953 mWifiNetworkFactory.addCallback(mNetworkRequestMatchCallback); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchForSaeTransitionScanResult()
994 mWifiNetworkFactory.addCallback(mNetworkRequestMatchCallback); in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch()
1036 mWifiNetworkFactory.addCallback(mNetworkRequestMatchCallback); in testNetworkSpecifierMatchSuccessUsingLiteralBssidMatch()
1078 mWifiNetworkFactory.addCallback(mNetworkRequestMatchCallback); in testNetworkSpecifierMatchSuccessUsingOuiPrefixBssidMatch()
1121 mWifiNetworkFactory.addCallback(mNetworkRequestMatchCallback); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchWithMultipleBssidMatches()
1166 mWifiNetworkFactory.addCallback(mNetworkRequestMatchCallback); in testNetworkSpecifierMatchFailUsingLiteralSsidMatchWhenSsidNotFound()
[all …]
/packages/apps/Camera2/src/com/android/camera/async/
DObservables.java63 public SafeCloseable addCallback(Runnable callback, Executor executor) { in transform() method in Observables
64 return input.addCallback(callback, executor); in transform()
102 public SafeCloseable addCallback(Runnable callback, Executor executor) {
112 return observable.addCallback(new Runnable() {
DForwardingObservable.java38 public SafeCloseable addCallback(Runnable callback, Executor executor) { in addCallback() method in ForwardingObservable
39 return mDelegate.addCallback(callback, executor); in addCallback()
DObservableCombiner.java84 public SafeCloseable addCallback(Runnable callback, Executor executor) {
88 callbackLifetime.add(input.addCallback(callback, executor));
DObservable.java47 public SafeCloseable addCallback(Runnable callback, Executor executor); in addCallback() method
DListenable.java52 mExistingCallbackHandle = mState.addCallback(new Runnable() { in setCallback()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DPrivacyChipViewControllerTest.java138 verify(mPrivacyItemController).addCallback(any()); in addPrivacyChipView_privacyChipViewPresent_addCallbackCalled()
157 verify(mPrivacyItemController, never()).addCallback(any()); in addPrivacyChipView_privacyChipViewNotPresent_addCallbackNotCalled()
171 verify(mPrivacyItemController).addCallback(mPicCallbackArgumentCaptor.capture()); in onPrivacyItemsChanged_micIsPartOfPrivacyItems_animateInCalled()
187 verify(mPrivacyItemController).addCallback(mPicCallbackArgumentCaptor.capture()); in onPrivacyItemsChanged_micIsPartOfPrivacyItemsTwice_animateInCalledOnce()
205 verify(mPrivacyItemController).addCallback(mPicCallbackArgumentCaptor.capture()); in onPrivacyItemsChanged_micIsNotPartOfPrivacyItems_animateOutCalled()
223 verify(mPrivacyItemController).addCallback(mPicCallbackArgumentCaptor.capture()); in onPrivacyItemsChanged_micIsNotPartOfPrivacyItemsTwice_animateOutCalledOnce()
DCarSystemBarTest.java164 verify(mDeviceProvisionedController).addCallback(deviceProvisionedCallbackCaptor.capture()); in restartNavbars_refreshesTaskChanged()
184 verify(mDeviceProvisionedController).addCallback(deviceProvisionedCallbackCaptor.capture()); in restartNavBars_newUserNotSetupWithKeyguardShowing_showsKeyguardButtons()
204 verify(mDeviceProvisionedController).addCallback(deviceProvisionedCallbackCaptor.capture()); in restartNavbars_newUserIsSetupWithKeyguardHidden_showsNavigationButtons()
/packages/apps/Camera2/src/com/android/camera/one/v2/common/
DBasicCameraFactory.java132 SafeCloseable zoomCallback = zoom.addCallback(mPreviewUpdater, MoreExecutors in BasicCameraFactory()
135 SafeCloseable flashCallback = flash.addCallback(mPreviewUpdater, MoreExecutors in BasicCameraFactory()
138 SafeCloseable exposureCallback = exposure.addCallback(mPreviewUpdater, MoreExecutors in BasicCameraFactory()
141 SafeCloseable hdrCallback = hdrSceneSetting.addCallback(mPreviewUpdater, MoreExecutors in BasicCameraFactory()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/service/chat/
DSimpleChatSession.java178 Futures.addCallback(
257 Futures.addCallback(
304 Futures.addCallback(
366 Futures.addCallback(
405 Futures.addCallback(
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DPermissionListenerMultiplexer.kt47 addCallback(newUid, callback) in <lambda>()
50 fun addCallback(uid: Int, callback: PermissionChangeCallback) { in <lambda>() method
DUserPackageInfosLiveData.kt63 PermissionListenerMultiplexer.addCallback(packageInfo.uid, this) in <lambda>()
89 PermissionListenerMultiplexer.addCallback(packageInfo.uid, this) in <lambda>()
DRoleHoldersLiveData.kt42 RoleListenerMultiplexer.addCallback(roleName, user, this) in onActive()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DImageLoader.java80 public void addCallback(@NonNull Callback callback) { in addCallback() method in ImageLoader
81 addCallback(callback, Executors.uiThreadExecutor()); in addCallback()
84 public void addCallback(@NonNull Callback callback, @NonNull Executor executor) { in addCallback() method in ImageLoader
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/
DAvailableTicketCounter.java54 public SafeCloseable addCallback(final Runnable callback, final Executor executor) { in addCallback() method in AvailableTicketCounter
57 callbackLifetime.add(input.addCallback(callback, executor)); in addCallback()
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
DObservableFrameServer.java117 public SafeCloseable addCallback(Runnable callback, Executor executor) { in addCallback() method in ObservableFrameServer
118 return mAvailability.addCallback(callback, executor); in addCallback()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/
DCarDeviceProvisionedControllerImpl.java78 public void addCallback(@NonNull DeviceProvisionedListener listener) { in addCallback() method in CarDeviceProvisionedControllerImpl
79 super.addCallback(listener); in addCallback()
/packages/apps/Settings/src/com/android/settings/sim/smartForwarding/
DSmartForwardingActivity.java90 Futures.addCallback(enableTask, new FutureCallback<FeatureResult>() { in enableSmartForwarding()
138 Futures.addCallback(disableTask, new FutureCallback() { in disableSmartForwarding()
/packages/apps/Dialer/java/com/android/dialer/blockreportspam/
DShowBlockReportSpamDialogReceiver.java226 Futures.addCallback( in blockNumber()
252 Futures.addCallback( in unblockNumber()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DWallpaperSectionController.java465 mHomeWallpaperSurface.getHolder().addCallback(mHomeWallpaperSurfaceCallback); in updateWallpaperSurface()
467 mLockWallpaperSurface.getHolder().addCallback(mLockWallpaperSurfaceCallback); in updateWallpaperSurface()
473 mWorkspaceSurface.getHolder().addCallback(mWorkspaceSurfaceCallback); in updateWorkspaceSurface()
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java513 Futures.addCallback(
531 Futures.addCallback(mLocalAccountsFuture, newAccountsUpdatedCallback(mLocalAccounts),
553 Futures.addCallback(mSimAccountsFuture, newAccountsUpdatedCallback(mSimAccounts),
/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusbar/
DDozeServiceHost.java32 public void addCallback(Callback callback) { in addCallback() method in DozeServiceHost
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DIRadioAppService.aidl37 void addCallback(in IRadioAppCallback callback); in addCallback() method
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/menu/
DNewCallLogMenu.java41 Futures.addCallback( in createOnClickListener()

12345