/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/ |
D | PrivacyDialogV2Test.kt | 84 @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 …]
|
D | PrivacyDialogControllerV2Test.kt | 112 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/ |
D | PrivacyDialogControllerV2.kt | 51 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,
|
D | PrivacyDialogV2.kt | 64 private val manageApp: (String, Int, Intent) -> Unit, in <lambda>() constant 267 manageApp(element.packageName, element.userId, element.navigationIntent) in <lambda>()
|