Searched refs:mUserSwitchCallback (Results 1 – 2 of 2) sorted by relevance
86 private CarPerUserServiceHelper.ServiceCallback mUserSwitchCallback; field in CarBluetoothServiceTest120 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()
70 private final UserTracker.Callback mUserSwitchCallback = new UserTracker.Callback() { field in PrivacyChipViewController203 mUserTracker.removeCallback(mUserSwitchCallback); in addPrivacyChipView()204 mUserTracker.addCallback(mUserSwitchCallback, mContext.getMainExecutor()); in addPrivacyChipView()219 mUserTracker.removeCallback(mUserSwitchCallback); in removeAll()