/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryStatsHelper.java | 538 final int userId = UserHandle.getUserId(u.getUid()); 556 } else if (userId != UserHandle.myUserId() 559 List<BatterySipper> list = mUserSippers.get(userId); 562 mUserSippers.put(userId, list); 578 Double userPower = mUserPower.get(userId); 584 mUserPower.put(userId, userPower); 719 final int userId = mUserSippers.keyAt(i); 721 UserInfo info = mUm.getUserInfo(userId); 737 Double userPower = mUserPower.get(userId); [all...] |
/frameworks/base/core/java/android/content/ |
BroadcastReceiver.java | 250 int type, boolean ordered, boolean sticky, IBinder token, int userId) { 258 mSendingUser = userId; [all...] |
/frameworks/base/core/java/android/print/ |
PrinterDiscoverySession.java | 63 PrinterDiscoverySession(IPrintManager printManager, Context context, int userId) { 65 mUserId = userId;
|
PrintManager.java | 183 public PrintManager(Context context, IPrintManager service, int userId, int appId) { 186 mUserId = userId; 211 * @param userId The user id for which to get all print jobs. 216 public PrintManager getGlobalPrintManagerForUser(int userId) { 217 return new PrintManager(mContext, mService, userId, APP_ID_ANY); [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardUpdateMonitor.java | 489 private void handleUserInfoChanged(int userId) { 493 cb.onUserInfoChanged(userId); 606 protected void handleUserSwitching(int userId, IRemoteCallback reply) { 610 cb.onUserSwitching(userId); 622 protected void handleUserSwitchComplete(int userId) { 626 cb.onUserSwitchComplete(userId); 668 protected void handleUserRemoved(int userId) { 672 cb.onUserRemoved(userId); [all...] |
KeyguardViewMediator.java | 322 public void onUserSwitching(int userId) { 337 public void onUserSwitchComplete(int userId) { 342 public void onUserRemoved(int userId) { 343 mLockPatternUtils.removeUser(userId); 344 sMultiUserAvatarCache.clear(userId); 348 public void onUserInfoChanged(int userId) { 349 sMultiUserAvatarCache.clear(userId); [all...] |
/frameworks/base/services/java/com/android/server/media/ |
RemoteDisplayProviderWatcher.java | 59 Callback callback, Handler handler, int userId) { 63 mUserId = userId;
|
RemoteDisplayProviderProxy.java | 66 int userId) { 69 mUserId = userId;
|
/frameworks/base/services/java/com/android/server/am/ |
ServiceRecord.java | 68 final int userId; // user that this service is running as 321 userId = UserHandle.getUserId(appInfo.uid); 484 outId, userId); 514 localForegroundId, userId); 539 .append(" u").append(userId)
|
TaskRecord.java | 50 int userId; // user for which this task was created 127 userId = UserHandle.getUserId(info.applicationInfo.uid); 437 if (numActivities != 0 || rootWasReset || userId != 0 || numFullscreen != 0) { 440 pw.print(" userId="); pw.print(userId); 487 sb.append(userId);
|
ActivityRecord.java | 68 final int userId; // Which user is this running for? 153 pw.print(" userId="); pw.println(userId); 356 userId = UserHandle.getUserId(aInfo.applicationInfo.uid); 439 realTheme, com.android.internal.R.styleable.Window, userId); 517 AttributeCache.instance().get(packageName, realTheme, styleable.Window, userId); [all...] |
BroadcastQueue.java | 238 r.resultCode, r.resultData, r.resultExtras, r.ordered, r.userId, 384 if (mService.mServices.hasBackgroundServices(r.userId)) { 402 public void backgroundServicesFinishedLocked(int userId) { 405 if (br.userId == userId && br.state == BroadcastRecord.WAITING_SERVICES) { 509 r.resultExtras, r.ordered, r.initialSticky, r.userId); 659 r.resultData, r.resultExtras, false, false, r.userId); [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
NfcService.java | 287 public static void validateUserId(int userId) { 288 if (userId != UserHandle.getCallingUserId()) { 289 throw new SecurityException("userId passed in it not the calling user."); [all...] |
/frameworks/native/cmds/installd/ |
installd.h | 138 userid_t userid); 141 userid_t userid); 143 int create_user_media_path(char path[PKG_PATH_MAX], userid_t userid); 148 userid_t userid); 188 int ensure_media_user_dirs(userid_t userid); 193 int uninstall(const char *pkgname, userid_t userid); 196 int delete_user_data(const char *pkgname, userid_t userid); 197 int make_user_data(const char *pkgname, uid_t uid, userid_t userid); 198 int delete_user(userid_t userid); 199 int delete_cache(const char *pkgname, userid_t userid); [all...] |
/packages/apps/Settings/src/com/android/settings/ |
KeyguardAppWidgetPickActivity.java | 522 int userId = ActivityManager.getCurrentUser(); 524 userId, "com.android.keyguard"); 588 int userId = ActivityManager.getCurrentUser(); 589 AppWidgetHost.deleteAppWidgetIdForSystem(mAppWidgetId, userId);
|
/frameworks/base/core/java/android/view/ |
IWindowManager.aidl | 81 int requestedOrientation, boolean fullscreen, boolean showWhenLocked, int userId,
|
/frameworks/base/services/java/com/android/server/search/ |
Searchables.java | 84 public Searchables (Context context, int userId) { 86 mUserId = userId;
|
/frameworks/base/services/java/com/android/server/wm/ |
TaskStack.java | 284 void switchUser(int userId) { 288 if (task.mUserId == userId) {
|
DisplayContent.java | 177 final int userId = task.mUserId; 182 if (mTaskHistory.get(taskNdx).mUserId == userId) { 189 if (mTaskHistory.get(taskNdx).mUserId == userId) {
|
/packages/apps/Settings/src/com/android/settings/users/ |
AppRestrictionsFragment.java | 99 /** Key for extra passed in from calling fragment for the userId of the user being edited */ 363 final int userId = mUser.getIdentifier(); 364 if (!mUserManager.getUserInfo(userId).isRestricted() && userId != UserHandle.myUserId()) { 376 final int userId = mUser.getIdentifier(); 381 PackageManager.GET_UNINSTALLED_PACKAGES, userId); 392 mIPm.setApplicationBlockedSettingAsUser(packageName, false, userId); 402 ApplicationInfo info = mIPm.getApplicationInfo(packageName, 0, userId); 412 mIPm.setApplicationBlockedSettingAsUser(packageName, true, userId); [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
SyncStorageEngineTest.java | 111 assertEquals(pop.userId, popRetrieved.userId); 238 private void removePeriodicSyncs(SyncStorageEngine engine, Account account, int userId, String authority) { 239 engine.setIsSyncable(account, userId, authority, engine.getIsSyncable(account, 0, authority)); 240 List<PeriodicSync> syncs = engine.getPeriodicSyncs(account, userId, authority); 242 engine.removePeriodicSync(sync, userId); [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
ContactManager.java | 575 final long userId = rawContact.getServerContactId(); 580 final long profileId = lookupProfile(resolver, userId); 589 values.put(StatusUpdates.IM_HANDLE, userId); [all...] |
/frameworks/base/core/java/com/android/internal/inputmethod/ |
InputMethodUtils.java | 523 int userId) { 524 setCurrentUserId(userId); 531 public void setCurrentUserId(int userId) { 533 Slog.d(TAG, "--- Swtich the current user from " + mCurrentUserId + " to " + userId); 536 mCurrentUserId = userId; [all...] |
/frameworks/base/core/java/android/app/ |
SearchableInfo.java | 516 int userId) { 520 new UserHandle(userId)); 522 Log.e(LOG_TAG, "Couldn't create package context for user " + userId); [all...] |
/frameworks/base/services/java/com/android/server/ |
AppWidgetServiceImpl.java | 206 AppWidgetServiceImpl(Context context, int userId, Handler saveStateHandler) { 210 mUserId = userId; 748 int userId = UserHandle.getUserId(id.provider.uid); 749 if (userId != mUserId) { 751 + " binding to provider on user " + userId); 759 new UserHandle(userId)); [all...] |