Home
last modified time | relevance | path

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

1234567

/frameworks/base/telephony/java/android/telephony/
DCarrierConfigManager.java3570 defaults.putBoolean(KEY_PERSIST_LPP_MODE_BOOL, true); in getDefaults()
3805 sDefaults.putBoolean(KEY_ALLOW_HOLD_IN_IMS_CALL_BOOL, true); in sDefaults.putBoolean()
3806 sDefaults.putBoolean(KEY_CARRIER_ALLOW_DEFLECT_IMS_CALL_BOOL, false); in sDefaults.putBoolean()
3807 sDefaults.putBoolean(KEY_CARRIER_ALLOW_TRANSFER_IMS_CALL_BOOL, false); in sDefaults.putBoolean()
3808 sDefaults.putBoolean(KEY_ALWAYS_PLAY_REMOTE_HOLD_TONE_BOOL, false); in sDefaults.putBoolean()
3809 sDefaults.putBoolean(KEY_AUTO_RETRY_FAILED_WIFI_EMERGENCY_CALL, false); in sDefaults.putBoolean()
3810 sDefaults.putBoolean(KEY_ADDITIONAL_CALL_SETTING_BOOL, true); in sDefaults.putBoolean()
3811 sDefaults.putBoolean(KEY_ALLOW_EMERGENCY_NUMBERS_IN_CALL_LOG_BOOL, false); in sDefaults.putBoolean()
3813 sDefaults.putBoolean(KEY_ALLOW_LOCAL_DTMF_TONES_BOOL, true); in sDefaults.putBoolean()
3814 sDefaults.putBoolean(KEY_PLAY_CALL_RECORDING_TONE_BOOL, false); in sDefaults.putBoolean()
[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()
/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.java117 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL, in setDefaultValues()
119 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_MODE_BOOL, in setDefaultValues()
121 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_ROAMING_MODE_BOOL, in setDefaultValues()
123 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ENABLED_BOOL, in setDefaultValues()
125 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_ENABLED_BOOL, in setDefaultValues()
131 mBundle.putBoolean(CarrierConfigManager.KEY_ENHANCED_4G_LTE_ON_BY_DEFAULT_BOOL, in setDefaultValues()
133 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL, true); in setDefaultValues()
134 mBundle.putBoolean( in setDefaultValues()
137 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_RCS_PROVISIONING_REQUIRED_BOOL, true); in setDefaultValues()
212 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL, in testSetValues()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsController.java560 filtered.putBoolean( in getMmsConfig()
563 filtered.putBoolean( in getMmsConfig()
566 filtered.putBoolean( in getMmsConfig()
569 filtered.putBoolean( in getMmsConfig()
572 filtered.putBoolean( in getMmsConfig()
575 filtered.putBoolean( in getMmsConfig()
578 filtered.putBoolean( in getMmsConfig()
581 filtered.putBoolean( in getMmsConfig()
584 filtered.putBoolean( in getMmsConfig()
587 filtered.putBoolean( in getMmsConfig()
[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/core/java/com/android/internal/app/
DResolverTargetActionsDialogFragment.java54 args.putBoolean(PINNED_KEY, pinned); in ResolverTargetActionsDialogFragment()
83 sp.edit().putBoolean(key, true).apply(); in onClick()
/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/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/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.java160 mBundle.putBoolean(KEY_USE_DEFAULT_TITLE, true); in setUseDefaultTitle()
255 mBundle.putBoolean(KEY_REQUIRE_CONFIRMATION, requireConfirmation); in setConfirmationRequired()
275 mBundle.putBoolean(KEY_ALLOW_DEVICE_CREDENTIAL, allowed); in setDeviceCredentialAllowed()
286 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()
861 to.putBoolean(restrictionKey, true); in moveRestriction()
/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/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/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/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/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()

1234567