Searched refs:callingUser (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 495 private SettingsCache getOrConstructCache(int callingUser, SparseArray<SettingsCache> which) { in getOrConstructCache() argument 496 getOrEstablishDatabase(callingUser); // ignore return value; we don't need it in getOrConstructCache() 497 return which.get(callingUser); in getOrConstructCache() 501 private DatabaseHelper getOrEstablishDatabase(int callingUser) { in getOrEstablishDatabase() argument 504 DatabaseHelper dbHelper = mOpenHelpers.get(callingUser); in getOrEstablishDatabase() 506 establishDbTracking(callingUser); in getOrEstablishDatabase() 507 dbHelper = mOpenHelpers.get(callingUser); in getOrEstablishDatabase() 515 public SettingsCache cacheForTable(final int callingUser, String tableName) { in cacheForTable() argument 517 return getOrConstructCache(callingUser, sSystemCaches); in cacheForTable() 520 return getOrConstructCache(callingUser, sSecureCaches); in cacheForTable() [all …]
|
/frameworks/base/services/java/com/android/server/am/ |
D | ActiveServices.java | 132 ServiceRecord getServiceByName(ComponentName name, int callingUser) { in getServiceByName() argument 135 Slog.v(TAG_MU, "getServiceByName(" + name + "), callingUser = " + callingUser); in getServiceByName() 136 return getServices(callingUser).get(name); in getServiceByName() 143 ServiceRecord getServiceByIntent(Intent.FilterComparison filter, int callingUser) { in getServiceByIntent() argument 146 Slog.v(TAG_MU, "getServiceByIntent(" + filter + "), callingUser = " + callingUser); in getServiceByIntent() 147 return getServicesByIntent(callingUser).get(filter); in getServiceByIntent() 154 void putServiceByName(ComponentName name, int callingUser, ServiceRecord value) { in putServiceByName() argument 156 getServices(callingUser).put(name, value); in putServiceByName() 159 void putServiceByIntent(Intent.FilterComparison filter, int callingUser, in putServiceByIntent() argument 162 getServicesByIntent(callingUser).put(filter, value); in putServiceByIntent() [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | BluetoothManagerService.java | 1024 int callingUser = UserHandle.getCallingUserId(); in checkIfCallerIsForegroundUser() local 1031 valid = (callingUser == foregroundUser) || in checkIfCallerIsForegroundUser() 1035 + " callingUser=" + callingUser in checkIfCallerIsForegroundUser()
|
/frameworks/base/core/java/android/content/ |
D | ContentService.java | 157 final int callingUser = UserHandle.getCallingUserId(); in registerContentObserver() local 158 if (callingUser != userHandle) { in registerContentObserver()
|