/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | PermissionMonitor.java | 141 List<UserInfo> users = mUserManager.getUsers(true); // exclude dying users 142 if (users != null) { 143 for (UserInfo user : users) { 183 private void update(Set<Integer> users, Map<Integer, Boolean> apps, boolean add) { argument 188 for (int user : users) { 212 Set<Integer> users = new HashSet<Integer>(); 213 users.add(user); 214 update(users, mApps, true); 224 Set<Integer> users [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/ |
H A D | VpnTest.java | 58 // Mock users 264 * Populate {@link #mUserManager} with a list of fake users. 266 private void setMockedUsers(UserInfo... users) { argument 268 for (UserInfo user : users) { 277 final ArrayList<UserInfo> result = new ArrayList<>(users.length); 278 for (UserInfo ui : users) {
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | DatabaseHelper.java | 54 public static final String KEY_USERS = "users"; 104 getCommaSeparatedString(soundModel.keyphrases[0].users)); 182 int[] users = getArrayForCommaSeparatedString( 190 if (users == null) { 191 // No users present in the keyphrase. 192 Slog.w(TAG, "Ignoring SoundModel since it doesn't specify users"); 197 for (int user : users) { 214 keyphraseId, recognitionModes, modelLocale, text, users); 234 private static String getCommaSeparatedString(int[] users) { argument 235 if (users [all...] |
/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/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/base/services/core/java/com/android/server/pm/ |
H A D | PackageSettingBase.java | 302 boolean isAnyInstalled(int[] users) { argument 303 for (int user: users) { 311 int[] queryInstalledUsers(int[] users, boolean installed) { argument 313 for (int user : users) { 320 for (int user : users) {
|
H A D | Settings.java | 342 // For every user, it is used to find to which other users the intent can be forwarded. 789 List<UserInfo> users = getAllUsers(); 791 if (users != null && allowInstall) { 792 for (UserInfo user : users) { 797 // asked to install for all users, or this is the 833 List<UserInfo> users = getAllUsers(); 834 if (users != null) { 835 for (UserInfo user : users) { 866 List<UserInfo> users = getAllUsers(); 867 if (users ! 2764 readLPw(@onNull List<UserInfo> users) argument 4287 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/core/jni/ |
H A D | android_hardware_SoundTrigger.cpp | 83 jfieldID users; member in struct:__anon882 623 jintArray jUsers = (jintArray)env->GetObjectField(jPhrase, gKeyphraseFields.users); 626 memcpy(phraseModel->phrases[i].users, 864 gKeyphraseFields.users = GetFieldIDOrDie(env, keyphraseClass, "users", "[I");
|
/frameworks/native/cmds/installd/ |
H A D | utils.cpp | 215 std::vector<userid_t> users; local 218 users.push_back(0); 223 // Unable to discover other users, but at least return owner 225 return users; 238 users.push_back(user); 243 return users;
|
H A D | commands.cpp | 230 std::vector<userid_t> users = get_known_users(/*volume_uuid*/ nullptr); local 231 for (auto user : users) { 292 std::vector<userid_t> users = get_known_users(/*volume_uuid*/ nullptr); local 293 for (auto user : users) { 311 // TODO(calin): If the package is still installed by other users it's probably 321 std::vector<userid_t> users = get_known_users(from_uuid); local 355 // Copy private data for all known users 356 for (auto user : users) { 358 // Data source may not exist for all users; that's okay 429 for (auto user : users) { 493 auto users = get_known_users(uuid); local 1058 std::vector<userid_t> users = get_known_users(/*volume_uuid*/ nullptr); local [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | MountService.java | 149 * storage. Also decides how storage should be presented to users on the device. 297 /** Set of users that we know are unlocked. */ 300 /** Set of users that system knows are unlocked. */ 814 private void killMediaProvider(List<UserInfo> users) { argument 815 if (users == null) return; 819 for (UserInfo user : users) { 833 // We only need to run this once. It will kill all users' media processes. 863 final List<UserInfo> users = mContext.getSystemService(UserManager.class).getUsers(); 864 for (UserInfo user : users) { 883 final List<UserInfo> users [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 924 * for stickies that are sent to all users. 5667 int[] users = userId == UserHandle.USER_ALL 5669 for (int user : users) { 6075 Slog.w(TAG, "Can't force stop all processes of all users, that is insane!"); 6146 // stopping users, because we have some problems when doing this 8459 * to all users. 8548 // of other users. 9115 // Only add calling user or related users recent tasks 10340 // Looking for cross-user grants before enforcing the typical cross-users permissions 11329 * users, the 17496 collectReceiverComponents(Intent intent, String resolvedType, int callingUid, int[] users) argument [all...] |