/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | DismissCallbackRegistryTest.java | 52 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/ |
D | HotspotControllerImplTest.java | 84 mController.addCallback(mCallback1); in testAddingTwoCallbacksRegistersToWifiManagerOnce() 85 mController.addCallback(mCallback2); in testAddingTwoCallbacksRegistersToWifiManagerOnce() 92 mController.addCallback(mCallback1); in testAddingCallbacksDoesntUpdateAll() 93 mController.addCallback(mCallback2); in testAddingCallbacksDoesntUpdateAll() 103 mController.addCallback(mCallback1); in testRemovingTwoCallbacksUnegistersToWifiManagerOnce() 104 mController.addCallback(mCallback2); in testRemovingTwoCallbacksUnegistersToWifiManagerOnce() 114 mController.addCallback(mCallback1); in testDoNotUnregisterIfRemainingCallbacks() 115 mController.addCallback(mCallback2); in testDoNotUnregisterIfRemainingCallbacks()
|
D | LocationControllerImplTest.java | 59 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()
|
D | ZenModeControllerImplTest.java | 74 mController.addCallback(mCallback); in testRemoveDuringCallback() 76 mController.addCallback(mockCallback); in testRemoveDuringCallback() 115 mController.addCallback(null); in testAddNullCallback()
|
D | CastControllerImplTest.java | 61 mController.addCallback(mockCallback); in testAddCallback() 69 mController.addCallback(mockCallback); in testRemoveCallback() 108 mController.addCallback(mCallback); in testAddCallbackRemoveCallback_concurrently()
|
D | CallbackControllerTest.java | 58 verify(controller).addCallback(eq(callback)); in testAddCallback() 81 public void addCallback(Object listener) { in addCallback() method in CallbackControllerTest.Controller
|
D | BluetoothControllerImplTest.java | 111 mBluetoothControllerImpl.addCallback(callback); in testAsyncBondState() 132 mBluetoothControllerImpl.addCallback(callback); in testAsyncConnectionState() 155 mBluetoothControllerImpl.addCallback(callback); in testNullAsync_DoesNotCrash() 210 mBluetoothControllerImpl.addCallback(callback); in testOnACLConnectionStateChange_updatesBluetoothStateOnConnection()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiTrafficPollerTest.java | 78 mWifiTrafficPoller.addCallback( in testClientNotification() 93 mWifiTrafficPoller.addCallback( in testRemoveClient() 110 mWifiTrafficPoller.addCallback( in testRemoveClientWithWrongIdentifier() 128 mWifiTrafficPoller.addCallback( in registersForBinderDeathOnAddClient() 141 mWifiTrafficPoller.addCallback( in addCallbackFailureOnLinkToDeath()
|
D | WifiNetworkFactoryTest.java | 667 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testHandleCallbackRegistrationAndUnregistration() 689 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testHandleCallbackRegistrationWithNoActiveRequest() 726 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch() 769 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch() 813 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchSuccessUsingLiteralBssidMatch() 857 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchSuccessUsingOuiPrefixBssidMatch() 902 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchWithMultipleBssidMatches() 949 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchFailUsingLiteralSsidMatchWhenSsidNotFound() 989 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchFailUsingLiteralSsidMatchWhenKeyMgmtDiffers() 1115 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | FakePluginManager.java | 34 mLeakChecker.addCallback(listener); in addPluginListener() 39 mLeakChecker.addCallback(listener); in addPluginListener() 45 mLeakChecker.addCallback(listener); in addPluginListener() 51 mLeakChecker.addCallback(listener); in addPluginListener()
|
D | FakeKeyguardMonitor.java | 30 public void addCallback(Callback callback) { in addCallback() method in FakeKeyguardMonitor 31 mCallbackController.addCallback(callback); in addCallback()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/assist/ |
D | AssistHandleLikeHomeBehaviorTest.java | 74 verify(mMockStatusBarStateController).addCallback( in onModeActivated_beginsObserving() 78 verify(mMockOverviewProxyService).addCallback(any( in onModeActivated_beginsObserving() 138 verify(mMockStatusBarStateController).addCallback(stateListener.capture()); in onModeDeactivated_stopsObserving() 140 verify(mMockOverviewProxyService).addCallback(overviewProxyListener.capture()); in onModeDeactivated_stopsObserving() 214 verify(mMockStatusBarStateController).addCallback(stateListener.capture()); in onBothAwakeAndUnDoze_handlesShow() 271 verify(mMockStatusBarStateController).addCallback(stateListener.capture()); in onSleepOrDoze_handlesHide() 315 verify(mMockOverviewProxyService).addCallback(sysUiStateCallback.capture()); in onHomeHandleHide_handlesHide() 344 verify(mMockOverviewProxyService).addCallback(sysUiStateCallback.capture()); in onHomeHandleUnhide_handlesShow()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/ |
D | AppOpsControllerTest.java | 95 mController.addCallback( in addCallback_includedCode() 109 mController.addCallback(new int[]{AppOpsManager.OP_FINE_LOCATION}, mCallback); in addCallback_notIncludedCode() 119 mController.addCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in removeCallback_sameCode() 130 mController.addCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in addCallback_notSameCode() 237 mController.addCallback(new int[]{AppOpsManager.OP_FINE_LOCATION}, mCallback); in testActiveOpNotRemovedAfterNoted() 266 mController.addCallback(new int[]{AppOpsManager.OP_FINE_LOCATION}, mCallback); in testNotedNotRemovedAfterActive() 295 mController.addCallback(new int[]{AppOpsManager.OP_FINE_LOCATION}, mCallback); in testNotedAndActiveOnlyOneCall() 310 mController.addCallback(new int[]{AppOpsManager.OP_FINE_LOCATION}, mCallback); in testActiveAndNotedOnlyOneCall()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ConfigurationControllerImplTest.kt | 38 mConfigurationController.addCallback(listener) in testThemeChange() 47 mConfigurationController.addCallback(listener) in testRemoveListenerDuringCallback() 49 mConfigurationController.addCallback(listener2) in testRemoveListenerDuringCallback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | MediaRouterWrapper.java | 36 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/ |
D | CallbackController.java | 24 void addCallback(T listener); in addCallback() method 42 addCallback(listener); in observe()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 231 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 …]
|
D | AutoTileManager.java | 77 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/ |
D | ClientTransactionTests.java | 57 transaction.addCallback(callback1); in testPreExecute() 58 transaction.addCallback(callback2); in testPreExecute()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | DevicePowerStatusAction.java | 58 addCallback(callback); in DevicePowerStatusAction() 101 public void addCallback(IHdmiControlCallback callback) { in addCallback() method in DevicePowerStatusAction
|
D | OneTouchPlayAction.java | 72 addCallback(callback); in OneTouchPlayAction() 142 public void addCallback(IHdmiControlCallback callback) { in addCallback() method in OneTouchPlayAction
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | FilterSurfaceView.java | 44 getHolder().addCallback(this); in FilterSurfaceView() 49 getHolder().addCallback(this); in FilterSurfaceView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | BypassHeadsUpNotifier.kt | 62 statusBarStateController.addCallback(this) in <lambda>() 75 mediaManager.addCallback(this) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistHandleLikeHomeBehavior.java | 104 mStatusBarStateController.get().addCallback(mStatusBarStateListener); in onModeActivated() 108 mOverviewProxyService.get().addCallback(mOverviewProxyListener); in onModeActivated()
|
/frameworks/base/media/java/android/media/projection/ |
D | MediaProjectionManager.java | 137 public void addCallback(@NonNull Callback callback, @Nullable Handler handler) { in addCallback() method in MediaProjectionManager 144 mService.addCallback(delegate); in addCallback()
|