Home
last modified time | relevance | path

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

123456

/frameworks/base/telephony/java/android/telephony/
DCarrierConfigManager.java1432 sDefaults.putBoolean(KEY_ALLOW_HOLD_IN_IMS_CALL_BOOL, true); in sDefaults.putBoolean()
1433 sDefaults.putBoolean(KEY_ADDITIONAL_CALL_SETTING_BOOL, true); in sDefaults.putBoolean()
1434 sDefaults.putBoolean(KEY_ALLOW_EMERGENCY_NUMBERS_IN_CALL_LOG_BOOL, false); in sDefaults.putBoolean()
1435 sDefaults.putBoolean(KEY_ALLOW_LOCAL_DTMF_TONES_BOOL, true); in sDefaults.putBoolean()
1436 sDefaults.putBoolean(KEY_APN_EXPAND_BOOL, true); in sDefaults.putBoolean()
1437 sDefaults.putBoolean(KEY_AUTO_RETRY_ENABLED_BOOL, false); in sDefaults.putBoolean()
1438 sDefaults.putBoolean(KEY_CARRIER_SETTINGS_ENABLE_BOOL, false); in sDefaults.putBoolean()
1439 sDefaults.putBoolean(KEY_CARRIER_VOLTE_AVAILABLE_BOOL, false); in sDefaults.putBoolean()
1440 sDefaults.putBoolean(KEY_CARRIER_VT_AVAILABLE_BOOL, false); in sDefaults.putBoolean()
1441 sDefaults.putBoolean(KEY_NOTIFY_HANDOVER_VIDEO_FROM_WIFI_TO_LTE_BOOL, false); in sDefaults.putBoolean()
[all …]
DSmsManager.java1655 filtered.putBoolean(MMS_CONFIG_APPEND_TRANSACTION_ID, in getMmsConfig()
1657 filtered.putBoolean(MMS_CONFIG_MMS_ENABLED, config.getBoolean(MMS_CONFIG_MMS_ENABLED)); in getMmsConfig()
1658 filtered.putBoolean(MMS_CONFIG_GROUP_MMS_ENABLED, in getMmsConfig()
1660 filtered.putBoolean(MMS_CONFIG_NOTIFY_WAP_MMSC_ENABLED, in getMmsConfig()
1662 filtered.putBoolean(MMS_CONFIG_ALIAS_ENABLED, config.getBoolean(MMS_CONFIG_ALIAS_ENABLED)); in getMmsConfig()
1663 filtered.putBoolean(MMS_CONFIG_ALLOW_ATTACH_AUDIO, in getMmsConfig()
1665 filtered.putBoolean(MMS_CONFIG_MULTIPART_SMS_ENABLED, in getMmsConfig()
1667 filtered.putBoolean(MMS_CONFIG_SMS_DELIVERY_REPORT_ENABLED, in getMmsConfig()
1669 filtered.putBoolean(MMS_CONFIG_SUPPORT_MMS_CONTENT_DISPOSITION, in getMmsConfig()
1671 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.java511 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, true); in build()
514 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_DISALLOW_METERED, true); in build()
517 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_REQUIRE_CHARGING, true); in build()
520 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); in build()
523 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, true); in build()
526 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in build()
529 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, true); in build()
530 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); in build()
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
DRequestSync.java100 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); in parseArgs()
102 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, true); in parseArgs()
104 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS, true); in parseArgs()
106 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, true); in parseArgs()
108 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in parseArgs()
110 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, true); in parseArgs()
112 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); in parseArgs()
114 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS, true); in parseArgs()
116 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_UPLOAD, true); in parseArgs()
143 mExtras.putBoolean(key, Boolean.valueOf(value)); in parseArgs()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
DCarHelper.java41 extras.putBoolean(SLOT_RESERVATION_QUEUE, true); in setSlotReservationFlags()
46 extras.putBoolean(SLOT_RESERVATION_SKIP_TO_PREV, true); in setSlotReservationFlags()
51 extras.putBoolean(SLOT_RESERVATION_SKIP_TO_NEXT, true); in setSlotReservationFlags()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java60 Prefs.putBoolean(mContext, Key.QS_INVERT_COLORS_ADDED, true); in AutoTileManager()
91 Prefs.putBoolean(mContext, Key.QS_WORK_ADDED, true);
109 Prefs.putBoolean(mContext, Key.QS_DATA_SAVER_ADDED, true);
121 Prefs.putBoolean(mContext, Key.QS_HOTSPOT_ADDED, true);
148 Prefs.putBoolean(mContext, Key.QS_NIGHTDISPLAY_ADDED, true);
/frameworks/support/samples/SupportEmojiDemos/src/com/example/android/support/text/emoji/
DConfig.java85 mSharedPref.edit().putBoolean(KEY_ENABLED, mCompatEnabled).apply(); in update()
86 mSharedPref.edit().putBoolean(KEY_REPLACE_ALL, mReplaceAll).apply(); in update()
87 mSharedPref.edit().putBoolean(KEY_DOWNLOADABLE, mDownloadable).apply(); in update()
88 mSharedPref.edit().putBoolean(KEY_INDICATOR, mIndicator).apply(); in update()
/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/support/v7/preference/tests/src/android/support/v7/preference/tests/
DPreferencePersistTest.java365 boolean wasPersisted = mPreference.putBoolean(expected); in boolean_persist_getsStoredToSharedPrefs()
376 boolean wasPersisted = mPreference.putBoolean(true); in boolean_persistWhileDisabled_notPersisted()
387 mPreference.putBoolean(expected); in boolean_persistAndRetrieve_returnsPersistedValue()
398 mPreference.putBoolean(!expected); in boolean_persistTwiceAndRetrieve_returnsSecondValue()
399 mPreference.putBoolean(expected); in boolean_persistTwiceAndRetrieve_returnsSecondValue()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java228 restrictions.putBoolean(key, Boolean.parseBoolean(value)); in readRestrictions()
277 dest.putBoolean(key, true); in merge()
339 global.putBoolean(UserManager.DISALLOW_CAMERA, true); in sortToGlobalAndLocal()
341 local.putBoolean(UserManager.DISALLOW_CAMERA, true); in sortToGlobalAndLocal()
351 global.putBoolean(key, true); in sortToGlobalAndLocal()
353 local.putBoolean(key, true); in sortToGlobalAndLocal()
576 to.putBoolean(restrictionKey, true); in moveRestriction()
/frameworks/support/compat/kitkat/android/support/v4/app/
DNotificationCompatKitKat.java84 mExtras.putBoolean(NotificationCompatJellybean.EXTRA_LOCAL_ONLY, true); in Builder()
89 mExtras.putBoolean(NotificationCompatJellybean.EXTRA_GROUP_SUMMARY, true); in Builder()
91 mExtras.putBoolean(NotificationCompatJellybean.EXTRA_USE_SIDE_CHANNEL, true); in Builder()
/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/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/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()
315 a.putBoolean("b", true); in testAreEqual()
318 b.putBoolean("b", false); in testAreEqual()
DUserManagerServiceTest.java80 result.putBoolean("boolean_0", false); in createBundle()
81 result.putBoolean("boolean_1", true); in createBundle()
/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/src/com/android/systemui/
DPrefs.java77 public static void putBoolean(Context context, @Key String key, boolean value) { in putBoolean() method in Prefs
78 get(context).edit().putBoolean(key, value).apply(); in putBoolean()
/frameworks/support/compat/jellybean/android/support/v4/app/
DNotificationCompatJellybean.java115 mExtras.putBoolean(EXTRA_LOCAL_ONLY, true); in Builder()
120 mExtras.putBoolean(EXTRA_GROUP_SUMMARY, true); in Builder()
122 mExtras.putBoolean(EXTRA_USE_SIDE_CHANNEL, true); in Builder()
292 actionExtras.putBoolean(EXTRA_ALLOW_GENERATED_REPLIES, in writeActionAndGetExtras()
434 actionExtras.putBoolean(NotificationCompatJellybean.EXTRA_ALLOW_GENERATED_REPLIES, in getBundleForAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginPrefs.java59 context.getSharedPreferences(PREFS, 0).edit().putBoolean(HAS_PLUGINS, true).commit(); in setHasPlugins()
/frameworks/base/services/core/java/com/android/server/content/
DSyncOperation.java198 syncExtrasBundle.putBoolean(key, (Boolean) value); in toJobInfoExtras()
213 jobInfoExtras.putBoolean("SyncManagerJob", true); in toJobInfoExtras()
223 jobInfoExtras.putBoolean("allowParallelSyncs", allowParallelSyncs); in toJobInfoExtras()
225 jobInfoExtras.putBoolean("isPeriodic", isPeriodic); in toJobInfoExtras()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteDescriptor.java505 mBundle.putBoolean(KEY_ENABLED, enabled); in setEnabled()
516 mBundle.putBoolean(KEY_CONNECTING, connecting); in setConnecting()
537 mBundle.putBoolean(KEY_CAN_DISCONNECT, canDisconnect); in setCanDisconnect()
/frameworks/support/core-utils/java/android/support/v4/app/
DAppLaunchChecker.java80 sp.edit().putBoolean(KEY_STARTED_FROM_LAUNCHER, true)); in onActivityCreate()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceDataStore.java119 public void putBoolean(String key, boolean value) { in putBoolean() method in PreferenceDataStore
/frameworks/base/core/java/android/preference/
DPreferenceDataStore.java119 default void putBoolean(String key, boolean value) { in putBoolean() method

123456