Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DAutoAddTrackerTest.java56 assertTrue(mAutoTracker.isAdded(SAVER)); in testMigration()
57 assertTrue(mAutoTracker.isAdded(WORK)); in testMigration()
58 assertFalse(mAutoTracker.isAdded(INVERSION)); in testMigration()
73 assertFalse(mAutoTracker.isAdded(SAVER)); in testChangeFromBackup()
78 assertTrue(mAutoTracker.isAdded(SAVER)); in testChangeFromBackup()
87 assertFalse(mAutoTracker.isAdded(SAVER)); in testSetAdded()
90 assertTrue(mAutoTracker.isAdded(SAVER)); in testSetAdded()
99 assertFalse(mAutoTracker.isAdded(SAVER)); in testPersist()
105 assertTrue(mAutoTracker.isAdded(SAVER)); in testPersist()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java76 if (!mAutoTracker.isAdded(HOTSPOT)) { in AutoTileManager()
79 if (!mAutoTracker.isAdded(SAVER)) { in AutoTileManager()
82 if (!mAutoTracker.isAdded(INVERSION)) { in AutoTileManager()
87 if (mAutoTracker.isAdded(INVERSION)) return; in AutoTileManager()
97 if (!mAutoTracker.isAdded(WORK)) { in AutoTileManager()
100 if (!mAutoTracker.isAdded(NIGHT) in AutoTileManager()
104 if (!mAutoTracker.isAdded(CAST)) { in AutoTileManager()
131 if (mAutoTracker.isAdded(WORK)) return;
148 if (mAutoTracker.isAdded(SAVER)) return;
160 if (mAutoTracker.isAdded(HOTSPOT)) return;
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccSlot.java283 private void onIccSwap(boolean isAdded) { in onIccSwap() argument
294 promptForRestart(isAdded); in onIccSwap()
297 private void promptForRestart(boolean isAdded) { in promptForRestart() argument
305 .putExtra(EXTRA_ICC_CARD_ADDED, isAdded); in promptForRestart()
341 String title = (isAdded) ? r.getString(R.string.sim_added_title) : in promptForRestart()
343 String message = (isAdded) ? r.getString(R.string.sim_added_message) : in promptForRestart()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DErrorDialogFragment.java48 if (isAdded()) { in onDismiss()
DUninstallAlertDialogFragment.java213 if (isAdded()) { in onDismiss()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DErrorFragment.java57 if (isAdded()) { in onGuidedActionClicked()
DUninstallAlertFragment.java100 if (isAdded()) { in onGuidedActionClicked()
/frameworks/base/cmds/telecom/src/com/android/commands/telecom/
DTelecom.java266 String isAdded = nextArgRequired(); in runAddOrRemoveCallCompanionApp() local
267 boolean isAddedBool = "1".equals(isAdded); in runAddOrRemoveCallCompanionApp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DAutoAddTracker.java68 public boolean isAdded(String tile) { in isAdded() method in AutoAddTracker
/frameworks/base/telecomm/java/com/android/internal/telecom/
DITelecomService.aidl300 void addOrRemoveTestCallCompanionApp(String packageName, boolean isAdded); in addOrRemoveTestCallCompanionApp() argument
/frameworks/base/core/java/android/app/
DFragment.java863 final public boolean isAdded() { in isAdded() method in Fragment
910 return isAdded() && !isHidden() && mView != null in isVisible()
966 if (isAdded() && !isHidden()) { in setHasOptionsMenu()
984 if (mHasMenu && isAdded() && !isHidden()) { in setMenuVisibility()
1036 && mFragmentManager != null && isAdded(); in setUserVisibleHint()
/frameworks/base/core/tests/coretests/src/android/app/
DLoaderLifecycleTest.java219 assertTrue(restoredOne.isAdded()); in backStackLoaderIdentityTest()
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java344 if (getView() == null || !isAdded()) { in onLoadFinished()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt4160 method public final boolean isAdded();
/frameworks/base/api/
Dcurrent.txt4750 method @Deprecated public final boolean isAdded();