Home
last modified time | relevance | path

Searched refs:mSafetyCenterManager (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/network/telephony/
DCellularSecurityNotificationsDividerController.java42 protected SafetyCenterManager mSafetyCenterManager; field in CellularSecurityNotificationsDividerController
54 mSafetyCenterManager = mContext.getSystemService(SafetyCenterManager.class); in CellularSecurityNotificationsDividerController()
95 mSafetyCenterManager = mContext.getSystemService( in isSafetyCenterSupported()
97 if (mSafetyCenterManager == null) { in isSafetyCenterSupported()
100 return mSafetyCenterManager.isSafetyCenterEnabled(); in isSafetyCenterSupported()
DCellularSecurityNotificationsPreferenceController.java41 protected SafetyCenterManager mSafetyCenterManager; field in CellularSecurityNotificationsPreferenceController
53 mSafetyCenterManager = mContext.getSystemService(SafetyCenterManager.class); in CellularSecurityNotificationsPreferenceController()
183 mSafetyCenterManager = mContext.getSystemService( in isSafetyCenterSupported()
185 if (mSafetyCenterManager == null) { in isSafetyCenterSupported()
188 return mSafetyCenterManager.isSafetyCenterEnabled(); in isSafetyCenterSupported()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterShellCommandHandler.java54 private final ISafetyCenterManager mSafetyCenterManager; field in SafetyCenterShellCommandHandler
62 mSafetyCenterManager = safetyCenterManager; in SafetyCenterShellCommandHandler()
102 getOutPrintWriter().println(mSafetyCenterManager.isSafetyCenterEnabled()); in onEnabled()
129 mSafetyCenterManager.refreshSafetySources(reason, userId); in onRefresh()
156 mSafetyCenterManager.clearAllSafetySourceDataForTests(); in onClearData()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DSafetyCenterActivity.java81 private SafetyCenterManager mSafetyCenterManager; field in SafetyCenterActivity
86 mSafetyCenterManager = getSystemService(SafetyCenterManager.class); in onCreate()
192 if (mSafetyCenterManager == null || !mSafetyCenterManager.isSafetyCenterEnabled()) { in maybeRedirectIfDisabled()
309 SafetyCenterConfig safetyCenterConfig = mSafetyCenterManager.getSafetyCenterConfig(); in getParentGroupId()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DCellularSecurityNotificationsDividerControllerTest.java71 SafetyCenterManager mSafetyCenterManager = InstrumentationRegistry.getInstrumentation() in setUp() local
73 Assume.assumeTrue(mSafetyCenterManager != null); in setUp()
74 Assume.assumeTrue(mSafetyCenterManager.isSafetyCenterEnabled()); in setUp()
DCellularSecurityNotificationsPreferenceControllerTest.java72 SafetyCenterManager mSafetyCenterManager = InstrumentationRegistry.getInstrumentation() in setUp() local
74 Assume.assumeTrue(mSafetyCenterManager != null); in setUp()
75 Assume.assumeTrue(mSafetyCenterManager.isSafetyCenterEnabled()); in setUp()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DCellularSecurityPreferenceControllerTest.java76 SafetyCenterManager mSafetyCenterManager = InstrumentationRegistry.getInstrumentation() in setUp() local
78 Assume.assumeTrue(mSafetyCenterManager != null); in setUp()
79 Assume.assumeTrue(mSafetyCenterManager.isSafetyCenterEnabled()); in setUp()