Home
last modified time | relevance | path

Searched refs:workSourceProvider (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DBinderCallsStatsServiceTest.java39 AuthorizedWorkSourceProvider workSourceProvider = new AuthorizedWorkSourceProvider() { in weTrustOurselves() local
44 workSourceProvider.systemReady(InstrumentationRegistry.getContext()); in weTrustOurselves()
46 assertEquals(1, workSourceProvider.resolveWorkSourceUid(1)); in weTrustOurselves()
51 AuthorizedWorkSourceProvider workSourceProvider = new AuthorizedWorkSourceProvider() { in workSourceSetIfCallerHasPermission() local
57 workSourceProvider.systemReady(InstrumentationRegistry.getContext()); in workSourceSetIfCallerHasPermission()
59 assertEquals(1, workSourceProvider.resolveWorkSourceUid(1)); in workSourceSetIfCallerHasPermission()
64 AuthorizedWorkSourceProvider workSourceProvider = new AuthorizedWorkSourceProvider() { in workSourceResolvedToCallingUid() local
70 workSourceProvider.systemReady(InstrumentationRegistry.getContext()); in workSourceResolvedToCallingUid()
72 assertEquals(Integer.MAX_VALUE, workSourceProvider.resolveWorkSourceUid(1)); in workSourceResolvedToCallingUid()
/frameworks/base/services/core/java/com/android/server/
DBinderCallsStatsService.java139 AuthorizedWorkSourceProvider workSourceProvider) { in SettingsObserver() argument
145 mWorkSourceProvider = workSourceProvider; in SettingsObserver()
283 AuthorizedWorkSourceProvider workSourceProvider) { in BinderCallsStatsService() argument
285 mWorkSourceProvider = workSourceProvider; in BinderCallsStatsService()
/frameworks/base/core/java/android/os/
DBinder.java1007 public static void setWorkSourceProvider(BinderInternal.WorkSourceProvider workSourceProvider) { in setWorkSourceProvider() argument
1008 if (workSourceProvider == null) { in setWorkSourceProvider()
1011 sWorkSourceProvider = workSourceProvider; in setWorkSourceProvider()