Home
last modified time | relevance | path

Searched refs:NavigationSource (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Permission/tests/hostside/safetycenter/src/android/safetycenter/hostside/
DSafetyCenterInteractionLoggingHostTest.kt27 import com.android.os.AtomsProto.SafetyCenterInteractionReported.NavigationSource
76 assertThat(navigationSource).isEqualTo(NavigationSource.SOURCE_UNKNOWN) in openSafetyCenter_recordsSafetyCenterViewedEvent()
89 assertThat(navigationSource).isEqualTo(NavigationSource.QUICK_SETTINGS_TILE) in openSafetyCenterQs_recordsSafetyCenterViewedEvent()
104 .containsEntry(ViewType.FULL, NavigationSource.QUICK_SETTINGS_TILE) in openSafetyCenterFullFromQs_recordsViewEventWithCorrectSource()
115 assertThat(navigationSource).isEqualTo(NavigationSource.NOTIFICATION) in openSafetyCenterWithIssueIntent_recordsViewEventWithAssociatedIssueMetadata()
134 assertThat(navigationSource).isEqualTo(NavigationSource.NOTIFICATION) in openSafetyCenterWithNotification_recordsViewEventWithAssociatedIssueMetadata()
166 assertThat(navigationSource).isEqualTo(NavigationSource.SOURCE_UNKNOWN) in openSubpageFromIntentExtra_recordsEventWithUnknownNavigationSource()
181 assertThat(subpageViewedEvent!!.navigationSource).isEqualTo(NavigationSource.SAFETY_CENTER) in openSubpageFromHomepage_recordsEventWithSafetyCenterNavigationSource()
196 assertThat(navigationSource).isEqualTo(NavigationSource.SETTINGS) in openSubpageFromSettingsSearch_recordsEventWithSettingsNavigationSource()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DInteractionLogger.kt49 var navigationSource: NavigationSource = NavigationSource.UNKNOWN
252 enum class NavigationSource(val statsLogValue: Int) { class
283 fun fromIntent(intent: Intent): NavigationSource = in fromIntent()
290 private fun fromSafetyCenterIntent(intent: Intent): NavigationSource { in fromSafetyCenterIntent()
307 private fun fromQuickSettingsIntent(intent: Intent): NavigationSource { in fromQuickSettingsIntent()
DSafetyBrandChipPreference.kt79 NavigationSource.SAFETY_CENTER.addToIntent(intent) in closeSubpage()
DSafetyHomepageEntryPreference.kt57 NavigationSource.SAFETY_CENTER.addToIntent(intent)
DSafetyCenterSubpageFragment.kt64 logger.navigationSource = NavigationSource.fromIntent(requireActivity().getIntent()) in configureInteractionLogger()
DPrivacySubpageFragment.kt73 logger.navigationSource = NavigationSource.fromIntent(requireActivity().getIntent()) in <lambda>()
DSafetyCenterDashboardFragment.java174 logger.setNavigationSource(NavigationSource.fromIntent(intent)); in configureInteractionLogger()
DCollapsableIssuesCardHelper.kt390 NavigationSource.QUICK_SETTINGS_TILE.addToIntent(safetyCenterIntent) in <lambda>()
DSafetyStatusPreference.java113 context, NavigationSource.QUICK_SETTINGS_TILE); in configureButtons()
DSafetyCenterQsFragment.java613 mContext, NavigationSource.QUICK_SETTINGS_TILE));
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DSafetyCenterViewModel.kt29 import com.android.permissioncontroller.safetycenter.ui.NavigationSource
67 navigationSource: NavigationSource? = null
DLiveSafetyCenterViewModel.kt41 import com.android.permissioncontroller.safetycenter.ui.NavigationSource in <lambda>()
107 override fun navigateToSafetyCenter(context: Context, navigationSource: NavigationSource?) { in <lambda>()