Home
last modified time | relevance | path

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

/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterUnsupportedTest.kt49 import com.android.safetycenter.testing.SafetyCenterTestListener
154 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()
DSafetyCenterManagerTest.kt77 import com.android.safetycenter.testing.SafetyCenterTestListener
1660 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()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterTestHelper.kt52 private val listeners = mutableListOf<SafetyCenterTestListener>()
116 fun addListener(skipInitialData: Boolean = true): SafetyCenterTestListener { in addListener()
119 val listener = SafetyCenterTestListener() in addListener()
DSafetyCenterTestListener.kt39 class SafetyCenterTestListener : OnSafetyCenterDataChangedListener { class