Home
last modified time | relevance | path

Searched refs:putBoolean (Results 1 – 25 of 292) sorted by relevance

12345678910>>...12

/frameworks/base/telephony/java/android/telephony/
DCarrierConfigManager.java4858 defaults.putBoolean(KEY_SHOW_VOWIFI_WEBVIEW_BOOL, false); in getDefaults()
4859 defaults.putBoolean(KEY_IMS_PROVISIONING_BOOL, false); in getDefaults()
4860 defaults.putBoolean(KEY_DEFAULT_SERVICE_ENTITLEMENT_STATUS_BOOL, false); in getDefaults()
4861 defaults.putBoolean(KEY_SKIP_WFC_ACTIVATION_BOOL, false); in getDefaults()
5033 defaults.putBoolean(KEY_PERSIST_LPP_MODE_BOOL, true); in getDefaults()
6003 defaults.putBoolean(KEY_IMS_SINGLE_REGISTRATION_REQUIRED_BOOL, false); in getDefaults()
6004 defaults.putBoolean(KEY_ENABLE_PRESENCE_PUBLISH_BOOL, false); in getDefaults()
6007 defaults.putBoolean(KEY_ENABLE_PRESENCE_CAPABILITY_EXCHANGE_BOOL, false); in getDefaults()
6008 defaults.putBoolean(KEY_RCS_BULK_CAPABILITY_EXCHANGE_BOOL, false); in getDefaults()
6009 defaults.putBoolean(KEY_ENABLE_PRESENCE_GROUP_SUBSCRIBE_BOOL, false); in getDefaults()
[all …]
/frameworks/base/core/java/android/content/
DSyncActivityTooManyDeletes.java118 extras.putBoolean(ContentResolver.SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS, true); in startSyncReallyDelete()
119 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); in startSyncReallyDelete()
120 extras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in startSyncReallyDelete()
121 extras.putBoolean(ContentResolver.SYNC_EXTRAS_UPLOAD, true); in startSyncReallyDelete()
127 extras.putBoolean(ContentResolver.SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS, true); in startSyncUndoDeletes()
128 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); in startSyncUndoDeletes()
129 extras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in startSyncUndoDeletes()
130 extras.putBoolean(ContentResolver.SYNC_EXTRAS_UPLOAD, true); in startSyncUndoDeletes()
DSyncRequest.java549 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, true); in build()
552 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_DISALLOW_METERED, true); in build()
555 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_REQUIRE_CHARGING, true); in build()
558 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); in build()
561 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, true); in build()
564 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in build()
567 mSyncConfigExtras.putBoolean( in build()
571 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, true); in build()
572 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); in build()
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
DRequestSync.java166 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); in parseArgs()
168 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, true); in parseArgs()
170 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS, true); in parseArgs()
172 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, true); in parseArgs()
174 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in parseArgs()
176 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, true); in parseArgs()
178 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); in parseArgs()
180 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS, true); in parseArgs()
182 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_UPLOAD, true); in parseArgs()
184 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_REQUIRE_CHARGING, true); in parseArgs()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/model/
DSystemUiCarrierConfigTest.kt113 it.putBoolean(CarrierConfigManager.KEY_INFLATE_SIGNAL_STRENGTH_BOOL, false) in <lambda>()
114 it.putBoolean(CarrierConfigManager.KEY_SHOW_OPERATOR_NAME_IN_STATUSBAR_BOOL, false) in <lambda>()
115 it.putBoolean(CarrierConfigManager.KEY_SHOW_5G_SLICE_ICON_BOOL, true) in <lambda>()
120 createTestConfig().also { it.putBoolean(key, override) } in <lambda>()
125 overrides.forEach { (key, value) -> config.putBoolean(key, value) } in <lambda>()
/frameworks/opt/net/ims/tests/src/com/android/ims/
DImsManagerTest.java157 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL, in setDefaultValues()
159 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_MODE_BOOL, in setDefaultValues()
161 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_ROAMING_MODE_BOOL, in setDefaultValues()
163 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ENABLED_BOOL, in setDefaultValues()
165 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_ENABLED_BOOL, in setDefaultValues()
171 mBundle.putBoolean(CarrierConfigManager.KEY_ENHANCED_4G_LTE_ON_BY_DEFAULT_BOOL, in setDefaultValues()
173 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL, true); in setDefaultValues()
174 mBundle.putBoolean( in setDefaultValues()
177 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_RCS_PROVISIONING_REQUIRED_BOOL, true); in setDefaultValues()
178 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_WFC_IMS_AVAILABLE_BOOL, true); in setDefaultValues()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/
DSharedPreferenceLoggerTest.java75 editor.putBoolean(TEST_KEY, true); in putBoolean_shouldNotLogInitialPut()
76 editor.putBoolean(TEST_KEY, true); in putBoolean_shouldNotLogInitialPut()
77 editor.putBoolean(TEST_KEY, false); in putBoolean_shouldNotLogInitialPut()
78 editor.putBoolean(TEST_KEY, false); in putBoolean_shouldNotLogInitialPut()
79 editor.putBoolean(TEST_KEY, false); in putBoolean_shouldNotLogInitialPut()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DBubbleEducationControllerTest.kt60 sharedPrefs.edit { putBoolean(PREF_STACK_EDUCATION, true) } in testSeenStackEducation_read()
72 sharedPrefs.edit { putBoolean(PREF_MANAGED_EDUCATION, true) } in testSeenManageEducation_read()
91 sharedPrefs.edit { putBoolean(PREF_STACK_EDUCATION, true) } in testShouldShowStackEducation()
107 sharedPrefs.edit { putBoolean(PREF_MANAGED_EDUCATION, true) } in testShouldShowManageEducation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recordissue/
DIssueRecordingState.kt46 set(value) = prefs.edit().putBoolean(KEY_TAKE_BUG_REPORT, value).apply()
50 set(value) = prefs.edit().putBoolean(KEY_RECORD_SCREEN, value).apply()
54 private set(value) = prefs.edit().putBoolean(HAS_APPROVED_SCREEN_RECORDING, value).apply()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DCompatUIConfiguration.java157 mCompatUISharedPreferences.edit().putBoolean( in setDontShowRestartDialogAgain()
168 mCompatUISharedPreferences.edit().putBoolean( in setUserHasSeenHorizontalReachabilityEducation()
173 mCompatUISharedPreferences.edit().putBoolean( in setUserHasSeenVerticalReachabilityEducation()
207 mLetterboxEduSharedPreferences.edit().putBoolean(dontShowLetterboxEduKey(userId), in setSeenLetterboxEducation()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityLeakTests.java78 intentExtras.putBoolean(DetectLeakActivity.ENABLE_STRICT_MODE, true); in testActivityLeak()
93 intentExtras.putBoolean(DetectLeakActivity.ENABLE_STRICT_MODE, true); in testActivityLeakForTwoInstances()
99 intentExtras.putBoolean(DetectLeakActivity.ENABLE_STRICT_MODE, false); in testActivityLeakForTwoInstances()
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncManagerTest.java117 b1.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); in testSyncExtrasEqualsFails_WithNull()
118 b1.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in testSyncExtrasEqualsFails_WithNull()
121 b2.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); in testSyncExtrasEqualsFails_WithNull()
122 b2.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in testSyncExtrasEqualsFails_WithNull()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/impl/custom/data/repository/
DFakePackageManagerAdapterFacade.kt68 putBoolean( in createServiceInfo()
72 putBoolean( in createServiceInfo()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleEducationController.kt33 set(value) = prefs.edit { putBoolean(PREF_STACK_EDUCATION, value) } in <lambda>()
39 set(value) = prefs.edit { putBoolean(PREF_MANAGED_EDUCATION, value) } in <lambda>()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DVoicemailNotificationSettingsUtil.java50 editor.putBoolean(getVoicemailVibrationSharedPrefsKey(), isEnabled); in setVibrationEnabled()
111 editor.putBoolean(key, voicemailVibrate) in migrateVoicemailVibrationSettingsIfNeeded()
124 editor.putBoolean(key, voicemailVibrate) in migrateVoicemailVibrationSettingsIfNeeded()
/frameworks/libs/systemui/toruslib/torus-wallpaper-settings/src/main/java/com/google/android/torus/settings/storage/
DCustomizedSharedPreferences.kt55 bundle.putBoolean(key, obj) in jsonToBundle()
157 fun putBoolean(key: String, value: Boolean) { in putBoolean() method
158 synchronized(lock) { bundle.putBoolean(key, value) } in putBoolean()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsController.java784 filtered.putBoolean( in getMmsConfig()
787 filtered.putBoolean( in getMmsConfig()
790 filtered.putBoolean( in getMmsConfig()
793 filtered.putBoolean( in getMmsConfig()
796 filtered.putBoolean( in getMmsConfig()
799 filtered.putBoolean( in getMmsConfig()
802 filtered.putBoolean( in getMmsConfig()
805 filtered.putBoolean( in getMmsConfig()
808 filtered.putBoolean( in getMmsConfig()
811 filtered.putBoolean( in getMmsConfig()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DTestAccountType1Authenticator.java114 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in confirmCredentials()
242 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in hasFeatures()
244 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in hasFeatures()
247 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, false); in hasFeatures()
432 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in isCredentialsUpdateSuggested()
450 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in getAccountRemovalAllowed()
456 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, false); in getAccountRemovalAllowed()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DImsStatusPreferenceControllerTest.java68 config.putBoolean(CarrierConfigManager.KEY_SHOW_IMS_REGISTRATION_STATUS_BOOL, true); in testIsAvailable()
77 config.putBoolean(CarrierConfigManager.KEY_SHOW_IMS_REGISTRATION_STATUS_BOOL, false); in testIsAvailable()
/frameworks/base/core/java/android/app/
DActivityOptions.java2370 b.putBoolean(KEY_LOCK_TASK_MODE, mLockTaskMode); in toBundle()
2373 b.putBoolean(KEY_SHARE_IDENTITY, mShareIdentity); in toBundle()
2406 b.putBoolean(KEY_TASK_ALWAYS_ON_TOP, mTaskAlwaysOnTop); in toBundle()
2409 b.putBoolean(KEY_TASK_OVERLAY, mTaskOverlay); in toBundle()
2412 b.putBoolean(KEY_TASK_OVERLAY_CAN_RESUME, mTaskOverlayCanResume); in toBundle()
2415 b.putBoolean(KEY_AVOID_MOVE_TO_FRONT, mAvoidMoveToFront); in toBundle()
2418 b.putBoolean(KEY_FREEZE_RECENT_TASKS_REORDERING, mFreezeRecentTasksReordering); in toBundle()
2421 b.putBoolean(KEY_DISALLOW_ENTER_PICTURE_IN_PICTURE_WHILE_LAUNCHING, in toBundle()
2425 b.putBoolean(KEY_APPLY_ACTIVITY_FLAGS_FOR_BUBBLES, mApplyActivityFlagsForBubbles); in toBundle()
2428 b.putBoolean(KEY_APPLY_MULTIPLE_TASK_FLAG_FOR_SHORTCUT, in toBundle()
[all …]
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZonePickerDialog.java85 outState.putBoolean(KEY_HAS_RESULTS, mView != null && mView.hasResults()); in onSaveInstanceState()
90 outState.putBoolean(KEY_HIDE_FILTER_SEARCH, mView.getHideFilterSearchOnStart()); in onSaveInstanceState()
/frameworks/base/services/core/java/com/android/server/pm/
DBroadcastHelper.java228 extras.putBoolean(Intent.EXTRA_REPLACING, replacing); in sendResourcesChangedBroadcast()
314 extras.putBoolean(Intent.EXTRA_DONT_KILL_APP, dontKillApp); in sendPackageChangedBroadcast()
468 extras.putBoolean(Intent.EXTRA_REPLACING, true); in sendPostInstallBroadcasts()
471 extras.putBoolean(Intent.EXTRA_ARCHIVAL, true); in sendPostInstallBroadcasts()
677 extras.putBoolean(Intent.EXTRA_ARCHIVAL, true); in sendPackageAddedForNewUsers()
870 extras.putBoolean(Intent.EXTRA_REPLACING, true); in sendSystemPackageUpdatedBroadcasts()
927 extras.putBoolean(Intent.EXTRA_DATA_REMOVED, dataRemoved); in sendPackageRemovedBroadcasts()
928 extras.putBoolean(Intent.EXTRA_SYSTEM_UPDATE_UNINSTALL, isRemovedPackageSystemUpdate); in sendPackageRemovedBroadcasts()
929 extras.putBoolean(Intent.EXTRA_DONT_KILL_APP, !killApp); in sendPackageRemovedBroadcasts()
930 extras.putBoolean(Intent.EXTRA_USER_INITIATED, !removedBySystem); in sendPackageRemovedBroadcasts()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/panels/
DSelectedComponentRepositoryImpl.kt94 .putBoolean(PREF_IS_PANEL, selectedComponent.isPanel) in setSelectedComponent()
113 .putBoolean(SHOULD_ADD_DEFAULT_PANEL, shouldAdd) in shouldAddDefaultComponent()
/frameworks/base/core/java/android/app/time/
DTimeZoneConfiguration.java234 this.mBundle.putBoolean(SETTING_AUTO_DETECTION_ENABLED, enabled); in setAutoDetectionEnabled()
243 this.mBundle.putBoolean(SETTING_GEO_DETECTION_ENABLED, enabled); in setGeoDetectionEnabled()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/util/
DFeatureResolverTest.java78 bundle.putBoolean(VALUE, true); in testIsSplitNavLayoutFeatureEnabled_whenReturnsTrue()
89 bundle.putBoolean(VALUE, false); in testIsSplitNavLayoutFeatureEnabled_whenReturnsFalse()

12345678910>>...12