/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
RecentsPackageMonitor.java | 36 int userId); 96 String packageName, int userId) { 103 if (t.userId != userId) continue; 111 if (mSystemServicesProxy.getActivityInfo(cn, userId) != null) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
UnlockMethodCache.java | 115 public void onUserSwitchComplete(int userId) { 120 public void onTrustChanged(int userId) { 125 public void onTrustManagedChanged(int userId) { 135 public void onFingerprintAuthenticated(int userId, boolean wakeAndUnlocking) { 143 public void onFaceUnlockStateChanged(boolean running, int userId) {
|
/frameworks/base/core/java/android/database/ |
ContentObserver.java | 139 * @param userId The user whose content changed. Can be either a specific 144 public void onChange(boolean selfChange, Uri uri, int userId) { 192 * @param userId The user whose content changed. 194 private void dispatchChange(boolean selfChange, Uri uri, int userId) { 196 onChange(selfChange, uri, userId); 198 mHandler.post(new NotificationRunnable(selfChange, uri, userId)); 208 public NotificationRunnable(boolean selfChange, Uri uri, int userId) { 211 mUserId = userId; 228 public void onChange(boolean selfChange, Uri uri, int userId) { 231 contentObserver.dispatchChange(selfChange, uri, userId); [all...] |
IContentObserver.aidl | 32 oneway void onChange(boolean selfUpdate, in Uri uri, int userId);
|
/frameworks/base/services/core/java/com/android/server/search/ |
SearchManagerService.java | 86 private Searchables getSearchables(int userId) { 90 .getUserInfo(userId) != null; 96 Searchables searchables = mSearchables.get(userId); 99 //Log.i(TAG, "Building list of searchable activities for userId=" + userId); 100 searchables = new Searchables(mContext, userId); 102 mSearchables.append(userId, searchables); 108 private void onUserRemoved(int userId) { 109 if (userId != UserHandle.USER_OWNER) { 111 mSearchables.remove(userId); [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageManagerService.java | 609 int userId; 616 userId = _userId; 623 boolean addOneIntentFilterVerification(int verifierId, int userId, int verificationId, 625 void startVerifications(int userId); 644 public void startVerifications(int userId) { 668 sendVerificationRequest(userId, verificationId, ivs); 673 private void sendVerificationRequest(int userId, int verificationId, 692 UserHandle user = new UserHandle(userId); 743 final int userId = ivs.getUserId(); 744 if (userId != UserHandle.USER_ALL) [all...] |
PackageInstallerService.java | 126 private static final String ATTR_USER_ID = "userId"; 387 final int userId = readIntAttribute(in, ATTR_USER_ID); 390 mPm.getPackageUid(installerPackageName, userId)); 420 mInstallThread.getLooper(), sessionId, userId, installerPackageName, installerUid, 458 writeIntAttribute(out, ATTR_USER_ID, session.userId); 565 public int createSession(SessionParams params, String installerPackageName, int userId) { 567 return createSessionInternal(params, installerPackageName, userId); 573 private int createSessionInternal(SessionParams params, String installerPackageName, int userId) 576 mPm.enforceCrossUserPermission(callingUid, userId, true, true, "createSession"); 578 if (mPm.isUserRestricted(userId, UserManager.DISALLOW_INSTALL_APPS)) [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
RegisteredServicesCacheTest.java | 194 private void assertNotEmptyFileCreated(TestServicesCache cache, int userId) { 195 File dir = new File(cache.getUserSystemDirectory(userId), 223 protected List<ResolveInfo> queryIntentServices(int userId) { 225 .get(userId, new HashMap<ResolveInfo, ServiceInfo<TestServiceType>>()); 230 protected File getUserSystemDirectory(int userId) { 231 File dir = new File(mDataDir, "users/" + userId); 242 protected UserInfo getUser(int userId) { 244 if (user.id == userId) { 256 void addServiceForQuerying(int userId, ResolveInfo resolveInfo, 258 Map<ResolveInfo, ServiceInfo<TestServiceType>> map = mServices.get(userId); [all...] |
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
DeviceOwner.java | 64 private static final String ATTR_USERID = "userId"; 129 static DeviceOwner createWithProfileOwner(ComponentName admin, String ownerName, int userId) { 131 owner.mProfileOwners.put(userId, new OwnerInfo(ownerName, admin)); 171 void setProfileOwner(ComponentName admin, String ownerName, int userId) { 172 mProfileOwners.put(userId, new OwnerInfo(ownerName, admin)); 175 void removeProfileOwner(int userId) { 176 mProfileOwners.remove(userId); 179 ComponentName getProfileOwnerComponent(int userId) { 180 OwnerInfo profileOwner = mProfileOwners.get(userId); 184 String getProfileOwnerName(int userId) { [all...] |
/frameworks/base/core/java/android/app/ |
IActivityManager.java | 72 ProfilerInfo profilerInfo, Bundle options, int userId) throws RemoteException; 76 int userId) throws RemoteException; 80 int userId) throws RemoteException; 84 Bundle options, int userId) throws RemoteException; 92 int userId) throws RemoteException; 106 String requiredPermission, int userId) throws RemoteException; 111 int appOp, Bundle options, boolean serialized, boolean sticky, int userId) throws RemoteException; 112 public void unbroadcastIntent(IApplicationThread caller, Intent intent, int userId) throws RemoteException; 132 int flags, int userId) throws RemoteException; 150 String name, int userId, boolean stable) throws RemoteException [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
DisplayAdjustmentUtils.java | 66 public static boolean hasAdjustments(Context context, int userId) { 70 Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, 0, userId) != 0) { 75 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, 0, userId) != 0) { 85 public static void applyAdjustments(Context context, int userId) { 90 Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, 0, userId) != 0) { 95 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, 0, userId) != 0) { 98 userId);
|
/system/core/run-as/ |
run-as.c | 112 int commandArgvOfs = 2, userId = 0; 122 /* check userid of caller - must be 'shell' or 'root' */ 144 userId = atoi(argv[3]); 145 if (userId < 0) 146 panic("Negative user id %d is provided\n", userId); 151 if (get_package_info(pkgname, userId, &info) < 0) { 156 if ((UID_MAX - info.uid) / AID_USER < (uid_t)userId) { 157 panic("User id %d is too big\n", userId); 161 userAppId = (AID_USER * userId) + info.uid;
|
/frameworks/base/core/java/android/net/ |
UidRange.java | 43 public static UidRange createForUser(int userId) { 44 return new UidRange(userId * PER_USER_RANGE, (userId + 1) * PER_USER_RANGE - 1);
|
/frameworks/base/core/java/com/android/internal/appwidget/ |
IAppWidgetService.aidl | 61 boolean hasBindAppWidgetPermission(in String packageName, int userId); 62 void setBindAppWidgetPermission(in String packageName, int userId, in boolean permission); 69 boolean isBoundWidgetPackage(String packageName, int userId);
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
StatusBarManagerService.java | 78 int userId; 86 disableForUser(0, token, pkg, userId); 87 disable2ForUser(0, token, pkg, userId); 226 public void disableForUser(int what, IBinder token, String pkg, int userId) { 230 disableLocked(userId, what, token, pkg, 1); 252 public void disable2ForUser(int what, IBinder token, String pkg, int userId) { 256 disableLocked(userId, what, token, pkg, 2); 260 private void disableLocked(int userId, int what, IBinder token, String pkg, int whichFlag) { 265 manageDisableListLocked(userId, what, token, pkg, whichFlag); 655 int uid, int initialPid, String message, int userId) { [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
ComponentKey.java | 44 * [flattenedComponentString#userId]. If the userId is not present, then it defaults 64 * Encodes a component key as a string of the form [flattenedComponentString#userId].
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
ForceStopManager.java | 53 final int userId = UserHandle.getUserId(mAppInfo.getUid()); 54 state.invalidatePackage(mAppInfo.getPackageName(), userId); 55 ApplicationsState.AppEntry newEnt = state.getEntry(mAppInfo.getPackageName(), userId);
|
/frameworks/base/services/core/java/com/android/server/content/ |
SyncManager.java | 305 private boolean containsAccountAndUser(AccountAndUser[] accounts, Account account, int userId) { 308 if (accounts[i].userId == userId 328 currentSyncContext.mSyncOperation.target.userId)) { 390 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); 391 if (userId == UserHandle.USER_NULL) return; 394 onUserRemoved(userId); 396 onUserStarting(userId); 398 onUserStopping(userId); 433 scheduleSync(info.account, info.userId, reason, info.provider, extras [all...] |
/external/lldb/include/lldb/Core/ |
UserID.h | 1 //===-- UserID.h ------------------------------------------------*- C++ -*-===// 19 /// @class UserID UserID.h "lldb/Core/UserID.h" 22 /// UserID is desinged as a mix in class that can contain an integer 33 struct UserID 38 UserID (lldb::user_id_t uid = LLDB_INVALID_UID) : m_uid(uid) {} 43 ~UserID () 78 /// from UserID: 81 /// pos = std::find_if (coll.begin(), coll.end(), UserID::IDMatches(blockID)) [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardUpdateMonitor.java | 280 public void onTrustChanged(boolean enabled, int userId, int flags) { 281 mUserHasTrust.put(userId, enabled); 285 cb.onTrustChanged(userId); 287 cb.onTrustGrantedWithFlags(flags, userId); 360 public void onTrustManagedChanged(boolean managed, int userId) { 361 mUserTrustIsManaged.put(userId, managed); 366 cb.onTrustManagedChanged(userId); 371 private void onFingerprintAuthenticated(int userId, boolean wakeAndUnlocking) { 372 mUserFingerprintAuthenticated.put(userId, true); 376 cb.onFingerprintAuthenticated(userId, wakeAndUnlocking) [all...] |
/frameworks/base/core/java/android/content/pm/ |
RegisteredServicesCacheListener.java | 29 void onServiceChanged(V type, int userId, boolean removed);
|
/frameworks/base/core/java/android/hardware/usb/ |
IUsbManager.aidl | 49 void setDevicePackage(in UsbDevice device, String packageName, int userId); 54 void setAccessoryPackage(in UsbAccessory accessory, String packageName, int userId); 82 boolean hasDefaults(String packageName, int userId); 85 void clearDefaults(String packageName, int userId);
|
/frameworks/base/services/core/java/com/android/server/am/ |
ReceiverList.java | 39 public final int userId; 52 userId = _userId; 71 pw.print(" user="); pw.println(userId); 107 sb.append(userId);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
ndfapi.h | 60 SID *userId,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/test/data/ |
msg_01.txt | 3 Received: by mail.zzz.org (Postfix, from userid 889)
|