OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mUsers
(Results
1 - 9
of
9
) sorted by null
/packages/apps/LegacyCamera/src/com/android/camera/
CameraHolder.java
50
private int
mUsers
= 0; // number of open() - number of release()
87
if (CameraHolder.this.
mUsers
== 0) releaseCamera();
122
Assert(
mUsers
== 0);
147
++
mUsers
;
159
return
mUsers
== 0 ? open(cameraId) : null;
171
Assert(
mUsers
== 1);
172
--
mUsers
;
178
Assert(
mUsers
== 0);
195
// We allow (
mUsers
== 0) for the convenience of the calling activity.
198
Assert(
mUsers
== 1 || mUsers == 0)
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
UserSwitcherController.java
74
private ArrayList<UserRecord>
mUsers
= new ArrayList<>();
120
SparseArray<Bitmap> bitmaps = new SparseArray<>(
mUsers
.size());
121
final int N =
mUsers
.size();
123
UserRecord r =
mUsers
.get(i);
205
mUsers
= userRecords;
306
final int N =
mUsers
.size();
308
UserRecord record =
mUsers
.get(i);
312
mUsers
.set(i, record.copyWithIsCurrent(shouldBeCurrent));
319
mUsers
.remove(i);
347
pw.print("
mUsers
.size="); pw.println(mUsers.size())
[
all
...]
/frameworks/base/services/core/java/com/android/server/connectivity/
PermissionMonitor.java
68
private final Set<Integer>
mUsers
= new HashSet<Integer>();
144
mUsers
.add(user.id);
148
log("Users: " +
mUsers
.size() + ", Apps: " + mApps.size());
149
update(
mUsers
, mApps, true);
210
mUsers
.add(user);
222
mUsers
.remove(user);
248
update(
mUsers
, apps, true);
265
update(
mUsers
, apps, false);
/frameworks/base/services/core/java/com/android/server/pm/
UserManagerService.java
149
private final SparseArray<UserInfo>
mUsers
= new SparseArray<UserInfo>();
231
for (int i = 0; i <
mUsers
.size(); i++) {
232
UserInfo ui =
mUsers
.valueAt(i);
265
ArrayList<UserInfo> users = new ArrayList<UserInfo>(
mUsers
.size());
266
for (int i = 0; i <
mUsers
.size(); i++) {
267
UserInfo ui =
mUsers
.valueAt(i);
297
ArrayList<UserInfo> users = new ArrayList<UserInfo>(
mUsers
.size());
302
for (int i = 0; i <
mUsers
.size(); i++) {
303
UserInfo profile =
mUsers
.valueAt(i);
369
* Should be locked on
mUsers
before calling this
[
all
...]
/system/netd/server/
NetworkController.h
105
// mRWLock guards all accesses to mDefaultNetId, mNetworks,
mUsers
and mProtectableUsers.
109
std::map<uid_t, Permission>
mUsers
;
NetworkController.cpp
372
mUsers
[uid] = permission;
489
auto iter =
mUsers
.find(uid);
490
if (iter !=
mUsers
.end()) {
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsActor.java
170
private ArrayList<UserInfo>
mUsers
= new ArrayList<>();
175
mUsers
.add(PRIMARY_USER); // Add the primary user.
180
mUsers
.clear();
182
mUsers
.add(ui);
193
for (UserInfo ui :
mUsers
) {
207
for (UserInfo ui :
mUsers
) {
217
return
mUsers
;
/frameworks/base/services/core/java/com/android/server/accounts/
AccountManagerService.java
223
private final SparseArray<UserAccounts>
mUsers
= new SparseArray<UserAccounts>();
316
/* Caller should lock
mUsers
*/
318
UserAccounts accounts =
mUsers
.get(userId);
321
mUsers
.append(userId, accounts);
329
synchronized (
mUsers
) {
330
for (int i = 0; i <
mUsers
.size(); i++) {
331
purgeOldGrants(
mUsers
.valueAt(i));
446
synchronized (
mUsers
) {
447
UserAccounts accounts =
mUsers
.get(userId);
450
mUsers
.append(userId, accounts)
[
all
...]
/packages/apps/Settings/src/com/android/settings/applications/
RunningState.java
128
final SparseArray<UserState>
mUsers
= new SparseArray<UserState>();
827
mUsers
.clear();
835
UserState userState =
mUsers
.get(newItem.mUserId);
[
all
...]
Completed in 634 milliseconds