Home
last modified time | relevance | path

Searched refs:attributeInt (Results 1 – 25 of 71) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayWindowSettingsProvider.java442 out.attributeInt(null, "identifier", data.mIdentifierType); in writeSettings()
456 out.attributeInt(null, "windowingMode", settingsEntry.mWindowingMode); in writeSettings()
459 out.attributeInt(null, "userRotationMode", in writeSettings()
463 out.attributeInt(null, "userRotation", in writeSettings()
467 out.attributeInt(null, "forcedWidth", settingsEntry.mForcedWidth); in writeSettings()
468 out.attributeInt(null, "forcedHeight", settingsEntry.mForcedHeight); in writeSettings()
471 out.attributeInt(null, "forcedDensity", settingsEntry.mForcedDensity); in writeSettings()
474 out.attributeInt(null, "forcedScalingMode", in writeSettings()
478 out.attributeInt(null, "removeContentMode", settingsEntry.mRemoveContentMode); in writeSettings()
489 out.attributeInt(null, "imePolicy", settingsEntry.mImePolicy); in writeSettings()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSignatures.java62 serializer.attributeInt(null, "count", mSigningDetails.signatures.length); in writeXml()
63 serializer.attributeInt(null, "schemeVersion", mSigningDetails.signatureSchemeVersion); in writeXml()
69 serializer.attributeInt(null, "count", mSigningDetails.pastSigningCertificates.length); in writeXml()
89 serializer.attributeInt(null, "index", j); in writeCertsListXml()
95 serializer.attributeInt(null, "index", numWritten); in writeCertsListXml()
101 serializer.attributeInt(null, "flags", sig.getFlags()); in writeCertsListXml()
DCrossProfileIntentFilter.java151 serializer.attributeInt(null, ATTR_TARGET_USER_ID, mTargetUserId);
152 serializer.attributeInt(null, ATTR_FLAGS, mFlags);
DPackageInstallerSession.java4466 out.attributeInt(null, ATTR_MODE, mode); in writeAutoRevokePermissionsMode()
4489 out.attributeInt(null, ATTR_SESSION_ID, sessionId); in write()
4490 out.attributeInt(null, ATTR_USER_ID, userId); in write()
4495 out.attributeInt(null, ATTR_INSTALLER_UID, mInstallerUid); in write()
4520 out.attributeInt(null, ATTR_STAGED_SESSION_ERROR_CODE, getStagedSessionErrorCode()); in write()
4525 out.attributeInt(null, ATTR_PARENT_SESSION_ID, mParentSessionId); in write()
4526 out.attributeInt(null, ATTR_MODE, params.mode); in write()
4527 out.attributeInt(null, ATTR_INSTALL_FLAGS, params.installFlags); in write()
4528 out.attributeInt(null, ATTR_INSTALL_LOCATION, params.installLocation); in write()
4533 out.attributeInt(null, ATTR_ORIGINATING_UID, params.originatingUid); in write()
[all …]
/frameworks/base/services/core/java/com/android/server/inputmethod/
DAdditionalSubtypeUtils.java157 out.attributeInt(null, ATTR_IME_SUBTYPE_ID, subtype.getSubtypeId()); in save()
159 out.attributeInt(null, ATTR_ICON, subtype.getIconResId()); in save()
160 out.attributeInt(null, ATTR_LABEL, subtype.getNameResId()); in save()
166 out.attributeInt(null, ATTR_IS_AUXILIARY, subtype.isAuxiliary() ? 1 : 0); in save()
167 out.attributeInt(null, ATTR_IS_ASCII_CAPABLE, subtype.isAsciiCapable() ? 1 : 0); in save()
/frameworks/base/apct-tests/perftests/core/src/android/util/
DXmlPerfTest.java221 out.attributeInt(null, "version", 1024); in write()
222 out.attributeInt(null, "sharedUserId", 10100); in write()
227 out.attributeInt(null, "index", 10); in write()
237 out.attributeInt(null, "flags", 0); in write()
/frameworks/base/core/java/android/content/pm/
DSuspendDialogInfo.java197 out.attributeInt(null, XML_ATTR_ICON_RES_ID, mIconResId); in saveToXml()
200 out.attributeInt(null, XML_ATTR_TITLE_RES_ID, mTitleResId); in saveToXml()
205 out.attributeInt(null, XML_ATTR_DIALOG_MESSAGE_RES_ID, mDialogMessageResId); in saveToXml()
210 out.attributeInt(null, XML_ATTR_BUTTON_TEXT_RES_ID, mNeutralButtonTextResId); in saveToXml()
214 out.attributeInt(null, XML_ATTR_BUTTON_ACTION, mNeutralButtonAction); in saveToXml()
/frameworks/base/core/java/android/app/
DNotificationChannel.java1061 out.attributeInt(null, ATT_IMPORTANCE, getImportance()); in writeXml()
1064 out.attributeInt(null, ATT_PRIORITY, Notification.PRIORITY_MAX); in writeXml()
1067 out.attributeInt(null, ATT_VISIBILITY, getLockscreenVisibility()); in writeXml()
1074 out.attributeInt(null, ATT_USAGE, getAudioAttributes().getUsage()); in writeXml()
1075 out.attributeInt(null, ATT_CONTENT_TYPE, getAudioAttributes().getContentType()); in writeXml()
1076 out.attributeInt(null, ATT_FLAGS, getAudioAttributes().getFlags()); in writeXml()
1082 out.attributeInt(null, ATT_LIGHT_COLOR, getLightColor()); in writeXml()
1091 out.attributeInt(null, ATT_USER_LOCKED, getUserLockedFields()); in writeXml()
1112 out.attributeInt(null, ATT_ALLOW_BUBBLE, getAllowBubbles()); in writeXml()
1115 out.attributeInt(null, ATT_ORIG_IMP, getOriginalImportance()); in writeXml()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DFingerprintUserState.java87 serializer.attributeInt(null, ATTR_FINGER_ID, fp.getBiometricId()); in doWriteState()
89 serializer.attributeInt(null, ATTR_GROUP_ID, fp.getGroupId()); in doWriteState()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyData.java208 out.attributeInt(null, ATTR_PROVISIONING_STATE, policyData.mUserProvisioningState); in store()
211 out.attributeInt(null, ATTR_PERMISSION_POLICY, policyData.mPermissionPolicy); in store()
222 out.attributeInt(null, ATTR_FACTORY_RESET_FLAGS, policyData.mFactoryResetFlags); in store()
255 out.attributeInt(null, "value", policyData.mPasswordOwner); in store()
261 out.attributeInt(null, "value", policyData.mFailedPasswordAttempts); in store()
289 out.attributeInt(null, ATTR_VALUE, policyData.mLockTaskFeatures); in store()
/frameworks/base/core/java/android/graphics/fonts/
DFontUpdateRequest.java132 out.attributeInt(null, ATTR_INDEX, font.getIndex()); in writeToXml()
133 out.attributeInt(null, ATTR_WEIGHT, font.getFontStyle().getWeight()); in writeToXml()
134 out.attributeInt(null, ATTR_SLANT, font.getFontStyle().getSlant()); in writeToXml()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DLegacyPermission.java184 serializer.attributeInt(null, "protection", mPermissionInfo.protectionLevel); in write()
189 serializer.attributeInt(null, "icon", mPermissionInfo.icon); in write()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java82 public XmlSerializer attributeInt(String namespace, String name, int value) in attributeInt() method in XmlUtils.ForcedTypedXmlSerializer
605 out.attributeInt(null, "num", N); in writeByteArrayXml()
641 out.attributeInt(null, "num", N); in writeIntArrayXml()
645 out.attributeInt(null, "value", val[i]); in writeIntArrayXml()
680 out.attributeInt(null, "num", N); in writeLongArrayXml()
719 out.attributeInt(null, "num", N); in writeDoubleArrayXml()
758 out.attributeInt(null, "num", N); in writeStringArrayXml()
797 out.attributeInt(null, "num", N); in writeBooleanArrayXml()
874 out.attributeInt(null, "value", (int) v); in writeValueXml()
1766 ((TypedXmlSerializer) out).attributeInt(null, name, value); in writeIntAttribute()
/frameworks/base/core/java/android/util/
DTypedXmlSerializer.java59 @NonNull XmlSerializer attributeInt(@Nullable String namespace, @NonNull String name, in attributeInt() method
/frameworks/base/core/java/android/os/
DPowerComponents.java322 serializer.attributeInt(null, BatteryUsageStats.XML_ATTR_ID, componentId);
330 serializer.attributeInt(null, BatteryUsageStats.XML_ATTR_MODEL,
348 serializer.attributeInt(null, BatteryUsageStats.XML_ATTR_ID, componentId);
DAggregateBatteryConsumer.java85 serializer.attributeInt(null, BatteryUsageStats.XML_ATTR_SCOPE, scope); in writeToXml()
DUserBatteryConsumer.java101 serializer.attributeInt(null, BatteryUsageStats.XML_ATTR_USER_ID, getUserId()); in writeToXml()
/frameworks/base/core/java/android/app/admin/
DSystemUpdatePolicy.java780 out.attributeInt(null, KEY_POLICY_TYPE, mPolicyType); in saveToXml()
781 out.attributeInt(null, KEY_INSTALL_WINDOW_START, mMaintenanceWindowStart); in saveToXml()
782 out.attributeInt(null, KEY_INSTALL_WINDOW_END, mMaintenanceWindowEnd); in saveToXml()
DSystemUpdateInfo.java134 out.attributeInt(null, ATTR_SECURITY_PATCH_STATE, mSecurityPatchState); in writeToXml()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DFaceUserState.java86 serializer.attributeInt(null, ATTR_FACE_ID, f.getBiometricId()); in doWriteState()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerSettings.java532 xml.attributeInt(null, ATTR_VERSION, CURRENT_VERSION);
548 xml.attributeInt(null, ATTR_USER_ID, item.mUserId);
553 xml.attributeInt(null, ATTR_STATE, item.mState);
556 xml.attributeInt(null, ATTR_PRIORITY, item.mPriority);
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java3158 out.attributeInt(null, "id", wallpaper.wallpaperId); in writeWallpaperAttributes()
3159 out.attributeInt(null, "width", wpdData.mWidth); in writeWallpaperAttributes()
3160 out.attributeInt(null, "height", wpdData.mHeight); in writeWallpaperAttributes()
3162 out.attributeInt(null, "cropLeft", wallpaper.cropHint.left); in writeWallpaperAttributes()
3163 out.attributeInt(null, "cropTop", wallpaper.cropHint.top); in writeWallpaperAttributes()
3164 out.attributeInt(null, "cropRight", wallpaper.cropHint.right); in writeWallpaperAttributes()
3165 out.attributeInt(null, "cropBottom", wallpaper.cropHint.bottom); in writeWallpaperAttributes()
3168 out.attributeInt(null, "paddingLeft", wpdData.mPadding.left); in writeWallpaperAttributes()
3171 out.attributeInt(null, "paddingTop", wpdData.mPadding.top); in writeWallpaperAttributes()
3174 out.attributeInt(null, "paddingRight", wpdData.mPadding.right); in writeWallpaperAttributes()
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DDiscreteRegistry.java700 out.attributeInt(null, ATTR_VERSION, CURRENT_VERSION); in writeToStream()
701 out.attributeInt(null, ATTR_LARGEST_CHAIN_ID, mLargestChainId); in writeToStream()
706 out.attributeInt(null, ATTR_UID, mUids.keyAt(i)); in writeToStream()
1026 out.attributeInt(null, ATTR_OP_ID, mPackageOps.keyAt(i)); in serialize()
1310 out.attributeInt(null, ATTR_ATTRIBUTION_FLAGS, mAttributionFlags);
1313 out.attributeInt(null, ATTR_CHAIN_ID, mAttributionChainId);
1315 out.attributeInt(null, ATTR_UID_STATE, mUidState);
1316 out.attributeInt(null, ATTR_FLAGS, mOpFlag);
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java621 out.attributeInt(null, ZEN_ATT_USER, user); in writeXml()
628 out.attributeInt(null, ALLOW_ATT_CALLS_FROM, allowCallsFrom); in writeXml()
629 out.attributeInt(null, ALLOW_ATT_MESSAGES_FROM, allowMessagesFrom); in writeXml()
634 out.attributeInt(null, ALLOW_ATT_CONV_FROM, allowConversationsFrom); in writeXml()
638 out.attributeInt(null, DISALLOW_ATT_VISUAL_EFFECTS, suppressedVisualEffects); in writeXml()
701 out.attributeInt(null, RULE_ATT_ZEN, rule.zenMode); in writeRuleXml()
750 out.attributeInt(null, CONDITION_ATT_ICON, c.icon); in writeConditionXml()
751 out.attributeInt(null, CONDITION_ATT_STATE, c.state); in writeConditionXml()
752 out.attributeInt(null, CONDITION_ATT_FLAGS, c.flags); in writeConditionXml()
881 out.attributeInt(null, attr, val); in writeZenPolicyState()
[all …]
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerSettings.java112 serializer.attributeInt(null, ATTR_GAME_MODE, entry.getValue()); in writePersistentDataLocked()

123