Home
last modified time | relevance | path

Searched refs:getAttributeBoolean (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/core/java/android/util/
DTypedXmlPullParser.java113 boolean getAttributeBoolean(int index) throws XmlPullParserException; in getAttributeBoolean() method
191 default boolean getAttributeBoolean(@Nullable String namespace, @NonNull String name) in getAttributeBoolean() method
193 return getAttributeBoolean(getAttributeIndexOrThrow(namespace, name)); in getAttributeBoolean()
320 default boolean getAttributeBoolean(@Nullable String namespace, @NonNull String name, in getAttributeBoolean() method
325 return getAttributeBoolean(index); in getAttributeBoolean()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DActiveAdmin.java673 specifiesGlobalProxy = parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
685 encryptionRequested = parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
687 testOnlyAdmin = parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
689 disableCamera = parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
691 disableCallerId = parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
693 disableContactsSearch = parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
696 parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
698 disableScreenCapture = parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
700 requireAutoTime = parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
702 forceEphemeralUsers = parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
[all …]
DDevicePolicyData.java520 parser.getAttributeBoolean(null, ATTR_VALUE, false); in load()
523 parser.getAttributeBoolean(null, ATTR_DISABLED, false); in load()
546 parser.getAttributeBoolean(null, ATTR_VALUE, false); in load()
559 parser.getAttributeBoolean(null, ATTR_VALUE, false); in load()
/frameworks/base/apct-tests/perftests/core/src/android/util/
DXmlPerfTest.java271 xml.getAttributeBoolean(null, "isOrphaned"); in read()
279 xml.getAttributeBoolean(null, "granted"); in read()
/frameworks/base/services/core/java/com/android/server/pm/
DPersistentPreferredActivity.java89 mIsSetByDpm = parser.getAttributeBoolean(null, ATTR_SET_BY_DPM, false);
DSettingsXml.java235 return mParser.getAttributeBoolean(null, attrName, defaultValue); in getBoolean()
DSettings.java1663 parser.getAttributeBoolean(null, ATTR_INSTALLED, true);
1665 parser.getAttributeBoolean(null, ATTR_STOPPED, false);
1667 parser.getAttributeBoolean(null, ATTR_NOT_LAUNCHED, false);
1671 boolean hidden = parser.getAttributeBoolean(null, ATTR_HIDDEN, false);
1673 hidden = parser.getAttributeBoolean(null, ATTR_BLOCKED, false);
1677 … final boolean suspended = parser.getAttributeBoolean(null, ATTR_SUSPENDED, false);
1687 parser.getAttributeBoolean(null, ATTR_BLOCK_UNINSTALL, false);
1689 parser.getAttributeBoolean(null, ATTR_INSTANT_APP, false);
1691 parser.getAttributeBoolean(null, ATTR_VIRTUAL_PRELOAD, false);
2133 final boolean granted = parser.getAttributeBoolean(null, ATTR_GRANTED, true);
[all …]
DPackageInstallerSession.java4670 final boolean prepared = in.getAttributeBoolean(null, ATTR_PREPARED, true); in readFromXml()
4671 final boolean committed = in.getAttributeBoolean(null, ATTR_COMMITTED, false); in readFromXml()
4672 final boolean destroyed = in.getAttributeBoolean(null, ATTR_DESTROYED, false); in readFromXml()
4673 final boolean sealed = in.getAttributeBoolean(null, ATTR_SEALED, false); in readFromXml()
4679 params.isMultiPackage = in.getAttributeBoolean(null, ATTR_MULTI_PACKAGE, false); in readFromXml()
4680 params.isStaged = in.getAttributeBoolean(null, ATTR_STAGED_SESSION, false); in readFromXml()
4696 if (in.getAttributeBoolean(null, ATTR_IS_DATALOADER, false)) { in readFromXml()
4710 final boolean isReady = in.getAttributeBoolean(null, ATTR_IS_READY, false); in readFromXml()
4711 final boolean isFailed = in.getAttributeBoolean(null, ATTR_IS_FAILED, false); in readFromXml()
4712 final boolean isApplied = in.getAttributeBoolean(null, ATTR_IS_APPLIED, false); in readFromXml()
DPreferredComponent.java111 mAlways = parser.getAttributeBoolean(null, ATTR_ALWAYS, true); in PreferredComponent()
/frameworks/base/core/java/android/app/admin/
DFactoryResetProtectionPolicy.java206 boolean factoryResetProtectionEnabled = parser.getAttributeBoolean(null, in readFromXml()
/frameworks/base/errorprone/refaster/
DEfficientXml.java332 return in.getAttributeBoolean(null, n, false); in after()
344 return in.getAttributeBoolean(null, n, d); in after()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DBiometricUserState.java251 mInvalidationInProgress = parser.getAttributeBoolean(null, ATTR_INVALIDATION); in parseStateLocked()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerSettings.java515 final boolean isEnabled = parser.getAttributeBoolean(null, ATTR_IS_ENABLED, false);
516 final boolean isStatic = parser.getAttributeBoolean(null, ATTR_IS_STATIC, false);
519 final boolean isFabricated = parser.getAttributeBoolean(null, ATTR_IS_FABRICATED,
/frameworks/base/services/core/java/com/android/server/tv/
DPersistentDataStore.java243 mParentalControlsEnabled = parser.getAttributeBoolean(null, ATTR_ENABLED); in loadFromXml()
/frameworks/base/core/java/android/app/
DNotificationChannelGroup.java234 setBlocked(parser.getAttributeBoolean(null, ATT_BLOCKED, false)); in populateFromXml()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java665 builder.setNightMode(parser.getAttributeBoolean(null, ATTR_NIGHT_MODE)); in readEventsLocked()
669 parser.getAttributeBoolean(null, ATTR_REDUCE_BRIGHT_COLORS)); in readEventsLocked()
694 parser.getAttributeBoolean(null, ATTR_DEFAULT_CONFIG, false)); in readEventsLocked()
698 parser.getAttributeBoolean(null, ATTR_USER_POINT, false)); in readEventsLocked()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java228 mHideSilentStatusBarIcons = parser.getAttributeBoolean(null, in readXml()
261 parser.getAttributeBoolean( in readXml()
270 r.showBadge = parser.getAttributeBoolean( in readXml()
274 r.hasSentInvalidMessage = parser.getAttributeBoolean( in readXml()
276 r.hasSentValidMessage = parser.getAttributeBoolean( in readXml()
278 r.userDemotedMsgApp = parser.getAttributeBoolean( in readXml()
345 boolean delegateEnabled = parser.getAttributeBoolean( in readXml()
347 boolean userAllowed = parser.getAttributeBoolean( in readXml()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java233 public boolean getAttributeBoolean(int index) in getAttributeBoolean() method in XmlUtils.ForcedTypedXmlPullParser
1495 array[i] = parser.getAttributeBoolean(null, "value"); in readThisBooleanArrayXml()
1679 return parser.getAttributeBoolean(null, "value"); in readThisPrimitiveValueXml()
1851 return ((TypedXmlPullParser) in).getAttributeBoolean(null, name, defaultValue); in readBooleanAttribute()
DBinaryXmlPullParser.java495 public boolean getAttributeBoolean(int index) throws XmlPullParserException { in getAttributeBoolean() method in BinaryXmlPullParser
/frameworks/base/core/tests/coretests/src/android/util/
DXmlTest.java300 assertEquals(true, in.getAttributeBoolean(null, "boolean")); in doVerifyRead()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayWindowSettingsProvider.java363 return parser.getAttributeBoolean(null, name); in getBooleanAttribute()
/frameworks/base/services/core/java/com/android/server/
DSensorPrivacyService.java936 boolean enabled = parser.getAttributeBoolean(null, "enabled", false); in readPersistedSensorPrivacyStateLocked()
968 boolean isEnabled = parser.getAttributeBoolean(null, in readPersistedSensorPrivacyStateLocked()
992 boolean isEnabled = parser.getAttributeBoolean(null, in readPersistedSensorPrivacyStateLocked()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1650 boolean listen = parser.getAttributeBoolean( in readAccountInfoLocked()
1797 boolean listen = parser.getAttributeBoolean(null, XML_ATTR_ENABLED, true); in parseListenForTickles()
1812 boolean enabled = parser.getAttributeBoolean(null, XML_ATTR_ENABLED, true); in parseAuthority()
1932 extras.putBoolean(name, parser.getAttributeBoolean(null, "value1")); in parseExtra()
/frameworks/base/core/java/android/hardware/display/
DBrightnessConfiguration.java452 parser.getAttributeBoolean(null, ATTR_COLLECT_COLOR, false); in loadFromXml()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java1107 boolean isPreservedInRestore = parser.getAttributeBoolean(null, in parseSettingsLocked()
1112 fromSystem = parser.getAttributeBoolean(null, ATTR_DEFAULT_SYS_SET, false); in parseSettingsLocked()

12