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.java145 AuthorizedWorkSourceProvider workSourceProvider) { in SettingsObserver() argument
151 mWorkSourceProvider = workSourceProvider; in SettingsObserver()
321 AuthorizedWorkSourceProvider workSourceProvider) { in BinderCallsStatsService() argument
323 mWorkSourceProvider = workSourceProvider; in BinderCallsStatsService()
/frameworks/base/core/java/android/os/
DBinder.java1416 public static void setWorkSourceProvider(BinderInternal.WorkSourceProvider workSourceProvider) { in setWorkSourceProvider() argument
1417 if (workSourceProvider == null) { in setWorkSourceProvider()
1420 sWorkSourceProvider = workSourceProvider; in setWorkSourceProvider()