Home
last modified time | relevance | path

Searched refs:SafetyCenterManagerWrapper (Results 1 – 25 of 39) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/safetycenter/
DSafetyCenterManagerWrapper.java30 public class SafetyCenterManagerWrapper { class
40 public static SafetyCenterManagerWrapper sInstance;
42 private SafetyCenterManagerWrapper() {} in SafetyCenterManagerWrapper() method in SafetyCenterManagerWrapper
45 public static SafetyCenterManagerWrapper get() { in get()
47 sInstance = new SafetyCenterManagerWrapper(); in get()
DBiometricsSafetySource.java52 if (!SafetyCenterManagerWrapper.get().isEnabled(context)) { in setSafetySourceData()
70 SafetyCenterManagerWrapper.get().setSafetySourceData( in setSafetySourceData()
182 SafetyCenterManagerWrapper.get() in setSafetySourceData()
216 SafetyCenterManagerWrapper.get() in setBiometricSafetySourceData()
DLockScreenSafetySource.java56 if (!SafetyCenterManagerWrapper.get().isEnabled(context)) { in setSafetySourceData()
66 SafetyCenterManagerWrapper.get() in setSafetySourceData()
112 SafetyCenterManagerWrapper.get() in setSafetySourceData()
/packages/apps/Settings/src/com/android/settings/privatespace/
DPrivateSpaceSafetySource.java30 import com.android.settings.safetycenter.SafetyCenterManagerWrapper;
42 if (!SafetyCenterManagerWrapper.get().isEnabled(context)) { in setSafetySourceData()
72 SafetyCenterManagerWrapper.get().setSafetySourceData( in setSafetySourceData()
92 SafetyCenterManagerWrapper.get().setSafetySourceData( in setSafetySourceData()
/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/
DWorkPolicyInfoPreferenceControllerTest.java34 import com.android.settings.safetycenter.SafetyCenterManagerWrapper;
57 SafetyCenterManagerWrapper.sInstance = mock(SafetyCenterManagerWrapper.class); in setUp()
80 when(SafetyCenterManagerWrapper.get().isEnabled(mContext)).thenReturn(true); in getAvailabilityStatus_safetyCenterEnabled_shouldReturnUnsupported()
/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/
DSafetyCenterManagerWrapperTest.java43 SafetyCenterManagerWrapper.sInstance = null; in setUp()
48 assertThat(SafetyCenterManagerWrapper.get().isEnabled(null)).isFalse(); in isEnabled_whenContextNull_returnsFalse()
55 assertThat(SafetyCenterManagerWrapper.get().isEnabled(mContext)).isFalse(); in isEnabled_whenSystemServiceNull_returnsFalse()
DTopLevelSafetyCenterEntryPreferenceControllerTest.java56 private SafetyCenterManagerWrapper mSafetyCenterManagerWrapper;
63 SafetyCenterManagerWrapper.sInstance = mSafetyCenterManagerWrapper; in setUp()
80 SafetyCenterManagerWrapper.sInstance = null; in tearDown()
DMoreSecurityPrivacyFragmentSettingsTest.java51 private SafetyCenterManagerWrapper mSafetyCenterManagerWrapper;
62 SafetyCenterManagerWrapper.sInstance = mSafetyCenterManagerWrapper; in setUp()
/packages/apps/Settings/tests/unit/src/com/android/settings/privacy/
DTopLevelPrivacyEntryPreferenceControllerTest.java29 import com.android.settings.safetycenter.SafetyCenterManagerWrapper;
46 private SafetyCenterManagerWrapper mSafetyCenterManagerWrapper;
51 SafetyCenterManagerWrapper.sInstance = mSafetyCenterManagerWrapper; in setUp()
DPrivacyDashboardActivityTest.java36 import com.android.settings.safetycenter.SafetyCenterManagerWrapper;
50 private SafetyCenterManagerWrapper mSafetyCenterManagerWrapper;
58 SafetyCenterManagerWrapper.sInstance = mSafetyCenterManagerWrapper; in setUp()
102 SafetyCenterManagerWrapper.sInstance = mSafetyCenterManagerWrapper; in startActivityUsingIntent()
DPrivacyDashboardFragmentTest.java33 import com.android.settings.safetycenter.SafetyCenterManagerWrapper;
49 private SafetyCenterManagerWrapper mSafetyCenterManagerWrapper;
61 SafetyCenterManagerWrapper.sInstance = mSafetyCenterManagerWrapper; in setUp()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/safetycenter/
DSafetyCenterManagerWrapperTest.kt26 import com.android.healthconnect.controller.safetycenter.SafetyCenterManagerWrapper
40 lateinit var wrapper: SafetyCenterManagerWrapper
45 wrapper = SafetyCenterManagerWrapper() in setUp()
DHealthConnectSafetySourceTest.kt31 import com.android.healthconnect.controller.safetycenter.SafetyCenterManagerWrapper
44 private val mockSafetyCenterManagerWrapper = mock(SafetyCenterManagerWrapper::class.java)
/packages/apps/Settings/src/com/android/settings/security/
DSecurityAdvancedSettings.java28 import com.android.settings.safetycenter.SafetyCenterManagerWrapper;
69 } else if (SafetyCenterManagerWrapper.get().isEnabled(context)) { in getCategoryKey()
144 return !SafetyCenterManagerWrapper.get().isEnabled(context);
DTopLevelSecurityEntryPreferenceController.java27 import com.android.settings.safetycenter.SafetyCenterManagerWrapper;
41 if (!SafetyCenterManagerWrapper.get().isEnabled(mContext)) { in getAvailabilityStatus()
DSecuritySettings.java28 import com.android.settings.safetycenter.SafetyCenterManagerWrapper;
132 && !SafetyCenterManagerWrapper.get().isEnabled(context);
/packages/apps/Settings/tests/unit/src/com/android/settings/privatespace/
DPrivateSpaceSafetySourceTest.java44 import com.android.settings.safetycenter.SafetyCenterManagerWrapper;
61 @Mock private SafetyCenterManagerWrapper mSafetyCenterManagerWrapper;
69 SafetyCenterManagerWrapper.sInstance = mSafetyCenterManagerWrapper; in setUp()
75 SafetyCenterManagerWrapper.sInstance = null; in tearDown()
/packages/apps/Settings/src/com/android/settings/privacy/
DTopLevelPrivacyEntryPreferenceController.java24 import com.android.settings.safetycenter.SafetyCenterManagerWrapper;
35 if (!SafetyCenterManagerWrapper.get().isEnabled(mContext)) { in getAvailabilityStatus()
DWorkPolicyInfoPreferenceController.java27 import com.android.settings.safetycenter.SafetyCenterManagerWrapper;
44 return !SafetyCenterManagerWrapper.get().isEnabled(mContext) in getAvailabilityStatus()
DPrivacyDashboardFragment.java29 import com.android.settings.safetycenter.SafetyCenterManagerWrapper;
121 return !SafetyCenterManagerWrapper.get().isEnabled(context);
/packages/apps/Settings/tests/unit/src/com/android/settings/security/
DTopLevelSecurityEntryPreferenceControllerTest.java34 import com.android.settings.safetycenter.SafetyCenterManagerWrapper;
58 private SafetyCenterManagerWrapper mSafetyCenterManagerWrapper;
65 SafetyCenterManagerWrapper.sInstance = mSafetyCenterManagerWrapper; in setUp()
DSecurityAdvancedSettingsTest.java34 import com.android.settings.safetycenter.SafetyCenterManagerWrapper;
59 private SafetyCenterManagerWrapper mSafetyCenterManagerWrapper;
69 SafetyCenterManagerWrapper.sInstance = mSafetyCenterManagerWrapper; in setUp()
DSecurityDashboardActivityTest.java39 import com.android.settings.safetycenter.SafetyCenterManagerWrapper;
59 private SafetyCenterManagerWrapper mSafetyCenterManagerWrapper;
66 SafetyCenterManagerWrapper.sInstance = mSafetyCenterManagerWrapper; in setUp()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/fingerprint/
DFingerprintUpdaterTest.java36 import com.android.settings.safetycenter.SafetyCenterManagerWrapper;
60 @Mock private SafetyCenterManagerWrapper mSafetyCenterManagerWrapper;
74 SafetyCenterManagerWrapper.sInstance = mSafetyCenterManagerWrapper; in setUp()
/packages/apps/Settings/src/com/android/settings/
DSettings.java34 import com.android.settings.safetycenter.SafetyCenterManagerWrapper;
142 if (SafetyCenterManagerWrapper.get().isEnabled(this)) { in handleSafetyCenterRedirection()
200 if (SafetyCenterManagerWrapper.get().isEnabled(this)) { in handleMoreSettingsRedirection()
238 && SafetyCenterManagerWrapper.get().isEnabled(this)) { in handleSafetyCenterRedirection()

12