Home
last modified time | relevance | path

Searched refs:ATTR_NAME (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DBaseAppOpPersistence.kt49 val name = getAttributeValueOrThrow(ATTR_NAME).intern() in <lambda>()
60 attributeInterned(ATTR_NAME, name) in <lambda>()
71 private const val ATTR_NAME = "name" in <lambda>() constant
DPackageAppOpPersistence.kt62 val packageName = getAttributeValueOrThrow(ATTR_NAME).intern() in <lambda>()
85 attributeInterned(ATTR_NAME, packageName) in <lambda>()
96 private const val ATTR_NAME = "name" in <lambda>() constant
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsRecentAccessPersistence.java62 private static final String ATTR_NAME = "n"; field in AppOpsRecentAccessPersistence
158 String pkgName = parser.getAttributeValue(null, ATTR_NAME); in readPackage()
181 int uid = parser.getAttributeInt(null, ATTR_NAME); in readUid()
206 int opCode = parser.getAttributeInt(null, ATTR_NAME); in readOp()
237 final long key = parser.getAttributeLong(null, ATTR_NAME); in readAttributionOp()
297 out.attribute(null, ATTR_NAME, packageName); in writeRecentAccesses()
299 out.attributeInt(null, ATTR_NAME, uid); in writeRecentAccesses()
305 out.attributeInt(null, ATTR_NAME, op.op); in writeRecentAccesses()
365 out.attributeLong(null, ATTR_NAME, key); in writeDeviceAttributedOps()
DHistoricalRegistry.java807 private static final String ATTR_NAME = "na"; field in HistoricalRegistry.Persistence
1333 final int uid = parser.getAttributeInt(null, ATTR_NAME); in readHistoricalUidOpsDLocked()
1358 final String packageName = XmlUtils.readStringAttribute(parser, ATTR_NAME); in readHistoricalPackageOpsDLocked()
1383 final String attributionTag = XmlUtils.readStringAttribute(parser, ATTR_NAME); in readHistoricalAttributionOpsDLocked()
1409 final int op = parser.getAttributeInt(null, ATTR_NAME); in readHistoricalOpDLocked()
1432 final long key = parser.getAttributeLong(null, ATTR_NAME); in readStateDLocked()
1522 serializer.attributeInt(null, ATTR_NAME, uidOps.getUid()); in writeHistoricalUidOpsDLocked()
1534 serializer.attributeInterned(null, ATTR_NAME, packageOps.getPackageName()); in writeHistoricalPackageOpsDLocked()
1547 XmlUtils.writeStringAttribute(serializer, ATTR_NAME, attributionOps.getTag()); in writeHistoricalAttributionOpsDLocked()
1563 serializer.attributeInt(null, ATTR_NAME, op.getOpCode()); in writeHistoricalOpDLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/firewall/
DSenderPermissionFilter.java27 private static final String ATTR_NAME = "name"; field in SenderPermissionFilter
49 String permission = parser.getAttributeValue(null, ATTR_NAME);
DCategoryFilter.java28 private static final String ATTR_NAME = "name"; field in CategoryFilter
50 String categoryName = parser.getAttributeValue(null, ATTR_NAME);
DSenderPackageFilter.java33 private static final String ATTR_NAME = "name"; field in SenderPackageFilter
67 String packageName = parser.getAttributeValue(null, ATTR_NAME);
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DFaceUserState.java45 private static final String ATTR_NAME = "name"; field in FaceUserState
87 serializer.attribute(null, ATTR_NAME, f.getName().toString()); in doWriteState()
109 String name = parser.getAttributeValue(null, ATTR_NAME); in parseBiometricsLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DPersistentPreferredActivity.java34 private static final String ATTR_NAME = "name"; // component name field in PersistentPreferredActivity
81 String shortComponent = parser.getAttributeValue(null, ATTR_NAME);
122 serializer.attribute(null, ATTR_NAME, mComponent.flattenToShortString());
DPreferredComponent.java46 private static final String ATTR_NAME = "name"; // component name field in PreferredComponent
105 mShortComponent = parser.getAttributeValue(null, ATTR_NAME); in PreferredComponent()
134 String name = parser.getAttributeValue(null, ATTR_NAME); in PreferredComponent()
184 serializer.attribute(null, ATTR_NAME, mShortComponent); in writeToXml()
193 serializer.attribute(null, ATTR_NAME, mSetComponents[s]); in writeToXml()
DShareTargetInfo.java48 private static final String ATTR_NAME = "name"; field in ShareTargetInfo
147 ShortcutService.writeAttr(out, ATTR_NAME, mCategories[i]); in saveToXml()
168 categories.add(ShortcutService.parseStringAttribute(parser, ATTR_NAME)); in loadFromXml()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DFingerprintUserState.java44 private static final String ATTR_NAME = "name"; field in FingerprintUserState
88 serializer.attribute(null, ATTR_NAME, fp.getName().toString()); in doWriteState()
112 String name = parser.getAttributeValue(null, ATTR_NAME); in parseBiometricsLocked()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionPersistence.kt93 val name = getAttributeValueOrThrow(ATTR_NAME).intern() in <lambda>()
134 attributeInterned(ATTR_NAME, permission.name) in <lambda>()
187 val name = getAttributeValueOrThrow(ATTR_NAME).intern() in <lambda>()
220 attributeInterned(ATTR_NAME, name) in <lambda>()
245 private const val ATTR_NAME = "name" in <lambda>() constant
DDevicePermissionPersistence.kt106 val name = getAttributeValueOrThrow(ATTR_NAME).intern() in <lambda>()
144 attributeInterned(ATTR_NAME, name) in <lambda>()
165 private const val ATTR_NAME = "name" in <lambda>() constant
/frameworks/layoutlib/bridge/bridge_client/src/com/android/ide/common/resources/deprecated/
DValueResourceParser.java40 import static com.android.SdkConstants.ATTR_NAME;
124 String name = attributes.getValue(ATTR_NAME); in startElement()
161 String name = attributes.getValue(ATTR_NAME); in startElement()
200 String name = attributes.getValue(ATTR_NAME); in startElement()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationPersistence.java73 public static final String ATTR_NAME = "name"; field in DomainVerificationPersistence
216 String domain = child.getString(ATTR_NAME); in readUriRelativeFilterGroups()
260 String name = child.getString(ATTR_NAME); in readDomainStates()
324 .attribute(ATTR_NAME, stateMap.keyAt(index)) in writeStateMap()
358 String hostName = child.getString(ATTR_NAME); in readEnabledHosts()
379 .attribute(ATTR_NAME, enabledHosts.valueAt(index)) in writeUserStateToXml()
409 .attribute(ATTR_NAME, domain)) { in writeUriRelativeFilterGroups()
/frameworks/base/services/core/java/com/android/server/locales/
DSystemAppUpdateTracker.java62 private static final String ATTR_NAME = "name"; field in SystemAppUpdateTracker
137 ATTR_NAME); in readFromXml()
221 xml.attribute(/* namespace= */ null, ATTR_NAME, packageName); in writeToXmlLocked()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DLegacyPermission.java72 private static final String ATTR_NAME = "name"; field in LegacyPermission
140 final String name = parser.getAttributeValue(null, ATTR_NAME); in read()
181 serializer.attribute(null, ATTR_NAME, mPermissionInfo.name); in write()
/frameworks/base/services/core/java/com/android/server/power/stats/wakeups/
DIrqDeviceMap.java45 private static final String ATTR_NAME = "name"; field in IrqDeviceMap
61 currentDevice = parser.getAttributeValue(null, ATTR_NAME); in IrqDeviceMap()
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerSettings.java65 private static final String ATTR_NAME = "name"; field in GameManagerSettings
166 serializer.attribute(null, ATTR_NAME, packageName); in writePersistentDataLocked()
265 final String name = parser.getAttributeValue(null, ATTR_NAME); in readPackage()
/frameworks/base/services/core/java/com/android/server/grammaticalinflection/
DGrammaticalInflectionService.java73 private static final String ATTR_NAME = "grammatical_gender"; field in GrammaticalInflectionService
339 out.attributeInt(null, ATTR_NAME, grammaticalGender); in toXmlByteArray()
351 return parser.getAttributeInt(null, ATTR_NAME); in getGrammaticalGenderFromXml()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java147 private static final String ATTR_NAME = "name"; field in ConfigGenerator
225 attr = xmlPullParser.getAttributeValue(null, ATTR_NAME); in getEnumMap()
228 String name = xmlPullParser.getAttributeValue(null, ATTR_NAME); in getEnumMap()
/frameworks/base/core/java/android/graphics/fonts/
DFontUpdateRequest.java211 private static final String ATTR_NAME = "name"; field in FontUpdateRequest.Family
259 out.attribute(null, ATTR_NAME, family.getName()); in writeFamilyToXml()
284 String name = parser.getAttributeValue(null, ATTR_NAME); in readFromXml()
/frameworks/base/services/tests/servicestests/src/com/android/server/locales/
DSystemAppUpdateTrackerTest.java82 private static final String ATTR_NAME = "name"; field in SystemAppUpdateTrackerTest
274 ATTR_NAME); in readFromXml()
/frameworks/base/services/permission/java/com/android/server/permission/access/
DAccessPolicy.kt377 val packageName = getAttributeValueOrThrow(ATTR_NAME).intern() in <lambda>()
407 attributeInterned(ATTR_NAME, packageName) in <lambda>()
442 private const val ATTR_NAME = "name" in <lambda>() constant

12