Home
last modified time | relevance | path

Searched refs:mCallerIdentityInjector (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/timezonedetector/
DTimeZoneDetectorService.java123 private final CallerIdentityInjector mCallerIdentityInjector; field in TimeZoneDetectorService
149 mCallerIdentityInjector = Objects.requireNonNull(callerIdentityInjector); in TimeZoneDetectorService()
161 int userId = mCallerIdentityInjector.getCallingUserId(); in getCapabilitiesAndConfig()
170 mCallerIdentityInjector.resolveUserId(userId, "getCapabilitiesAndConfig"); in getCapabilitiesAndConfig()
172 final long token = mCallerIdentityInjector.clearCallingIdentity(); in getCapabilitiesAndConfig()
178 mCallerIdentityInjector.restoreCallingIdentity(token); in getCapabilitiesAndConfig()
184 int callingUserId = mCallerIdentityInjector.getCallingUserId(); in updateConfiguration()
191 int resolvedUserId = mCallerIdentityInjector.resolveUserId(userId, "updateConfiguration"); in updateConfiguration()
197 final long token = mCallerIdentityInjector.clearCallingIdentity(); in updateConfiguration()
203 mCallerIdentityInjector.restoreCallingIdentity(token); in updateConfiguration()
[all …]
/frameworks/base/services/core/java/com/android/server/timedetector/
DTimeDetectorService.java108 @NonNull private final CallerIdentityInjector mCallerIdentityInjector; field in TimeDetectorService
127 mCallerIdentityInjector = Objects.requireNonNull(callerIdentityInjector); in TimeDetectorService()
140 int userId = mCallerIdentityInjector.getCallingUserId(); in getCapabilitiesAndConfig()
147 final long token = mCallerIdentityInjector.clearCallingIdentity(); in getTimeCapabilitiesAndConfig()
152 mCallerIdentityInjector.restoreCallingIdentity(token); in getTimeCapabilitiesAndConfig()
158 int callingUserId = mCallerIdentityInjector.getCallingUserId(); in updateConfiguration()
167 int resolvedUserId = mCallerIdentityInjector.resolveUserId(userId, "updateConfiguration"); in updateConfiguration()
173 final long token = mCallerIdentityInjector.clearCallingIdentity(); in updateConfiguration()
179 mCallerIdentityInjector.restoreCallingIdentity(token); in updateConfiguration()
280 final long token = mCallerIdentityInjector.clearCallingIdentity(); in getTimeState()
[all …]