Searched refs:SECONDARY_USER_ID (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/settings/ |
D | UserSettingsProxyTest.kt | 157 mSettings.putStringForUser(TEST_SETTING, "test1", SECONDARY_USER_ID) in getStringForUser_multipleUsers_validResult() 159 assertThat(mSettings.getStringForUser(TEST_SETTING, SECONDARY_USER_ID)).isEqualTo("test1") in getStringForUser_multipleUsers_validResult() 191 mSettings.putIntForUser(TEST_SETTING, 2, SECONDARY_USER_ID) in getIntForUser_multipleUsers__validResult() 193 assertThat(mSettings.getIntForUser(TEST_SETTING, SECONDARY_USER_ID)).isEqualTo(2) in getIntForUser_multipleUsers__validResult() 225 mSettings.putBoolForUser(TEST_SETTING, false, SECONDARY_USER_ID) in getBoolForUser_multipleUsers__validResult() 227 assertThat(mSettings.getBoolForUser(TEST_SETTING, SECONDARY_USER_ID)).isEqualTo(false) in getBoolForUser_multipleUsers__validResult() 259 mSettings.putLongForUser(TEST_SETTING, 2L, SECONDARY_USER_ID) in getLongForUser_multipleUsers__validResult() 261 assertThat(mSettings.getLongForUser(TEST_SETTING, SECONDARY_USER_ID)).isEqualTo(2L) in getLongForUser_multipleUsers__validResult() 293 mSettings.putFloatForUser(TEST_SETTING, 2F, SECONDARY_USER_ID) in getFloatForUser_multipleUsers__validResult() 295 assertThat(mSettings.getFloatForUser(TEST_SETTING, SECONDARY_USER_ID)).isEqualTo(2F) in getFloatForUser_multipleUsers__validResult() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | WeaverBasedSyntheticPasswordTests.java | 33 final int userId = SECONDARY_USER_ID; in testFrpWeaverSlotNotReused() 49 final int userId = SECONDARY_USER_ID; in testFrpWeaverSlotReused()
|
D | BaseLockSettingsServiceTests.java | 81 protected static final int SECONDARY_USER_ID = 20; field in BaseLockSettingsServiceTests 188 SECONDARY_USER_ID, in setUp_baseServices() 207 when(mUserManager.getUserInfo(eq(SECONDARY_USER_ID))).thenReturn(mSecondaryUserInfo); in setUp_baseServices() 208 when(mUserManagerInternal.getUserInfo(eq(SECONDARY_USER_ID))) in setUp_baseServices()
|
D | SyntheticPasswordTests.java | 248 initSpAndSetCredential(SECONDARY_USER_ID, password); in testSecondaryUserDoesNotPassAuthSecret() 250 password, SECONDARY_USER_ID, 0 /* flags */).getResponseCode()); in testSecondaryUserDoesNotPassAuthSecret() 280 mService.initializeSyntheticPassword(SECONDARY_USER_ID); in setupHeadlessTest() 295 mService.unlockUserKeyIfUnsecured(SECONDARY_USER_ID); in testHeadlessSecondaryUserPassesAuthSecret() 302 mService.unlockUserKeyIfUnsecured(SECONDARY_USER_ID); in testHeadlessTertiaryUserPassesSameAuthSecret() 314 mService.unlockUserKeyIfUnsecured(SECONDARY_USER_ID); in testHeadlessTertiaryUserPassesSameAuthSecretAfterReset()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | QuickAccessWalletTileTest.java | 97 private static final int SECONDARY_USER_ID = 10; field in QuickAccessWalletTileTest 150 when(mCardImage.loadDrawableAsUser(any(), eq(SECONDARY_USER_ID))).thenReturn(null); in setUp()
|