Home
last modified time | relevance | path

Searched refs:mUserSwitchCallback (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DCarBluetoothServiceTest.java86 private CarPerUserServiceHelper.ServiceCallback mUserSwitchCallback; field in CarBluetoothServiceTest
120 mUserSwitchCallback = in setUp()
166 mUserSwitchCallback.onServiceConnected(mMockCarPerUserService); in testConnectionResourceFlagTrue_doCreateDefaultConnectionPolicy()
186 mUserSwitchCallback.onServiceConnected(mMockCarPerUserService); in testConnectionResourceFlagFalse_doNotCreateDefaultConnectionPolicy()
206 mUserSwitchCallback.onServiceConnected(mMockCarPerUserService); in testPowerResourceFlagTrue_doCreateDefaultPowerPolicy()
226 mUserSwitchCallback.onServiceConnected(mMockCarPerUserService); in testPowerResourceFlagFalse_doNotCreateDefaultPowerPolicy()
238 mUserSwitchCallback.onServiceConnected(mMockCarPerUserService); in testIsProfileInhibited_defaultFalse()
253 mUserSwitchCallback.onServiceConnected(mMockCarPerUserService); in testIsProfileInhibited_inhibited()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DPrivacyChipViewController.java70 private final UserTracker.Callback mUserSwitchCallback = new UserTracker.Callback() { field in PrivacyChipViewController
203 mUserTracker.removeCallback(mUserSwitchCallback); in addPrivacyChipView()
204 mUserTracker.addCallback(mUserSwitchCallback, mContext.getMainExecutor()); in addPrivacyChipView()
219 mUserTracker.removeCallback(mUserSwitchCallback); in removeAll()