Searched refs:PrivateSpaceSafetySource (Results 1 – 4 of 4) sorted by relevance
22 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()
31 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()
42 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()
33 public final class PrivateSpaceSafetySource { class37 private PrivateSpaceSafetySource() {} in PrivateSpaceSafetySource() method in PrivateSpaceSafetySource