Searched refs:workSourceProvider (Results 1 – 3 of 3) sorted by relevance
39 AuthorizedWorkSourceProvider workSourceProvider = new AuthorizedWorkSourceProvider() { in weTrustOurselves() local44 workSourceProvider.systemReady(InstrumentationRegistry.getContext()); in weTrustOurselves()46 assertEquals(1, workSourceProvider.resolveWorkSourceUid(1)); in weTrustOurselves()51 AuthorizedWorkSourceProvider workSourceProvider = new AuthorizedWorkSourceProvider() { in workSourceSetIfCallerHasPermission() local57 workSourceProvider.systemReady(InstrumentationRegistry.getContext()); in workSourceSetIfCallerHasPermission()59 assertEquals(1, workSourceProvider.resolveWorkSourceUid(1)); in workSourceSetIfCallerHasPermission()64 AuthorizedWorkSourceProvider workSourceProvider = new AuthorizedWorkSourceProvider() { in workSourceResolvedToCallingUid() local70 workSourceProvider.systemReady(InstrumentationRegistry.getContext()); in workSourceResolvedToCallingUid()72 assertEquals(Integer.MAX_VALUE, workSourceProvider.resolveWorkSourceUid(1)); in workSourceResolvedToCallingUid()
145 AuthorizedWorkSourceProvider workSourceProvider) { in SettingsObserver() argument151 mWorkSourceProvider = workSourceProvider; in SettingsObserver()321 AuthorizedWorkSourceProvider workSourceProvider) { in BinderCallsStatsService() argument323 mWorkSourceProvider = workSourceProvider; in BinderCallsStatsService()
1416 public static void setWorkSourceProvider(BinderInternal.WorkSourceProvider workSourceProvider) { in setWorkSourceProvider() argument1417 if (workSourceProvider == null) { in setWorkSourceProvider()1420 sWorkSourceProvider = workSourceProvider; in setWorkSourceProvider()