HomeSort by relevance Sort by last modified time
    Searched refs:otherUser (Results 1 - 3 of 3) sorted by null

  /frameworks/base/core/tests/coretests/src/android/provider/
SettingsProviderTest.java 167 UserInfo otherUser = um.createUser("TestUser1", UserInfo.FLAG_GUEST);
168 assertTrue(otherUser != null);
171 otherUser.id, UserHandle.getCallingUserId());
177 Settings.Secure.putStringForUser(r, testKey, testValue2, otherUser.id);
180 assertEquals(testValue2, Settings.Secure.getStringForUser(r, testKey, otherUser.id));
183 otherUser.id, UserHandle.getCallingUserId());
186 um.removeUser(otherUser.id);
  /packages/apps/Settings/src/com/android/settings/
Utils.java 743 private static boolean isProfileOf(UserManager um, UserHandle otherUser) {
744 if (um == null || otherUser == null) return false;
745 return (UserHandle.myUserId() == otherUser.getIdentifier())
746 || um.getUserProfiles().contains(otherUser);
    [all...]
  /system/security/keystore/
keystore.cpp 732 UserState* otherUser = getUserStateByUid(thisUid);
733 if (otherUser->getUserId() != 0) {
738 DIR* otherdir = opendir(otherUser->getUserDirName());

Completed in 476 milliseconds