Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DActiveAdmin.java810 specifiesGlobalProxy = parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
822 encryptionRequested = parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
824 testOnlyAdmin = parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
826 disableCamera = parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
828 disableCallerId = parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
833 parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
837 requireAutoTime = parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
839 forceEphemeralUsers = parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
903 isLogoutEnabled = parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
951 mCommonCriteriaMode = parser.getAttributeBoolean(null, ATTR_VALUE, false); in readFromXml()
[all …]
H A DBooleanPolicySerializer.java51 parser.getAttributeBoolean(/* namespace= */ null, ATTR_VALUE)); in readFromXml()
H A DDevicePolicyData.java559 parser.getAttributeBoolean(null, ATTR_VALUE, false); in load()
562 parser.getAttributeBoolean(null, ATTR_DISABLED, false); in load()
589 parser.getAttributeBoolean(null, ATTR_VALUE, false); in load()
594 policy.mEffectiveKeepProfilesRunning = parser.getAttributeBoolean( in load()
H A DEnforcingAdmin.java298 boolean isRoleAuthority = parser.getAttributeBoolean(/* namespace= */ null, ATTR_IS_ROLE); in readFromXml()
/aosp14/frameworks/base/core/java/android/content/pm/
H A DUserProperties.java698 setStartWithParent(parser.getAttributeBoolean(i)); in updateFromXml()
707 setUseParentsContacts(parser.getAttributeBoolean(i)); in updateFromXml()
710 setUpdateCrossProfileIntentFiltersOnOTA(parser.getAttributeBoolean(i)); in updateFromXml()
719 setMediaSharedWithParent(parser.getAttributeBoolean(i)); in updateFromXml()
722 setCredentialShareableWithParent(parser.getAttributeBoolean(i)); in updateFromXml()
725 setDeleteAppWithParent(parser.getAttributeBoolean(i)); in updateFromXml()
/aosp14/frameworks/base/services/permission/java/com/android/server/permission/access/util/
H A DBinaryXmlPullParserExtensions.kt292 ): Boolean = getAttributeBoolean(null, name, defaultValue)
300 getAttributeBoolean(null, name)
/aosp14/frameworks/base/core/java/android/app/admin/
H A DPreferentialNetworkServiceConfig.java492 resultBuilder.setEnabled(parser.getAttributeBoolean(null, ATTR_VALUE, in getPreferentialNetworkServiceConfig()
500 resultBuilder.setFallbackToDefaultConnectionAllowed(parser.getAttributeBoolean( in getPreferentialNetworkServiceConfig()
503 resultBuilder.setShouldBlockNonMatchingNetworks(parser.getAttributeBoolean( in getPreferentialNetworkServiceConfig()
H A DFactoryResetProtectionPolicy.java208 boolean factoryResetProtectionEnabled = parser.getAttributeBoolean(null, in readFromXml()
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/util/
H A DXmlPerfTest.java273 xml.getAttributeBoolean(null, "isOrphaned"); in read()
281 xml.getAttributeBoolean(null, "granted"); in read()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DPersistentPreferredActivity.java89 mIsSetByDpm = parser.getAttributeBoolean(null, ATTR_SET_BY_DPM, false);
H A DSettingsXml.java236 return mParser.getAttributeBoolean(null, attrName, defaultValue); in getBoolean()
H A DPackageInstallerSession.java5224 final boolean prepared = in.getAttributeBoolean(null, ATTR_PREPARED, true);
5225 final boolean committed = in.getAttributeBoolean(null, ATTR_COMMITTED, false);
5226 final boolean destroyed = in.getAttributeBoolean(null, ATTR_DESTROYED, false);
5227 final boolean sealed = in.getAttributeBoolean(null, ATTR_SEALED, false);
5233 params.isMultiPackage = in.getAttributeBoolean(null, ATTR_MULTI_PACKAGE, false);
5234 params.isStaged = in.getAttributeBoolean(null, ATTR_STAGED_SESSION, false);
5250 params.applicationEnabledSettingPersistent = in.getAttributeBoolean(null,
5253 if (in.getAttributeBoolean(null, ATTR_IS_DATALOADER, false)) {
5267 final boolean isReady = in.getAttributeBoolean(null, ATTR_IS_READY, false);
5268 final boolean isFailed = in.getAttributeBoolean(null, ATTR_IS_FAILED, false);
[all …]
H A DSettings.java1851 parser.getAttributeBoolean(null, ATTR_INSTALLED, true);
1853 parser.getAttributeBoolean(null, ATTR_STOPPED, false);
1855 parser.getAttributeBoolean(null, ATTR_NOT_LAUNCHED, false);
1861 hidden = parser.getAttributeBoolean(null, ATTR_BLOCKED, false);
1879 parser.getAttributeBoolean(null, ATTR_INSTANT_APP, false);
2374 final boolean granted = parser.getAttributeBoolean(null, ATTR_GRANTED, true);
3836 updateAvailable = parser.getAttributeBoolean(null, "updateAvailable", false);
3852 isOrphaned = parser.getAttributeBoolean(null, "isOrphaned", false);
3855 installInitiatorUninstalled = parser.getAttributeBoolean(null,
4271 if (parser.getAttributeBoolean(null, "system", false)) {
[all …]
H A DPreferredComponent.java111 mAlways = parser.getAttributeBoolean(null, ATTR_ALWAYS, true); in PreferredComponent()
/aosp14/frameworks/base/errorprone/refaster/
H A DEfficientXml.java332 return in.getAttributeBoolean(null, n, false); in after()
344 return in.getAttributeBoolean(null, n, d); in after()
/aosp14/frameworks/base/services/core/java/com/android/server/om/
H A DOverlayManagerSettings.java505 final boolean isEnabled = parser.getAttributeBoolean(null, ATTR_IS_ENABLED, false);
506 final boolean isStatic = parser.getAttributeBoolean(null, ATTR_IS_STATIC, false);
509 final boolean isFabricated = parser.getAttributeBoolean(null, ATTR_IS_FABRICATED,
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
H A DBiometricUserState.java251 mInvalidationInProgress = parser.getAttributeBoolean(null, ATTR_INVALIDATION); in parseStateLocked()
/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DBrightnessTracker.java710 builder.setNightMode(parser.getAttributeBoolean(null, ATTR_NIGHT_MODE)); in readEventsLocked()
714 parser.getAttributeBoolean(null, ATTR_REDUCE_BRIGHT_COLORS)); in readEventsLocked()
739 parser.getAttributeBoolean(null, ATTR_DEFAULT_CONFIG, false)); in readEventsLocked()
743 parser.getAttributeBoolean(null, ATTR_USER_POINT, false)); in readEventsLocked()
/aosp14/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetXmlUtil.java139 info.isExtendedFromAppWidgetProvider = parser.getAttributeBoolean(null, in readAppWidgetProviderInfoLocked()
/aosp14/frameworks/base/services/core/java/com/android/server/tv/
H A DPersistentDataStore.java243 mParentalControlsEnabled = parser.getAttributeBoolean(null, ATTR_ENABLED); in loadFromXml()
/aosp14/frameworks/base/core/java/android/app/
H A DNotificationChannelGroup.java256 setBlocked(parser.getAttributeBoolean(null, ATT_BLOCKED, false)); in populateFromXml()
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DXmlUtils.java234 public boolean getAttributeBoolean(int index) in getAttributeBoolean() method in XmlUtils.ForcedTypedXmlPullParser
1496 array[i] = parser.getAttributeBoolean(null, "value"); in readThisBooleanArrayXml()
1680 return parser.getAttributeBoolean(null, "value"); in readThisPrimitiveValueXml()
1852 return ((TypedXmlPullParser) in).getAttributeBoolean(null, name, defaultValue); in readBooleanAttribute()
/aosp14/frameworks/base/services/core/java/com/android/server/app/
H A DGameManagerSettings.java326 final boolean useAngle = parser.getAttributeBoolean(null, ATTR_USE_ANGLE); in readGameModeConfig()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DPreferencesHelper.java265 mHideSilentStatusBarIcons = parser.getAttributeBoolean(null, in readXml()
310 parser.getAttributeBoolean(null, ATT_SHOW_BADGE, DEFAULT_SHOW_BADGE), in restorePackage()
314 r.showBadge = parser.getAttributeBoolean(null, ATT_SHOW_BADGE, DEFAULT_SHOW_BADGE); in restorePackage()
317 r.hasSentInvalidMessage = parser.getAttributeBoolean(null, ATT_SENT_INVALID_MESSAGE, in restorePackage()
319 r.hasSentValidMessage = parser.getAttributeBoolean(null, ATT_SENT_VALID_MESSAGE, false); in restorePackage()
320 r.userDemotedMsgApp = parser.getAttributeBoolean( in restorePackage()
367 boolean delegateEnabled = parser.getAttributeBoolean( in restorePackage()
/aosp14/frameworks/base/core/tests/coretests/src/android/util/
H A DXmlTest.java302 assertEquals(true, in.getAttributeBoolean(null, "boolean")); in doVerifyRead()

12