Home
last modified time | relevance | path

Searched refs:mSystemConfigManager (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/
DApplicationFeatureProviderImpl.java62 private final SystemConfigManager mSystemConfigManager; field in ApplicationFeatureProviderImpl
81 mSystemConfigManager = context.getSystemService(SystemConfigManager.class); in ApplicationFeatureProviderImpl()
191 keepEnabledPackages.addAll(mSystemConfigManager.getPreventUserDisablePackages()); in getKeepEnabledPackages()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DApplicationFeatureProviderImplTest.java116 private SystemConfigManager mSystemConfigManager; field in ApplicationFeatureProviderImplTest
129 when(mContext.getSystemService(SystemConfigManager.class)).thenReturn(mSystemConfigManager); in setUp()
419 when(mSystemConfigManager.getPreventUserDisablePackages()) in getKeepEnabledPackages_shouldContainPreventUserDisablePackages()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DPermissionMonitor.java98 private final SystemConfigManager mSystemConfigManager; field in PermissionMonitor
276 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()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DPermissionMonitorTest.java169 @Mock private SystemConfigManager mSystemConfigManager; field in PermissionMonitorTest
187 .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()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java639 @Mock SystemConfigManager mSystemConfigManager; field in ConnectivityServiceTest
771 if (Context.SYSTEM_CONFIG_SERVICE.equals(name)) return mSystemConfigManager; in getSystemService()
1886 doReturn(new int[0]).when(mSystemConfigManager).getSystemPermissionUids(anyString()); in setUp()