Searched refs:mSystemConfigManager (Results 1 – 5 of 5) sorted by relevance
62 private final SystemConfigManager mSystemConfigManager; field in ApplicationFeatureProviderImpl81 mSystemConfigManager = context.getSystemService(SystemConfigManager.class); in ApplicationFeatureProviderImpl()191 keepEnabledPackages.addAll(mSystemConfigManager.getPreventUserDisablePackages()); in getKeepEnabledPackages()
116 private SystemConfigManager mSystemConfigManager; field in ApplicationFeatureProviderImplTest129 when(mContext.getSystemService(SystemConfigManager.class)).thenReturn(mSystemConfigManager); in setUp()419 when(mSystemConfigManager.getPreventUserDisablePackages()) in getKeepEnabledPackages_shouldContainPreventUserDisablePackages()
98 private final SystemConfigManager mSystemConfigManager; field in PermissionMonitor276 mSystemConfigManager = context.getSystemService(SystemConfigManager.class); in PermissionMonitor()396 for (final int uid : mSystemConfigManager.getSystemPermissionUids(INTERNET)) { in getSystemTrafficPerm()404 for (final int uid : mSystemConfigManager.getSystemPermissionUids(UPDATE_DEVICE_STATS)) { in getSystemTrafficPerm()
169 @Mock private SystemConfigManager mSystemConfigManager; field in PermissionMonitorTest187 .thenReturn(mSystemConfigManager); in setUp()192 when(mSystemConfigManager.getSystemPermissionUids(anyString())).thenReturn(new int[0]); in setUp()1248 when(mSystemConfigManager.getSystemPermissionUids(eq(INTERNET))) in testUpdateUidPermissionsFromSystemConfig()1250 when(mSystemConfigManager.getSystemPermissionUids(eq(UPDATE_DEVICE_STATS))) in testUpdateUidPermissionsFromSystemConfig()
639 @Mock SystemConfigManager mSystemConfigManager; field in ConnectivityServiceTest771 if (Context.SYSTEM_CONFIG_SERVICE.equals(name)) return mSystemConfigManager; in getSystemService()1886 doReturn(new int[0]).when(mSystemConfigManager).getSystemPermissionUids(anyString()); in setUp()