Home
last modified time | relevance | path

Searched refs:mFragmentTransaction (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/backup/
DUserBackupSettingsActivityTest.java67 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/
DBluetoothDeviceRenamePreferenceControllerTest.java62 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()
DBluetoothFindBroadcastsFragmentTest.java65 private FragmentTransaction mFragmentTransaction; field in BluetoothFindBroadcastsFragmentTest
98 mFragmentTransaction = mock(FragmentTransaction.class); in setUp()
99 when(fragmentManager.beginTransaction()).thenReturn(mFragmentTransaction); in setUp()
DBluetoothDeviceDetailsFragmentTest.java89 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/
DLocaleListEditorTest.java125 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/
DFingerprintSettingsFragmentTest.java100 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/
DNotificationAssistantPreferenceControllerTest.java70 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/
DContactDiscoveryPreferenceControllerTest.java79 @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/
DRemoveAccountPreferenceControllerTest.java96 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/
DProfileSelectFragmentTest.java88 @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/
DOwnerInfoPreferenceControllerTest.java70 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/
DRoamingPreferenceControllerTest.java71 private FragmentTransaction mFragmentTransaction; field in RoamingPreferenceControllerTest
103 doReturn(mFragmentTransaction).when(mFragmentManager).beginTransaction(); in setUp()
DMobileDataPreferenceControllerTest.java80 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/
DResetOptionsDeletePrivateSpaceControllerTest.java69 @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/
DStorageItemPreferenceControllerTest.java88 private FragmentTransaction mFragmentTransaction; field in StorageItemPreferenceControllerTest
98 when(mFragmentManager.beginTransaction()).thenReturn(mFragmentTransaction); in setUp()