/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 | 80 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()
|
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 | BluetoothControllerImplTest.java | 110 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()
|
D | CallbackControllerTest.java | 58 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/ |
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/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 | 656 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/ |
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/tests/src/com/android/systemui/appops/ |
D | AppOpsControllerTest.java | 96 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/ |
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()
|
D | CastControllerImpl.java | 78 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/ |
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/assist/ |
D | AssistHandleLikeHomeBehavior.java | 68 mStatusBarStateController.addCallback(mStatusBarStateListener); in onModeActivated() 69 mOverviewProxyService.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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsController.java | 45 void addCallback(int[] opsCodes, Callback cb); in addCallback() method
|