OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getProfiles
(Results
1 - 25
of
111
) sorted by null
1
2
3
4
5
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
Compat.java
27
public static List<UserHandle>
getProfiles
(Context context) {
29
return context.getSystemService(LauncherApps.class).
getProfiles
();
/packages/apps/Settings/src/com/android/settings/applications/
UserManagerWrapperImpl.java
42
public List<UserInfo>
getProfiles
(int userHandle) {
43
return mUserManager.
getProfiles
(userHandle);
UserManagerWrapper.java
32
List<UserInfo>
getProfiles
(int userHandle);
AppCounter.java
40
for (UserInfo user : mUm.
getProfiles
(UserHandle.myUserId())) {
AppLister.java
47
for (UserInfo user : mUm.
getProfiles
(UserHandle.myUserId())) {
/packages/apps/Settings/src/com/android/settings/accounts/
AutoSyncPersonalDataPreferenceController.java
34
&& mUserManager.
getProfiles
(UserHandle.myUserId()).size() > 1;
/packages/apps/Bluetooth/src/com/android/bluetooth/util/
DevicePolicyUtils.java
36
final List<UserInfo> userInfoList = userManager.
getProfiles
(myUserId);
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
AccountPreferenceControllerTest.java
131
when(mUserManager.
getProfiles
(anyInt())).thenReturn(infos);
145
when(mUserManager.
getProfiles
(anyInt())).thenReturn(infos);
159
when(mUserManager.
getProfiles
(anyInt())).thenReturn(infos);
175
when(mUserManager.
getProfiles
(anyInt())).thenReturn(infos);
193
when(mUserManager.
getProfiles
(anyInt())).thenReturn(infos);
209
when(mUserManager.
getProfiles
(anyInt())).thenReturn(infos);
227
when(mUserManager.
getProfiles
(anyInt())).thenReturn(infos);
245
when(mUserManager.
getProfiles
(anyInt())).thenReturn(infos);
267
when(mUserManager.
getProfiles
(anyInt())).thenReturn(infos);
279
when(mUserManager.
getProfiles
(anyInt())).thenReturn(infos)
[
all
...]
AutoSyncWorkDataPreferenceControllerTest.java
89
when(mUserManager.
getProfiles
(eq(UserHandle.USER_SYSTEM))).thenReturn(infos);
103
when(mUserManager.
getProfiles
(eq(UserHandle.USER_SYSTEM))).thenReturn(infos);
AutoSyncDataPreferenceControllerTest.java
104
when(mUserManager.
getProfiles
(anyInt())).thenReturn(infos);
118
when(mUserManager.
getProfiles
(anyInt())).thenReturn(infos);
AutoSyncPersonalDataPreferenceControllerTest.java
97
when(mUserManager.
getProfiles
(anyInt())).thenReturn(infos);
111
when(mUserManager.
getProfiles
(anyInt())).thenReturn(infos);
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
CrossProfileIntentFiltersSetterTest.java
88
when(mUserManager.
getProfiles
(TEST_PARENT_USER_ID))
103
when(mUserManager.
getProfiles
(TEST_PARENT_USER_ID))
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
ShadowUserManager.java
51
public List<UserInfo>
getProfiles
(@UserIdInt int userHandle) {
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
IntentForwarderActivityTest.java
110
when(mUserManager.
getProfiles
(anyInt())).thenReturn(profiles);
143
when(mUserManager.
getProfiles
(anyInt())).thenReturn(profiles);
164
when(mUserManager.
getProfiles
(anyInt())).thenReturn(profiles);
186
when(mUserManager.
getProfiles
(anyInt())).thenReturn(profiles);
228
when(mUserManager.
getProfiles
(anyInt())).thenReturn(profiles);
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
RestrictedLockUtilsTest.java
118
when(mUserManager.
getProfiles
(mUserId)).thenReturn(Arrays.asList(new UserInfo[] {
147
when(mUserManager.
getProfiles
(mUserId)).thenReturn(Arrays.asList(new UserInfo[] {
171
when(mUserManager.
getProfiles
(mUserId)).thenReturn(Arrays.asList(new UserInfo[] {
208
when(mUserManager.
getProfiles
(mUserId)).thenReturn(Arrays.asList(new UserInfo[] {
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
WorkModeCondition.java
42
List<UserInfo> profiles = mUm.
getProfiles
(UserHandle.myUserId());
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/
OtaControllerTest.java
91
when(mUserManager.
getProfiles
(UserHandle.USER_SYSTEM)).thenReturn(mProfiles);
174
when(mUserManager.
getProfiles
(userId)).thenReturn(Collections.singletonList(ui));
186
when(mUserManager.
getProfiles
(userId)).thenReturn(Collections.singletonList(ui));
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
MockSystemServices.java
182
when(userManager.
getProfiles
(anyInt())).thenAnswer(
185
return
getProfiles
(userId12);
191
List<UserInfo> profiles =
getProfiles
(userId13);
228
private List<UserInfo>
getProfiles
(int userId) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
ConfigurationMap.java
32
mUserManager.
getProfiles
(mCurrentUserId))) {
/packages/services/Telephony/src/com/android/phone/
LocationAccessPolicy.java
122
UserManager.class).
getProfiles
(currentUser);
/frameworks/base/core/java/android/os/
IUserManager.aidl
52
List<UserInfo>
getProfiles
(int userHandle, boolean enabledOnly);
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
UserManagerServiceCreateProfileTest.java
79
// System user should still have no profile so
getProfiles
should just return 1 user.
81
mUserManagerService.
getProfiles
(UserHandle.USER_SYSTEM, /*excludeDying*/ false);
87
users = mUserManagerService.
getProfiles
(secondaryUser.id, /*excludeDying*/ false);
/packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothDetailsProfilesController.java
194
private List<LocalBluetoothProfile>
getProfiles
() {
246
for (LocalBluetoothProfile profile :
getProfiles
()) {
/packages/apps/Settings/src/com/android/settings/enterprise/
EnterprisePrivacyFeatureProviderImpl.java
71
for (final UserInfo userInfo : mUm.
getProfiles
(MY_USER_ID)) {
227
for (final UserInfo userInfo : mUm.
getProfiles
(MY_USER_ID)) {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/
ProfileManager.java
150
public ArrayList<PeripheralProfile>
getProfiles
() { return mProfiles; }
Completed in 2380 milliseconds
1
2
3
4
5