Home
last modified time | relevance | path

Searched refs:addUser (Results 1 – 16 of 16) sorted by relevance

/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java209 shadowOf(userManager).addUser(12, "secondary user", 0); in isManagedProfileWithHandle()
253 shadowOf(userManager).addUser(TEST_USER_HANDLE, "", 0); in isProfile_profileUser_returnsTrue()
338 UserHandle expectedUserHandle = shadowOf(userManager).addUser(10, "secondary_user", 0); in getUserHandle()
352 UserHandle expectedUserHandle = shadowOf(userManager).addUser(10, "secondary_user", 0); in getUserHandles()
585 UserHandle userHandle = shadowOf(userManager).addUser(10, "secondary_user", 0); in addSecondaryUser()
593 shadowOf(userManager).addUser(10, "secondary_user", 0); in removeSecondaryUser()
601 shadowOf(userManager).addUser(10, "secondary_user", 0); in removeSecondaryUser_withUserHandle()
616 shadowOf(userManager).addUser(10, "secondary_user", 0); in removeUserWhenPossible_twoUsersRemoveOne_hasOneUserLeft()
637 shadowOf(userManager).addUser(10, "secondary_user", 0); in switchToSecondaryUser()
646 shadowOf(userManager).addUser(10, "secondary_user", 0); in switchToSecondaryUser_system()
[all …]
DShadowBinderTest.java105 UserHandle newUser = shadowOf(userManager).addUser(10, "secondary_user", 0); in testSetCallingUserHandle()
165 UserHandle newUser = shadowOf(userManager).addUser(10, "secondary_user", 0); in testResetUpdatesCallingUserHandle()
DShadowActivityManagerTest.java204 shadowOf(userManager).addUser(10, "secondary_user", 0); in switchUser()
212 UserHandle userHandle = shadowOf(userManager).addUser(10, "secondary_user", 0); in switchUser_withUserHandle_shouldAbleToSwitchUser()
227 shadowOf(userManager).addUser(10, "secondary_user", 0); in getCurrentUser_nonDefault_returnValueSet()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java154 shadowOf(userManager).addUser(TEST_USER_HANDLE, "secondary user", 0); in isManagedProfileWithHandle()
313 shadowOf(userManager).addUser(10, "secondary_user", 0); in addSecondaryUser()
320 shadowOf(userManager).addUser(10, "secondary_user", 0); in removeSecondaryUser()
328 shadowOf(userManager).addUser(10, "secondary_user", 0); in switchToSecondaryUser()
345 shadowOf(userManager).addUser(10, "secondary_user", 0); in getUsers()
352 shadowOf(userManager).addUser(10, "secondary_user", 0); in getUserInfo()
DShadowActivityManagerTest.java180 shadowOf(userManager).addUser(10, "secondary_user", 0); in switchUser()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/
DInstruction.cpp71 void WriteState::addUser(unsigned IID, ReadState *User, int ReadAdvance) { in addUser() function in llvm::mca::WriteState
84 void WriteState::addUser(unsigned IID, WriteState *User) { in addUser() function in llvm::mca::WriteState
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlanValue.h93 void addUser(VPUser &User) { Users.push_back(&User); } in addUser() function
158 Operand->addUser(*this); in addOperand()
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/
DRobolectricTestUtilities.java132 shadowOf(userManager).addUser(PERSONAL_PROFILE_USER_ID, "Personal Profile", /* flags= */ 0); in createPersonalUser()
139 shadowOf(userManager).addUser(WORK_PROFILE_USER_ID, "Work Profile", /* flags= */ 0); in createWorkUser()
149 shadowOf(userManager).addUser(id, "Custom User", /* flags= */ 0); in createCustomUser()
/external/llvm/include/llvm/Transforms/Scalar/
DConstantHoisting.h70 void addUser(Instruction *Inst, unsigned Idx, unsigned Cost) { in addUser() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
DInstruction.h175 void addUser(unsigned IID, ReadState *Use, int ReadAdvance);
179 void addUser(unsigned IID, WriteState *Use);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DConstantHoisting.h93 void addUser(Instruction *Inst, unsigned Idx, unsigned Cost) { in addUser() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/
DRegisterFile.cpp191 OtherWS->addUser(OtherWrite.getSourceIndex(), &WS); in addRegisterWrite()
423 WS.addUser(WR.getSourceIndex(), &RS, ReadAdvance); in addRegisterRead()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java90 addUser(UserHandle.USER_SYSTEM, "system_user", UserInfo.FLAG_PRIMARY | UserInfo.FLAG_ADMIN); in __constructor__()
642 public void addUser(int id, String name, int flags) { in addUser() method in ShadowUserManager
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp381 ConstIntCandVec[Itr->second].addUser(Inst, Idx, Cost); in collectConstantCandidates()
431 ExprCandVec[Itr->second].addUser(Inst, Idx, Cost); in collectConstantCandidates()
/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp201 ConstCandVec[Itr->second].addUser(Inst, Idx, Cost); in collectConstantCandidates()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java1135 public UserHandle addUser(int id, String name, int flags) { in addUser() method in ShadowUserManager