Home
last modified time | relevance | path

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

12345678910

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DDismissCallbackRegistryTest.java52 mDismissCallbackRegistry.addCallback(mMockCallback); in testCancelled()
60 mDismissCallbackRegistry.addCallback(mMockCallback); in testCancelled_multiple()
61 mDismissCallbackRegistry.addCallback(mMockCallback2); in testCancelled_multiple()
70 mDismissCallbackRegistry.addCallback(mMockCallback); in testSucceeded()
78 mDismissCallbackRegistry.addCallback(mMockCallback); in testSucceeded_multiple()
79 mDismissCallbackRegistry.addCallback(mMockCallback2); in testSucceeded_multiple()
88 mDismissCallbackRegistry.addCallback(mMockCallback); in testOnlyOnce()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DHotspotControllerImplTest.java80 mController.addCallback(mCallback1); in testAddingTwoCallbacksRegistersToWifiManagerOnce()
81 mController.addCallback(mCallback2); in testAddingTwoCallbacksRegistersToWifiManagerOnce()
88 mController.addCallback(mCallback1); in testAddingCallbacksDoesntUpdateAll()
89 mController.addCallback(mCallback2); in testAddingCallbacksDoesntUpdateAll()
99 mController.addCallback(mCallback1); in testRemovingTwoCallbacksUnegistersToWifiManagerOnce()
100 mController.addCallback(mCallback2); in testRemovingTwoCallbacksUnegistersToWifiManagerOnce()
110 mController.addCallback(mCallback1); in testDoNotUnregisterIfRemainingCallbacks()
111 mController.addCallback(mCallback2); in testDoNotUnregisterIfRemainingCallbacks()
DLocationControllerImplTest.java59 mLocationController.addCallback(callback); in testRemoveSelfActive_DoesNotCrash()
60 mLocationController.addCallback(mock(LocationChangeCallback.class)); in testRemoveSelfActive_DoesNotCrash()
81 mLocationController.addCallback(callback); in testRemoveSelfSettings_DoesNotCrash()
82 mLocationController.addCallback(mock(LocationChangeCallback.class)); in testRemoveSelfSettings_DoesNotCrash()
DZenModeControllerImplTest.java74 mController.addCallback(mCallback); in testRemoveDuringCallback()
76 mController.addCallback(mockCallback); in testRemoveDuringCallback()
115 mController.addCallback(null); in testAddNullCallback()
DCastControllerImplTest.java61 mController.addCallback(mockCallback); in testAddCallback()
69 mController.addCallback(mockCallback); in testRemoveCallback()
108 mController.addCallback(mCallback); in testAddCallbackRemoveCallback_concurrently()
DBluetoothControllerImplTest.java110 mBluetoothControllerImpl.addCallback(callback); in testAsyncBondState()
131 mBluetoothControllerImpl.addCallback(callback); in testAsyncConnectionState()
154 mBluetoothControllerImpl.addCallback(callback); in testNullAsync_DoesNotCrash()
209 mBluetoothControllerImpl.addCallback(callback); in testOnACLConnectionStateChange_updatesBluetoothStateOnConnection()
DCallbackControllerTest.java58 verify(controller).addCallback(eq(callback)); in testAddCallback()
81 public void addCallback(Object listener) { in addCallback() method in CallbackControllerTest.Controller
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakePluginManager.java34 mLeakChecker.addCallback(listener); in addPluginListener()
39 mLeakChecker.addCallback(listener); in addPluginListener()
45 mLeakChecker.addCallback(listener); in addPluginListener()
51 mLeakChecker.addCallback(listener); in addPluginListener()
DFakeKeyguardMonitor.java30 public void addCallback(Callback callback) { in addCallback() method in FakeKeyguardMonitor
31 mCallbackController.addCallback(callback); in addCallback()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiTrafficPollerTest.java78 mWifiTrafficPoller.addCallback( in testClientNotification()
93 mWifiTrafficPoller.addCallback( in testRemoveClient()
110 mWifiTrafficPoller.addCallback( in testRemoveClientWithWrongIdentifier()
128 mWifiTrafficPoller.addCallback( in registersForBinderDeathOnAddClient()
141 mWifiTrafficPoller.addCallback( in addCallbackFailureOnLinkToDeath()
DWifiNetworkFactoryTest.java656 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testHandleCallbackRegistrationAndUnregistration()
678 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testHandleCallbackRegistrationWithNoActiveRequest()
715 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch()
758 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch()
802 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchSuccessUsingLiteralBssidMatch()
846 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchSuccessUsingOuiPrefixBssidMatch()
891 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchWithMultipleBssidMatches()
938 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchFailUsingLiteralSsidMatchWhenSsidNotFound()
983 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchFailUsingLiteralSsidMatchWhenKeyMgmtDiffers()
1155 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierHandleUserSelectionConnectToNetworkUsingLiteralSsidAndBssidMatch()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImplTest.kt38 mConfigurationController.addCallback(listener) in testThemeChange()
47 mConfigurationController.addCallback(listener) in testRemoveListenerDuringCallback()
49 mConfigurationController.addCallback(listener2) in testRemoveListenerDuringCallback()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java96 mController.addCallback( in addCallback_includedCode()
110 mController.addCallback(new int[]{AppOpsManager.OP_FINE_LOCATION}, mCallback); in addCallback_notIncludedCode()
120 mController.addCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in removeCallback_sameCode()
131 mController.addCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in addCallback_notSameCode()
238 mController.addCallback(new int[]{AppOpsManager.OP_FINE_LOCATION}, mCallback); in testActiveOpNotRemovedAfterNoted()
267 mController.addCallback(new int[]{AppOpsManager.OP_FINE_LOCATION}, mCallback); in testNotedNotRemovedAfterActive()
296 mController.addCallback(new int[]{AppOpsManager.OP_FINE_LOCATION}, mCallback); in testNotedAndActiveOnlyOneCall()
311 mController.addCallback(new int[]{AppOpsManager.OP_FINE_LOCATION}, mCallback); in testActiveAndNotedOnlyOneCall()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DMediaRouterWrapper.java36 public void addCallback(MediaRouteSelector selector, MediaRouter.Callback callback, int flags) { in addCallback() method in MediaRouterWrapper
37 mRouter.addCallback(selector, callback, flags); in addCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCallbackController.java24 void addCallback(T listener); in addCallback() method
42 addCallback(listener); in observe()
DCastControllerImpl.java78 mProjectionManager.addCallback(mProjectionCallback, new Handler()); in CastControllerImpl()
96 public void addCallback(Callback callback) { in addCallback() method in CastControllerImpl
132 mMediaRouter.addCallback(ROUTE_TYPE_REMOTE_DISPLAY, mMediaCallback, in handleDiscoveryChangeLocked()
141 mMediaRouter.addCallback(ROUTE_TYPE_REMOTE_DISPLAY, mMediaCallback, in handleDiscoveryChangeLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java231 mRotationLockController.addCallback(this); in PhoneStatusBarPolicy()
232 mBluetooth.addCallback(this); in PhoneStatusBarPolicy()
233 mProvisionedController.addCallback(this); in PhoneStatusBarPolicy()
234 mZenController.addCallback(this); in PhoneStatusBarPolicy()
235 mCast.addCallback(mCastCallback); in PhoneStatusBarPolicy()
236 mHotspot.addCallback(mHotspotCallback); in PhoneStatusBarPolicy()
237 mNextAlarmController.addCallback(mNextAlarmCallback); in PhoneStatusBarPolicy()
238 mDataSaver.addCallback(this); in PhoneStatusBarPolicy()
239 mKeyguardMonitor.addCallback(this); in PhoneStatusBarPolicy()
240 mSensorPrivacyController.addCallback(mSensorPrivacyListener); in PhoneStatusBarPolicy()
[all …]
DAutoTileManager.java77 hotspotController.addCallback(mHotspotCallback); in AutoTileManager()
80 dataSaverController.addCallback(mDataSaverListener); in AutoTileManager()
98 managedProfileController.addCallback(mProfileCallback); in AutoTileManager()
105 castController.addCallback(mCastCallback); in AutoTileManager()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DClientTransactionTests.java57 transaction.addCallback(callback1); in testPreExecute()
58 transaction.addCallback(callback2); in testPreExecute()
/frameworks/base/services/core/java/com/android/server/hdmi/
DDevicePowerStatusAction.java58 addCallback(callback); in DevicePowerStatusAction()
101 public void addCallback(IHdmiControlCallback callback) { in addCallback() method in DevicePowerStatusAction
DOneTouchPlayAction.java72 addCallback(callback); in OneTouchPlayAction()
142 public void addCallback(IHdmiControlCallback callback) { in addCallback() method in OneTouchPlayAction
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterSurfaceView.java44 getHolder().addCallback(this); in FilterSurfaceView()
49 getHolder().addCallback(this); in FilterSurfaceView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistHandleLikeHomeBehavior.java68 mStatusBarStateController.addCallback(mStatusBarStateListener); in onModeActivated()
69 mOverviewProxyService.addCallback(mOverviewProxyListener); in onModeActivated()
/frameworks/base/media/java/android/media/projection/
DMediaProjectionManager.java137 public void addCallback(@NonNull Callback callback, @Nullable Handler handler) { in addCallback() method in MediaProjectionManager
144 mService.addCallback(delegate); in addCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsController.java45 void addCallback(int[] opsCodes, Callback cb); in addCallback() method

12345678910