/frameworks/base/tests/net/java/com/android/server/connectivity/ |
H A D | VpnTest.java | 62 // Mock users 301 * Populate {@link #mUserManager} with a list of fake users. 303 private void setMockedUsers(UserInfo... users) { argument 305 for (UserInfo user : users) { 314 final ArrayList<UserInfo> result = new ArrayList<>(users.length); 315 for (UserInfo ui : users) {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
H A D | UserAdapter.java | 44 * Adapter for a spinner that shows a list of users. 81 public UserAdapter(Context context, ArrayList<UserDetails> users) { argument 82 if (users == null) { 85 this.data = users;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
H A D | AppRestrictionsHelper.java | 17 package com.android.settingslib.users;
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
H A D | AppRestrictionsHelperTest.java | 17 package com.android.settingslib.users;
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | PermissionMonitor.java | 142 List<UserInfo> users = mUserManager.getUsers(true); // exclude dying users 143 if (users != null) { 144 for (UserInfo user : users) { 185 private void update(Set<Integer> users, Map<Integer, Boolean> apps, boolean add) { argument 190 for (int user : users) { 214 Set<Integer> users = new HashSet<>(); 215 users.add(user); 216 update(users, mApps, true); 226 Set<Integer> users [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageSetting.java | 42 * shared users tag may come after the packages. In this case, we must delay linking the 135 public void writeToProto(ProtoOutputStream proto, long fieldId, List<UserInfo> users) { argument
|
H A D | PackageSettingBase.java | 348 boolean isAnyInstalled(int[] users) { argument 349 for (int user: users) { 357 int[] queryInstalledUsers(int[] users, boolean installed) { argument 359 for (int user : users) { 366 for (int user : users) {
|
H A D | Settings.java | 278 /** List of packages that are blocked for uninstall for specific users */ 365 // For every user, it is used to find to which other users the intent can be forwarded. 742 List<UserInfo> users = getAllUsers(userManager); 744 if (users != null && allowInstall) { 745 for (UserInfo user : users) { 750 // asked to install for all users, or this is the 785 List<UserInfo> users = getAllUsers(userManager); 786 if (users != null) { 787 for (UserInfo user : users) { 913 // no users define 3011 readLPw(@onNull List<UserInfo> users) argument 4563 dumpPackageLPr(PrintWriter pw, String prefix, String checkinTag, ArraySet<String> permissionNames, PackageSetting ps, SimpleDateFormat sdf, Date date, List<UserInfo> users, boolean dumpAll) argument [all...] |
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | DatabaseHelper.java | 58 public static final String KEY_USERS = "users"; 105 // keyphrase id, locale, and users are unique. We have to first pull 164 getCommaSeparatedString(soundModel.keyphrases[0].users)); 247 int[] users = getArrayForCommaSeparatedString( 255 if (users == null) { 256 // No users present in the keyphrase. 257 Slog.w(TAG, "Ignoring SoundModel since it doesn't specify users"); 262 for (int user : users) { 279 keyphraseId, recognitionModes, modelLocale, text, users); 302 private static String getCommaSeparatedString(int[] users) { argument 337 public final String users; field in class:DatabaseHelper.SoundModelRecord [all...] |
/frameworks/base/core/java/android/hardware/soundtrigger/ |
H A D | SoundTrigger.java | 74 /** Maximum number of users per key phrase */ 280 public final int[] users; field in class:SoundTrigger.Keyphrase 282 public Keyphrase(int id, int recognitionModes, String locale, String text, int[] users) { argument 287 this.users = users; 306 int[] users = null; 309 users = new int[numUsers]; 310 in.readIntArray(users); 312 return new Keyphrase(id, recognitionModes, locale, text, users); 321 if (users ! [all...] |
/frameworks/base/libs/storage/ |
H A D | IMountService.cpp | 196 int32_t getStorageUsers(const String16& mountPoint, int32_t** users) argument 213 ALOGW("Number of users is negative: %d\n", numUsersI); 218 *users = (int32_t*)malloc(sizeof(int32_t)*numUsers); 220 **users++ = reply.readInt32();
|
/frameworks/native/cmds/installd/ |
H A D | utils.cpp | 273 std::vector<userid_t> users; local 276 users.push_back(0); 281 // Unable to discover other users, but at least return owner 283 return users; 296 users.push_back(user); 301 return users;
|
H A D | InstalldNativeService.cpp | 569 std::vector<userid_t> users = get_known_users(/*volume_uuid*/ nullptr); local 570 for (auto user : users) { 604 // TODO(calin): If the package is still installed by other users it's probably 733 std::vector<userid_t> users = get_known_users(from_uuid); local 765 // Copy private data for all known users 766 for (auto user : users) { 768 // Data source may not exist for all users; that's okay 839 for (auto user : users) {
|
H A D | dexopt.cpp | 136 std::vector<userid_t> users = get_known_users(/*volume_uuid*/ nullptr); local 137 for (auto user : users) { 597 std::vector<userid_t> users; local 599 users.push_back(multiuser_get_user_id(uid)); 601 users = get_known_users(/*volume_uuid*/ nullptr); 603 for (auto user : users) {
|
/frameworks/base/core/jni/ |
H A D | android_hardware_SoundTrigger.cpp | 83 jfieldID users; member in struct:__anon1074 623 jintArray jUsers = (jintArray)env->GetObjectField(jPhrase, gKeyphraseFields.users); 626 memcpy(phraseModel->phrases[i].users, 864 gKeyphraseFields.users = GetFieldIDOrDie(env, keyphraseClass, "users", "[I");
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | StorageManagerService.java | 159 * storage. Also decides how storage should be presented to users on the device. 316 /** Set of users that we know are unlocked. */ 319 /** Set of users that system knows are unlocked. */ 838 private void killMediaProvider(List<UserInfo> users) { argument 839 if (users == null) return; 843 for (UserInfo user : users) { 857 // We only need to run this once. It will kill all users' media processes. 887 final List<UserInfo> users = mContext.getSystemService(UserManager.class).getUsers(); 888 for (UserInfo user : users) { 907 final List<UserInfo> users [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 1018 * for stickies that are sent to all users. 5991 int[] users = userId == UserHandle.USER_ALL 5993 for (int user : users) { 6399 Slog.w(TAG, "Can't force stop all processes of all users, that is insane!"); 6472 // stopping users, because we have some problems when doing this 9121 * to all users. 9216 // of other users. 9784 // Only add calling user or related users recent tasks 11067 // Looking for cross-user grants before enforcing the typical cross-users permissions 12071 * users, the 18805 collectReceiverComponents(Intent intent, String resolvedType, int callingUid, int[] users) argument [all...] |