Home
last modified time | relevance | path

Searched refs:setBoolean (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java436 .setBoolean(BatterySaverPolicy.KEY_ADVERTISE_IS_ENABLED, false) in testUserSettingsOverrideDeviceConfig()
437 .setBoolean(BatterySaverPolicy.KEY_DEFER_FULL_BACKUP, false) in testUserSettingsOverrideDeviceConfig()
438 .setBoolean(BatterySaverPolicy.KEY_DEFER_KEYVALUE_BACKUP, false) in testUserSettingsOverrideDeviceConfig()
439 .setBoolean(BatterySaverPolicy.KEY_DISABLE_ANIMATION, false) in testUserSettingsOverrideDeviceConfig()
440 .setBoolean(BatterySaverPolicy.KEY_DISABLE_AOD, false) in testUserSettingsOverrideDeviceConfig()
441 .setBoolean(BatterySaverPolicy.KEY_DISABLE_LAUNCH_BOOST, false) in testUserSettingsOverrideDeviceConfig()
442 .setBoolean(BatterySaverPolicy.KEY_DISABLE_OPTIONAL_SENSORS, false) in testUserSettingsOverrideDeviceConfig()
443 .setBoolean(BatterySaverPolicy.KEY_DISABLE_VIBRATION, false) in testUserSettingsOverrideDeviceConfig()
444 .setBoolean(BatterySaverPolicy.KEY_ENABLE_BRIGHTNESS_ADJUSTMENT, false) in testUserSettingsOverrideDeviceConfig()
445 .setBoolean(BatterySaverPolicy.KEY_ENABLE_DATASAVER, false) in testUserSettingsOverrideDeviceConfig()
[all …]
/frameworks/base/core/java/android/content/pm/parsing/
DParsingPackageImpl.java520 private ParsingPackageImpl setBoolean(@Booleans.Values long flag, boolean value) { in setBoolean() method in ParsingPackageImpl
2228 return setBoolean(Booleans.REQUIRED_FOR_ALL_USERS, value);
2239 return setBoolean(Booleans.OVERLAY_IS_STATIC, value);
2286 return setBoolean(Booleans.USE_32_BIT_ABI, value);
2291 return setBoolean(Booleans.VISIBLE_TO_INSTANT_APPS, value);
2296 return setBoolean(Booleans.FORCE_QUERYABLE, value);
2325 return setBoolean(Booleans.ENABLED, value);
2330 return setBoolean(Booleans.CROSS_PROFILE, value);
2437 return setBoolean(Booleans.REQUEST_FOREGROUND_SERVICE_EXEMPTION, value);
2448 return setBoolean(Booleans.EXTERNAL_STORAGE, value);
[all …]
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
DPackageImpl.java164 private ParsedPackage setBoolean(@Booleans.Flags int flag, boolean value) { in setBoolean() method in PackageImpl
189 setBoolean(Booleans.CORE_APP, isCoreApp); in PackageImpl()
500 return setBoolean(Booleans.CORE_APP, coreApp); in setCoreApp()
700 setBoolean(Booleans.STUB, value); in setStub()
712 setBoolean(Booleans.SYSTEM, value); in setSystem()
718 setBoolean(Booleans.FACTORY_TEST, value); in setFactoryTest()
724 setBoolean(Booleans.SYSTEM_EXT, value); in setSystemExt()
730 setBoolean(Booleans.PRIVILEGED, value); in setPrivileged()
736 setBoolean(Booleans.OEM, value); in setOem()
742 setBoolean(Booleans.VENDOR, value); in setVendor()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DMultiSimSettingControllerTest.java466 GlobalSettingsHelper.setBoolean(mContext, Settings.Global.MOBILE_DATA, 2, true); in testDsdsGrouping()
467 GlobalSettingsHelper.setBoolean(mContext, Settings.Global.DATA_ROAMING, 2, false); in testDsdsGrouping()
538 GlobalSettingsHelper.setBoolean(mContext, Settings.Global.DATA_ROAMING, 2, false); in testCbrs()
587 GlobalSettingsHelper.setBoolean(mContext, Settings.Global.DATA_ROAMING, 2, false); in testGroupedCbrs()
598 GlobalSettingsHelper.setBoolean(mContext, Settings.Global.MOBILE_DATA, 2, false); in testGroupedCbrs()
670 GlobalSettingsHelper.setBoolean(mContext, Settings.Global.MOBILE_DATA, 1, true); in testGroupedPrimarySubscriptions()
671 GlobalSettingsHelper.setBoolean(mContext, Settings.Global.DATA_ROAMING, 1, false); in testGroupedPrimarySubscriptions()
761 GlobalSettingsHelper.setBoolean(mContext, Settings.Global.MOBILE_DATA, 1, false); in testGroupChangeOnInactiveSub_shouldNotMarkAsDefaultDataSub()
762 GlobalSettingsHelper.setBoolean(mContext, Settings.Global.MOBILE_DATA, 2, true); in testGroupChangeOnInactiveSub_shouldNotMarkAsDefaultDataSub()
763 GlobalSettingsHelper.setBoolean(mContext, Settings.Global.MOBILE_DATA, 3, true); in testGroupChangeOnInactiveSub_shouldNotMarkAsDefaultDataSub()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/
DDreamBackend.java223 setBoolean(Settings.Secure.SCREENSAVER_ENABLED, value); in setEnabled()
233 setBoolean(Settings.Secure.SCREENSAVER_ACTIVATE_ON_DOCK, value); in setActivatedOnDock()
243 setBoolean(Settings.Secure.SCREENSAVER_ACTIVATE_ON_SLEEP, value); in setActivatedOnSleep()
250 private void setBoolean(String key, boolean value) { in setBoolean() method in DreamBackend
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java215 getLockSettings().setBoolean(IS_TRUST_USUALLY_MANAGED, managed, userId); in setTrustUsuallyManaged()
585 setBoolean(PATTERN_EVER_CHOSEN_KEY, true, userId); in reportPatternWasChosen()
618 setBoolean(DISABLE_LOCKSCREEN_KEY, disable, userId); in setLockScreenDisabled()
733 setBoolean(LOCK_SCREEN_OWNER_INFO_ENABLED, enabled, userId); in setOwnerInfoEnabled()
974 setBoolean(Settings.Secure.LOCK_PATTERN_ENABLED, true, userId); in setLegacyLockPatternEnabled()
989 setBoolean(Settings.Secure.LOCK_PATTERN_VISIBLE, enabled, userId); in setVisiblePatternEnabled()
1087 private void setBoolean(String secureSettingKey, boolean enabled, int userId) { in setBoolean() method in LockPatternUtils
1089 getLockSettings().setBoolean(secureSettingKey, enabled, userId); in setBoolean()
1134 setBoolean(LOCKSCREEN_POWER_BUTTON_INSTANTLY_LOCKS, enabled, userId); in setPowerButtonInstantlyLocks()
DILockSettings.aidl35 void setBoolean(in String key, in boolean value, in int userId); in setBoolean() method
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGlobalSettingsHelper.java81 public static boolean setBoolean(Context context, String settingName, int subId, in setBoolean() method in GlobalSettingsHelper
DMultiSimSettingController.java834 GlobalSettingsHelper.setBoolean( in setUserDataEnabledForGroup()
854 GlobalSettingsHelper.setBoolean( in setRoamingDataEnabledForGroup()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyEventLoggerTest.java42 .setBoolean(true) in testAllFields()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyEventLogger.java97 public DevicePolicyEventLogger setBoolean(boolean value) { in setBoolean() method in DevicePolicyEventLogger
DManagedProfileProvisioningParams.java123 .setBoolean(value) in logParam()
DFullyManagedDeviceProvisioningParams.java150 .setBoolean(value) in logParam()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java4822 .setBoolean(calledOnParent)
5530 .setBoolean(/* isDelegate */ admin == null)
5561 .setBoolean(/* isDelegate */ admin == null)
5609 .setBoolean(/* isDelegate */ isCallerDelegate)
5664 .setBoolean(/* isDelegate */ isCallerDelegate)
6026 .setBoolean(/* isDelegate */ isCallerDelegate)
6093 .setBoolean(/* isDelegate */ isCallerDelegate)
6163 .setBoolean(isDelegate)
6647 .setBoolean(lockdown)
7672 .setBoolean(disabled)
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java947 setBoolean(LockPatternUtils.DISABLE_LOCKSCREEN_KEY, false, id); in migrateOldData()
965 setBoolean(LockPatternUtils.DISABLE_LOCKSCREEN_KEY, false, id); in migrateOldData()
992 setBoolean("migrated_frp", true, 0); in migrateOldDataAfterSystemReady()
1164 setBoolean(SEPARATE_PROFILE_CHALLENGE_KEY, enabled, userId); in setSeparateProfileChallengeEnabledLocked()
1173 setBoolean(SEPARATE_PROFILE_CHALLENGE_KEY, old, userId); in setSeparateProfileChallengeEnabledLocked()
1192 public void setBoolean(String key, boolean value, int userId) { in setBoolean() method in LockSettingsService
1194 mStorage.setBoolean(key, value, userId); in setBoolean()
1766 setBoolean(LockPatternUtils.PATTERN_EVER_CHOSEN_KEY, true, userHandle); in onPostPasswordChanged()
DLockSettingsStorage.java602 public void setBoolean(String key, boolean value, int userId) { in setBoolean() method in LockSettingsStorage
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java246 .setBoolean(isCallingUserAManagedProfile()) in logStartActivityByIntent()
544 .setBoolean(appDeclaresCrossProfileAttribute(packageName))
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataEnabledSettings.java461 boolean changed = GlobalSettingsHelper.setBoolean(mPhone.getContext(), in setDataRoamingEnabled()
/frameworks/base/core/java/android/app/
DNotification.java5114 contentView.setBoolean(R.id.expand_button, "setExpanded", false); in resetNotificationHeader()
5408 contentView.setBoolean(R.id.chronometer, "setStarted", true); in bindHeaderChronometerAndTime()
5602 big.setBoolean(R.id.snooze_button, "setEnabled", !hideSnoozeButton); in bindSnoozeAction()
5670 big.setBoolean(R.id.actions, "setEmphasizedMode", emphazisedMode); in applyStandardTemplateWithActions()
5964 result.setBoolean(R.id.expand_button, "setExpanded", true); in makeHeaderExpanded()
6051 view.setBoolean(R.id.notification_header, "setExpandOnlyOnButton", true); in makePublicContentView()
6077 header.setBoolean(R.id.notification_header, "setAcceptAllTouches", true); in makeLowPriorityContentView()
6079 header.setBoolean(R.id.notification_header, "styleTextAsTitle", true); in makeLowPriorityContentView()
6151 button.setBoolean(R.id.action0, "setIsPriority", priority); in generateActionButton()
8223 contentView.setBoolean(R.id.status_bar_latest_event_content, "setIsCollapsed", in makeMessagingView()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DAbstractMultiProfilePagerAdapter.java452 .setBoolean(/*isPersonalProfile*/ listUserHandle == mPersonalProfileUserHandle) in maybeShowNoAppsAvailableEmptyState()
DResolverActivity.java1327 .setBoolean(currentUserHandle.equals(getPersonalProfileUserHandle()))
1566 .setBoolean(activeListAdapter.getUserHandle()
/frameworks/base/core/java/android/provider/
DDeviceConfig.java1269 public Builder setBoolean(@NonNull String name, boolean value) { in setBoolean() method in DeviceConfig.Properties.Builder
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnSettingTest.java630 f.setBoolean(testApn, !f.getBoolean(testApn)); in testEquals()
/frameworks/base/core/tests/coretests/src/android/provider/
DDeviceConfigTest.java576 .setBoolean(KEY2, booleanValue).setInt(KEY3, intValue).setLong(key4, longValue) in propertiesBuilder()
/frameworks/base/core/java/android/widget/
DRemoteViews.java4205 setBoolean(viewId, "setStarted", started);
4217 setBoolean(viewId, "setCountDown", isCountDown);
4235 setBoolean(viewId, "setIndeterminate", indeterminate);
4715 public void setBoolean(@IdRes int viewId, String methodName, boolean value) {

12