Home
last modified time | relevance | path

Searched refs:TYPE_SWITCH (Results 1 – 15 of 15) sorted by relevance

/packages/services/Car/service/src/com/android/car/user/
DInitialUserSetter.java95 public static final int TYPE_SWITCH = 1; field in InitialUserSetter
117 TYPE_SWITCH,
191 Preconditions.checkArgument(type == TYPE_DEFAULT_BEHAVIOR || type == TYPE_SWITCH in Builder()
211 Preconditions.checkArgument(mType == TYPE_SWITCH, "invalid builder type: " + mType); in setSwitchUserId()
320 case TYPE_SWITCH: in toString()
360 case TYPE_SWITCH: in set()
407 switchUser(new Builder(TYPE_SWITCH) in replaceUser()
425 switchUser(new Builder(TYPE_SWITCH) in executeDefaultBehavior()
445 switchUser(new Builder(TYPE_SWITCH) in executeDefaultBehavior()
598 switchUser(new Builder(TYPE_SWITCH) in createAndSwitchUser()
DCarUserService.java785 info = new InitialUserSetter.Builder(InitialUserSetter.TYPE_SWITCH) in initBootUser()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DInitialUserSetterTest.java153 InitialUserSetter.TYPE_SWITCH); in testInitialUserInfoBuilder_invalidSetNewUserName()
160 InitialUserSetter.TYPE_SWITCH); in testInitialUserInfoBuilder_invalidSetNewUserFlags()
170 mSetter.set(new InitialUserSetter.Builder(InitialUserSetter.TYPE_SWITCH) in testSwitchUser_ok_nonGuest()
185 mSetter.set(new InitialUserSetter.Builder(InitialUserSetter.TYPE_SWITCH) in testSwitchUser_ok_systemUser()
206 mSetter.set(new InitialUserSetter.Builder(InitialUserSetter.TYPE_SWITCH) in testSwitchUser_ok_guestReplaced()
226 mSetter.set(new InitialUserSetter.Builder(InitialUserSetter.TYPE_SWITCH) in testSwitchUser_ok_guestDoesNotNeedToBeReplaced()
243 mSetter.set(new InitialUserSetter.Builder(InitialUserSetter.TYPE_SWITCH) in testSwitchUser_fail_guestReplacementFailed()
258 mSetter.set(new InitialUserSetter.Builder(InitialUserSetter.TYPE_SWITCH) in testSwitchUser_fail_switchFail()
271 mSetter.set(new InitialUserSetter.Builder(InitialUserSetter.TYPE_SWITCH) in testSwitchUser_fail_userDoesntExist()
285 mSetter.set(new InitialUserSetter.Builder(InitialUserSetter.TYPE_SWITCH) in testSwitchUser_fail_switchThrowsException()
[all …]
DCarUserServiceTest.java2759 return info.type == InitialUserSetter.TYPE_SWITCH in testPriorityInit_halSwitchResponse()
2854 return info.type == InitialUserSetter.TYPE_SWITCH && info.replaceGuest in testOnResume_halSwitchResponse_replaceGuest()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/display/daydream/
DAllowTurnScreenOffWithWakeLockPC.java60 mPreferenceCompat.setType(PreferenceCompat.TYPE_SWITCH); in updateAllowTurnScreenOffWithWakeLockPref()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/display/displaysound/
DHdrFormatPreferenceController.java78 mPreferenceCompat.setType(PreferenceCompat.TYPE_SWITCH); in update()
DSoundFormatPreferenceController.java79 mPreferenceCompat.setType(PreferenceCompat.TYPE_SWITCH); in init()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/specialaccess/
DHighPowerState.java120 pref.setType(PreferenceCompat.TYPE_SWITCH); in createAppPreference()
DNotificationAccessState.java129 pref.setType(PreferenceCompat.TYPE_SWITCH); in updateList()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/privacy/
DSensorState.java99 mSensorToggle.setType(PreferenceCompat.TYPE_SWITCH); in addSensorToggleWithInfo()
DLocationState.java94 mAlwaysScan.setType(PreferenceCompat.TYPE_SWITCH); in onCreate()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/inputmethod/
DInputMethodPreferenceController.java189 mPreferenceCompat.setType(PreferenceCompat.TYPE_SWITCH); in update()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/accessibility/
DAccessibilityServiceState.java105 mEnablePref.setType(PreferenceCompat.TYPE_SWITCH); in onCreate()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/
DPreferenceCompat.java40 public static final byte TYPE_SWITCH = 5; field in PreferenceCompat
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DInputMethodAndSubtypeUtilCompat.java171 final boolean isImeChecked = pref.getType() == PreferenceCompat.TYPE_SWITCH in saveInputMethodSubtypeList()