Home
last modified time | relevance | path

Searched refs:userId (Results 1 – 25 of 1903) sorted by relevance

12345678910>>...77

/frameworks/base/core/java/android/os/
DIUserManager.aidl40 int getCredentialOwnerProfile(int userId); in getCredentialOwnerProfile() argument
41 int getProfileParentId(int userId); in getProfileParentId() argument
48 … UserInfo createProfileForUserWithThrow(in String name, in String userType, int flags, int userId, in createProfileForUserWithThrow() argument
52 void setUserEnabled(int userId); in setUserEnabled() argument
53 void setUserAdmin(int userId); in setUserAdmin() argument
54 void revokeUserAdmin(int userId); in revokeUserAdmin() argument
55 void evictCredentialEncryptionKey(int userId); in evictCredentialEncryptionKey() argument
56 boolean removeUser(int userId); in removeUser() argument
57 boolean removeUserEvenWhenDisallowed(int userId); in removeUserEvenWhenDisallowed() argument
58 void setUserName(int userId, String name); in setUserName() argument
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DPerformanceTracker.java62 private void createUserEntryIfNecessary(int userId) { in createUserEntryIfNecessary() argument
63 if (!mAllUsersInfo.contains(userId)) { in createUserEntryIfNecessary()
64 mAllUsersInfo.put(userId, new Info()); in createUserEntryIfNecessary()
68 public void incrementAuthForUser(int userId, boolean accepted) { in incrementAuthForUser() argument
69 createUserEntryIfNecessary(userId); in incrementAuthForUser()
72 mAllUsersInfo.get(userId).mAccept++; in incrementAuthForUser()
74 mAllUsersInfo.get(userId).mReject++; in incrementAuthForUser()
78 void incrementCryptoAuthForUser(int userId, boolean accepted) { in incrementCryptoAuthForUser() argument
79 createUserEntryIfNecessary(userId); in incrementCryptoAuthForUser()
82 mAllUsersInfo.get(userId).mAcceptCrypto++; in incrementCryptoAuthForUser()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java150 int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL);
151 if (userId > 0) { // for only non system users
152 mHandler.post(() -> onRemovedNonSystemUser(userId));
216 protected File getSuppressFileForUser(@UserIdInt int userId) { in getSuppressFileForUser() argument
217 return new File(UserBackupManagerFiles.getBaseStateDir(userId), BACKUP_SUPPRESS_FILENAME); in getSuppressFileForUser()
222 protected File getRememberActivatedFileForNonSystemUser(int userId) { in getRememberActivatedFileForNonSystemUser() argument
223 return UserBackupManagerFiles.getStateFileInSystemDir(REMEMBER_ACTIVATED_FILENAME, userId); in getRememberActivatedFileForNonSystemUser()
228 protected File getActivatedFileForUser(int userId) { in getActivatedFileForUser() argument
229 return UserBackupManagerFiles.getStateFileInSystemDir(BACKUP_ACTIVATED_FILENAME, userId); in getActivatedFileForUser()
238 private void onRemovedNonSystemUser(int userId) { in onRemovedNonSystemUser() argument
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbTest.java81 int userId = 12; in insertKey_replacesOldKey() local
90 mRecoverableKeyStoreDb.insertKey(userId, uid, alias, wrappedKey); in insertKey_replacesOldKey()
103 mRecoverableKeyStoreDb.insertKey(userId, uid, alias, wrappedKey); in insertKey_replacesOldKey()
114 int userId = 6; in insertKey_allowsTwoUidsToHaveSameAlias() local
127 mRecoverableKeyStoreDb.insertKey(userId, /*uid=*/ 1, alias, key1); in insertKey_allowsTwoUidsToHaveSameAlias()
128 mRecoverableKeyStoreDb.insertKey(userId, /*uid=*/ 2, alias, key2); in insertKey_allowsTwoUidsToHaveSameAlias()
140 int userId = 6; in removeKey_removesAKey() local
148 mRecoverableKeyStoreDb.insertKey(userId, uid, alias, key); in removeKey_removesAKey()
165 int userId = 12; in getKey_returnsInsertedKey() local
175 mRecoverableKeyStoreDb.insertKey(userId, uid, alias, wrappedKey); in getKey_returnsInsertedKey()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryManager.java95 void onUserUnlocked(@UserIdInt int userId) { in onUserUnlocked() argument
97 mUserUnlockedStates.put(userId, true); in onUserUnlocked()
99 getUserHistoryAndInitializeIfNeededLocked(userId); in onUserUnlocked()
101 Slog.i(TAG, "Attempted to unlock gone/disabled user " + userId); in onUserUnlocked()
106 final List<String> pendingPackageRemovals = mUserPendingPackageRemovals.get(userId); in onUserUnlocked()
111 mUserPendingPackageRemovals.remove(userId); in onUserUnlocked()
115 if (mUserPendingHistoryDisables.get(userId)) { in onUserUnlocked()
116 disableHistory(userHistory, userId); in onUserUnlocked()
121 public void onUserAdded(@UserIdInt int userId) { in onUserAdded() argument
122 mSettingsObserver.update(null, userId); in onUserAdded()
[all …]
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java168 for (int userId : mUsersToRemove) { in tearDown()
170 mUm.removeUser(userId); in tearDown()
182 final int userId = createUserNoFlags(); in createUser() local
186 removeUser(userId); in createUser()
196 final int userId = createUserNoFlags(); in createUser_realistic() local
200 removeUser(userId); in createUser_realistic()
211 final int userId = createUserNoFlags(); in createAndStartUser() local
215 runThenWaitForBroadcasts(userId, () -> { in createAndStartUser()
216 mIam.startUserInBackground(userId); in createAndStartUser()
221 removeUser(userId); in createAndStartUser()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java243 public boolean isTrustUsuallyManaged(int userId) { in isTrustUsuallyManaged() argument
249 return getLockSettings().getBoolean(IS_TRUST_USUALLY_MANAGED, false, userId); in isTrustUsuallyManaged()
255 public void setTrustUsuallyManaged(boolean managed, int userId) { in setTrustUsuallyManaged() argument
257 getLockSettings().setBoolean(IS_TRUST_USUALLY_MANAGED, managed, userId); in setTrustUsuallyManaged()
263 public void userPresent(int userId) { in userPresent() argument
265 getLockSettings().userPresent(userId); in userPresent()
309 private UserManager getUserManager(int userId) { in getUserManager() argument
310 UserHandle userHandle = UserHandle.of(userId); in getUserManager()
360 public int getRequestedMinimumPasswordLength(int userId) { in getRequestedMinimumPasswordLength() argument
361 return getDevicePolicyManager().getPasswordMinimumLength(null, userId); in getRequestedMinimumPasswordLength()
[all …]
/frameworks/base/media/java/android/media/tv/
DITvInputManager.aidl49 List<TvInputInfo> getTvInputList(int userId); in getTvInputList() argument
50 TvInputInfo getTvInputInfo(in String inputId, int userId); in getTvInputInfo() argument
51 void updateTvInputInfo(in TvInputInfo inputInfo, int userId); in updateTvInputInfo() argument
52 int getTvInputState(in String inputId, int userId); in getTvInputState() argument
53 List<String> getAvailableExtensionInterfaceNames(in String inputId, int userId); in getAvailableExtensionInterfaceNames() argument
54 IBinder getExtensionInterface(in String inputId, in String name, int userId); in getExtensionInterface() argument
56 List<TvContentRatingSystemInfo> getTvContentRatingSystemList(int userId); in getTvContentRatingSystemList() argument
58 void registerCallback(in ITvInputManagerCallback callback, int userId); in registerCallback() argument
59 void unregisterCallback(in ITvInputManagerCallback callback, int userId); in unregisterCallback() argument
61 boolean isParentalControlsEnabled(int userId); in isParentalControlsEnabled() argument
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DFakeUserInfoHelper.java49 public void startUser(int userId) { in startUser() argument
50 startUserInternal(userId, true); in startUser()
53 private void startUserInternal(int userId, boolean alwaysDispatch) { in startUserInternal() argument
54 int idx = mRunningUserIds.indexOf(userId); in startUserInternal()
56 mRunningUserIds.add(userId); in startUserInternal()
61 dispatchOnUserStarted(userId); in startUserInternal()
64 public void stopUser(int userId) { in stopUser() argument
65 int idx = mRunningUserIds.indexOf(userId); in stopUser()
70 setUserInvisibleInternal(userId); in stopUser()
71 dispatchOnUserStopped(userId); in stopUser()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStrongAuth.java190 private void handleRequireStrongAuth(int strongAuthReason, int userId) { in handleRequireStrongAuth() argument
191 if (userId == UserHandle.USER_ALL) { in handleRequireStrongAuth()
197 handleRequireStrongAuthOneUser(strongAuthReason, userId); in handleRequireStrongAuth()
201 private void handleRequireStrongAuthOneUser(int strongAuthReason, int userId) { in handleRequireStrongAuthOneUser() argument
202 int oldValue = mStrongAuthForUser.get(userId, mDefaultStrongAuthFlags); in handleRequireStrongAuthOneUser()
207 mStrongAuthForUser.put(userId, newValue); in handleRequireStrongAuthOneUser()
208 notifyStrongAuthTrackers(newValue, userId); in handleRequireStrongAuthOneUser()
212 private void handleNoLongerRequireStrongAuth(int strongAuthReason, int userId) { in handleNoLongerRequireStrongAuth() argument
213 if (userId == UserHandle.USER_ALL) { in handleNoLongerRequireStrongAuth()
219 handleNoLongerRequireStrongAuthOneUser(strongAuthReason, userId); in handleNoLongerRequireStrongAuth()
[all …]
DLockSettingsStorage.java123 public void writeKeyValue(String key, String value, int userId) { in writeKeyValue() argument
124 writeKeyValue(mOpenHelper.getWritableDatabase(), key, value, userId); in writeKeyValue() local
128 public boolean isAutoPinConfirmSettingEnabled(int userId) { in isAutoPinConfirmSettingEnabled() argument
129 return getBoolean(LockPatternUtils.AUTO_PIN_CONFIRM, false, userId); in isAutoPinConfirmSettingEnabled()
133 public void writeKeyValue(SQLiteDatabase db, String key, String value, int userId) { in writeKeyValue() argument
136 cv.put(COLUMN_USERID, userId); in writeKeyValue()
142 new String[] {key, Integer.toString(userId)}); in writeKeyValue()
145 mCache.putKeyValue(key, value, userId); in writeKeyValue()
152 public String readKeyValue(String key, String defaultValue, int userId) { in readKeyValue() argument
155 if (mCache.hasKeyValue(key, userId)) { in readKeyValue()
[all …]
DLockSettingsService.java397 protected void handleStrongAuthRequiredChanged(int strongAuthFlags, int userId) { in handleStrongAuthRequiredChanged() argument
399 super.handleStrongAuthRequiredChanged(strongAuthFlags, userId); in handleStrongAuthRequiredChanged()
404 public int getStrongAuthForUser(int userId) { in getStrongAuthForUser() argument
406 return super.getStrongAuthForUser(userId); in getStrongAuthForUser()
716 private void maybeShowEncryptionNotificationForUser(@UserIdInt int userId, String reason) { in maybeShowEncryptionNotificationForUser() argument
717 final UserInfo user = mUserManager.getUserInfo(userId); in maybeShowEncryptionNotificationForUser()
725 if (isCeStorageUnlocked(userId)) { in maybeShowEncryptionNotificationForUser()
732 final boolean isSecure = isUserSecure(userId); in maybeShowEncryptionNotificationForUser()
734 UserInfo parent = mUserManager.getProfileParent(userId); in maybeShowEncryptionNotificationForUser()
828 void onUserStopped(int userId) { in onUserStopped() argument
[all …]
/frameworks/base/media/java/android/media/tv/interactive/
DITvInteractiveAppManager.aidl39 List<TvInteractiveAppServiceInfo> getTvInteractiveAppServiceList(int userId); in getTvInteractiveAppServiceList() argument
40 List<AppLinkInfo> getAppLinkInfoList(int userId); in getAppLinkInfoList() argument
41 void registerAppLinkInfo(String tiasId, in AppLinkInfo info, int userId); in registerAppLinkInfo() argument
42 void unregisterAppLinkInfo(String tiasId, in AppLinkInfo info, int userId); in unregisterAppLinkInfo() argument
43 void sendAppLinkCommand(String tiasId, in Bundle command, int userId); in sendAppLinkCommand() argument
44 void startInteractiveApp(in IBinder sessionToken, int userId); in startInteractiveApp() argument
45 void stopInteractiveApp(in IBinder sessionToken, int userId); in stopInteractiveApp() argument
46 void resetInteractiveApp(in IBinder sessionToken, int userId); in resetInteractiveApp() argument
48 in IBinder sessionToken, in Uri biIAppUri, in Bundle params, int userId); in createBiInteractiveApp() argument
49 void destroyBiInteractiveApp(in IBinder sessionToken, in String biIAppId, int userId); in destroyBiInteractiveApp() argument
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DUserVisibilityMediator.java233 public @UserAssignmentResult int assignUserToDisplayOnStart(@UserIdInt int userId, in assignUserToDisplayOnStart() argument
236 Preconditions.checkArgument(!isSpecialUserId(userId), "user id cannot be generic: %d", in assignUserToDisplayOnStart()
237 userId); in assignUserToDisplayOnStart()
253 = resolveProfileGroupId(userId, unResolvedProfileGroupId, isAlwaysVisible); in assignUserToDisplayOnStart()
256 userId, unResolvedProfileGroupId, userStartModeToString(userStartMode), in assignUserToDisplayOnStart()
263 result = getUserVisibilityOnStartLocked(userId, profileGroupId, userStartMode, in assignUserToDisplayOnStart()
274 int mappingResult = canAssignUserToDisplayLocked(userId, profileGroupId, userStartMode, in assignUserToDisplayOnStart()
289 mCurrentUserId = userId; in assignUserToDisplayOnStart()
294 userId, profileGroupId); in assignUserToDisplayOnStart()
296 mStartedVisibleProfileGroupIds.put(userId, profileGroupId); in assignUserToDisplayOnStart()
[all …]
DPackageManagerInternalBase.java104 @PackageManager.ApplicationInfoFlagsBits long flags, int userId, int callingUid) { in getInstalledApplications() argument
105 return snapshot().getInstalledApplications(flags, userId, callingUid, in getInstalledApplications()
112 @PackageManager.ApplicationInfoFlagsBits long flags, int userId, int callingUid) { in getInstalledApplicationsCrossUser() argument
113 return snapshot().getInstalledApplications(flags, userId, callingUid, in getInstalledApplicationsCrossUser()
119 public final boolean isInstantApp(String packageName, int userId) { in isInstantApp() argument
120 return snapshot().isInstantApp(packageName, userId); in isInstantApp()
131 public final boolean filterAppAccess(AndroidPackage pkg, int callingUid, int userId) { in filterAppAccess() argument
132 return snapshot().filterAppAccess(pkg, callingUid, userId); in filterAppAccess()
137 public final boolean filterAppAccess(String packageName, int callingUid, int userId, in filterAppAccess() argument
139 return snapshot().filterAppAccess(packageName, callingUid, userId, filterUninstalled); in filterAppAccess()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManager.java125 public int getGenerationId(int userId) { in getGenerationId() argument
126 return mDatabase.getPlatformKeyGenerationId(userId); in getGenerationId()
137 public boolean isDeviceLocked(int userId) { in isDeviceLocked() argument
138 return mContext.getSystemService(KeyguardManager.class).isDeviceLocked(userId); in isDeviceLocked()
150 public void invalidatePlatformKey(int userId, int generationId) { in invalidatePlatformKey() argument
153 mKeyStore.deleteEntry(getEncryptAlias(userId, generationId)); in invalidatePlatformKey()
154 mKeyStore.deleteEntry(getDecryptAlias(userId, generationId)); in invalidatePlatformKey()
176 void regenerate(int userId) in regenerate() argument
179 int generationId = getGenerationId(userId); in regenerate()
184 invalidatePlatformKey(userId, generationId); in regenerate()
[all …]
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractMasterSystemService.java266 final int userId = users.get(i).id; in AbstractMasterSystemService() local
267 final boolean disabled = umi.getUserRestriction(userId, disallowProperty); in AbstractMasterSystemService()
269 Slog.i(mTag, "Disabling by restrictions user " + userId); in AbstractMasterSystemService()
270 mDisabledByUserRestriction.put(userId, disabled); in AbstractMasterSystemService()
273 umi.addUserRestrictionsListener((userId, newRestrictions, prevRestrictions) -> { in AbstractMasterSystemService() argument
277 final boolean disabledBefore = mDisabledByUserRestriction.get(userId); in AbstractMasterSystemService()
281 Slog.d(mTag, "Restriction did not change for user " + userId); in AbstractMasterSystemService()
285 Slog.i(mTag, "Updating for user " + userId + ": disabled=" + disabledNow); in AbstractMasterSystemService()
286 mDisabledByUserRestriction.put(userId, disabledNow); in AbstractMasterSystemService()
287 updateCachedServiceLocked(userId, disabledNow); in AbstractMasterSystemService()
[all …]
DServiceNameBaseResolver.java106 public String getServiceName(@UserIdInt int userId) { in getServiceName() argument
107 String[] serviceNames = getServiceNameList(userId); in getServiceName()
112 public String getDefaultServiceName(@UserIdInt int userId) { in getDefaultServiceName() argument
113 String[] serviceNames = getDefaultServiceNameList(userId); in getDefaultServiceName()
123 public String[] getServiceNameList(int userId) { in getServiceNameList() argument
125 String[] temporaryNames = mTemporaryServiceNamesList.get(userId); in getServiceNameList()
129 + Arrays.toString(temporaryNames) + " for user " + userId); in getServiceNameList()
132 final boolean disabled = mDefaultServicesDisabled.get(userId); in getServiceNameList()
136 + "user " + userId); in getServiceNameList()
139 return getDefaultServiceNameList(userId); in getServiceNameList()
[all …]
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java383 int userId = mCurrentUser; in handleScheduleTrustTimeout() local
395 handleScheduleTrustableTimeouts(userId, shouldOverride, in handleScheduleTrustTimeout()
398 handleScheduleTrustedTimeout(userId, shouldOverride); in handleScheduleTrustTimeout()
403 private void refreshTrustableTimers(int userId) { in refreshTrustableTimers() argument
404 if (DEBUG) Slogf.d(TAG, "refreshTrustableTimers(userId=%s)", userId); in refreshTrustableTimers()
405 handleScheduleTrustableTimeouts(userId, true /* overrideIdleTimeout */, in refreshTrustableTimers()
409 private void cancelBothTrustableAlarms(int userId) { in cancelBothTrustableAlarms() argument
412 userId); in cancelBothTrustableAlarms()
415 userId); in cancelBothTrustableAlarms()
426 private void handleScheduleTrustedTimeout(int userId, boolean shouldOverride) { in handleScheduleTrustedTimeout() argument
[all …]
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceLoggingDecorator.java56 public byte[] backupRuntimePermissions(int userId) { in backupRuntimePermissions() argument
57 Log.i(LOG_TAG, "backupRuntimePermissions(userId = " + userId + ")"); in backupRuntimePermissions()
58 return mService.backupRuntimePermissions(userId); in backupRuntimePermissions()
63 public void restoreRuntimePermissions(@NonNull byte[] backup, int userId) { in restoreRuntimePermissions() argument
64 Log.i(LOG_TAG, "restoreRuntimePermissions(backup = " + backup + ", userId = " + userId in restoreRuntimePermissions()
66 mService.restoreRuntimePermissions(backup, userId); in restoreRuntimePermissions()
70 public void restoreDelayedRuntimePermissions(@NonNull String packageName, int userId) { in restoreDelayedRuntimePermissions() argument
72 + ", userId = " + userId + ")"); in restoreDelayedRuntimePermissions()
73 mService.restoreDelayedRuntimePermissions(packageName, userId); in restoreDelayedRuntimePermissions()
125 int userId) { in getPermissionFlags() argument
[all …]
/frameworks/base/core/java/android/print/
DIPrintManager.aidl40 List<PrintJobInfo> getPrintJobInfos(int appId, int userId); in getPrintJobInfos() argument
41 PrintJobInfo getPrintJobInfo(in PrintJobId printJobId, int appId, int userId); in getPrintJobInfo() argument
43 in PrintAttributes attributes, String packageName, int appId, int userId); in print() argument
44 void cancelPrintJob(in PrintJobId printJobId, int appId, int userId); in cancelPrintJob() argument
45 void restartPrintJob(in PrintJobId printJobId, int appId, int userId); in restartPrintJob() argument
48 int appId, int userId); in addPrintJobStateChangeListener() argument
50 int userId); in removePrintJobStateChangeListener() argument
61 int userId); in addPrintServicesChangeListener() argument
72 int userId); in removePrintServicesChangeListener() argument
82 List<PrintServiceInfo> getPrintServices(int selectionFlags, int userId); in getPrintServices() argument
[all …]
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl74 void checkPackageStartable(String packageName, int userId); in checkPackageStartable() argument
76 boolean isPackageAvailable(String packageName, int userId); in isPackageAvailable() argument
77 PackageInfo getPackageInfo(String packageName, long flags, int userId); in getPackageInfo() argument
79 long flags, int userId); in getPackageInfoVersioned() argument
80 int getPackageUid(String packageName, long flags, int userId); in getPackageUid() argument
81 int[] getPackageGids(String packageName, long flags, int userId); in getPackageGids() argument
88 ApplicationInfo getApplicationInfo(String packageName, long flags, int userId); in getApplicationInfo() argument
95 ActivityInfo getActivityInfo(in ComponentName className, long flags, int userId); in getActivityInfo() argument
98 String resolvedType, int userId); in activitySupportsIntentAsUser() argument
100 ActivityInfo getReceiverInfo(in ComponentName className, long flags, int userId); in getReceiverInfo() argument
[all …]
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java137 public void onDefaultSmsAppChanged(String packageName, int userId) {} in onDefaultSmsAppChanged() argument
145 public void onDefaultSimCallManagerAppChanged(String packageName, int userId) {} in onDefaultSimCallManagerAppChanged() argument
161 public abstract boolean isPermissionsReviewRequired(String packageName, int userId); in isPermissionsReviewRequired() argument
168 public abstract boolean isSameApp(String packageName, int callingUid, int userId); in isSameApp() argument
182 @PackageManager.PackageInfoFlagsBits long flags, int callingUid, int userId); in isSameApp() argument
191 @PackageManager.PackageInfoFlagsBits long flags, int filterCallingUid, int userId); in getPackageInfo() argument
197 public abstract long getCeDataInode(String packageName, int userId); in getCeDataInode() argument
220 @PackageManager.ApplicationInfoFlagsBits long flags, @UserIdInt int userId, in getInstalledApplications() argument
228 @PackageManager.ApplicationInfoFlagsBits long flags, @UserIdInt int userId, in getInstalledApplicationsCrossUser() argument
245 int userId); in getSuspendedPackageLauncherExtras() argument
[all …]
/frameworks/base/apex/jobscheduler/framework/java/com/android/server/usage/
DAppStandbyInternal.java44 public abstract void onAppIdleStateChanged(String packageName, @UserIdInt int userId, in onAppIdleStateChanged() argument
59 public void onUserInteractionStarted(String packageName, @UserIdInt int userId) { in onUserInteractionStarted() argument
66 public void triggerTemporaryQuotaBump(String packageName, @UserIdInt int userId) { in triggerTemporaryQuotaBump() argument
73 void postCheckIdleStates(int userId); in postCheckIdleStates() argument
81 void setLastJobRunTime(String packageName, int userId, long elapsedRealtime); in setLastJobRunTime() argument
83 long getTimeSinceLastJobRun(String packageName, int userId); in getTimeSinceLastJobRun() argument
85 void setEstimatedLaunchTime(String packageName, int userId, in setEstimatedLaunchTime() argument
93 long getEstimatedLaunchTime(String packageName, int userId); in getEstimatedLaunchTime() argument
100 long getTimeSinceLastUsedByUser(String packageName, int userId); in getTimeSinceLastUsedByUser() argument
102 void onUserRemoved(int userId); in onUserRemoved() argument
[all …]
/frameworks/base/core/java/android/app/backup/
DIBackupManager.aidl53 void dataChangedForUser(int userId, String packageName); in dataChangedForUser() argument
73 void clearBackupDataForUser(int userId, String transportName, String packageName); in clearBackupDataForUser() argument
92 void initializeTransportsForUser(int userId, in String[] transportNames, in initializeTransportsForUser() argument
104 void agentConnectedForUser(int userId, String packageName, IBinder agent); in agentConnectedForUser() argument
120 void agentDisconnectedForUser(int userId, String packageName); in agentDisconnectedForUser() argument
136 void restoreAtInstallForUser(int userId, String packageName, int token); in restoreAtInstallForUser() argument
156 void setBackupEnabledForUser(int userId, boolean isEnabled); in setBackupEnabledForUser() argument
172 void setFrameworkSchedulingEnabledForUser(int userId, boolean isEnabled); in setFrameworkSchedulingEnabledForUser() argument
196 void setAutoRestoreForUser(int userId, boolean doAutoRestore); in setAutoRestoreForUser() argument
213 boolean isBackupEnabledForUser(int userId); in isBackupEnabledForUser() argument
[all …]

12345678910>>...77