/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | DialogUiTest.java | 65 FragmentManager mFragmentManager; field in DialogUiTest 76 mFragmentManager = mActivityTestRule.getActivity().getSupportFragmentManager(); in setup() 88 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialogShows() 91 (CreateDirectoryFragment) mFragmentManager.findFragmentByTag(CREATE_FRAGEMENT_TAG); in testCreateDialogShows() 99 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialogShowsDismiss() 102 (CreateDirectoryFragment) mFragmentManager.findFragmentByTag(CREATE_FRAGEMENT_TAG); in testCreateDialogShowsDismiss() 116 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialogShows_textInputEditText_shouldNotTruncateOnPortrait() 119 (CreateDirectoryFragment) mFragmentManager.findFragmentByTag(CREATE_FRAGEMENT_TAG); in testCreateDialogShows_textInputEditText_shouldNotTruncateOnPortrait() 134 mFragmentManager = mActivityTestRule.getActivity().getSupportFragmentManager(); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargeDensity() 136 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargeDensity() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/ |
D | WifiDppConfiguratorActivity.java | 80 private FragmentManager mFragmentManager; field in WifiDppConfiguratorActivity 101 mFragmentManager = getSupportFragmentManager(); in onCreate() 183 (WifiDppQrCodeScannerFragment) mFragmentManager.findFragmentByTag( in showQrCodeScannerFragment() 195 mFragmentManager.popBackStackImmediate(); in showQrCodeScannerFragment() 198 final FragmentTransaction fragmentTransaction = mFragmentManager.beginTransaction(); in showQrCodeScannerFragment() 210 (WifiDppQrCodeGeneratorFragment) mFragmentManager.findFragmentByTag( in showQrCodeGeneratorFragment() 222 mFragmentManager.popBackStackImmediate(); in showQrCodeGeneratorFragment() 225 final FragmentTransaction fragmentTransaction = mFragmentManager.beginTransaction(); in showQrCodeGeneratorFragment() 234 (WifiDppChooseSavedWifiNetworkFragment) mFragmentManager.findFragmentByTag( in showChooseSavedWifiNetworkFragment() 251 mFragmentManager.popBackStackImmediate(); in showChooseSavedWifiNetworkFragment() [all …]
|
D | WifiDppEnrolleeActivity.java | 46 private FragmentManager mFragmentManager; field in WifiDppEnrolleeActivity 58 mFragmentManager = getSupportFragmentManager(); in onCreate() 85 (WifiDppQrCodeScannerFragment) mFragmentManager.findFragmentByTag( in showQrCodeScannerFragment() 97 mFragmentManager.popBackStackImmediate(); in showQrCodeScannerFragment() 100 final FragmentTransaction fragmentTransaction = mFragmentManager.beginTransaction(); in showQrCodeScannerFragment()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppConfiguratorActivity.java | 189 (WifiDppQrCodeScannerFragment) mFragmentManager.findFragmentByTag( in showQrCodeScannerFragment() 201 mFragmentManager.popBackStackImmediate(); in showQrCodeScannerFragment() 204 final FragmentTransaction fragmentTransaction = mFragmentManager.beginTransaction(); in showQrCodeScannerFragment() 213 (WifiDppQrCodeGeneratorFragment) mFragmentManager.findFragmentByTag( in showQrCodeGeneratorFragment() 225 mFragmentManager.popBackStackImmediate(); in showQrCodeGeneratorFragment() 228 final FragmentTransaction fragmentTransaction = mFragmentManager.beginTransaction(); in showQrCodeGeneratorFragment() 237 (WifiDppChooseSavedWifiNetworkFragment) mFragmentManager.findFragmentByTag( in showChooseSavedWifiNetworkFragment() 254 mFragmentManager.popBackStackImmediate(); in showChooseSavedWifiNetworkFragment() 257 final FragmentTransaction fragmentTransaction = mFragmentManager.beginTransaction(); in showChooseSavedWifiNetworkFragment() 269 (WifiDppAddDeviceFragment) mFragmentManager.findFragmentByTag( in showAddDeviceFragment() [all …]
|
D | WifiDppEnrolleeActivity.java | 66 (WifiDppQrCodeScannerFragment) mFragmentManager.findFragmentByTag( in showQrCodeScannerFragment() 78 mFragmentManager.popBackStackImmediate(); in showQrCodeScannerFragment() 81 final FragmentTransaction fragmentTransaction = mFragmentManager.beginTransaction(); in showQrCodeScannerFragment()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deletionhelper/ |
D | AutomaticStorageManagerSwitchBarControllerTest.java | 58 private FragmentManager mFragmentManager; field in AutomaticStorageManagerSwitchBarControllerTest 78 mFragmentManager); in setUp() 107 verify(mFragmentManager.beginTransaction()) in onSwitchChanged_showWarningFragmentIfNotEnabledByDefault() 117 verify(mFragmentManager.beginTransaction(), never()) in onSwitchChange_doNotShowWarningFragmentIfEnabledByDefault() 134 mFragmentManager); in initializeSwitchOnConstruction() 152 mFragmentManager); in initializingSwitchDoesNotTriggerView() 154 verify(mFragmentManager.beginTransaction(), never()) in initializingSwitchDoesNotTriggerView()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | FragmentTabPagerAdapter.java | 44 private final FragmentManager mFragmentManager; field in FragmentTabPagerAdapter 58 mFragmentManager = deskClock.getFragmentManager(); in FragmentTabPagerAdapter() 83 fragment = (DeskClockFragment) mFragmentManager.findFragmentByTag(tab.name()); in getDeskClockFragment() 108 mCurrentTransaction = mFragmentManager.beginTransaction(); in instantiateItem() 113 Fragment fragment = mFragmentManager.findFragmentByTag(tab.name()); in instantiateItem() 132 mCurrentTransaction = mFragmentManager.beginTransaction(); in destroyItem() 160 mFragmentManager.executePendingTransactions(); in finishUpdate()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | MobileDataPreferenceControllerTest.java | 55 private FragmentManager mFragmentManager; field in MobileDataPreferenceControllerTest 81 doReturn(mFragmentTransaction).when(mFragmentManager).beginTransaction(); in setUp() 86 mController.init(mFragmentManager, SUB_ID); in setUp() 92 mController.init(mFragmentManager, SubscriptionManager.INVALID_SUBSCRIPTION_ID); in getAvailabilityStatus_invalidSubscription_returnAvailableUnsearchable() 125 verify(mFragmentManager).beginTransaction(); in handlePreferenceTreeClick_needDialog_showDialog() 152 mController.init(mFragmentManager, SUB_ID); in isChecked_returnUserDataEnabled() 162 mController.init(mFragmentManager, SUB_ID); in updateState_opportunistic_disabled() 174 mController.init(mFragmentManager, SUB_ID); in updateState_notOpportunistic_enabled()
|
D | RoamingPreferenceControllerTest.java | 53 private FragmentManager mFragmentManager; field in RoamingPreferenceControllerTest 80 doReturn(mFragmentTransaction).when(mFragmentManager).beginTransaction(); in setUp() 84 mController.init(mFragmentManager, SUB_ID); in setUp() 96 mController.init(mFragmentManager, SubscriptionManager.INVALID_SUBSCRIPTION_ID); in getAvailabilityStatus_invalidSubId_returnUnsearchable() 125 verify(mFragmentManager).beginTransaction(); in setChecked_needDialog_showDialog() 130 mController.init(mFragmentManager, SubscriptionManager.INVALID_SUBSCRIPTION_ID); in updateState_invalidSubId_disabled()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | AutomaticStorageManagementSwitchPreferenceControllerTest.java | 67 private FragmentManager mFragmentManager; field in AutomaticStorageManagementSwitchPreferenceControllerTest 79 mController.setFragmentManager(mFragmentManager); in setUp() 128 controller.setFragmentManager(mFragmentManager); in togglingShouldCauseMetricsEvent() 148 when(mFragmentManager.beginTransaction()).thenReturn(transaction); in togglingOnShouldTriggerWarningFragment() 161 when(mFragmentManager.beginTransaction()).thenReturn(transaction); in togglingOffShouldTriggerWarningFragment() 171 when(mFragmentManager.beginTransaction()).thenReturn(transaction); in togglingOnShouldNotTriggerWarningFragmentIfEnabledByDefault() 184 when(mFragmentManager.beginTransaction()).thenReturn(transaction); in togglingOnShouldTriggerWarningFragmentIfEnabledByDefaultAndDisabledByPolicy()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerPagerAdapter.java | 41 private final FragmentManager mFragmentManager; field in TimerPagerAdapter 53 mFragmentManager = fragmentManager; in TimerPagerAdapter() 79 mCurrentTransaction = mFragmentManager.beginTransaction(); in instantiateItem() 86 TimerItemFragment fragment = (TimerItemFragment) mFragmentManager.findFragmentByTag(tag); in instantiateItem() 112 mCurrentTransaction = mFragmentManager.beginTransaction(); in destroyItem() 140 mFragmentManager.executePendingTransactions(); in finishUpdate()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | SideFragmentManager.java | 36 private final FragmentManager mFragmentManager; field in SideFragmentManager 55 mFragmentManager = mActivity.getFragmentManager(); in SideFragmentManager() 101 FragmentTransaction ft = mFragmentManager.beginTransaction(); in show() 144 mFragmentManager.popBackStack(); in popSideFragment() 181 mFragmentManager.popBackStack( in hideAllInternal() 244 (SideFragment) mFragmentManager.findFragmentById(R.id.side_fragment_container); in isHideKeyForCurrentPanel()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/backup/ |
D | UserBackupSettingsActivity.java | 51 private FragmentManager mFragmentManager; field in UserBackupSettingsActivity 87 if (mFragmentManager == null) { in onCreate() 88 mFragmentManager = getSupportFragmentManager(); in onCreate() 90 mFragmentManager.beginTransaction() in onCreate() 126 mFragmentManager = fragmentManager; in setFragmentManager()
|
/packages/apps/Settings/src/com/android/settings/backup/ |
D | UserBackupSettingsActivity.java | 51 private FragmentManager mFragmentManager; field in UserBackupSettingsActivity 87 if (mFragmentManager == null) { in onCreate() 88 mFragmentManager = getSupportFragmentManager(); in onCreate() 90 mFragmentManager.beginTransaction() in onCreate() 135 mFragmentManager = fragmentManager; in setFragmentManager()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | BubblePreferenceController.java | 48 private FragmentManager mFragmentManager; field in BubblePreferenceController 58 mFragmentManager = fragmentManager; in BubblePreferenceController() 119 if (mAppRow != null && mFragmentManager != null) { in onPreferenceChange() 127 .show(mFragmentManager, "dialog"); in onPreferenceChange()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deletionhelper/ |
D | AutomaticStorageManagerSwitchBarController.java | 44 private FragmentManager mFragmentManager; field in AutomaticStorageManagerSwitchBarController 56 mFragmentManager = Objects.requireNonNull(fragmentManager); in AutomaticStorageManagerSwitchBarController() 91 fragment.show(mFragmentManager, ActivationWarningFragment.TAG); in maybeShowWarning()
|
/packages/apps/Settings/src/com/android/settings/deletionhelper/ |
D | AutomaticStorageManagerSwitchBarController.java | 43 private FragmentManager mFragmentManager; field in AutomaticStorageManagerSwitchBarController 55 mFragmentManager = Preconditions.checkNotNull(fragmentManager); in AutomaticStorageManagerSwitchBarController() 90 fragment.show(mFragmentManager, ActivationWarningFragment.TAG); in maybeShowWarning()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | AutomaticStorageManagementSwitchPreferenceController.java | 48 private FragmentManager mFragmentManager; field in AutomaticStorageManagementSwitchPreferenceController 57 mFragmentManager = fragmentManager; in setFragmentManager() 106 fragment.show(mFragmentManager, ActivationWarningFragment.TAG); in onSwitchToggled()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/ |
D | AutomaticStorageManagementSwitchPreferenceController.java | 48 private FragmentManager mFragmentManager; field in AutomaticStorageManagementSwitchPreferenceController 57 mFragmentManager = fragmentManager; in setFragmentManager() 106 fragment.show(mFragmentManager, ActivationWarningFragment.TAG); in onSwitchToggled()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchViewManager.java | 93 private @Nullable FragmentManager mFragmentManager; field in SearchViewManager 250 mFragmentManager = fragmentManager; in setFragmentManager() 525 if (mFragmentManager != null) { 527 SearchFragment.dismissFragment(mFragmentManager); 529 SearchFragment.showFragment(mFragmentManager, "");
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | ContactDiscoveryPreferenceController.java | 53 private FragmentManager mFragmentManager; field in ContactDiscoveryPreferenceController 66 mFragmentManager = fragmentManager; in init() 137 dialog.show(mFragmentManager, ContactDiscoveryDialogFragment.getFragmentTag(mSubId)); in showContentDiscoveryDialog()
|
D | MobileDataPreferenceController.java | 51 private FragmentManager mFragmentManager; field in MobileDataPreferenceController 139 mFragmentManager = fragmentManager; in init() 162 dialogFragment.show(mFragmentManager, DIALOG_TAG); in showDialog()
|
D | RoamingPreferenceController.java | 61 FragmentManager mFragmentManager; field in RoamingPreferenceController 155 mFragmentManager = fragmentManager; in init() 174 dialogFragment.show(mFragmentManager, DIALOG_TAG); in showDialog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | SettingsActivityTest.java | 57 private FragmentManager mFragmentManager; field in SettingsActivityTest 73 when(mActivity.getSupportFragmentManager()).thenReturn(mFragmentManager); in launchSettingFragment_nullExtraShowFragment_shouldNotCrash() 75 when(mFragmentManager.beginTransaction()).thenReturn(mock(FragmentTransaction.class)); in launchSettingFragment_nullExtraShowFragment_shouldNotCrash()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | RoamingPreferenceController.java | 57 FragmentManager mFragmentManager; field in RoamingPreferenceController 141 mFragmentManager = fragmentManager; in init() 149 dialogFragment.show(mFragmentManager, DIALOG_TAG); in showDialog()
|