Home
last modified time | relevance | path

Searched refs:getDialogMetricsCategory (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsDialogFragmentTest.java51 when(mDialogCreatable.getDialogMetricsCategory(DIALOG_ID)).thenReturn(1); in testGetMetrics_shouldGetMetricFromDialogCreatable()
59 verify(mDialogCreatable, times(2)).getDialogMetricsCategory(DIALOG_ID); in testGetMetrics_shouldGetMetricFromDialogCreatable()
64 when(mDialogCreatable.getDialogMetricsCategory(DIALOG_ID)).thenReturn(-1); in testGetInvalidMetricsValue_shouldCrash()
73 verify(mDialogCreatable).getDialogMetricsCategory(DIALOG_ID); in testGetInvalidMetricsValue_shouldCrash()
85 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in SettingsDialogFragmentTest.DialogCreatableFragment
/packages/apps/Settings/src/com/android/settings/gestures/
DOneHandedSettings.java84 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in OneHandedSettings
85 final int dialogMetrics = super.getDialogMetricsCategory(dialogId); in getDialogMetricsCategory()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/
DWifiP2pSettingsTest.java383 assertThat(mFragment.getDialogMetricsCategory(WifiP2pSettings.DIALOG_DISCONNECT)).isEqualTo( in getMetrics_withDisconnectId_shouldReturnDisconnectMetricsCategory()
389 assertThat(mFragment.getDialogMetricsCategory( in getMetrics_withCancelConnectId_shouldReturnCancelConnectMetricsCategory()
396 assertThat(mFragment.getDialogMetricsCategory(WifiP2pSettings.DIALOG_RENAME)).isEqualTo( in getMetrics_withRenameId_shouldReturnRenameMetricsCategory()
403 mFragment.getDialogMetricsCategory(WifiP2pSettings.DIALOG_DELETE_GROUP)).isEqualTo( in getMetrics_withDeleteGroupId_shouldReturnDeleteGroupMetricsCategory()
409 assertThat(mFragment.getDialogMetricsCategory(-1 /* dialogId */)).isEqualTo(0); in getMetrics_withUnknownId_shouldReturnZero()
/packages/apps/Settings/src/com/android/settings/
DDialogCreatable.java30 int getDialogMetricsCategory(int dialogId); in getDialogMetricsCategory() method
DSettingsPreferenceFragment.java506 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in SettingsPreferenceFragment
602 ((DialogCreatable) mParentFragment).getDialogMetricsCategory(mDialogId); in getMetricsCategory()
DProxySelector.java110 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in ProxySelector
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DMagnificationModePreferenceControllerTest.java285 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in MagnificationModePreferenceControllerTest.TestDialogHelper
286 return mDialogDelegate.getDialogMetricsCategory(dialogId); in getDialogMetricsCategory()
DToggleScreenMagnificationPreferenceFragmentTest.java907 when(dialogDelegate.getDialogMetricsCategory(anyInt())).thenReturn(1); in onCreateDialog_setDialogDelegate_invokeDialogDelegate()
911 fragment.getDialogMetricsCategory(1); in onCreateDialog_setDialogDelegate_invokeDialogDelegate()
914 verify(dialogDelegate).getDialogMetricsCategory(1); in onCreateDialog_setDialogDelegate_invokeDialogDelegate()
/packages/apps/Settings/src/com/android/settings/accessibility/
DTextReadingPreferenceFragment.java238 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in TextReadingPreferenceFragment
243 return super.getDialogMetricsCategory(dialogId); in getDialogMetricsCategory()
DToggleAccessibilityServicePreferenceFragment.java221 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in ToggleAccessibilityServicePreferenceFragment
232 return super.getDialogMetricsCategory(dialogId); in getDialogMetricsCategory()
DToggleScreenMagnificationPreferenceFragment.java567 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in ToggleScreenMagnificationPreferenceFragment
569 final int category = mDialogDelegate.getDialogMetricsCategory(dialogId); in getDialogMetricsCategory()
583 return super.getDialogMetricsCategory(dialogId); in getDialogMetricsCategory()
DMagnificationModePreferenceController.java158 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in MagnificationModePreferenceController
DAccessibilityShortcutPreferenceFragment.java246 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in AccessibilityShortcutPreferenceFragment
DToggleFeaturePreferenceFragment.java314 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in ToggleFeaturePreferenceFragment
/packages/apps/Settings/src/com/android/settings/datetime/
DDateTimeSettings.java99 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in DateTimeSettings
/packages/apps/Settings/src/com/android/settings/display/darkmode/
DDarkModeSettingsFragment.java137 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in DarkModeSettingsFragment
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiNetworkDetailsFragmentTest.java146 assertThat(mFragment.getDialogMetricsCategory(WIFI_DIALOG_ID)).isEqualTo( in getDialogMetricsCategory_withCorrectId_shouldReturnDialogWifiApEdit()
152 assertThat(mFragment.getDialogMetricsCategory(-1 /* dialogId */)).isEqualTo(0); in getDialogMetricsCategory_withWrongId_shouldReturnZero()
/packages/apps/Settings/src/com/android/settings/display/
DNightDisplaySettings.java115 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method
/packages/apps/Settings/src/com/android/settings/network/apn/
DApnSettings.java384 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in ApnSettings
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiNetworkDetailsFragment.java184 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in WifiNetworkDetailsFragment
/packages/apps/Settings/src/com/android/settings/users/
DUserDetailsSettings.java205 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in UserDetailsSettings
/packages/apps/Settings/src/com/android/settings/development/
DWirelessDebuggingFragment.java260 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in WirelessDebuggingFragment
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSyncSettings.java96 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in AccountSyncSettings
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java537 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in WifiP2pSettings
/packages/apps/Settings/src/com/android/settings/network/
DNetworkProviderSettings.java810 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() method in NetworkProviderSettings

12