Home
last modified time | relevance | path

Searched refs:isAdded (Results 1 – 25 of 67) sorted by relevance

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DRemoveAccountPreferenceControllerTest.java138 when(mFragment.isAdded()).thenReturn(true); in onClick_shouldStartConfirmDialog()
148 when(mFragment.isAdded()).thenReturn(true); in onClick_modifyAccountsIsDisallowed_shouldNotStartConfirmDialog()
175 when(mFragment.isAdded()).thenReturn(true); in confirmRemove_shouldRemoveAccount()
210 when(mFragment.isAdded()).thenReturn(true); in confirmRemove_activityGone_shouldSilentlyRemoveAccount()
/packages/apps/Dialer/java/com/android/dialer/main/impl/
DMainSearchController.java203 if (!dialpadFragment.isAdded()) { in hideDialpad()
328 if (!searchFragment.isAdded()) { in closeSearch()
371 && dialpadFragment.isAdded() in isDialpadVisible()
377 return searchFragment != null && searchFragment.isAdded() && !searchFragment.isHidden(); in isSearchVisible()
387 if (searchFragment != null && searchFragment.isAdded()) { in closeKeyboard()
/packages/apps/Settings/tests/robotests/src/com/android/settings/vpn2/
DAppDialogFragmentTest.java52 verify(mParent, never()).isAdded(); in notManagingOrConnected_shouldNotShow()
60 verify(mParent).isAdded(); in notManagingAndConnected_showShow()
/packages/apps/Settings/src/com/android/settings/
DUserCredentialsSettings.java95 if (!isAdded()) { in announceRemoval()
102 if (isAdded()) { in refreshItems()
243 if (targetFragment instanceof UserCredentialsSettings && targetFragment.isAdded()) { in onPostExecute()
340 if (!isAdded()) { in onPostExecute()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUserCredentialsSettings.java95 if (!isAdded()) { in announceRemoval()
102 if (isAdded()) { in refreshItems()
243 if (targetFragment instanceof UserCredentialsSettings && targetFragment.isAdded()) { in onPostExecute()
340 if (!isAdded()) { in onPostExecute()
/packages/services/Telecomm/src/com/android/server/telecom/
DRoleManagerAdapterImpl.java105 public void addOrRemoveTestCallCompanionApp(String packageName, boolean isAdded) { in addOrRemoveTestCallCompanionApp() argument
106 if (isAdded) { in addOrRemoveTestCallCompanionApp()
DRoleManagerAdapter.java102 void addOrRemoveTestCallCompanionApp(String packageName, boolean isAdded); in addOrRemoveTestCallCompanionApp() argument
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPrivateVolumeSettings.java698 if (!parent.isAdded()) return; in show()
749 if (!parent.isAdded()) return; in show()
773 if (!parent.isAdded()) return; in show()
818 if (!parent.isAdded()) return; in show()
856 if (!parent.isAdded()) return; in show()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DRemoveAccountPreferenceController.java115 if (!parent.isAdded()) { in show()
191 if (!parent.isAdded()) { in show()
/packages/apps/Settings/src/com/android/settings/accounts/
DRemoveAccountPreferenceController.java114 if (!parent.isAdded()) { in show()
189 if (!parent.isAdded()) { in show()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeSettings.java673 if (!parent.isAdded()) return; in show()
724 if (!parent.isAdded()) return; in show()
748 if (!parent.isAdded()) return; in show()
793 if (!parent.isAdded()) return; in show()
831 if (!parent.isAdded()) return; in show()
/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java251 if (!targetFragment.isAdded()) { in show()
356 if (!parent.isAdded()) return; in show()
425 if (!parent.isAdded()) return; in show()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DBillingCycleSettings.java251 if (!targetFragment.isAdded()) { in show()
356 if (!parent.isAdded()) return; in show()
425 if (!parent.isAdded()) return; in show()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkFragment.java178 if (!isAdded()) { in updateConnectivity()
218 if (!isAdded()) { in updateWifiList()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DNewStorageActivity.java226 if (!isAdded()) { in checkForUnmount()
335 if (!isAdded()) { in checkForRemount()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DContactDeletionInteraction.java200 return isAdded(); in isStarted()
349 if (isAdded() && mFinishActivityWhenDone) { in doDeleteContact()
/packages/apps/Settings/src/com/android/settings/vpn2/
DAppManagementFragment.java233 if (isAdded()) { in updateUI()
245 if (isAdded()) { in updateRestrictedViews()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DAppManagementFragment.java232 if (isAdded()) { in updateUI()
244 if (isAdded()) { in updateRestrictedViews()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DLiteFragment.java34 public boolean isAdded(); in isAdded() method
/packages/apps/Settings/src/com/android/settings/gestures/
DGestureNavigationBackSensitivityDialog.java40 if (!parent.isAdded()) { in show()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSetupLayoutActivity.java132 return (fragment != null) && (fragment.isAdded()); in isDialogAdded()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DOwnerInfoSettings.java90 if (!parent.isAdded()) return; in show()
DAutoSyncDataPreferenceController.java108 if (!parent.isAdded()) return; in show()
/packages/apps/Settings/src/com/android/settings/users/
DOwnerInfoSettings.java90 if (!parent.isAdded()) return; in show()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DAnswerFragment.java585 if (!isAdded()) { in updateDataFragment()
946 if (!isAdded()) { in animateEntry()
1153 if (!isAdded() || getView() == null) { in updateImportanceBadgeVisibility()

123