Home
last modified time | relevance | path

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

123456789

/aosp14/frameworks/base/telephony/java/android/telephony/
H A DCarrierConfigManager.java9867 sDefaults.putBoolean(KEY_APN_EXPAND_BOOL, true); in sDefaults.putBoolean()
9944 sDefaults.putBoolean(KEY_PREFER_2G_BOOL, false); in sDefaults.putBoolean()
9945 sDefaults.putBoolean(KEY_4G_ONLY_BOOL, false); in sDefaults.putBoolean()
9960 sDefaults.putBoolean(KEY_WORLD_PHONE_BOOL, false); in sDefaults.putBoolean()
9975 sDefaults.putBoolean(KEY_VVM_PREFETCH_BOOL, true); in sDefaults.putBoolean()
10063 sDefaults.putBoolean(KEY_ALLOW_ERI_BOOL, false); in sDefaults.putBoolean()
10115 sDefaults.putBoolean(KEY_FORCE_IMEI_BOOL, false); in sDefaults.putBoolean()
10238 sDefaults.putBoolean(KEY_LTE_ENABLED_BOOL, true); in sDefaults.putBoolean()
10411 sDefaults.putBoolean(KEY_USE_USIM_BOOL, false); in sDefaults.putBoolean()
10507 sDefaults.putBoolean(KEY_HIDE_ENABLE_2G, false); in sDefaults.putBoolean()
[all …]
/aosp14/frameworks/base/core/java/android/content/
H A 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()
H A 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()
/aosp14/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
H A 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()
182 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_UPLOAD, true); in parseArgs()
184 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_REQUIRE_CHARGING, true); in parseArgs()
186 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_SCHEDULE_AS_EXPEDITED_JOB, true); in parseArgs()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageRemovedInfo.java79 extras.putBoolean(Intent.EXTRA_REPLACING, true); in sendSystemPackageUpdatedBroadcastsInternal()
118 extras.putBoolean(Intent.EXTRA_DATA_REMOVED, mDataRemoved); in sendPackageRemovedBroadcastInternal()
119 extras.putBoolean(Intent.EXTRA_SYSTEM_UPDATE_UNINSTALL, mIsRemovedPackageSystemUpdate); in sendPackageRemovedBroadcastInternal()
120 extras.putBoolean(Intent.EXTRA_DONT_KILL_APP, !killApp); in sendPackageRemovedBroadcastInternal()
121 extras.putBoolean(Intent.EXTRA_USER_INITIATED, !removedBySystem); in sendPackageRemovedBroadcastInternal()
124 extras.putBoolean(Intent.EXTRA_REPLACING, true); in sendPackageRemovedBroadcastInternal()
126 extras.putBoolean(Intent.EXTRA_REMOVED_FOR_ALL_USERS, mRemovedForAllUsers); in sendPackageRemovedBroadcastInternal()
H A DUserTypeFactory.java198 restrictions.putBoolean(UserManager.DISALLOW_FUN, true); in getDefaultTypeProfileTest()
303 restrictions.putBoolean(UserManager.DISALLOW_OUTGOING_CALLS, true); in getDefaultSecondaryUserRestrictions()
304 restrictions.putBoolean(UserManager.DISALLOW_SMS, true); in getDefaultSecondaryUserRestrictions()
311 restrictions.putBoolean(UserManager.DISALLOW_CONFIG_WIFI, true); in getDefaultGuestUserRestrictions()
312 restrictions.putBoolean(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, true); in getDefaultGuestUserRestrictions()
313 restrictions.putBoolean(UserManager.DISALLOW_CONFIG_CREDENTIALS, true); in getDefaultGuestUserRestrictions()
319 restrictions.putBoolean(UserManager.DISALLOW_WALLPAPER, true); in getDefaultManagedProfileRestrictions()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/model/
H A DSystemUiCarrierConfigTest.kt106 it.putBoolean(CarrierConfigManager.KEY_INFLATE_SIGNAL_STRENGTH_BOOL, false)
107 it.putBoolean(CarrierConfigManager.KEY_SHOW_OPERATOR_NAME_IN_STATUSBAR_BOOL, false)
112 createTestConfig().also { it.putBoolean(key, override) }
117 overrides.forEach { (key, value) -> config.putBoolean(key, value) }
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/
H A 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()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
H A DCompatUIConfiguration.java146 mCompatUISharedPreferences.edit().putBoolean( in setDontShowRestartDialogAgain()
157 mCompatUISharedPreferences.edit().putBoolean( in setUserHasSeenHorizontalReachabilityEducation()
162 mCompatUISharedPreferences.edit().putBoolean( in setUserHasSeenVerticalReachabilityEducation()
188 mLetterboxEduSharedPreferences.edit().putBoolean(dontShowLetterboxEduKey(userId), in setSeenLetterboxEducation()
/aosp14/frameworks/base/core/java/android/app/
H A DActivityOptions.java2248 b.putBoolean(KEY_TRANSITION_IS_RETURNING, mIsReturning); in toBundle()
2256 b.putBoolean(KEY_LOCK_TASK_MODE, mLockTaskMode); in toBundle()
2259 b.putBoolean(KEY_SHARE_IDENTITY, mShareIdentity); in toBundle()
2292 b.putBoolean(KEY_TASK_ALWAYS_ON_TOP, mTaskAlwaysOnTop); in toBundle()
2295 b.putBoolean(KEY_TASK_OVERLAY, mTaskOverlay); in toBundle()
2301 b.putBoolean(KEY_AVOID_MOVE_TO_FRONT, mAvoidMoveToFront); in toBundle()
2314 b.putBoolean(KEY_APPLY_MULTIPLE_TASK_FLAG_FOR_SHORTCUT, in toBundle()
2357 b.putBoolean(KEY_LAUNCHED_FROM_BUBBLE, mLaunchedFromBubble); in toBundle()
2360 b.putBoolean(KEY_TRANSIENT_LAUNCH, mTransientLaunch); in toBundle()
2369 b.putBoolean(KEY_LEGACY_PERMISSION_PROMPT_ELIGIBLE, in toBundle()
[all …]
H A DComponentOptions.java198 b.putBoolean(KEY_PENDING_INTENT_BACKGROUND_ACTIVITY_ALLOWED, mPendingIntentBalAllowed); in toBundle()
201 b.putBoolean(KEY_PENDING_INTENT_BACKGROUND_ACTIVITY_ALLOWED_BY_PERMISSION, in toBundle()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DActivityLeakTests.java72 intentExtras.putBoolean(DetectLeakActivity.ENABLE_STRICT_MODE, true); in testActivityLeak()
87 intentExtras.putBoolean(DetectLeakActivity.ENABLE_STRICT_MODE, true); in testActivityLeakForTwoInstances()
93 intentExtras.putBoolean(DetectLeakActivity.ENABLE_STRICT_MODE, false); in testActivityLeakForTwoInstances()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/content/
H A 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()
H A DSyncOperationTest.java56 b2.putBoolean("b2", true); in testToKey()
161 b1.putBoolean(ContentResolver.SYNC_EXTRAS_SCHEDULE_AS_EXPEDITED_JOB, true); in testScheduleAsEjIsInExtras()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserRestrictionsUtilsTest.java47 out.putBoolean("a", true); // Should not be Bundle.EMPTY. in testNonNull()
191 a.putBoolean("b", true); in testAreEqual()
194 b.putBoolean("b", false); in testAreEqual()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleEducationController.kt33 set(value) = prefs.edit { putBoolean(PREF_STACK_EDUCATION, value) }
39 set(value) = prefs.edit { putBoolean(PREF_MANAGED_EDUCATION, value) }
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/panels/
H A DSelectedComponentRepositoryImpl.kt71 .putBoolean(PREF_IS_PANEL, selectedComponent.isPanel)
88 sharedPreferences.edit().putBoolean(SHOULD_ADD_DEFAULT_PANEL, shouldAdd).apply()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A 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()
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
H A 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()
/aosp14/frameworks/base/core/java/android/app/time/
H A DTimeZoneConfiguration.java234 this.mBundle.putBoolean(SETTING_AUTO_DETECTION_ENABLED, enabled); in setAutoDetectionEnabled()
243 this.mBundle.putBoolean(SETTING_GEO_DETECTION_ENABLED, enabled); in setGeoDetectionEnabled()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/resume/
H A DResumeMediaBrowser.java94 rootHints.putBoolean(MediaBrowserService.BrowserRoot.EXTRA_RECENT, true); in findRecentMedia()
243 rootHints.putBoolean(MediaBrowserService.BrowserRoot.EXTRA_RECENT, true); in restart()
331 rootHints.putBoolean(MediaBrowserService.BrowserRoot.EXTRA_RECENT, true); in testConnection()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
H A DMenuAnimationControllerTest.java96 Prefs.putBoolean(mContext, Prefs.Key.HAS_ACCESSIBILITY_FLOATING_MENU_TUCKED, in tearDown()
129 Prefs.putBoolean(mContext, Prefs.Key.HAS_ACCESSIBILITY_FLOATING_MENU_TUCKED, /* value= */ in moveToEdgeAndHide_untucked_expectedSharedPreferenceValue()
141 Prefs.putBoolean(mContext, Prefs.Key.HAS_ACCESSIBILITY_FLOATING_MENU_TUCKED, /* value= */ in moveOutEdgeAndShow_tucked_expectedSharedPreferenceValue()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
H A DBubbleEducationControllerTest.kt67 Mockito.verify(sharedPrefsEditor).putBoolean(PREF_STACK_EDUCATION, true)
80 Mockito.verify(sharedPrefsEditor).putBoolean(PREF_MANAGED_EDUCATION, true)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/
H A DClipboardOverlayUtilsTest.java148 b.putBoolean(ClipDescription.EXTRA_IS_REMOTE_DEVICE, true); in test_extra_withPackage_returnsTrue()
172 b.putBoolean(ClipDescription.EXTRA_IS_REMOTE_DEVICE, false); in test_falseExtra_returnsFalse()
185 b.putBoolean(ClipDescription.EXTRA_IS_REMOTE_DEVICE, true); in test_wrongPackage_returnsFalse()
/aosp14/frameworks/base/tests/vcn/java/com/android/server/vcn/util/
H A DPersistableBundleUtilsTest.java220 bundle.putBoolean(TEST_KEY + "Boolean", true); in getTestBundle()
256 testBundle.putBoolean(TEST_KEY + "Boolean2", true); in testMinimizeBundle()
292 left.putBoolean(TEST_KEY + "Boolean2", true); in testEquality_different()

123456789