Home
last modified time | relevance | path

Searched refs:getUserInfo (Results 1 – 7 of 7) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java227 return getUserInfo(UserHandle.myUserId()).isDemo(); in isDemoUser()
239 UserInfo userInfo = getUserInfo(UserHandle.myUserId()); in setIsDemoUser()
252 return getUserInfo(UserHandle.myUserId()).isAdmin(); in isAdminUser()
260 UserInfo userInfo = getUserInfo(UserHandle.myUserId()); in setIsAdminUser()
301 UserInfo userInfo = getUserInfo(UserHandle.myUserId()); in setIsPrimaryUser()
314 return getUserInfo(UserHandle.myUserId()).isRestricted(); in isLinkedUser()
326 UserInfo userInfo = getUserInfo(UserHandle.myUserId()); in setIsLinkedUser()
343 UserInfo userInfo = getUserInfo(UserHandle.myUserId()); in setIsGuestUser()
419 protected UserInfo getUserInfo(int userHandle) { in getUserInfo() method in ShadowUserManager
/external/nist-sip/java/gov/nist/javax/sip/address/
DSipUri.java116 UserInfo userInfo = authority.getUserInfo(); in clearPassword()
273 if (authority.getUserInfo() != null) in getUserAtHost()
274 user = authority.getUserInfo().getUser(); in getUserAtHost()
292 if (authority.getUserInfo() != null) in getUserAtHostPort()
293 user = authority.getUserInfo().getUser(); in getUserAtHostPort()
DAuthority.java107 public UserInfo getUserInfo() { in getUserInfo() method in Authority
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java321 public void getUserInfo() { in getUserInfo() method in ShadowUserManagerTest
323 assertThat(userManager.getUserInfo(10)).isNotNull(); in getUserInfo()
324 assertThat(userManager.getUserInfo(10).name).isEqualTo("secondary_user"); in getUserInfo()
/external/grpc-grpc-java/auth/src/main/java/io/grpc/auth/
DClientAuthInterceptor.java122 return new URI(uri.getScheme(), uri.getUserInfo(), uri.getHost(), -1 /* port */,
DGoogleAuthLibraryCallCredentials.java186 return new URI(uri.getScheme(), uri.getUserInfo(), uri.getHost(), -1 /* port */, in removePort()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DGrpcUtil.java469 checkArgument(uri.getUserInfo() == null, in checkAuthority()