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.java87 UserInfo profile = addProfile(secondaryUser); in testGetProfiles()
110 UserInfo profile = addProfile(secondaryUser); in testGetProfileIds_specifyType()
151 addProfile(secondaryUser); in testProfileBadge()
173 UserInfo profile = addProfile(system); in testProfileBadgeUnique()
182 UserInfo profile = addProfile(secondaryUser); in testProfileBadgeReuse()
194 UserInfo profileBadgeOne = addProfile(secondaryUser); in testProfileBadgeReuse()
219 addProfile(mUserManagerService.getPrimaryUser()); in testCanAddMoreManagedProfiles_removeProfile()
245 addProfile(mUserManagerService.getPrimaryUser(), true /* disabled */); in testCanAddMoreManagedProfiles_removeDisabledProfile()
322 private UserInfo addProfile(UserInfo user) { in addProfile() method in UserManagerServiceCreateProfileTest
323 return addProfile(user, false); in addProfile()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManager.java137 addProfile(mA2dpProfile, A2dpProfile.NAME, in updateLocalProfiles()
143 addProfile(mA2dpSinkProfile, A2dpSinkProfile.NAME, in updateLocalProfiles()
165 addProfile(mMapClientProfile, MapClientProfile.NAME, in updateLocalProfiles()
171 addProfile(mMapProfile, MapProfile.NAME, BluetoothMap.ACTION_CONNECTION_STATE_CHANGED); in updateLocalProfiles()
183 addProfile(mHearingAidProfile, HearingAidProfile.NAME, in updateLocalProfiles()
189 addProfile(mHidProfile, HidProfile.NAME, in updateLocalProfiles()
195 addProfile(mHidDeviceProfile, HidDeviceProfile.NAME, in updateLocalProfiles()
207 addProfile(mPbapProfile, PbapServerProfile.NAME, in updateLocalProfiles()
213 addProfile(mPbapClientProfile, PbapClientProfile.NAME, in updateLocalProfiles()
221 addProfile(mSapProfile, SapProfile.NAME, BluetoothSap.ACTION_CONNECTION_STATE_CHANGED); 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.h83 status_t addProfile(const sp<IOProfile> &profile);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp77 status_t HwModule::addProfile(const sp<IOProfile> &profile) in addProfile() function in android::HwModule
93 addProfile(profiles[i]); in setProfiles()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java497 shadowUserManager.addProfile(PROFILE_USERID, "profile"); in removeProfileApp_workprofileExists_doResumeIfNeededLocked_shouldClearEntries()
571 shadowUserManager.addProfile(PROFILE_USERID, "profile"); in removeOwnerApp_workprofileExists_doResumeIfNeededLocked_shouldClearEntries()
649 shadowUserManager.addProfile(PROFILE_USERID, "profile"); in noAppRemoved_workprofileExists_doResumeIfNeededLocked_shouldNotClearEntries()