Searched refs:TYPE_SWITCH (Results 1 – 15 of 15) sorted by relevance
95 public static final int TYPE_SWITCH = 1; field in InitialUserSetter117 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()
785 info = new InitialUserSetter.Builder(InitialUserSetter.TYPE_SWITCH) in initBootUser()
153 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 …]
2759 return info.type == InitialUserSetter.TYPE_SWITCH in testPriorityInit_halSwitchResponse()2854 return info.type == InitialUserSetter.TYPE_SWITCH && info.replaceGuest in testOnResume_halSwitchResponse_replaceGuest()
60 mPreferenceCompat.setType(PreferenceCompat.TYPE_SWITCH); in updateAllowTurnScreenOffWithWakeLockPref()
78 mPreferenceCompat.setType(PreferenceCompat.TYPE_SWITCH); in update()
79 mPreferenceCompat.setType(PreferenceCompat.TYPE_SWITCH); in init()
120 pref.setType(PreferenceCompat.TYPE_SWITCH); in createAppPreference()
129 pref.setType(PreferenceCompat.TYPE_SWITCH); in updateList()
99 mSensorToggle.setType(PreferenceCompat.TYPE_SWITCH); in addSensorToggleWithInfo()
94 mAlwaysScan.setType(PreferenceCompat.TYPE_SWITCH); in onCreate()
189 mPreferenceCompat.setType(PreferenceCompat.TYPE_SWITCH); in update()
105 mEnablePref.setType(PreferenceCompat.TYPE_SWITCH); in onCreate()
40 public static final byte TYPE_SWITCH = 5; field in PreferenceCompat
171 final boolean isImeChecked = pref.getType() == PreferenceCompat.TYPE_SWITCH in saveInputMethodSubtypeList()