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()
139 AuthorizedWorkSourceProvider workSourceProvider) { in SettingsObserver() argument145 mWorkSourceProvider = workSourceProvider; in SettingsObserver()283 AuthorizedWorkSourceProvider workSourceProvider) { in BinderCallsStatsService() argument285 mWorkSourceProvider = workSourceProvider; in BinderCallsStatsService()
1007 public static void setWorkSourceProvider(BinderInternal.WorkSourceProvider workSourceProvider) { in setWorkSourceProvider() argument1008 if (workSourceProvider == null) { in setWorkSourceProvider()1011 sWorkSourceProvider = workSourceProvider; in setWorkSourceProvider()