/frameworks/base/core/java/android/app/ |
IStopUserCallback.aidl | 25 void userStopped(int userId); 26 void userStopAborted(int userId);
|
/frameworks/base/core/java/android/app/trust/ |
ITrustManager.aidl | 27 void reportUnlockAttempt(boolean successful, int userId); 28 void reportUnlockLockout(int timeoutMs, int userId); 29 void reportEnabledTrustAgentsChanged(int userId); 33 void setDeviceLockedForUser(int userId, boolean locked); 34 boolean isDeviceLocked(int userId); 35 boolean isDeviceSecure(int userId); 36 boolean isTrustUsuallyManaged(int userId); 37 void unlockedByFingerprintForUser(int userId);
|
ITrustListener.aidl | 25 void onTrustChanged(boolean enabled, int userId, int flags); 26 void onTrustManagedChanged(boolean managed, int userId);
|
IStrongAuthTracker.aidl | 25 void onStrongAuthRequiredChanged(int strongAuthRequired, int userId);
|
/system/core/storaged/binder/android/os/ |
IStoraged.aidl | 21 void onUserStarted(int userId); 22 void onUserStopped(int userId);
|
/frameworks/base/core/java/android/accounts/ |
AccountAndUser.java | 20 * Used to store the Account and the UserId this account is associated with. 26 public int userId; 28 public AccountAndUser(Account account, int userId) { 30 this.userId = userId; 38 && this.userId == other.userId; 43 return account.hashCode() + userId; 47 return account.toString() + " u" + userId;
|
/frameworks/base/core/java/com/android/internal/widget/ |
LockSettingsInternal.java | 37 public abstract long addEscrowToken(byte[] token, int userId); 44 public abstract boolean removeEscrowToken(long handle, int userId); 50 public abstract boolean isEscrowTokenActive(long handle, int userId); 53 long tokenHandle, byte[] token, int requestedQuality, int userId); 55 public abstract boolean unlockUserWithToken(long tokenHandle, byte[] token, int userId);
|
/frameworks/base/core/java/com/android/server/ |
WidgetBackupProvider.java | 29 public List<String> getWidgetParticipants(int userId); 30 public byte[] getWidgetState(String packageName, int userId); 31 public void restoreStarting(int userId); 32 public void restoreWidgetState(String packageName, byte[] restoredState, int userId); 33 public void restoreFinished(int userId);
|
AppWidgetBackupBridge.java | 34 public static List<String> getWidgetParticipants(int userId) { 36 ? sAppWidgetService.getWidgetParticipants(userId) 40 public static byte[] getWidgetState(String packageName, int userId) { 42 ? sAppWidgetService.getWidgetState(packageName, userId) 46 public static void restoreStarting(int userId) { 48 sAppWidgetService.restoreStarting(userId); 52 public static void restoreWidgetState(String packageName, byte[] restoredState, int userId) { 54 sAppWidgetService.restoreWidgetState(packageName, restoredState, userId); 58 public static void restoreFinished(int userId) { 60 sAppWidgetService.restoreFinished(userId); [all...] |
/frameworks/base/core/java/android/os/ |
UserManagerInternal.java | 35 * @param userId target user id 39 void onUserRestrictionsChanged(int userId, Bundle newRestrictions, Bundle prevRestrictions); 46 * @param userId target user id for the local restrictions. 48 * @param isDeviceOwner whether {@code userId} corresponds to device owner user id. 53 public abstract void setDevicePolicyUserRestrictions(int userId, @Nullable Bundle restrictions, 62 public abstract Bundle getBaseUserRestrictions(int userId); 68 public abstract void setBaseUserRestrictionsByDpmsForMigration(int userId, 72 public abstract boolean getUserRestriction(int userId, String key); 90 public abstract void setUserManaged(int userId, boolean isManaged); 99 public abstract void setUserIcon(int userId, Bitmap bitmap) [all...] |
/frameworks/base/core/java/android/app/usage/ |
UsageStatsManagerInternal.java | 38 * @param userId The user id to which the component belongs to. 42 public abstract void reportEvent(ComponentName component, @UserIdInt int userId, int eventType); 48 * @param userId The user id to which the component belongs to. 52 public abstract void reportEvent(String packageName, @UserIdInt int userId, int eventType); 59 public abstract void reportConfigurationChange(Configuration config, @UserIdInt int userId); 66 * @param userId The user in which the notification was posted 69 @UserIdInt int userId); 76 * @param userId The user in which the content provider was accessed. 81 @UserIdInt int userId); 87 * @param userId The user in which the content provider was accessed [all...] |
/frameworks/base/core/java/android/content/pm/ |
IShortcutService.aidl | 29 int userId); 31 ParceledListSlice getDynamicShortcuts(String packageName, int userId); 33 ParceledListSlice getManifestShortcuts(String packageName, int userId); 36 int userId); 38 void removeDynamicShortcuts(String packageName, in List shortcutIds, int userId); 40 void removeAllDynamicShortcuts(String packageName, int userId); 42 ParceledListSlice getPinnedShortcuts(String packageName, int userId); 44 boolean updateShortcuts(String packageName, in ParceledListSlice shortcuts, int userId); 47 in IntentSender resultIntent, int userId); 49 Intent createShortcutResultIntent(String packageName, in ShortcutInfo shortcut, int userId); [all...] |
RegisteredServicesCacheListener.java | 29 void onServiceChanged(V type, int userId, boolean removed);
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
AppVpnInfo.java | 10 * Holds packageName:userId pairs without any heavyweight fields. 14 public final int userId; 17 public AppVpnInfo(int userId, @NonNull String packageName) { 18 this.userId = userId; 28 result = that.userId - userId; 37 return userId == that.userId && Objects.equals(packageName, that.packageName); 44 return Objects.hash(packageName, userId); [all...] |
/frameworks/base/core/java/android/content/om/ |
IOverlayManager.aidl | 35 * @param userId The user to get the OverlayInfos for. 40 Map getAllOverlays(in int userId); 48 * @param userId The user to get the OverlayInfos for. 52 List getOverlayInfosForTarget(in String targetPackageName, in int userId); 59 * @param userId The user to get the OverlayInfo for. 63 OverlayInfo getOverlayInfo(in String packageName, in int userId); 85 * @param userId The user for which to change the overlay. 88 boolean setEnabled(in String packageName, in boolean enable, in int userId); 98 * @param userId The user for which to change the overlay. 101 boolean setEnabledExclusive(in String packageName, in boolean enable, in int userId); [all...] |
/frameworks/base/core/java/android/app/admin/ |
DevicePolicyManagerInternal.java | 88 * @param userId The user where the action is disallowed. 93 public abstract Intent createShowAdminSupportIntent(int userId, boolean useDefaultIfNoAdmin); 100 * @param userId The user where the user restriction is set. 104 public abstract Intent createUserRestrictionSupportIntent(int userId, String userRestriction); 118 public abstract boolean isUserAffiliatedWithDevice(int userId); 123 * @param userId User ID of the profile. 125 public abstract void reportSeparateProfileChallengeChanged(@UserIdInt int userId); 132 * @param userId The user in question 134 public abstract boolean canUserHaveUntrustedCredentialReset(@UserIdInt int userId); 140 * @param userId The user in questio [all...] |
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
SavePatternWorker.java | 31 void start(int userId, List<LockPatternView.Cell> chosenPattern, String currentPattern) { 32 init(userId); 40 int userId = getUserId(); 42 boolean isPatternEverChosen = getUtils().isPatternEverChosen(userId); 44 getUtils().saveLockPattern(mChosenPattern, mCurrentPattern, userId); 47 getUtils().setVisiblePatternEnabled(true, userId);
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
PlatformKeyManager.java | 78 * A new instance operating on behalf of {@code userId}, storing its prefs in the location 111 * @param userId The ID of the user to whose lock screen the platform key must be bound. 115 public int getGenerationId(int userId) { 116 return mDatabase.getPlatformKeyGenerationId(userId); 123 * @param userId The ID of the user to whose lock screen the platform key must be bound. 127 public boolean isAvailable(int userId) { 128 return mContext.getSystemService(KeyguardManager.class).isDeviceSecure(userId); 135 * @param userId The ID of the user to whose lock screen the platform key must be bound. 140 public void invalidatePlatformKey(int userId, int generationId) { 143 mKeyStore.deleteEntry(getEncryptAlias(userId, generationId)) [all...] |
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
EphemeralUserTest.java | 41 int userId = createUser(FLAG_EPHEMERAL); 42 int flags = getUserFlags(userId); 51 int userId = createUser(); 52 int flags = getUserFlags(userId); 66 int userId = createUser(FLAG_EPHEMERAL); 67 int profileId = createManagedProfile(userId); 79 int userId = createUser(FLAG_EPHEMERAL); 80 startUser(userId); 81 assertTrue("ephemeral user must exists after start", listUsers().contains(userId)); 82 stopUser(userId); [all...] |
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
FingerprintUtils.java | 51 public List<Fingerprint> getFingerprintsForUser(Context ctx, int userId) { 52 return getStateForUser(ctx, userId).getFingerprints(); 55 public void addFingerprintForUser(Context ctx, int fingerId, int userId) { 56 getStateForUser(ctx, userId).addFingerprint(fingerId, userId); 59 public void removeFingerprintIdForUser(Context ctx, int fingerId, int userId) { 60 getStateForUser(ctx, userId).removeFingerprint(fingerId); 63 public void renameFingerprintForUser(Context ctx, int fingerId, int userId, CharSequence name) { 68 getStateForUser(ctx, userId).renameFingerprint(fingerId, name); 71 private FingerprintsUserState getStateForUser(Context ctx, int userId) { [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/ |
PackagesChangedEvent.java | 31 public final int userId; 33 public PackagesChangedEvent(String packageName, int userId) { 35 this.userId = userId;
|
/frameworks/base/core/java/android/print/ |
IPrintManager.aidl | 40 List<PrintJobInfo> getPrintJobInfos(int appId, int userId); 41 PrintJobInfo getPrintJobInfo(in PrintJobId printJobId, int appId, int userId); 43 in PrintAttributes attributes, String packageName, int appId, int userId); 44 void cancelPrintJob(in PrintJobId printJobId, int appId, int userId); 45 void restartPrintJob(in PrintJobId printJobId, int appId, int userId); 48 int appId, int userId); 50 int userId); 56 * @param userId the id of the user listening 61 int userId); 67 * @param userId the id of the user requesting the remova [all...] |
/frameworks/base/media/java/android/media/tv/ |
ITvInputManager.aidl | 43 List<TvInputInfo> getTvInputList(int userId); 44 TvInputInfo getTvInputInfo(in String inputId, int userId); 45 void updateTvInputInfo(in TvInputInfo inputInfo, int userId); 46 int getTvInputState(in String inputId, int userId); 48 List<TvContentRatingSystemInfo> getTvContentRatingSystemList(int userId); 50 void registerCallback(in ITvInputManagerCallback callback, int userId); 51 void unregisterCallback(in ITvInputManagerCallback callback, int userId); 53 boolean isParentalControlsEnabled(int userId); 54 void setParentalControlsEnabled(boolean enabled, int userId); 55 boolean isRatingBlocked(in String rating, int userId); [all...] |
/frameworks/base/services/core/java/com/android/server/accounts/ |
IAccountAuthenticatorCache.java | 43 AuthenticatorDescription type, int userId); 49 int userId); 55 void dump(FileDescriptor fd, PrintWriter fout, String[] args, int userId); 66 void invalidateCache(int userId); 72 void updateServices(int userId); 74 boolean getBindInstantServiceAllowed(int userId); 75 void setBindInstantServiceAllowed(int userId, boolean allowed);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
RecoverableKeyStoreDbTest.java | 79 int userId = 12; 87 userId, uid, alias, oldWrappedKey); 94 userId, uid, alias, newWrappedKey); 104 int userId = 6; 115 mRecoverableKeyStoreDb.insertKey(userId, /*uid=*/ 1, alias, key1); 116 mRecoverableKeyStoreDb.insertKey(userId, /*uid=*/ 2, alias, key2); 128 int userId = 6; 135 mRecoverableKeyStoreDb.insertKey(userId, uid, alias, key); 145 /*userId=*/ 1, /*alias=*/ "hello"); 152 int userId = 12 [all...] |