Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyDialogV2Test.kt84 @Mock private lateinit var manageApp: (String, Int, Intent) -> Unit in createPrivacyElement() variable in com.android.systemui.privacy.PrivacyDialogV2Test
104 dialog = PrivacyDialogV2(context, list, manageApp, closeApp, openPrivacyDashboard) in testManageAppCalledWithCorrectParams()
109 verify(manageApp).invoke(TEST_PACKAGE_NAME, TEST_USER_ID, TEST_INTENT) in testManageAppCalledWithCorrectParams()
115 dialog = PrivacyDialogV2(context, list, manageApp, closeApp, openPrivacyDashboard) in testCloseAppCalledWithCorrectParams()
126 dialog = PrivacyDialogV2(context, list, manageApp, closeApp, openPrivacyDashboard) in testCloseAppMissingForService()
136 dialog = PrivacyDialogV2(context, emptyList(), manageApp, closeApp, openPrivacyDashboard) in testMoreButton()
146 dialog = PrivacyDialogV2(context, emptyList(), manageApp, closeApp, openPrivacyDashboard) in testCloseButton()
159 dialog = PrivacyDialogV2(context, emptyList(), manageApp, closeApp, openPrivacyDashboard) in testDismissListenerCalledOnDismiss()
172 dialog = PrivacyDialogV2(context, emptyList(), manageApp, closeApp, openPrivacyDashboard) in testDismissListenerCalledImmediatelyIfDialogAlreadyDismissed()
189 dialog = PrivacyDialogV2(context, list, manageApp, closeApp, openPrivacyDashboard) in testCorrectNumElements()
[all …]
DPrivacyDialogControllerV2Test.kt112 var manageApp: ((String, Int, Intent) -> Unit)? = null in <lambda>() variable in com.android.systemui.privacy.PrivacyDialogControllerV2Test
119 manageApp: (String, Int, Intent) -> Unit, in <lambda>()
124 this.manageApp = manageApp in <lambda>()
160 dialogProvider.manageApp = null in <lambda>()
500 dialogProvider.manageApp?.invoke(TEST_PACKAGE_NAME, USER_ID, TEST_INTENT) in <lambda>()
515 dialogProvider.manageApp?.invoke(TEST_PACKAGE_NAME, USER_ID, TEST_INTENT) in <lambda>()
543 dialogProvider.manageApp?.invoke(TEST_PACKAGE_NAME, USER_ID, TEST_INTENT) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyDialogControllerV2.kt51 manageApp: (String, Int, Intent) -> Unit, in <lambda>()
55 return PrivacyDialogV2(context, list, manageApp, closeApp, openPrivacyDashboard) in <lambda>()
138 private fun manageApp(packageName: String, userId: Int, navigationIntent: Intent) { in manageApp() method
285 this::manageApp, in showDialog()
389 manageApp: (String, Int, Intent) -> Unit,
DPrivacyDialogV2.kt64 private val manageApp: (String, Int, Intent) -> Unit, in <lambda>() constant
267 manageApp(element.packageName, element.userId, element.navigationIntent) in <lambda>()