Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceCreateProfileTest.java88 UserInfo profile = addProfile(secondaryUser); in testGetProfiles()
111 UserInfo profile = addProfile(secondaryUser); in testGetProfileIds_specifyType()
152 addProfile(secondaryUser); in testProfileBadge()
174 UserInfo profile = addProfile(system); in testProfileBadgeUnique()
183 UserInfo profile = addProfile(secondaryUser); in testProfileBadgeReuse()
195 UserInfo profileBadgeOne = addProfile(secondaryUser); in testProfileBadgeReuse()
220 addProfile(mUserManagerService.getPrimaryUser()); in testCanAddMoreManagedProfiles_removeProfile()
246 addProfile(mUserManagerService.getPrimaryUser(), true /* disabled */); in testCanAddMoreManagedProfiles_removeDisabledProfile()
323 private UserInfo addProfile(UserInfo user) { in addProfile() method in UserManagerServiceCreateProfileTest
324 return addProfile(user, false); in addProfile()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManager.java148 addProfile(mA2dpProfile, A2dpProfile.NAME, in updateLocalProfiles()
154 addProfile(mA2dpSinkProfile, A2dpSinkProfile.NAME, in updateLocalProfiles()
168 addProfile(mHfpClientProfile, HfpClientProfile.NAME, in updateLocalProfiles()
174 addProfile(mMapClientProfile, MapClientProfile.NAME, in updateLocalProfiles()
180 addProfile(mMapProfile, MapProfile.NAME, BluetoothMap.ACTION_CONNECTION_STATE_CHANGED); in updateLocalProfiles()
192 addProfile(mHearingAidProfile, HearingAidProfile.NAME, in updateLocalProfiles()
198 addProfile(mHapClientProfile, HapClientProfile.NAME, in updateLocalProfiles()
204 addProfile(mHidProfile, HidProfile.NAME, in updateLocalProfiles()
210 addProfile(mHidDeviceProfile, HidDeviceProfile.NAME, in updateLocalProfiles()
222 addProfile(mPbapProfile, PbapServerProfile.NAME, in updateLocalProfiles()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/
DShadowUserManager.java32 private List<UserInfo> mUserInfos = addProfile(0, "Owner");
49 public List<UserInfo> addProfile(int id, String name) { in addProfile() method in ShadowUserManager
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java515 shadowUserManager.addProfile(PROFILE_USERID, "profile"); in removeProfileApp_workprofileExists_doResumeIfNeededLocked_shouldClearEntries()
589 shadowUserManager.addProfile(PROFILE_USERID, "profile"); in removeOwnerApp_workprofileExists_doResumeIfNeededLocked_shouldClearEntries()
667 shadowUserManager.addProfile(PROFILE_USERID, "profile"); in noAppRemoved_workprofileExists_doResumeIfNeededLocked_shouldNotClearEntries()
783 shadowUserManager.addProfile(USER_SYSTEM, PROFILE_USERID, in shouldShowInPersonalTab_currentUserIsParent_returnsAsPerUserPropertyOfProfile1()
785 shadowUserManager.addProfile(USER_SYSTEM, PROFILE_USERID2, in shouldShowInPersonalTab_currentUserIsParent_returnsAsPerUserPropertyOfProfile1()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DHwModule.h89 status_t addProfile(const sp<IOProfile> &profile);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp95 status_t HwModule::addProfile(const sp<IOProfile> &profile) in addProfile() function in android::HwModule
111 addProfile(profiles[i]); in setProfiles()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserManagerServiceTest.java446 addProfile(PROFILE_USER_ID, PARENT_USER_ID); in addDefaultProfileAndParent()
449 private void addProfile(@UserIdInt int profileId, @UserIdInt int parentId) { in addProfile() method in UserManagerServiceTest