/packages/apps/Settings/tests/robotests/src/com/android/settings/backup/ |
D | UserBackupSettingsActivityTest.java | 67 private FragmentTransaction mFragmentTransaction; field in UserBackupSettingsActivityTest 115 doReturn(mFragmentTransaction).when(mFragmentTransaction).replace(anyInt(), in onCreate_hasManufacturerIntent() 117 doReturn(mFragmentTransaction).when(mFragmentManager).beginTransaction(); in onCreate_hasManufacturerIntent() 122 verify(mFragmentTransaction).replace(anyInt(), isA(BackupSettingsFragment.class)); in onCreate_hasManufacturerIntent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceRenamePreferenceControllerTest.java | 62 private FragmentTransaction mFragmentTransaction; field in BluetoothDeviceRenamePreferenceControllerTest 99 when(mFragment.getFragmentManager().beginTransaction()).thenReturn(mFragmentTransaction); in testHandlePreferenceTreeClick_startDialogFragment() 103 verify(mFragmentTransaction).add(any(), anyString()); in testHandlePreferenceTreeClick_startDialogFragment() 104 verify(mFragmentTransaction).commit(); in testHandlePreferenceTreeClick_startDialogFragment()
|
D | BluetoothFindBroadcastsFragmentTest.java | 65 private FragmentTransaction mFragmentTransaction; field in BluetoothFindBroadcastsFragmentTest 98 mFragmentTransaction = mock(FragmentTransaction.class); in setUp() 99 when(fragmentManager.beginTransaction()).thenReturn(mFragmentTransaction); in setUp()
|
D | BluetoothDeviceDetailsFragmentTest.java | 89 private FragmentTransaction mFragmentTransaction; field in BluetoothDeviceDetailsFragmentTest 213 verify(mFragmentTransaction).add(captor.capture(), eq(RemoteDeviceNameDialogFragment.TAG)); in editMenu_clicked_showDialog() 287 mFragmentTransaction = mock(FragmentTransaction.class); in setupFragment() 288 doReturn(mFragmentTransaction).when(fragmentManager).beginTransaction(); in setupFragment()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/localepicker/ |
D | LocaleListEditorTest.java | 125 private FragmentTransaction mFragmentTransaction; field in LocaleListEditorTest 172 when(mFragmentManager.beginTransaction()).thenReturn(mFragmentTransaction); in setUp() 294 verify(mFragmentTransaction).add(any(LocaleDialogFragment.class), in showConfirmDialog_systemLocaleSelected_shouldShowLocaleChangeDialog() 318 verify(mFragmentTransaction).add(any(LocaleDialogFragment.class), in onActivityResult_ResultCodeIsOk_showNotAvailableDialog() 344 verify(mFragmentTransaction).add(any(LocaleDialogFragment.class), in onTouch_dragDifferentLocaleToTop_showConfirmDialog() 367 verify(mFragmentTransaction).add(any(LocaleDialogFragment.class), in showDiallogForAddedLocale_showConfirmDialog() 414 verify(mFragmentTransaction, never()).add(any(LocaleDialogFragment.class), in showDiallogForAddedLocale_invalidLocale_noDialog() 428 verify(mFragmentTransaction, never()).add(any(LocaleDialogFragment.class), in showDiallogForAddedLocale_noDialogType_noDialog() 443 verify(mFragmentTransaction, never()).add(any(LocaleDialogFragment.class), in showDiallogForAddedLocale_inSystemLocale_noDialog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintSettingsFragmentTest.java | 100 private FragmentTransaction mFragmentTransaction; field in FingerprintSettingsFragmentTest 210 doReturn(mFragmentTransaction).when(fragmentManager).beginTransaction(); in setUpFragment() 211 doReturn(mFragmentTransaction).when(mFragmentTransaction).add(any(), anyString()); in setUpFragment()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | NotificationAssistantPreferenceControllerTest.java | 70 private FragmentTransaction mFragmentTransaction; field in NotificationAssistantPreferenceControllerTest 84 when(mFragmentManager.beginTransaction()).thenReturn(mFragmentTransaction); in setUp() 111 verify(mFragmentTransaction).add( in testSetChecked()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | ContactDiscoveryPreferenceControllerTest.java | 79 @Mock private FragmentTransaction mFragmentTransaction; field in ContactDiscoveryPreferenceControllerTest 102 doReturn(mFragmentTransaction).when(mFragmentManager).beginTransaction(); in setUp() 157 verify(mFragmentTransaction).add(any(), anyString()); in testSetChecked()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | RemoveAccountPreferenceControllerTest.java | 96 private FragmentTransaction mFragmentTransaction; field in RemoveAccountPreferenceControllerTest 111 when(mFragmentManager.beginTransaction()).thenReturn(mFragmentTransaction); in setUp() 140 verify(mFragmentTransaction).add( in onClick_shouldStartConfirmDialog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/ |
D | ProfileSelectFragmentTest.java | 88 @Mock private FragmentTransaction mFragmentTransaction; field in ProfileSelectFragmentTest 116 when(mFragmentManager.beginTransaction()).thenReturn(mFragmentTransaction); in getTabId_setArgumentWork_setCorrectTab() 136 when(mFragmentManager.beginTransaction()).thenReturn(mFragmentTransaction); in getTabId_setArgumentPrivate_setCorrectTab() 156 when(mFragmentManager.beginTransaction()).thenReturn(mFragmentTransaction); in getTabId_setArgumentPersonal_setCorrectTab()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
D | OwnerInfoPreferenceControllerTest.java | 70 private FragmentTransaction mFragmentTransaction; field in OwnerInfoPreferenceControllerTest 90 when(mFragmentManager.beginTransaction()).thenReturn(mFragmentTransaction); in setUp()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | RoamingPreferenceControllerTest.java | 71 private FragmentTransaction mFragmentTransaction; field in RoamingPreferenceControllerTest 103 doReturn(mFragmentTransaction).when(mFragmentManager).beginTransaction(); in setUp()
|
D | MobileDataPreferenceControllerTest.java | 80 private FragmentTransaction mFragmentTransaction; field in MobileDataPreferenceControllerTest 111 doReturn(mFragmentTransaction).when(mFragmentManager).beginTransaction(); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/privatespace/delete/ |
D | ResetOptionsDeletePrivateSpaceControllerTest.java | 69 @Mock FragmentTransaction mFragmentTransaction; field in ResetOptionsDeletePrivateSpaceControllerTest 128 doReturn(mFragmentTransaction).when(mFragmentManager).beginTransaction(); in handleActivityResult_success_showsAlertDialog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | StorageItemPreferenceControllerTest.java | 88 private FragmentTransaction mFragmentTransaction; field in StorageItemPreferenceControllerTest 98 when(mFragmentManager.beginTransaction()).thenReturn(mFragmentTransaction); in setUp()
|