/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceCreateProfileTest.java | 62 List<UserInfo> users = mUserManagerService.getUsers(/* excludeDying */ false); in setup() local 63 assertEquals("Multiple users so this test can't run.", 1, users.size()); in setup() 65 UserHandle.USER_SYSTEM, users.get(0).id); in setup() 80 List<UserInfo> users = in testGetProfiles() local 82 assertEquals("Profiles returned where none should exist", 1, users.size()); in testGetProfiles() 84 UserHandle.USER_SYSTEM, users.get(0).id); in testGetProfiles() 87 users = mUserManagerService.getProfiles(secondaryUser.id, /*excludeDying*/ false); in testGetProfiles() 88 assertEquals("Profiles returned where none should exist", 2, users.size()); in testGetProfiles() 89 assertTrue("Missing secondary user id", users.get(0).id == secondaryUser.id in testGetProfiles() 90 || users.get(1).id == secondaryUser.id); in testGetProfiles() [all …]
|
D | UserManagerServiceUserInfoTest.java | 66 List<UserInfo> users = mUserManagerService.getUsers(/* excludeDying */ false); in setup() local 67 assertEquals("Multiple users so this test can't run.", 1, users.size()); in setup() 69 UserHandle.USER_SYSTEM, users.get(0).id); in setup()
|
/frameworks/base/packages/SystemUI/scripts/ |
D | copy_profile_icons.sh | 3 for user in `adb $* shell ls /data/system/users | grep -v xml` 6 adb shell mkdir /data/user/${user}/users 7 for photo in `adb $* shell ls /data/system/users | grep -v xml` 10 adb shell mkdir /data/user/${user}/users/${photo} 11 adb pull /data/system/users/${photo}/photo.png 12 adb push photo.png /data/user/${user}/users/${photo}
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | DatabaseHelper.java | 164 getCommaSeparatedString(soundModel.keyphrases[0].users)); in updateKeyphraseSoundModel() 247 int[] users = getArrayForCommaSeparatedString( in getKeyphraseSoundModel() local 255 if (users == null) { in getKeyphraseSoundModel() 262 for (int user : users) { in getKeyphraseSoundModel() 279 keyphraseId, recognitionModes, modelLocale, text, users); in getKeyphraseSoundModel() 302 private static String getCommaSeparatedString(int[] users) { in getCommaSeparatedString() argument 303 if (users == null) { in getCommaSeparatedString() 307 for (int i = 0; i < users.length; i++) { in getCommaSeparatedString() 311 sb.append(users[i]); in getCommaSeparatedString() 321 int[] users = new int[usersStr.length]; in getArrayForCommaSeparatedString() local [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 142 List<UserInfo> users = mUserManager.getUsers(true); // exclude dying users in startMonitoring() local 143 if (users != null) { in startMonitoring() 144 for (UserInfo user : users) { in startMonitoring() 185 private void update(Set<Integer> users, Map<Integer, Boolean> apps, boolean add) { in update() argument 190 for (int user : users) { in update() 214 Set<Integer> users = new HashSet<>(); in onUserAdded() local 215 users.add(user); in onUserAdded() 216 update(users, mApps, true); in onUserAdded() 226 Set<Integer> users = new HashSet<>(); in onUserRemoved() local 227 users.add(user); in onUserRemoved() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | UserPackage.java | 48 List<UserInfo> users = getAllUsers(context); in getPackageInfosAllUsers() local 49 List<UserPackage> userPackages = new ArrayList<UserPackage>(users.size()); in getPackageInfosAllUsers() 50 for (UserInfo user : users) { in getPackageInfosAllUsers()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTrigger.java | 280 public final int[] users; field in SoundTrigger.Keyphrase 282 public Keyphrase(int id, int recognitionModes, String locale, String text, int[] users) { in Keyphrase() argument 287 this.users = users; in Keyphrase() 306 int[] users = null; in fromParcel() local 309 users = new int[numUsers]; in fromParcel() 310 in.readIntArray(users); in fromParcel() 312 return new Keyphrase(id, recognitionModes, locale, text, users); in fromParcel() 321 if (users != null) { in writeToParcel() 322 dest.writeInt(users.length); in writeToParcel() 323 dest.writeIntArray(users); in writeToParcel() [all …]
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 1758 List<UserInfo> users = getUsers(); in getUserCount() local 1759 return users != null ? users.size() : 1; in getUserCount() 1789 List<UserInfo> users = mService.getUsers(excludeDying); in getSerialNumbersOfUsers() local 1790 long[] result = new long[users.size()]; in getSerialNumbersOfUsers() 1792 result[i] = users.get(i).serialNumber; in getSerialNumbersOfUsers() 1855 final List<UserInfo> users = getUsers(true); in canAddMoreUsers() local 1856 final int totalUserCount = users.size(); in canAddMoreUsers() 1859 UserInfo user = users.get(i); in canAddMoreUsers() 2262 List<UserInfo> users = getUsers(true); in isUserSwitcherEnabled() local 2263 if (users == null) { in isUserSwitcherEnabled() [all …]
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | AppCollector.java | 118 List<UserInfo> users = mUm.getUsers(); in handleMessage() local 119 for (int userCount = 0, userSize = users.size(); in handleMessage() 121 UserInfo user = users.get(userCount); in handleMessage()
|
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/ |
D | SoundTriggerTest.java | 53 assertNull(unparceled.users); in testKeyphraseParcelUnparcel_noUsers() 72 assertTrue(Arrays.equals(keyphrase.users, unparceled.users)); in testKeyphraseParcelUnparcel_zeroUsers() 91 assertTrue(Arrays.equals(keyphrase.users, unparceled.users)); in testKeyphraseParcelUnparcel_pos()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
D | UserAdapter.java | 81 public UserAdapter(Context context, ArrayList<UserDetails> users) { in UserAdapter() argument 82 if (users == null) { in UserAdapter() 85 this.data = users; in UserAdapter()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | StorageMeasurement.java | 148 final List<UserInfo> users = mUser.getUsers(); in measureExactStorage() local 174 for (UserInfo user : users) { in measureExactStorage() 204 for (UserInfo user : users) { in measureExactStorage()
|
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/ |
D | EnrollmentUtil.java | 191 if (keyphrase.users == null || keyphrase.users.length == 0) { in verifyKeyphraseSoundModel()
|
/frameworks/base/docs/downloads/ |
D | README | 8 hosting service where they're accessible by users, such as
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | BaseSettingsProviderTest.java | 314 List<UserInfo> users = userManager.getUsers(); in getSecondaryUserId() local 315 final int userCount = users.size(); in getSecondaryUserId() 317 UserInfo user = users.get(i); in getSecondaryUserId()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
D | RecentsTaskLoadPlan.java | 310 List<UserInfo> users = userMgr.getUsers(); in migrateLegacyLastStackActiveTime() local 311 for (int i = 0; i < users.size(); i++) { in migrateLegacyLastStackActiveTime() 312 int userId = users.get(i).id; in migrateLegacyLastStackActiveTime()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserDataPreparer.java | 176 SparseArray<UserInfo> users = new SparseArray<>(userCount); in reconcileUsers() local 179 users.put(user.id, user); in reconcileUsers() 190 info = users.get(userId); in reconcileUsers()
|
D | PackageSettingBase.java | 348 boolean isAnyInstalled(int[] users) { in isAnyInstalled() argument 349 for (int user: users) { in isAnyInstalled() 357 int[] queryInstalledUsers(int[] users, boolean installed) { in queryInstalledUsers() argument 359 for (int user : users) { in queryInstalledUsers() 366 for (int user : users) { in queryInstalledUsers()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LockSettingsService.java | 572 List<UserInfo> users = mUserManager.getUsers(); in migrateOldData() local 573 for (int user = 0; user < users.size(); user++) { in migrateOldData() 575 final int userId = users.get(user).id; in migrateOldData() 607 List<UserInfo> users = mUserManager.getUsers(); in migrateOldData() local 608 for (int i = 0; i < users.size(); i++) { in migrateOldData() 609 int userId = users.get(i).id; in migrateOldData() 633 final List<UserInfo> users = mUserManager.getUsers(); in migrateOldData() local 634 final int userCount = users.size(); in migrateOldData() 637 if (users.get(i).supportsSwitchTo()) { in migrateOldData() 644 int id = users.get(i).id; in migrateOldData() [all …]
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | VpnTest.java | 303 private void setMockedUsers(UserInfo... users) { in setMockedUsers() argument 305 for (UserInfo user : users) { in setMockedUsers() 314 final ArrayList<UserInfo> result = new ArrayList<>(users.length); in setMockedUsers() 315 for (UserInfo ui : users) { in setMockedUsers()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | InboundSmsHandler.java | 1003 int[] users = null; in dispatchIntent() local 1005 users = ActivityManager.getService().getRunningUserIds(); in dispatchIntent() 1008 if (users == null) { in dispatchIntent() 1009 users = new int[] {user.getIdentifier()}; in dispatchIntent() 1013 for (int i = users.length - 1; i >= 0; i--) { in dispatchIntent() 1014 UserHandle targetUser = new UserHandle(users[i]); in dispatchIntent() 1015 if (users[i] != UserHandle.USER_SYSTEM) { in dispatchIntent() 1021 UserInfo info = mUserManager.getUserInfo(users[i]); in dispatchIntent() 1028 users[i] == UserHandle.USER_SYSTEM ? resultReceiver : null, in dispatchIntent()
|
/frameworks/base/samples/training/network-usage/ |
D | README.txt | 10 -- Lets users control their network data usage through a settings UI. Users can choose to fetch the…
|
/frameworks/support/samples/SupportLeanbackShowcase/ |
D | gradle.properties | 3 # IDE (e.g. Android Studio) users:
|
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/ |
D | gradle.properties | 3 # IDE (e.g. Android Studio) users:
|
/frameworks/base/tests/TouchLatency/ |
D | gradle.properties | 3 # IDE (e.g. Android Studio) users:
|