Home
last modified time | relevance | path

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

123456

/frameworks/base/telephony/java/android/telephony/
DCarrierConfigManager.java2830 defaults.putBoolean(KEY_PERSIST_LPP_MODE_BOOL, true); in getDefaults()
3008 sDefaults.putBoolean(KEY_ALLOW_HOLD_IN_IMS_CALL_BOOL, true); in sDefaults.putBoolean()
3009 sDefaults.putBoolean(KEY_CARRIER_ALLOW_DEFLECT_IMS_CALL_BOOL, false); in sDefaults.putBoolean()
3010 sDefaults.putBoolean(KEY_ALWAYS_PLAY_REMOTE_HOLD_TONE_BOOL, false); in sDefaults.putBoolean()
3011 sDefaults.putBoolean(KEY_AUTO_RETRY_FAILED_WIFI_EMERGENCY_CALL, false); in sDefaults.putBoolean()
3012 sDefaults.putBoolean(KEY_ADDITIONAL_CALL_SETTING_BOOL, true); in sDefaults.putBoolean()
3013 sDefaults.putBoolean(KEY_ALLOW_EMERGENCY_NUMBERS_IN_CALL_LOG_BOOL, false); in sDefaults.putBoolean()
3015 sDefaults.putBoolean(KEY_ALLOW_LOCAL_DTMF_TONES_BOOL, true); in sDefaults.putBoolean()
3016 sDefaults.putBoolean(KEY_PLAY_CALL_RECORDING_TONE_BOOL, false); in sDefaults.putBoolean()
3017 sDefaults.putBoolean(KEY_APN_EXPAND_BOOL, true); in sDefaults.putBoolean()
[all …]
DSmsManager.java2877 filtered.putBoolean(MMS_CONFIG_APPEND_TRANSACTION_ID, in getMmsConfig()
2879 filtered.putBoolean(MMS_CONFIG_MMS_ENABLED, config.getBoolean(MMS_CONFIG_MMS_ENABLED)); in getMmsConfig()
2880 filtered.putBoolean(MMS_CONFIG_GROUP_MMS_ENABLED, in getMmsConfig()
2882 filtered.putBoolean(MMS_CONFIG_NOTIFY_WAP_MMSC_ENABLED, in getMmsConfig()
2884 filtered.putBoolean(MMS_CONFIG_ALIAS_ENABLED, config.getBoolean(MMS_CONFIG_ALIAS_ENABLED)); in getMmsConfig()
2885 filtered.putBoolean(MMS_CONFIG_ALLOW_ATTACH_AUDIO, in getMmsConfig()
2887 filtered.putBoolean(MMS_CONFIG_MULTIPART_SMS_ENABLED, in getMmsConfig()
2889 filtered.putBoolean(MMS_CONFIG_SMS_DELIVERY_REPORT_ENABLED, in getMmsConfig()
2891 filtered.putBoolean(MMS_CONFIG_SUPPORT_MMS_CONTENT_DISPOSITION, in getMmsConfig()
2893 filtered.putBoolean(MMS_CONFIG_SEND_MULTIPART_SMS_AS_SEPARATE_MESSAGES, in getMmsConfig()
[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.java518 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, true); in build()
521 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_DISALLOW_METERED, true); in build()
524 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_REQUIRE_CHARGING, true); in build()
527 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); in build()
530 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, true); in build()
533 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in build()
536 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, true); in build()
537 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); in build()
DSharedPreferences.java151 Editor putBoolean(String key, boolean value); in putBoolean() method
/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/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/
DSharedPreferenceLoggerTest.java78 editor.putBoolean(TEST_KEY, true); in putBoolean_shouldNotLogInitialPut()
79 editor.putBoolean(TEST_KEY, true); in putBoolean_shouldNotLogInitialPut()
80 editor.putBoolean(TEST_KEY, false); in putBoolean_shouldNotLogInitialPut()
81 editor.putBoolean(TEST_KEY, false); in putBoolean_shouldNotLogInitialPut()
82 editor.putBoolean(TEST_KEY, false); in putBoolean_shouldNotLogInitialPut()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsManagerTest.java116 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL, in setDefaultValues()
118 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_MODE_BOOL, in setDefaultValues()
120 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_ROAMING_MODE_BOOL, in setDefaultValues()
122 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ENABLED_BOOL, in setDefaultValues()
124 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_ENABLED_BOOL, in setDefaultValues()
130 mBundle.putBoolean(CarrierConfigManager.KEY_ENHANCED_4G_LTE_ON_BY_DEFAULT_BOOL, in setDefaultValues()
132 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL, true); in setDefaultValues()
133 mBundle.putBoolean( in setDefaultValues()
203 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL, in testSetValues()
605 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_MODE_BOOL, in testSetWfcSetting_wfcNotEditable()
[all …]
/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/base/core/java/android/app/
DBroadcastOptions.java196 b.putBoolean(KEY_DONT_SEND_TO_RESTRICTED_APPS, true); in toBundle()
199 b.putBoolean(KEY_ALLOW_BACKGROUND_ACTIVITY_STARTS, true); in toBundle()
DActivityOptions.java1496 b.putBoolean(KEY_TRANSITION_IS_RETURNING, mIsReturning); in toBundle()
1504 b.putBoolean(KEY_LOCK_TASK_MODE, mLockTaskMode); in toBundle()
1522 b.putBoolean(KEY_TASK_OVERLAY, mTaskOverlay); in toBundle()
1525 b.putBoolean(KEY_TASK_OVERLAY_CAN_RESUME, mTaskOverlayCanResume); in toBundle()
1528 b.putBoolean(KEY_AVOID_MOVE_TO_FRONT, mAvoidMoveToFront); in toBundle()
1531 b.putBoolean(KEY_FREEZE_RECENT_TASKS_REORDERING, mFreezeRecentTasksReordering); in toBundle()
1537 b.putBoolean(KEY_DISALLOW_ENTER_PICTURE_IN_PICTURE_WHILE_LAUNCHING, in toBundle()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DTestAccountType1Authenticator.java116 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in confirmCredentials()
244 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in hasFeatures()
246 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in hasFeatures()
249 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, false); in hasFeatures()
431 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in isCredentialsUpdateSuggested()
449 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in getAccountRemovalAllowed()
455 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/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/tests/servicestests/src/com/android/server/pm/
DUserRestrictionsUtilsTest.java46 out.putBoolean("a", true); // Should not be Bundle.EMPTY. in testNonNull()
66 out.putBoolean("a", true); // Should not be Bundle.EMPTY. in testClone()
320 a.putBoolean("b", true); in testAreEqual()
323 b.putBoolean("b", false); in testAreEqual()
DUserManagerServiceTest.java80 result.putBoolean("boolean_0", false); in createBundle()
81 result.putBoolean("boolean_1", true); in createBundle()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DAutoAddTrackerTest.java52 Prefs.putBoolean(mContext, Key.QS_DATA_SAVER_ADDED, true); in testMigration()
53 Prefs.putBoolean(mContext, Key.QS_WORK_ADDED, true); in testMigration()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricPrompt.java159 mBundle.putBoolean(KEY_USE_DEFAULT_TITLE, true); in setUseDefaultTitle()
254 mBundle.putBoolean(KEY_REQUIRE_CONFIRMATION, requireConfirmation); in setConfirmationRequired()
274 mBundle.putBoolean(KEY_ALLOW_DEVICE_CREDENTIAL, allowed); in setDeviceCredentialAllowed()
285 mBundle.putBoolean(KEY_FROM_CONFIRM_DEVICE_CREDENTIAL, true); in setFromConfirmDeviceCredential()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java315 restrictions.putBoolean(key, Boolean.parseBoolean(value)); in readRestrictions()
364 dest.putBoolean(key, true); in merge()
427 global.putBoolean(UserManager.DISALLOW_CAMERA, true); in sortToGlobalAndLocal()
429 local.putBoolean(UserManager.DISALLOW_CAMERA, true); in sortToGlobalAndLocal()
439 global.putBoolean(key, true); in sortToGlobalAndLocal()
441 local.putBoolean(key, true); in sortToGlobalAndLocal()
857 to.putBoolean(restrictionKey, true); in moveRestriction()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginPrefs.java59 context.getSharedPreferences(PREFS, 0).edit().putBoolean(HAS_PLUGINS, true).apply(); in setHasPlugins()
/frameworks/base/core/java/android/preference/
DPreferenceDataStore.java126 default void putBoolean(String key, boolean value) { in putBoolean() method
/frameworks/base/test-runner/src/android/test/
DSyncBaseInstrumentation.java55 extras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); in syncProvider()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DPrefs.java112 public static void putBoolean(Context context, @Key String key, boolean value) { in putBoolean() method in Prefs
113 get(context).edit().putBoolean(key, value).apply(); in putBoolean()
/frameworks/base/services/core/java/com/android/server/content/
DSyncOperation.java206 syncExtrasBundle.putBoolean(key, (Boolean) value); in toJobInfoExtras()
221 jobInfoExtras.putBoolean("SyncManagerJob", true); in toJobInfoExtras()
231 jobInfoExtras.putBoolean("allowParallelSyncs", allowParallelSyncs); in toJobInfoExtras()
233 jobInfoExtras.putBoolean("isPeriodic", isPeriodic); in toJobInfoExtras()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileTest.java105 mActivityInfo.metaData.putBoolean(TileUtils.META_DATA_PREFERENCE_ICON_TINTABLE, false); in isIconTintable_hasMetadata_shouldReturnIconTintableMetadata()
108 mActivityInfo.metaData.putBoolean(TileUtils.META_DATA_PREFERENCE_ICON_TINTABLE, true); in isIconTintable_hasMetadata_shouldReturnIconTintableMetadata()

123456