HomeSort by relevance Sort by last modified time
    Searched refs:userId (Results 76 - 100 of 1170) sorted by null

1 2 34 5 6 7 8 91011>>

  /frameworks/base/core/java/android/view/autofill/
AutofillManagerInternal.java 38 * @param userId The user id for which to query.
41 long versionCode, @UserIdInt int userId);
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/wrapper/
PackageManagerWrapper.java 58 public List<ApplicationInfo> getInstalledApplicationsAsUser(int flags, int userId) {
59 return mPm.getInstalledApplicationsAsUser(flags, userId);
65 public List<PackageInfo> getInstalledPackagesAsUser(int flags, int userId) {
66 return mPm.getInstalledPackagesAsUser(flags, userId);
83 public List<ResolveInfo> queryIntentActivitiesAsUser(Intent intent, int flags, int userId) {
84 return mPm.queryIntentActivitiesAsUser(intent, flags, userId);
99 public ApplicationInfo getApplicationInfoAsUser(String packageName, int i, int userId)
101 return mPm.getApplicationInfoAsUser(packageName, i, userId);
107 public boolean setDefaultBrowserPackageNameAsUser(String packageName, int userId) {
108 return mPm.setDefaultBrowserPackageNameAsUser(packageName, userId);
    [all...]
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/testutils/shadow/
ShadowActivityManager.java 44 public boolean switchUser(int userId) {
45 mUserSwitchedTo = userId;
57 public static void setCurrentUser(int userId) {
58 sCurrentUserId = userId;
  /frameworks/base/services/core/java/com/android/server/trust/
TrustArchive.java 46 final int userId;
58 private Event(int type, int userId, ComponentName agent, String message,
61 this.userId = userId;
73 public void logGrantTrust(int userId, ComponentName agent, String message,
75 addEvent(new Event(TYPE_GRANT_TRUST, userId, agent, message, duration,
79 public void logRevokeTrust(int userId, ComponentName agent) {
80 addEvent(new Event(TYPE_REVOKE_TRUST, userId, agent, null, 0, 0, false));
83 public void logTrustTimeout(int userId, ComponentName agent) {
84 addEvent(new Event(TYPE_TRUST_TIMEOUT, userId, agent, null, 0, 0, false))
    [all...]
  /frameworks/base/services/core/java/com/android/server/wallpaper/
IWallpaperManagerService.java 34 void onUnlockUser(final int userId);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
ShadowPackageManagerWrapper.java 36 public int getPackageUidAsUser(String packageName, int userId) throws NameNotFoundException {
37 Integer res = packageUids.get(packageName + userId);
44 public static void setPackageUidAsUser(String packageName, int userId, int uid) {
45 packageUids.put(packageName + userId, uid);
  /packages/services/Car/tests/robotests/src/com/android/car/testutils/shadow/
ShadowActivityManager.java 44 public boolean switchUser(int userId) {
45 mUserSwitchedTo = userId;
57 public static void setCurrentUser(int userId) {
58 sCurrentUserId = userId;
  /frameworks/base/services/autofill/java/com/android/server/autofill/
AutofillManagerService.java 181 final int userId = users.get(i).id;
182 final boolean disabled = umi.getUserRestriction(userId, UserManager.DISALLOW_AUTOFILL);
185 Slog.i(TAG, "Disabling Autofill for user " + userId);
187 mDisabledUsers.put(userId, disabled);
190 umi.addUserRestrictionsListener((userId, newRestrictions, prevRestrictions) -> {
194 final boolean disabledBefore = mDisabledUsers.get(userId);
198 Slog.d(TAG, "Autofill restriction did not change for user " + userId);
202 Slog.i(TAG, "Updating Autofill for user " + userId + ": disabled=" + disabledNow);
203 mDisabledUsers.put(userId, disabledNow);
204 updateCachedServiceLocked(userId, disabledNow)
    [all...]
  /frameworks/base/services/usage/java/com/android/server/usage/
UsageStatsService.java 136 public void onAppIdleStateChanged(String packageName, int userId, boolean idle,
144 mHandler.obtainMessage(MSG_REPORT_EVENT, userId, 0, event).sendToTarget();
168 (observerId, userId, timeLimit, timeElapsed, callbackIntent) -> {
243 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1);
246 if (userId >= 0) {
247 mHandler.obtainMessage(MSG_REMOVE_USER, userId, 0).sendToTarget();
250 if (userId >=0) {
251 mAppStandby.postCheckIdleStates(userId);
293 public void onNewUpdate(int userId) {
294 mAppStandby.initializeDefaultsForSystemApps(userId);
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
NotificationMessagingUtil.java 63 final int userId = sbn.getUserId();
64 if (userId == UserHandle.USER_NULL || userId == UserHandle.USER_ALL) return false;
65 if (mDefaultSmsApp.get(userId) == null) {
66 cacheDefaultSmsApp(userId);
68 return Objects.equals(mDefaultSmsApp.get(userId), sbn.getPackageName());
71 private void cacheDefaultSmsApp(int userId) {
72 mDefaultSmsApp.put(userId, Settings.Secure.getStringForUser(
74 Settings.Secure.SMS_DEFAULT_APPLICATION, userId));
80 public void onChange(boolean selfChange, Uri uri, int userId) {
    [all...]
  /frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
ApplicationKeyStorage.java 70 public @Nullable String getGrantAlias(int userId, int uid, String alias) {
73 Log.i(TAG, String.format(Locale.US, "Get %d/%d/%s", userId, uid, alias));
74 String keystoreAlias = Credentials.USER_PRIVATE_KEY + getInternalAlias(userId, uid, alias);
78 public void setSymmetricKeyEntry(int userId, int uid, String alias, byte[] secretKey)
81 userId, uid, alias, secretKey.length));
84 getInternalAlias(userId, uid, alias),
97 public void deleteEntry(int userId, int uid, String alias) {
98 Log.i(TAG, String.format(Locale.US, "Del %d/%d/%s", userId, uid, alias));
100 mKeyStore.deleteEntry(getInternalAlias(userId, uid, alias));
110 * {@code com.security.recoverablekeystore/application/<userId>/<uid>/<alias>
    [all...]
  /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...]
  /frameworks/base/core/java/com/android/internal/notification/
NotificationAccessConfirmationActivityContract.java 30 public static Intent launcherIntent(int userId, ComponentName component, String packageTitle) {
33 .putExtra(EXTRA_USER_ID, userId)
  /frameworks/base/core/tests/coretests/src/android/content/
ICrossUserContentService.aidl 23 void notifyForUriAsUser(in Uri uri, int userId);
  /frameworks/base/services/core/java/com/android/server/notification/
NotificationManagerInternal.java 25 String tag, int id, Notification notification, int userId);
27 void removeForegroundServiceFlagFromNotification(String pkg, int notificationId, int userId);
SnoozeHelper.java 66 private static final String EXTRA_USER_ID = "userId";
77 // key : userId
92 protected boolean isSnoozed(int userId, String pkg, String key) {
93 return mSnoozedNotifications.containsKey(userId)
94 && mSnoozedNotifications.get(userId).containsKey(pkg)
95 && mSnoozedNotifications.get(userId).get(pkg).containsKey(key);
98 protected Collection<NotificationRecord> getSnoozed(int userId, String pkg) {
99 if (mSnoozedNotifications.containsKey(userId)
100 && mSnoozedNotifications.get(userId).containsKey(pkg)) {
101 return mSnoozedNotifications.get(userId).get(pkg).values()
    [all...]
  /packages/apps/Car/Settings/src/com/android/car/settings/security/
SavePasswordWorker.java 30 void start(int userId, String enteredPassword, String currentPassword, int requestedQuality) {
31 init(userId);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
SecondaryUserContactsProvider2.java 27 public SecondaryUserContactsProvider2(int userId) {
28 mDbSuffix = "-u" + userId;
  /cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
BaseAppSecurityTest.java 63 protected void installTestAppForUser(String apk, int userId) throws Exception {
64 if (userId < 0) {
65 userId = mPrimaryUserId;
69 buildHelper.getTestFile(apk), true, false, userId, "-t"));
72 protected boolean isAppVisibleForUser(String packageName, int userId,
74 String command = "cmd package list packages --user " + userId;
  /frameworks/base/services/accessibility/java/com/android/server/accessibility/
AccessibilityShellCommand.java 52 final Integer userId = parseUserId();
53 if (userId == null) {
57 mService.getBindInstantServiceAllowed(userId)));
62 final Integer userId = parseUserId();
63 if (userId == null) {
71 mService.setBindInstantServiceAllowed(userId,
  /frameworks/base/services/core/java/com/android/server/accounts/
AccountManagerServiceShellCommand.java 52 final Integer userId = parseUserId();
53 if (userId == null) {
57 mService.getBindInstantServiceAllowed(userId)));
62 final Integer userId = parseUserId();
63 if (userId == null) {
71 mService.setBindInstantServiceAllowed(userId,
  /frameworks/base/services/print/java/com/android/server/print/
PrintShellCommand.java 55 final Integer userId = parseUserId();
56 if (userId == null) {
61 Boolean.toString(mService.getBindInstantServiceAllowed(userId)));
69 final Integer userId = parseUserId();
70 if (userId == null) {
79 mService.setBindInstantServiceAllowed(userId, Boolean.parseBoolean(allowed));
  /system/vold/binder/android/os/
IVold.aidl 30 void onUserAdded(int userId, int userSerial);
31 void onUserRemoved(int userId);
32 void onUserStarted(int userId);
33 void onUserStopped(int userId);
84 void createUserKey(int userId, int userSerial, boolean ephemeral);
85 void destroyUserKey(int userId);
87 void addUserKeyAuth(int userId, int userSerial, @utf8InCpp String token, @utf8InCpp String secret);
88 void fixateNewestUserKeyAuth(int userId);
90 void unlockUserKey(int userId, int userSerial, @utf8InCpp String token, @utf8InCpp String secret);
91 void lockUserKey(int userId);
    [all...]
  /frameworks/base/services/core/java/com/android/server/om/
OverlayManagerShellCommand.java 107 int userId = UserHandle.USER_SYSTEM;
112 userId = UserHandle.parseUserArg(getNextArgRequired());
120 final Map<String, List<OverlayInfo>> allOverlays = mInterface.getAllOverlays(userId);
150 int userId = UserHandle.USER_SYSTEM;
155 userId = UserHandle.parseUserArg(getNextArgRequired());
164 return mInterface.setEnabled(packageName, enable, userId) ? 0 : 1;
170 int userId = UserHandle.USER_SYSTEM;
176 userId = UserHandle.parseUserArg(getNextArgRequired());
188 return mInterface.setEnabledExclusiveInCategory(overlay, userId) ? 0 : 1;
190 return mInterface.setEnabledExclusive(overlay, true, userId) ? 0 : 1
    [all...]
  /system/security/keystore/
KeyStore.h 74 State getState(uid_t userId) { return getUserState(userId)->getState(); }
76 ResponseCode initializeUser(const android::String8& pw, uid_t userId);
79 ResponseCode writeMasterKey(const android::String8& pw, uid_t userId);
80 ResponseCode readMasterKey(const android::String8& pw, uid_t userId);
91 * Delete entries owned by userId. If keepUnencryptedEntries is true
95 void resetUser(uid_t userId, bool keepUnenryptedEntries);
96 bool isEmpty(uid_t userId) const;
98 void lock(uid_t userId);
100 ResponseCode get(const char* filename, Blob* keyBlob, const BlobType type, uid_t userId);
    [all...]

Completed in 371 milliseconds

1 2 34 5 6 7 8 91011>>