Searched refs:SafetyCenterTestListener (Results 1 – 4 of 4) sorted by relevance
49 import com.android.safetycenter.testing.SafetyCenterTestListener154 val listener = SafetyCenterTestListener() in reportSafetySourceError_doesntCallListener()259 val listener = SafetyCenterTestListener() in addOnSafetyCenterDataChangedListener_listenerNotCalled()273 val listener = SafetyCenterTestListener() in addOnSafetyCenterDataChangedListener_withoutPermission_throwsSecurityException()285 val listener = SafetyCenterTestListener() in removeOnSafetyCenterDataChangedListener_listenerNotCalled()300 val listener = SafetyCenterTestListener() in removeOnSafetyCenterDataChangedListener_withoutPermission_throwsSecurityException()321 val listener = SafetyCenterTestListener() in dismissSafetyCenterIssue_doesntCallListenerOrDismiss()353 val listener = SafetyCenterTestListener() in executeSafetyCenterIssueAction_doesntCallListenerOrExecute()
77 import com.android.safetycenter.testing.SafetyCenterTestListener1660 val listener = SafetyCenterTestListener() in addOnSafetyCenterDataChangedListener_oneShot_doesntDeadlock()1684 val listener = SafetyCenterTestListener() in addOnSafetyCenterDataChangedListener_withFlagDisabled_listenerNotCalled()1697 val listener = SafetyCenterTestListener() in addOnSafetyCenterDataChangedListener_withoutPermission_throwsSecurityException()1723 val listener = SafetyCenterTestListener() in removeOnSafetyCenterDataChangedListener_listenerNeverCalledAfterRemoving()
52 private val listeners = mutableListOf<SafetyCenterTestListener>()116 fun addListener(skipInitialData: Boolean = true): SafetyCenterTestListener { in addListener()119 val listener = SafetyCenterTestListener() in addListener()
39 class SafetyCenterTestListener : OnSafetyCenterDataChangedListener { class