Home
last modified time | relevance | path

Searched refs:getBooleanExtra (Results 1 – 25 of 142) sorted by relevance

123456

/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarWizardManagerHelper.java80 dstIntent.putExtra(EXTRA_IS_FIRST_RUN, srcIntent.getBooleanExtra(EXTRA_IS_FIRST_RUN, false)); in copyWizardManagerExtras()
81 dstIntent.putExtra(EXTRA_IS_DEALER, srcIntent.getBooleanExtra(EXTRA_IS_DEALER, false)); in copyWizardManagerExtras()
83 EXTRA_IS_DEFERRED_SETUP, srcIntent.getBooleanExtra(EXTRA_IS_DEFERRED_SETUP, false)); in copyWizardManagerExtras()
93 return intent.getBooleanExtra(EXTRA_IS_FIRST_RUN, false); in isSetupWizardIntent()
103 return intent.getBooleanExtra(EXTRA_IS_DEFERRED_SETUP, false); in isDeferredIntent()
113 return intent.getBooleanExtra(EXTRA_IS_DEALER, false); in isDealerIntent()
150 return intent.getBooleanExtra(EXTRA_IS_FIRST_RUN, false); in isInitialSetupWizard()
161 return originalIntent != null && originalIntent.getBooleanExtra(EXTRA_IS_DEFERRED_SETUP, false); in isDeferredSetupWizard()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/
DTestHelper.java195 return activity.getIntent().getBooleanExtra(EXTRA_ENTRANCE_TRANSITION, in runEntranceTransition()
201 boolean shadow = activity.getIntent().getBooleanExtra(EXTRA_CARD_SHADOW, in initRowsAdapterBuilder()
203 boolean roundRect = activity.getIntent().getBooleanExtra(EXTRA_CARD_ROUND_RECT, in initRowsAdapterBuilder()
212 boolean bitmapUpload = activity.getIntent().getBooleanExtra(EXTRA_BITMAP_UPLOAD, in initRowsAdapterBuilder()
227 if (activity.getIntent().getBooleanExtra(EXTRA_BACKGROUND, DEFAULT_BACKGROUND)) { in initBackground()
243 .getBooleanExtra(EXTRA_SHOW_FAST_LANE, DEFAULT_SHOW_FAST_LANE)) { in initHeaderState()
/frameworks/base/services/core/java/com/android/server/
DMasterClearReceiver.java80 final boolean shutdown = intent.getBooleanExtra("shutdown", false); in onReceive()
82 mWipeExternalStorage = intent.getBooleanExtra(Intent.EXTRA_WIPE_EXTERNAL_STORAGE, false); in onReceive()
83 mWipeEsims = intent.getBooleanExtra(Intent.EXTRA_WIPE_ESIMS, false); in onReceive()
84 final boolean forceWipe = intent.getBooleanExtra(Intent.EXTRA_FORCE_MASTER_CLEAR, false) in onReceive()
85 || intent.getBooleanExtra(Intent.EXTRA_FORCE_FACTORY_RESET, false); in onReceive()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DPerfTestActivity.java39 if (getIntent().getBooleanExtra(INTENT_EXTRA_KEEP_SCREEN_ON, false)) { in onCreate()
42 if (getIntent().getBooleanExtra(INTENT_EXTRA_ADD_EDIT_TEXT, false)) { in onCreate()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DWizardManagerHelper.java152 dstIntent.putExtra(key, srcIntent.getBooleanExtra(key, false)); in copyWizardManagerExtras()
167 return intent.getBooleanExtra(EXTRA_IS_FIRST_RUN, false); in isSetupWizardIntent()
222 return originalIntent != null && originalIntent.getBooleanExtra(EXTRA_IS_DEFERRED_SETUP, false); in isDeferredSetupWizard()
234 && originalIntent.getBooleanExtra(EXTRA_IS_PRE_DEFERRED_SETUP, false); in isPreDeferredSetupWizard()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DActionProxyReceiver.java75 intent.getBooleanExtra(EXTRA_DISALLOW_ENTER_PIP, false)); in onReceive()
78 if (intent.getBooleanExtra(ScreenshotController.EXTRA_OVERRIDE_TRANSITION, false)) { in onReceive()
103 if (intent.getBooleanExtra(EXTRA_SMART_ACTIONS_ENABLED, false)) { in onReceive()
DDeleteScreenshotReceiver.java63 if (intent.getBooleanExtra(EXTRA_SMART_ACTIONS_ENABLED, false)) { in onReceive()
/frameworks/base/core/java/com/android/internal/app/
DShutdownActivity.java42 mConfirm = intent.getBooleanExtra(Intent.EXTRA_KEY_CONFIRM, false); in onCreate()
43 mUserRequested = intent.getBooleanExtra(Intent.EXTRA_USER_REQUESTED_SHUTDOWN, false); in onCreate()
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbHandlerTest.java215 assertTrue(mUsbHandler.mBroadcastedIntent.getBooleanExtra(UsbManager.USB_CONNECTED, false)); in enableAdb()
217 .getBooleanExtra(UsbManager.USB_CONFIGURED, false)); in enableAdb()
219 .getBooleanExtra(UsbManager.USB_FUNCTION_ADB, false)); in enableAdb()
310 assertTrue(mUsbHandler.mBroadcastedIntent.getBooleanExtra(UsbManager.USB_CONNECTED, false)); in configuredSendsBroadcast()
312 .getBooleanExtra(UsbManager.USB_CONFIGURED, false)); in configuredSendsBroadcast()
314 .getBooleanExtra(UsbManager.USB_FUNCTION_MTP, false)); in configuredSendsBroadcast()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/util/
DCarWizardManagerHelperTest.java86 assertThat(disIntent.getBooleanExtra(CarWizardManagerHelper.EXTRA_IS_FIRST_RUN, in testCopyWizardManagerExtras()
89 disIntent.getBooleanExtra(CarWizardManagerHelper.EXTRA_IS_DEALER, false)).isTrue(); in testCopyWizardManagerExtras()
90 assertThat(disIntent.getBooleanExtra(CarWizardManagerHelper.EXTRA_IS_DEFERRED_SETUP, in testCopyWizardManagerExtras()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/model/
DNetworkNameModel.kt85 val showSpn = getBooleanExtra(EXTRA_SHOW_SPN, false) in toNetworkNameModel()
87 val showPlmn = getBooleanExtra(EXTRA_SHOW_PLMN, false) in toNetworkNameModel()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallUninstalling.java69 mReturnResult = getIntent().getBooleanExtra(Intent.EXTRA_RETURN_RESULT, false); in onCreate()
74 boolean allUsers = getIntent().getBooleanExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, in onCreate()
76 boolean keepData = getIntent().getBooleanExtra(EXTRA_KEEP_DATA, false); in onCreate()
DPackageInstalledReceiver.java59 if (intent.getBooleanExtra(Intent.EXTRA_REPLACING, false)) { in onReceive()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java714 mToggleIO = i.getBooleanExtra("enable io", false); in onResume()
715 mToggleDVFS = i.getBooleanExtra("enable dvfs", false); in onResume()
716 mToggleLong = i.getBooleanExtra("enable long", false); in onResume()
717 mTogglePause = i.getBooleanExtra("enable pause", false); in onResume()
718 mToggleAnimate = i.getBooleanExtra("enable animate", false); in onResume()
719 mToggleDisplay = i.getBooleanExtra("enable display", false); in onResume()
722 mDemoMode = i.getBooleanExtra("demo", false); in onResume()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
DNoteTaskControllerTest.kt109 assertThat(intent.getBooleanExtra(INTENT_EXTRA_USE_STYLUS_MODE, false)).isTrue() in <lambda>()
137 assertThat(intent.getBooleanExtra(INTENT_EXTRA_USE_STYLUS_MODE, false)).isTrue() in <lambda>()
160 assertThat(intent.getBooleanExtra(INTENT_EXTRA_USE_STYLUS_MODE, false)).isTrue() in <lambda>()
181 assertThat(intent.getBooleanExtra(INTENT_EXTRA_USE_STYLUS_MODE, false)).isTrue() in <lambda>()
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java352 if (intent.getBooleanExtra(Intent.EXTRA_REPLACING, false)) { in onReceive()
374 if (intent.getBooleanExtra(Intent.EXTRA_REPLACING, false)) { in onReceive()
388 if (intent.getBooleanExtra(Intent.EXTRA_REMOVED_FOR_ALL_USERS, false)) { in onReceive()
435 mChangeType = intent.getBooleanExtra(Intent.EXTRA_REPLACING, false) in onReceive()
447 mChangeType = intent.getBooleanExtra(Intent.EXTRA_REPLACING, false) in onReceive()
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBlasBenchmark.java279 mToggleLong = i.getBooleanExtra("enable long", false); in onResume()
280 mTogglePause = i.getBooleanExtra("enable pause", false); in onResume()
281 mDemoMode = i.getBooleanExtra("demo", false); in onResume()
/frameworks/ex/common/java/com/android/common/
DNetworkConnectivityListener.java75 intent.getBooleanExtra(ConnectivityManager.EXTRA_NO_CONNECTIVITY, false); in onReceive()
90 intent.getBooleanExtra(ConnectivityManager.EXTRA_IS_FAILOVER, false); in onReceive()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DTestedScreen.java57 if (!getIntent().getBooleanExtra(ClearTop.WAIT_CLEAR_TASK, false)) { in onCreate()
72 if (getIntent().getBooleanExtra(ClearTop.WAIT_CLEAR_TASK, false)) { in onResume()
DRemoteSubActivityScreen.java42 boolean kill = intent.getBooleanExtra("kill", false); in onCreate()
/frameworks/base/telephony/common/com/android/internal/telephony/
DPackageChangeReceiver.java136 if (intent.getBooleanExtra(Intent.EXTRA_REPLACING, false)) { in onReceive()
147 if (!intent.getBooleanExtra(Intent.EXTRA_REPLACING, false)) { in onReceive()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperSettingsActivity.java41 if (getIntent().getBooleanExtra(EXTRA_PREVIEW_MODE, false)) { in onCreate()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DImageProcessingActivity2.java760 mToggleIO = i.getBooleanExtra("enable io", false); in onResume()
761 mToggleLong = i.getBooleanExtra("enable long", false); in onResume()
762 mTogglePause = i.getBooleanExtra("enable pause", false); in onResume()
763 mToggleAnimate = i.getBooleanExtra("enable animate", false); in onResume()
764 mToggleDisplay = i.getBooleanExtra("enable display", false); in onResume()
767 mDemoMode = i.getBooleanExtra("demo", false); in onResume()
/frameworks/base/services/core/java/com/android/server/policy/
DGlobalKeyIntent.java81 intent.getBooleanExtra(EXTRA_BEGAN_FROM_NON_INTERACTIVE, false); in from()
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/
DTestActivity.java50 if (intent.getBooleanExtra(Constants.EXTRA_REQ_FINISH_ACTIVITY, false)) { in onNewIntent()

123456