/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | DialogFragmentTest.java | 58 FragmentManager mFragmentManager; field in DialogFragmentTest 69 mFragmentManager = mActivityTestRule.getActivity().getSupportFragmentManager(); in setup() 81 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialogShows() 84 (CreateDirectoryFragment) mFragmentManager.findFragmentByTag(CREATE_FRAGEMENT_TAG); in testCreateDialogShows() 92 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialogShowsDismiss() 95 (CreateDirectoryFragment) mFragmentManager.findFragmentByTag(CREATE_FRAGEMENT_TAG); in testCreateDialogShowsDismiss() 109 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialogShows_textInputEditText_shouldNotTruncateOnPortrait() 112 (CreateDirectoryFragment) mFragmentManager.findFragmentByTag(CREATE_FRAGEMENT_TAG); in testCreateDialogShows_textInputEditText_shouldNotTruncateOnPortrait() 127 mFragmentManager = mActivityTestRule.getActivity().getSupportFragmentManager(); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargeDensity() 129 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 | 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 | 47 private FragmentManager mFragmentManager; field in WifiDppEnrolleeActivity 63 mFragmentManager = getSupportFragmentManager(); in onCreate() 90 (WifiDppQrCodeScannerFragment) mFragmentManager.findFragmentByTag( in showQrCodeScannerFragment() 102 mFragmentManager.popBackStackImmediate(); in showQrCodeScannerFragment() 105 final FragmentTransaction fragmentTransaction = mFragmentManager.beginTransaction(); in showQrCodeScannerFragment()
|
/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_returnDisabledDependentSetting() 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 handlePreferenceTreeClick_needDialog_showDialog() 130 mController.init(mFragmentManager, SubscriptionManager.INVALID_SUBSCRIPTION_ID); in updateState_invalidSubId_disabled()
|
D | MobileNetworkActivityTest.java | 92 private FragmentManager mFragmentManager; field in MobileNetworkActivityTest 117 doReturn(mFragmentManager).when(mMobileNetworkActivity).getSupportFragmentManager(); in setUp() 118 doReturn(mFragmentTransaction).when(mFragmentManager).beginTransaction(); in setUp() 119 doReturn(mHideFragment).when(mFragmentManager).findFragmentByTag( in setUp() 121 doReturn(mShowFragment).when(mFragmentManager).findFragmentByTag( in setUp()
|
/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/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/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() 141 if (!mFragmentManager.isDestroyed()) { in finishUpdate() 142 mFragmentManager.executePendingTransactions(); in finishUpdate()
|
D | TimerPagerAdapter.kt | 38 private val mFragmentManager: FragmentManager constant in com.android.deskclock.timer.TimerPagerAdapter 67 mCurrentTransaction = mFragmentManager.beginTransaction() in instantiateItem() 74 var fragment = mFragmentManager.findFragmentByTag(tag) as TimerItemFragment? in instantiateItem() 99 mCurrentTransaction = mFragmentManager.beginTransaction() in destroyItem() 126 if (!mFragmentManager.isDestroyed) { in finishUpdate() 127 mFragmentManager.executePendingTransactions() in finishUpdate()
|
/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/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/ |
D | BubblePreferenceController.java | 43 private FragmentManager mFragmentManager; field in BubblePreferenceController 49 mFragmentManager = fragmentManager; in BubblePreferenceController() 98 } else if (mAppRow != null && mFragmentManager != null) { in onPreferenceChange() 105 .show(mFragmentManager, "dialog"); in onPreferenceChange()
|
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/apps/Settings/tests/robotests/src/com/android/settings/ |
D | SettingsActivityTest.java | 53 private FragmentManager mFragmentManager; field in SettingsActivityTest 69 when(mActivity.getSupportFragmentManager()).thenReturn(mFragmentManager); in launchSettingFragment_nullExtraShowFragment_shouldNotCrash() 71 when(mFragmentManager.beginTransaction()).thenReturn(mock(FragmentTransaction.class)); in launchSettingFragment_nullExtraShowFragment_shouldNotCrash()
|
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | BubblePreferenceController.java | 39 private FragmentManager mFragmentManager; field in BubblePreferenceController 48 mFragmentManager = fragmentManager; in BubblePreferenceController() 111 .show(mFragmentManager, "dialog"); in onPreferenceChange()
|
/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()
|
/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()
|