Lines Matching defs:userId

146     public boolean isDefaultServiceForAid(int userId, ComponentName service, String aid) {
150 serviceFound = mServiceCache.hasService(userId, service);
159 mServiceCache.invalidateCache(userId);
176 public boolean setDefaultServiceForCategory(int userId, ComponentName service,
186 if (service == null || mServiceCache.hasService(userId, service)) {
189 service != null ? service.flattenToString() : null, userId);
197 public boolean isDefaultServiceForCategory(int userId, String category,
206 serviceFound = mServiceCache.hasService(userId, service);
210 mServiceCache.invalidateCache(userId);
213 getDefaultServiceForCategory(userId, category, true);
217 ComponentName getDefaultServiceForCategory(int userId, String category,
227 userId);
233 return mServiceCache.hasService(userId, service) ? service : null;
241 public List<ApduServiceInfo> getServicesForCategory(int userId, String category) {
242 return mServiceCache.getServicesForCategory(userId, category);
245 public boolean setDefaultForNextTap(int userId, ComponentName service) {
416 boolean updateFromSettingsLocked(int userId) {
420 userId);
487 void onPaymentDefaultRemoved(int userId, List<ApduServiceInfo> services) {
501 setDefaultServiceForCategory(userId, null,
506 setDefaultServiceForCategory(userId, lastFoundPaymentService,
512 setDefaultServiceForCategory(userId, null,
518 void setDefaultIfNeededLocked(int userId, List<ApduServiceInfo> services) {
533 setDefaultServiceForCategory(userId, lastFoundPaymentService,
541 void checkDefaultsLocked(int userId, List<ApduServiceInfo> services) {
543 getDefaultServiceForCategory(userId, CardEmulation.CATEGORY_PAYMENT, false);
547 ApduServiceInfo serviceInfo = mServiceCache.getService(userId, defaultPaymentService);
550 onPaymentDefaultRemoved(userId, services);
553 onPaymentDefaultRemoved(userId, services);
561 setDefaultIfNeededLocked(userId, services);
563 updateFromSettingsLocked(userId);
567 public void onServicesUpdated(int userId, List<ApduServiceInfo> services) {
569 if (ActivityManager.getCurrentUser() == userId) {
571 checkDefaultsLocked(userId, services);