Home
last modified time | relevance | path

Searched refs:PrivateSpaceSafetySource (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/privatespace/
DPrivateSpaceSafetySourceTest.java22 import static com.android.settings.privatespace.PrivateSpaceSafetySource.SAFETY_SOURCE_ID;
83 PrivateSpaceSafetySource.setSafetySourceData(mContext, EVENT_TYPE_DEVICE_REBOOTED); in onDeviceRebootedEvent_whenSafetyCenterDisabled_doesNotSetData()
96 PrivateSpaceSafetySource.setSafetySourceData(mContext, EVENT_TYPE_DEVICE_REBOOTED); in onDeviceRebootedEvent_whenSafetyCenterEnabled_setsData()
109 PrivateSpaceSafetySource.setSafetySourceData(mContext, EVENT_TYPE_DEVICE_REBOOTED); in setSafetySourceData_whenFeatureDisabled_setsNullData()
125 PrivateSpaceSafetySource.setSafetySourceData(mContext, EVENT_TYPE_DEVICE_REBOOTED); in setSafetySourceData_setsEnabled()
142 PrivateSpaceSafetySource.setSafetySourceData(mContext, EVENT_TYPE_DEVICE_REBOOTED); in setSafetySourceData_setsPsAuthenticatorIntent()
165 PrivateSpaceSafetySource.setSafetySourceData(mMockContext, EVENT_TYPE_DEVICE_REBOOTED); in setSafetySourceData_whenNonMainUser_doesNotSendData()
/packages/apps/Settings/src/com/android/settings/safetycenter/
DSafetySourceBroadcastReceiver.java31 import com.android.settings.privatespace.PrivateSpaceSafetySource;
84 if (sourceIds.contains(PrivateSpaceSafetySource.SAFETY_SOURCE_ID)) { in refreshSafetySources()
85 PrivateSpaceSafetySource.setSafetySourceData(context, safetyEvent); in refreshSafetySources()
93 PrivateSpaceSafetySource.setSafetySourceData(context, safetyEvent); in refreshAllSafetySources()
/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/
DSafetySourceBroadcastReceiverTest.java42 import com.android.settings.privatespace.PrivateSpaceSafetySource;
235 new String[] {PrivateSpaceSafetySource.SAFETY_SOURCE_ID}) in onReceive_onRefresh_withPrivateSpaceSourceId_setsPrivateSpaceData()
243 assertThat(captor.getValue()).isEqualTo(PrivateSpaceSafetySource.SAFETY_SOURCE_ID); in onReceive_onRefresh_withPrivateSpaceSourceId_setsPrivateSpaceData()
258 new String[] {PrivateSpaceSafetySource.SAFETY_SOURCE_ID}) in onReceive_onRefresh_withPrivateSpaceFeatureDisabled_setsNullData()
300 id -> id.equals(PrivateSpaceSafetySource.SAFETY_SOURCE_ID))).isTrue(); in onReceive_onBootCompleted_sendsAllSafetySourcesData()
/packages/apps/Settings/src/com/android/settings/privatespace/
DPrivateSpaceSafetySource.java33 public final class PrivateSpaceSafetySource { class
37 private PrivateSpaceSafetySource() {} in PrivateSpaceSafetySource() method in PrivateSpaceSafetySource