Home
last modified time | relevance | path

Searched refs:userProfile (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipHelper.java211 public ClientTransaction sendRegister(SipProfile userProfile, String tag, in sendRegister() argument
214 Request request = createRequest(Request.REGISTER, userProfile, tag); in sendRegister()
220 request.addHeader(createContactHeader(userProfile)); in sendRegister()
233 private Request createRequest(String requestType, SipProfile userProfile, in createRequest() argument
235 FromHeader fromHeader = createFromHeader(userProfile, tag); in createRequest()
236 ToHeader toHeader = createToHeader(userProfile); in createRequest()
238 String replaceStr = Pattern.quote(userProfile.getUserName() + "@"); in createRequest()
240 userProfile.getUriString().replaceFirst(replaceStr, "")); in createRequest()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryManagerTest.java102 UserInfo userProfile = new UserInfo(); in setUp() local
103 userProfile.id = mProfileId; in setUp()
104 mUsers.add(userProfile); in setUp()
107 mProfiles = new int[] {userSystem.id, userProfile.id}; in setUp()
111 when(mUserManager.getProfileIds(userProfile.id, true)) in setUp()
112 .thenReturn(new int[] {userProfile.id}); in setUp()
114 when(mUserManager.getProfileParent(userProfile.id)).thenReturn(userSystem); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java812 UserInfo userProfile = createProfileForUser("Managed 1", in testCreateProfile_withContextUserId() local
814 assertThat(userProfile).isNotNull(); in testCreateProfile_withContextUserId()
822 assertThat(profiles.get(0).equals(userProfile.getUserHandle()) in testCreateProfile_withContextUserId()
823 || profiles.get(1).equals(userProfile.getUserHandle())).isTrue(); in testCreateProfile_withContextUserId()