Home
last modified time | relevance | path

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

12345678910>>...21

/packages/modules/Permission/service/java/com/android/role/
DRoleService.java163 int userId = intent.<UserHandle>getParcelableExtra(Intent.EXTRA_USER) in registerUserRemovedReceiver()
165 onRemoveUser(userId); in registerUserRemovedReceiver()
184 int userId = UserHandleCompat.getUserId(intent.getIntExtra(Intent.EXTRA_UID, -1)); in onStart()
187 + userId); in onStart()
194 maybeGrantDefaultRolesAsync(userId); in onStart()
205 private void maybeGrantDefaultRolesSync(@UserIdInt int userId) { in maybeGrantDefaultRolesSync() argument
206 AndroidFuture<Void> future = maybeGrantDefaultRolesInternal(userId); in maybeGrantDefaultRolesSync()
210 Log.e(LOG_TAG, "Failed to grant default roles for user " + userId, e); in maybeGrantDefaultRolesSync()
214 private void maybeGrantDefaultRolesAsync(@UserIdInt int userId) { in maybeGrantDefaultRolesAsync() argument
217 runnable = mGrantDefaultRolesThrottledRunnables.get(userId); in maybeGrantDefaultRolesAsync()
[all …]
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DCardEmulationManager.java152 public void onUserSwitched(int userId) { in onUserSwitched() argument
154 mServiceCache.invalidateCache(userId); in onUserSwitched()
155 mPreferredServices.onUserSwitched(userId); in onUserSwitched()
159 mEnabledNfcFServices.onUserSwitched(userId); in onUserSwitched()
161 mNfcFServicesCache.invalidateCache(userId); in onUserSwitched()
241 public void onServicesUpdated(int userId, List<ApduServiceInfo> services) { in onServicesUpdated() argument
243 verifyDefaults(userId, services); in onServicesUpdated()
245 mAidCache.onServicesUpdated(userId, services); in onServicesUpdated()
253 public void onNfcFServicesUpdated(int userId, List<NfcFServiceInfo> services) { in onNfcFServicesUpdated() argument
255 mT3tIdentifiersCache.onServicesUpdated(userId, services); in onNfcFServicesUpdated()
[all …]
DRegisteredServicesCache.java86 void onServicesUpdated(int userId, final List<ApduServiceInfo> services); in onServicesUpdated() argument
109 private UserServices findOrCreateUserLocked(int userId) { in findOrCreateUserLocked() argument
110 UserServices services = mUserServices.get(userId); in findOrCreateUserLocked()
113 mUserServices.put(userId, services); in findOrCreateUserLocked()
187 public boolean hasService(int userId, ComponentName service) { in hasService() argument
188 return getService(userId, service) != null; in hasService()
191 public ApduServiceInfo getService(int userId, ComponentName service) { in getService() argument
193 UserServices userServices = findOrCreateUserLocked(userId); in getService()
198 public List<ApduServiceInfo> getServices(int userId) { in getServices() argument
201 UserServices userServices = findOrCreateUserLocked(userId); in getServices()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/am/
DFixedActivityServiceTest.java120 int userId = 10; in testStartFixedActivityModeForDisplayAndUser_noRunningActivity() local
122 Intent intent = expectComponentAvailable("test_package", "com.test.dude", userId); in testStartFixedActivityModeForDisplayAndUser_noRunningActivity()
123 mockAmGetCurrentUser(userId); in testStartFixedActivityModeForDisplayAndUser_noRunningActivity()
128 options, mValidDisplayId, userId); in testStartFixedActivityModeForDisplayAndUser_noRunningActivity()
130 eq(UserHandle.of(userId))); in testStartFixedActivityModeForDisplayAndUser_noRunningActivity()
137 int userId = 10; in testStartFixedActivityModeForDisplayAndUser_alreadyRunningActivity() local
138 int[] userIds = new int[] { userId }; in testStartFixedActivityModeForDisplayAndUser_alreadyRunningActivity()
141 Intent intent = expectComponentAvailable("test_package", "com.test.dude", userId); in testStartFixedActivityModeForDisplayAndUser_alreadyRunningActivity()
142 mockAmGetCurrentUser(userId); in testStartFixedActivityModeForDisplayAndUser_alreadyRunningActivity()
150 options, mValidDisplayId, userId); in testStartFixedActivityModeForDisplayAndUser_alreadyRunningActivity()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestProvidersAccess.java57 UserId userId = TestProvidersAccess.USER_ID;
62 DOWNLOADS.userId = userId;
72 HOME.userId = userId;
83 HAMMY.userId = userId;
91 PICKLES.userId = userId;
105 RECENTS.userId = userId;
109 INSPECTOR.userId = userId;
117 IMAGE.userId = userId;
124 AUDIO.userId = userId;
131 VIDEO.userId = userId;
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersCache.java135 userId = rootUserId; in generateRecentsRoot()
145 private RootInfo createOrGetRecentsRoot(UserId userId) {
146 return createOrGetByUserId(mRecentsRoots, userId, user -> generateRecentsRoot(user));
149 private RootsChangedObserver createOrGetRootsChangedObserver(UserId userId) {
150 return createOrGetByUserId(mRootsChangedObservers, userId,
154 private static <T> T createOrGetByUserId(Map<UserId, T> map, UserId userId,
157 if (!map.containsKey(userId)) {
158 map.put(userId, supplier.apply(userId));
161 return map.get(userId);
168 RootsChangedObserver(UserId userId) {
[all …]
/packages/apps/Settings/src/com/android/settings/utils/
DSensorPrivacyManagerHelper.java73 CallbackInfo(Callback callback, Executor executor, int sensor, int userId) { in CallbackInfo() argument
77 mUserId = userId; in CallbackInfo()
139 public boolean isSensorBlocked(int sensor, int userId) { in isSensorBlocked() argument
141 SparseArray<Boolean> userCachedState = createUserCachedStateIfNeededLocked(userId); in isSensorBlocked()
144 registerListenerIfNeeded(sensor, userId); in isSensorBlocked()
171 public void setSensorBlocked(int source, int sensor, boolean blocked, int userId) { in setSensorBlocked() argument
172 mSensorPrivacyManager.setSensorPrivacy(source, sensor, blocked, userId); in setSensorBlocked()
192 int userId) { in setSensorBlockedForProfileGroup() argument
193 mSensorPrivacyManager.setSensorPrivacyForProfileGroup(source, sensor, blocked, userId); in setSensorBlockedForProfileGroup()
215 public void addSensorBlockedListener(int sensor, int userId, Callback callback, in addSensorBlockedListener() argument
[all …]
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java282 boolean assignUserToOccupantZone(@UserIdInt int userId, int zoneId); in assignUserToOccupantZone() argument
284 boolean unassignUserFromOccupantZone(@UserIdInt int userId); in unassignUserFromOccupantZone() argument
669 private void stopAllTasks(@UserIdInt int userId) { in stopAllTasks() argument
673 if (info.childTaskUserIds[i] == userId) { in stopAllTasks()
824 status, resp.action, resp.userToSwitchOrCreate.userId, in initBootUser()
831 int userId = resp.userToSwitchOrCreate.userId; in initBootUser()
832 if (userId <= 0) { in initBootUser()
833 Slog.w(TAG, "invalid (or missing) user id sent by HAL: " + userId); in initBootUser()
839 .setSwitchUserId(userId) in initBootUser()
1132 public void removeUser(@UserIdInt int userId, AndroidFuture<UserRemovalResult> receiver) { in removeUser() argument
[all …]
DInitialUserSetter.java189 public Builder setSwitchUserId(@UserIdInt int userId) { in setSwitchUserId() argument
191 mSwitchUserId = userId; in setSwitchUserId()
389 int userId = getInitialUser(info.supportsOverrideUserIdProperty); in executeDefaultBehavior() local
391 .setSwitchUserId(userId) in executeDefaultBehavior()
413 int userId = info.switchUserId; in switchUser() local
417 Slog.d(TAG, "switchUser(): userId=" + userId + ", replaceGuest=" + replaceGuest in switchUser()
421 UserInfo user = mUm.getUserInfo(userId); in switchUser()
423 fallbackDefaultBehavior(info, fallback, "user with id " + userId + " doesn't exist"); in switchUser()
454 if (actualUserId != userId) { in switchUser()
455 Slog.i(TAG, "Removing old guest " + userId); in switchUser()
[all …]
DCarUserNoticeService.java121 int userId = event.getUserId();
122 if (DBG) Slog.d(TAG, "User switch event received. Target User:" + userId);
128 mUserId = userId;
236 public void ignoreUserNotice(int userId) { in ignoreUserNotice() argument
238 mIgnoreUserId = userId; in ignoreUserNotice()
259 private boolean isNoticeScreenEnabledInSetting(@UserIdInt int userId) { in isNoticeScreenEnabledInSetting() argument
262 1 /*enable by default*/, userId) == 1; in isNoticeScreenEnabledInSetting()
273 private boolean grantSystemAlertWindowPermission(@UserIdInt int userId) { in grantSystemAlertWindowPermission() argument
282 packageUid = mContext.getPackageManager().getPackageUidAsUser(packageName, userId); in grantSystemAlertWindowPermission()
285 + packageName + " userId:" + userId); in grantSystemAlertWindowPermission()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DDefaultDialerCache.java46 String getDefaultDialerApplication(Context context, int userId); in getDefaultDialerApplication() argument
47 boolean setDefaultDialerApplication(Context context, String packageName, int userId); in setDefaultDialerApplication() argument
57 public String getDefaultDialerApplication(Context context, int userId) { in getDefaultDialerApplication() argument
58 return DefaultDialerManager.getDefaultDialerApplication(context, userId); in getDefaultDialerApplication()
63 int userId) { in setDefaultDialerApplication() argument
64 return DefaultDialerManager.setDefaultDialerApplication(context, packageName, userId); in setDefaultDialerApplication()
178 public String getDefaultDialerApplication(int userId) { in getDefaultDialerApplication() argument
179 if (userId == UserHandle.USER_CURRENT) { in getDefaultDialerApplication()
180 userId = ActivityManager.getCurrentUser(); in getDefaultDialerApplication()
183 if (userId < 0) { in getDefaultDialerApplication()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDocumentsAccess.java51 @Nullable DocumentInfo getDocument(Uri uri, UserId userId); in getDocument() argument
52 @Nullable DocumentInfo getArchiveDocument(Uri uri, UserId userId); in getArchiveDocument() argument
57 Path findDocumentPath(Uri uri, UserId userId) in findDocumentPath() argument
60 List<DocumentInfo> getDocuments(UserId userId, String authority, List<String> docIds) in getDocuments() argument
85 root.userId); in getRootDocument()
89 public @Nullable DocumentInfo getDocument(Uri uri, UserId userId) { in getDocument() argument
91 if (mState.canInteractWith(userId)) { in getDocument()
92 return DocumentInfo.fromUri(userId.getContentResolver(mContext), uri, userId); in getDocument()
102 public List<DocumentInfo> getDocuments(UserId userId, String authority, List<String> docIds) in getDocuments() argument
104 if (!mState.canInteractWith(userId)) { in getDocuments()
[all …]
DThumbnailCache.java73 public Result getThumbnail(Uri uri, UserId userId, Point size) { in getThumbnail() argument
75 sizeMap = mSizeIndex.get(new SizeIndexKey(uri, userId)); in getThumbnail()
127 public void putThumbnail(Uri uri, UserId userId, Point size, Bitmap thumbnail, in putThumbnail() argument
129 CacheKey cacheKey = new CacheKey(uri, userId, size); in putThumbnail()
133 sizeMap = mSizeIndex.get(new SizeIndexKey(uri, userId)); in putThumbnail()
136 mSizeIndex.put(new SizeIndexKey(uri, userId), sizeMap); in putThumbnail()
151 public void removeUri(Uri uri, UserId userId) { in removeUri() argument
154 sizeMap = mSizeIndex.get(new SizeIndexKey(uri, userId)); in removeUri()
170 sizeMap = mSizeIndex.get(new SizeIndexKey(cacheKey.uri, cacheKey.userId)); in removeKey()
328 final UserId userId; field in ThumbnailCache.SizeIndexKey
[all …]
/packages/services/Car/car-test-lib/src/android/car/test/mocks/
DCarArgumentMatchers.java44 public static UserInfo isUserInfo(@UserIdInt int userId) { in isUserInfo() argument
45 return argThat(new UserInfoMatcher(userId)); in isUserInfo()
51 public static UserHandle isUserHandle(@UserIdInt int userId) { in isUserHandle() argument
52 return argThat(new UserHandleMatcher(userId)); in isUserHandle()
78 public final @UserIdInt int userId; field in CarArgumentMatchers.UserInfoMatcher
80 private UserInfoMatcher(@UserIdInt int userId) { in UserInfoMatcher() argument
81 this.userId = userId; in UserInfoMatcher()
90 if (argument.id != userId) { in matches()
91 Log.w(TAG, "isUserInfo(): argument mismatch (expected " + userId in matches()
100 return "isUserInfo(userId=" + userId + ")"; in toString()
[all …]
/packages/services/Car/service/src/com/android/car/am/
DFixedActivityService.java91 public final int userId; field in FixedActivityService.RunningActivityInfo
109 @UserIdInt int userId) { in RunningActivityInfo() argument
112 this.userId = userId; in RunningActivityInfo()
123 + ",userId:" + userId + ",isVisible:" + isVisible in toString()
167 int userId = UserHandle.getUserId(uid);
175 if (info.userId == userId) {
177 + ",user:" + userId + ",action:" + action);
318 if (info == null || !isUserAllowedToLaunchActivity(info.userId)) { in clearRunningActivitiesLocked()
422 if (isUserAllowedToLaunchActivity(activityInfo.userId)) { in launchIfNecessary()
450 if (info != null && info.userId == ActivityManager.getCurrentUser()) { in launchIfNecessary()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DInitialUserSetterTest.java1001 private void setLastActiveUser(@UserIdInt int userId) { in setLastActiveUser() argument
1002 putSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID, userId); in setLastActiveUser()
1005 private void setLastPersistentActiveUser(@UserIdInt int userId) { in setLastPersistentActiveUser() argument
1006 putSettingsInt(CarSettings.Global.LAST_ACTIVE_PERSISTENT_USER_ID, userId); in setLastPersistentActiveUser()
1009 private void setDefaultBootUserOverride(@UserIdInt int userId) { in setDefaultBootUserOverride() argument
1010 doReturn(Optional.of(userId)).when(() -> CarProperties.boot_user_override_id()); in setDefaultBootUserOverride()
1013 private UserInfo expectHasInitialUser(@UserIdInt int userId) { in expectHasInitialUser() argument
1014 return expectHasInitialUser(userId, /* supportsOverrideUserIdProperty= */ false); in expectHasInitialUser()
1017 private UserInfo expectHasInitialUser(@UserIdInt int userId, in expectHasInitialUser() argument
1019 return expectHasInitialUser(userId, /* isGuest= */ false, supportsOverrideUserIdProperty); in expectHasInitialUser()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/
DRedactNotificationPreferenceController.java90 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in displayPreference() local
92 if (userId != UserHandle.USER_NULL) { in displayPreference()
93 mPreference.setDisabledByAdmin(getEnforcedAdmin(userId)); in displayPreference()
99 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in isChecked() local
102 return getAllowPrivateNotifications(userId); in isChecked()
107 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in setChecked() local
111 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, isChecked ? 1 : 0, userId); in setChecked()
123 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in getAvailabilityStatus() local
130 if (!utils.isSecure(userId)) { in getAvailabilityStatus()
135 if (!getLockscreenNotificationsEnabled(userId)) { in getAvailabilityStatus()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDocumentInfo.java60 public UserId userId; field in DocumentInfo
80 userId = UserId.UNSPECIFIED_USER; in reset()
98 userId = UserId.read(in); in read()
101 userId = UserId.CURRENT_USER; in read()
124 UserId.write(out, userId); in write()
163 final UserId userId = UserId.of(getCursorInt(cursor, RootCursorWrapper.COLUMN_USER_ID)); in fromDirectoryCursor() local
165 return fromCursor(cursor, userId, authority); in fromDirectoryCursor()
168 public static DocumentInfo fromCursor(Cursor cursor, UserId userId, String authority) { in fromCursor() argument
171 info.updateFromCursor(cursor, userId, authority); in fromCursor()
175 public void updateFromCursor(Cursor cursor, UserId userId, String authority) { in updateFromCursor() argument
[all …]
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/
DUserHelperTest.java62 int userId = 20; in testDefaultNonAdminRestrictions() local
63 UserInfo newNonAdmin = newUser(userId); in testDefaultNonAdminRestrictions()
68 UserManager.DISALLOW_FACTORY_RESET, /* enable= */ true, UserHandle.of(userId)); in testDefaultNonAdminRestrictions()
73 int userId = 20; in testDefaultNonAdminRestrictions_nullContext_throwsException() local
74 UserInfo newNonAdmin = newUser(userId); in testDefaultNonAdminRestrictions_nullContext_throwsException()
90 int userId = 20; in testAssignDefaultIcon() local
91 UserInfo newNonAdmin = newUser(userId); in testAssignDefaultIcon()
95 verify(mUserManager).setUserIcon(userId, bitmap); in testAssignDefaultIcon()
100 int userId = 20; in testAssignDefaultIcon_nullContext_throwsException() local
101 UserInfo newNonAdmin = newUser(userId); in testAssignDefaultIcon_nullContext_throwsException()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowContentResolver.java58 protected static SyncAdapterType[] getSyncAdapterTypesAsUser(int userId) { in getSyncAdapterTypesAsUser() argument
63 protected static int getIsSyncableAsUser(Account account, String authority, int userId) { in getIsSyncableAsUser() argument
69 int userId) { in getSyncAutomaticallyAsUser() argument
74 protected static boolean getMasterSyncAutomaticallyAsUser(int userId) { in getMasterSyncAutomaticallyAsUser() argument
75 return sMasterSyncAutomatically.getOrDefault(userId, true); in getMasterSyncAutomaticallyAsUser()
79 protected static List<SyncInfo> getCurrentSyncsAsUser(@UserIdInt int userId) { in getCurrentSyncsAsUser() argument
85 @UserIdInt int userId) { in getSyncStatusAsUser() argument
100 boolean sync, @UserIdInt int userId) { in setSyncAutomaticallyAsUser() argument
105 protected static void setMasterSyncAutomaticallyAsUser(boolean sync, @UserIdInt int userId) { in setMasterSyncAutomaticallyAsUser() argument
106 sMasterSyncAutomatically.put(userId, sync); in setMasterSyncAutomaticallyAsUser()
[all …]
DShadowAccountManager.java40 protected Account[] getAccountsAsUser(int userId) { in getAccountsAsUser() argument
41 if (mAccountsAsUserMap.containsKey(userId)) { in getAccountsAsUser()
42 return mAccountsAsUserMap.get(userId).toArray(new Account[]{}); in getAccountsAsUser()
47 public void addAccountAsUser(int userId, Account account) { in addAccountAsUser() argument
48 mAccountsAsUserMap.putIfAbsent(userId, new ArrayList<>()); in addAccountAsUser()
49 mAccountsAsUserMap.get(userId).add(account); in addAccountAsUser()
58 protected AuthenticatorDescription[] getAuthenticatorTypesAsUser(int userId) { in getAuthenticatorTypesAsUser() argument
59 if (mAuthenticatorAsUserMap.containsKey(userId)) { in getAuthenticatorTypesAsUser()
60 return mAuthenticatorAsUserMap.get(userId).toArray(new AuthenticatorDescription[]{}); in getAuthenticatorTypesAsUser()
65 public void addAuthenticatorAsUser(int userId, AuthenticatorDescription authenticator) { in addAuthenticatorAsUser() argument
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/
DNonRequiredAppsLogic.java98 public Set<String> getSystemAppsToRemove(int userId) { in getSystemAppsToRemove() argument
99 if (!shouldDeleteSystemApps(userId)) { in getSystemAppsToRemove()
106 mUtils, mContext, userId); in getSystemAppsToRemove()
113 deviceAdminComponentName, userId, mParams.provisioningAction); in getSystemAppsToRemove()
117 filterOutSystemAppsFromOta(packagesToDelete, userId); in getSystemAppsToRemove()
124 private void filterOutSystemAppsFromOta(Set<String> packagesToDelete, int userId) { in filterOutSystemAppsFromOta() argument
126 Set<String> newSystemApps = mUtils.getCurrentSystemApps(mIPackageManager, userId); in filterOutSystemAppsFromOta()
129 newSystemApps.removeAll(mSnapshot.getSnapshot(userId)); in filterOutSystemAppsFromOta()
134 public void maybeTakeSystemAppsSnapshot(int userId) { in maybeTakeSystemAppsSnapshot() argument
135 if (shouldDeleteSystemApps(userId)) { in maybeTakeSystemAppsSnapshot()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java156 public int userId = UserHandle.USER_NULL; field in CarOccupantZoneService.OccupantConfig
165 b.append(userId); in toString()
289 public boolean assignUserToOccupantZone(@UserIdInt int userId, int zoneId) { in init()
294 if (config.userId == userId && zoneId != mActiveOccupantConfigs.keyAt(i)) { in init()
304 if (zoneConfig.userId != UserHandle.USER_NULL && zoneConfig.userId != userId) { in init()
308 zoneConfig.userId = userId; in init()
314 public boolean unassignUserFromOccupantZone(@UserIdInt int userId) { in init()
318 if (config.userId == userId) { in init()
319 config.userId = UserHandle.USER_NULL; in init()
514 if (config.userId == driverUserId) { in findDisplayForDriverLocked()
[all …]
/packages/services/Car/car-test-lib/src/android/car/test/util/
DUserTestingHelper.java42 public static UserInfo newUser(@UserIdInt int userId) { in newUser() argument
43 return new UserInfoBuilder(userId).build(); in newUser()
68 public static UserInfo newSecondaryUser(@UserIdInt int userId) { in newSecondaryUser() argument
69 return new UserInfoBuilder(userId).setType(UserManager.USER_TYPE_FULL_SECONDARY).build(); in newSecondaryUser()
76 public static UserInfo newGuestUser(@UserIdInt int userId, boolean ephemeral) { in newGuestUser() argument
77 return new UserInfoBuilder(userId).setGuest(true).setEphemeral(ephemeral).build(); in newGuestUser()
84 public static UserInfo newGuestUser(@UserIdInt int userId) { in newGuestUser() argument
85 return new UserInfoBuilder(userId).setGuest(true).build(); in newGuestUser()
106 public static void setUserLockCredentials(@UserIdInt int userId, int pin) { in setUserLockCredentials() argument
107 runShellCommand("locksettings set-pin %s --user %d ", pin, userId); in setUserLockCredentials()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountDetailsWithSyncStatusPreferenceController.java91 int userId = getUserHandle().getIdentifier(); in isSyncFailing() local
92 List<SyncInfo> currentSyncs = getCurrentSyncs(userId); in isSyncFailing()
101 userId); in isSyncFailing()
103 authority, userId); in isSyncFailing()
135 int userId = getUserHandle().getIdentifier(); in requestSyncForEnabledProviders() local
140 requestSync(adapter.authority, userId); in requestSyncForEnabledProviders()
145 int userId = getUserHandle().getIdentifier(); in cancelSyncForEnabledProviders() local
150 cancelSync(adapter.authority, userId); in cancelSyncForEnabledProviders()
155 List<SyncInfo> getCurrentSyncs(int userId) { in getCurrentSyncs() argument
156 return ContentResolver.getCurrentSyncsAsUser(userId); in getCurrentSyncs()
[all …]

12345678910>>...21