Home
last modified time | relevance | path

Searched refs:addProfile (Results 1 – 6 of 6) 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.java145 addProfile(mA2dpProfile, A2dpProfile.NAME, in updateLocalProfiles()
151 addProfile(mA2dpSinkProfile, A2dpSinkProfile.NAME, in updateLocalProfiles()
165 addProfile(mHfpClientProfile, HfpClientProfile.NAME, in updateLocalProfiles()
171 addProfile(mMapClientProfile, MapClientProfile.NAME, in updateLocalProfiles()
177 addProfile(mMapProfile, MapProfile.NAME, BluetoothMap.ACTION_CONNECTION_STATE_CHANGED); in updateLocalProfiles()
189 addProfile(mHearingAidProfile, HearingAidProfile.NAME, in updateLocalProfiles()
195 addProfile(mHidProfile, HidProfile.NAME, in updateLocalProfiles()
201 addProfile(mHidDeviceProfile, HidDeviceProfile.NAME, in updateLocalProfiles()
213 addProfile(mPbapProfile, PbapServerProfile.NAME, in updateLocalProfiles()
219 addProfile(mPbapClientProfile, PbapClientProfile.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/av/services/audiopolicy/common/managerdefinitions/include/
DHwModule.h88 status_t addProfile(const sp<IOProfile> &profile);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp88 status_t HwModule::addProfile(const sp<IOProfile> &profile) in addProfile() function in android::HwModule
104 addProfile(profiles[i]); in setProfiles()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java500 shadowUserManager.addProfile(PROFILE_USERID, "profile"); in removeProfileApp_workprofileExists_doResumeIfNeededLocked_shouldClearEntries()
574 shadowUserManager.addProfile(PROFILE_USERID, "profile"); in removeOwnerApp_workprofileExists_doResumeIfNeededLocked_shouldClearEntries()
652 shadowUserManager.addProfile(PROFILE_USERID, "profile"); in noAppRemoved_workprofileExists_doResumeIfNeededLocked_shouldNotClearEntries()