/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | DismissCallbackRegistryTest.java | 56 mDismissCallbackRegistry.addCallback(mMockCallback); in testCancelled() 64 mDismissCallbackRegistry.addCallback(mMockCallback); in testCancelled_multiple() 65 mDismissCallbackRegistry.addCallback(mMockCallback2); in testCancelled_multiple() 74 mDismissCallbackRegistry.addCallback(mMockCallback); in testSucceeded() 82 mDismissCallbackRegistry.addCallback(mMockCallback); in testSucceeded_multiple() 83 mDismissCallbackRegistry.addCallback(mMockCallback2); in testSucceeded_multiple() 92 mDismissCallbackRegistry.addCallback(mMockCallback); in testOnlyOnce()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | HotspotControllerImplTest.java | 105 mController.addCallback(mCallback1); in testAddingTwoCallbacksRegistersToWifiManagerOnce() 106 mController.addCallback(mCallback2); in testAddingTwoCallbacksRegistersToWifiManagerOnce() 113 mController.addCallback(mCallback1); in testAddingCallbacksDoesntUpdateAll() 114 mController.addCallback(mCallback2); in testAddingCallbacksDoesntUpdateAll() 124 mController.addCallback(mCallback1); in testRemovingTwoCallbacksUnegistersToWifiManagerOnce() 125 mController.addCallback(mCallback2); in testRemovingTwoCallbacksUnegistersToWifiManagerOnce() 135 mController.addCallback(mCallback1); in testDoNotUnregisterIfRemainingCallbacks() 136 mController.addCallback(mCallback2); in testDoNotUnregisterIfRemainingCallbacks() 160 mController.addCallback(mCallback1); in testHotspotSupported_callbackCalledOnChange_tetheringSupported() 170 mController.addCallback(mCallback1); in testHotspotSupported_callbackCalledOnChange_tetherableInterfaces()
|
D | LocationControllerImplTest.java | 67 mLocationController.addCallback(callback); in testRemoveSelfActive_DoesNotCrash() 68 mLocationController.addCallback(mock(LocationChangeCallback.class)); in testRemoveSelfActive_DoesNotCrash() 88 mLocationController.addCallback(callback); in testRemoveSelfSettings_DoesNotCrash() 89 mLocationController.addCallback(mock(LocationChangeCallback.class)); in testRemoveSelfSettings_DoesNotCrash() 98 mLocationController.addCallback(callback); in testAddCallback_notifiedImmediately() 109 mLocationController.addCallback(callback); in testCallbackNotified() 121 mLocationController.addCallback(callback); in testCallbackRemoved()
|
D | ZenModeControllerImplTest.java | 78 mController.addCallback(mCallback); in testRemoveDuringCallback() 80 mController.addCallback(mockCallback); in testRemoveDuringCallback() 119 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() 127 mBluetoothControllerImpl.addCallback(callback); in testAsyncConnectionState() 145 mBluetoothControllerImpl.addCallback(callback); in testNullAsync_DoesNotCrash() 192 mBluetoothControllerImpl.addCallback(callback); in testOnACLConnectionStateChange_updatesBluetoothStateOnConnection()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiTrafficPollerTest.java | 81 mWifiTrafficPoller.addCallback( in testClientNotification() 96 mWifiTrafficPoller.addCallback( in testRemoveClient() 113 mWifiTrafficPoller.addCallback( in testRemoveClientWithWrongIdentifier() 131 mWifiTrafficPoller.addCallback( in registersForBinderDeathOnAddClient() 144 mWifiTrafficPoller.addCallback( in addCallbackFailureOnLinkToDeath() 157 mWifiTrafficPoller.addCallback( in unchangedDataActivityNotNotified() 178 mWifiTrafficPoller.addCallback( in multipleCallbacksOnlyChangedNotified() 186 mWifiTrafficPoller.addCallback( in multipleCallbacksOnlyChangedNotified()
|
/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 | FakeKeyguardStateController.java | 32 public void addCallback(Callback callback) { in addCallback() method in FakeKeyguardStateController 33 mCallbackController.addCallback(callback); in addCallback()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | ControlsListingControllerImplTest.kt | 97 verify(mockSL).addCallback(capture(serviceListingCallbackCaptor)) in capture() 117 `when`(mockServiceListing.addCallback(any<ServiceListing.Callback>())).then { in testImmediateListingReload_doesNotCrash() 134 controller.addCallback(mockCallback) in testCallbackCalledWhenAdded() 139 controller.addCallback(mockCallbackOther) in testCallbackCalledWhenAdded() 148 controller.addCallback(mockCallback) in testCallbackGetsList() 149 controller.addCallback(mockCallbackOther) in testCallbackGetsList() 180 inOrder.verify(mockSL).addCallback(any()) // We add a callback because we replaced the SL in testChangeUser() 188 controller.addCallback(mockCallback) in testChangeUserSendsCorrectServiceUpdate()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/assist/ |
D | AssistHandleLikeHomeBehaviorTest.java | 74 verify(mMockStatusBarStateController).addCallback( in onModeActivated_beginsObserving() 78 verify(mMockSysUiState).addCallback(any(SysUiState.SysUiStateCallback.class)); in onModeActivated_beginsObserving() 137 verify(mMockStatusBarStateController).addCallback(stateListener.capture()); in onModeDeactivated_stopsObserving() 139 verify(mMockSysUiState).addCallback(sysUiStateCallback.capture()); in onModeDeactivated_stopsObserving() 213 verify(mMockStatusBarStateController).addCallback(stateListener.capture()); in onBothAwakeAndUnDoze_handlesShow() 270 verify(mMockStatusBarStateController).addCallback(stateListener.capture()); in onSleepOrDoze_handlesHide() 314 verify(mMockSysUiState).addCallback(sysUiStateCallback.capture()); in onHomeHandleHide_handlesHide() 343 verify(mMockSysUiState).addCallback(sysUiStateCallback.capture()); in onHomeHandleUnhide_handlesShow()
|
/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()
|
D | AutoTileManagerTest.java | 145 inOrderHotspot.verify(mHotspotController).addCallback(any()); in testChangeUserCallbacksStoppedAndStarted() 149 inOrderDataSaver.verify(mDataSaverController).addCallback(any()); in testChangeUserCallbacksStoppedAndStarted() 153 inOrderManagedProfile.verify(mManagedProfileController).addCallback(any()); in testChangeUserCallbacksStoppedAndStarted() 163 inOrderCast.verify(mCastController).addCallback(any()); in testChangeUserCallbacksStoppedAndStarted() 185 inOrderHotspot.verify(mHotspotController, never()).addCallback(any()); in testChangeUserSomeCallbacksNotAdded() 189 inOrderDataSaver.verify(mDataSaverController).addCallback(any()); in testChangeUserSomeCallbacksNotAdded() 193 inOrderManagedProfile.verify(mManagedProfileController, never()).addCallback(any()); in testChangeUserSomeCallbacksNotAdded() 203 inOrderCast.verify(mCastController, never()).addCallback(any()); in testChangeUserSomeCallbacksNotAdded()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/ |
D | AppOpsControllerTest.java | 97 mController.addCallback( in addCallback_includedCode() 111 mController.addCallback(new int[]{AppOpsManager.OP_FINE_LOCATION}, mCallback); in addCallback_notIncludedCode() 121 mController.addCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in removeCallback_sameCode() 132 mController.addCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in addCallback_notSameCode() 234 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/controls/management/ |
D | ControlsListingControllerImpl.kt | 105 serviceListing.addCallback(serviceListingCallback) 119 serviceListing.addCallback(serviceListingCallback) in changeUser() 134 override fun addCallback(listener: ControlsListingController.ControlsListingCallback) { in addCallback() method in com.android.systemui.controls.management.ControlsListingControllerImpl 139 addCallback(listener) in addCallback()
|
/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 | 288 mRotationLockController.addCallback(this); in init() 289 mBluetooth.addCallback(this); in init() 290 mProvisionedController.addCallback(this); in init() 291 mZenController.addCallback(this); in init() 292 mCast.addCallback(mCastCallback); in init() 293 mHotspot.addCallback(mHotspotCallback); in init() 294 mNextAlarmController.addCallback(mNextAlarmCallback); in init() 295 mDataSaver.addCallback(this); in init() 296 mKeyguardStateController.addCallback(this); in init() 297 mSensorPrivacyController.addCallback(mSensorPrivacyListener); in init() [all …]
|
D | AutoTileManager.java | 98 mHotspotController.addCallback(mHotspotCallback); in startControllersAndSettingsListeners() 101 mDataSaverController.addCallback(mDataSaverListener); in startControllersAndSettingsListeners() 104 mManagedProfileController.addCallback(mProfileCallback); in startControllersAndSettingsListeners() 111 mCastController.addCallback(mCastCallback); in startControllersAndSettingsListeners()
|
/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() 141 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/CarSystemUI/src/com/android/systemui/car/ |
D | CarDeviceProvisionedControllerImpl.java | 76 public void addCallback(DeviceProvisionedListener listener) { in addCallback() method in CarDeviceProvisionedControllerImpl 77 super.addCallback(listener); in addCallback()
|