Home
last modified time | relevance | path

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

12

/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);
DIntentFirewall.java419 private static final String ATTR_NAME = "name"; field in IntentFirewall.Rule
448 String componentStr = parser.getAttributeValue(null, ATTR_NAME); in readChild()
/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/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/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.java43 private static final String ATTR_NAME = "name"; // component name field in PreferredComponent
104 mShortComponent = parser.getAttributeValue(null, ATTR_NAME); in PreferredComponent()
133 String name = parser.getAttributeValue(null, ATTR_NAME); in PreferredComponent()
185 serializer.attribute(null, ATTR_NAME, mShortComponent); in writeToXml()
194 serializer.attribute(null, ATTR_NAME, mSetComponents[s]); in writeToXml()
DShareTargetInfo.java47 private static final String ATTR_NAME = "name"; field in ShareTargetInfo
146 ShortcutService.writeAttr(out, ATTR_NAME, mCategories[i]); in saveToXml()
167 categories.add(ShortcutService.parseStringAttribute(parser, ATTR_NAME)); in loadFromXml()
DSettings.java309 public static final String ATTR_NAME = "name"; field in Settings
1651 String name = parser.getAttributeValue(null, ATTR_NAME);
1859 String componentName = parser.getAttributeValue(null, ATTR_NAME);
1992 serializer.attribute(null, ATTR_NAME, pkg.name);
2058 serializer.attribute(null, ATTR_NAME, name);
2067 serializer.attribute(null, ATTR_NAME, name);
2132 String name = parser.getAttributeValue(null, ATTR_NAME);
2149 String libName = parser.getAttributeValue(null, ATTR_NAME);
2173 serializer.attribute(null, ATTR_NAME, libName);
2245 String name = parser.getAttributeValue(null, ATTR_NAME);
[all …]
DPackageInstallerSession.java241 private static final String ATTR_NAME = "name"; field in PackageInstallerSession
4445 writeStringAttribute(out, ATTR_NAME, permission); in writeGrantedRuntimePermissionsLocked()
4457 writeStringAttribute(out, ATTR_NAME, whitelistedRestrictedPermissions.get(i)); in writeWhitelistedRestrictedPermissionsLocked()
4586 writeStringAttribute(out, ATTR_NAME, file.getName()); in write()
4599 writeStringAttribute(out, ATTR_NAME, fileName); in write()
4613 writeStringAttribute(out, ATTR_NAME, fileName); in write()
4743 grantedRuntimePermissions.add(readStringAttribute(in, ATTR_NAME)); in readFromXml()
4746 whitelistedRestrictedPermissions.add(readStringAttribute(in, ATTR_NAME)); in readFromXml()
4759 readStringAttribute(in, ATTR_NAME), in readFromXml()
4765 final String fileName = readStringAttribute(in, ATTR_NAME); in readFromXml()
[all …]
DInstantAppRegistry.java120 private static final String ATTR_NAME = "name"; field in InstantAppRegistry
1200 String permission = XmlUtils.readStringAttribute(parser, ATTR_NAME);
1235 serializer.attribute(null, ATTR_NAME, permission);
/frameworks/layoutlib/bridge/tests/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/app/
DGameManagerSettings.java56 private static final String ATTR_NAME = "name"; field in GameManagerSettings
111 serializer.attribute(null, ATTR_NAME, entry.getKey()); in writePersistentDataLocked()
188 name = parser.getAttributeValue(null, ATTR_NAME); in readPackage()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationPersistence.java68 public static final String ATTR_NAME = "name"; field in DomainVerificationPersistence
211 String name = child.getString(ATTR_NAME); in readDomainStates()
274 .attribute(ATTR_NAME, stateMap.keyAt(index)) in writeStateMap()
308 String hostName = child.getString(ATTR_NAME); in readEnabledHosts()
329 .attribute(ATTR_NAME, enabledHosts.valueAt(index)) in writeUserStateToXml()
/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/layoutlib/bridge/tests/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.java210 private static final String ATTR_NAME = "name"; field in FontUpdateRequest.Family
258 out.attribute(null, ATTR_NAME, family.getName()); in writeFamilyToXml()
283 String name = parser.getAttributeValue(null, ATTR_NAME); in readFromXml()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java104 private static final String ATTR_NAME = "name"; field in Owners
716 String name = parser.getAttributeValue(null, ATTR_NAME); in readLegacyOwnerFileLocked()
726 String profileOwnerName = parser.getAttributeValue(null, ATTR_NAME); in readLegacyOwnerFileLocked()
1005 out.attribute(null, ATTR_NAME + i, protectedPackages.get(i)); in writeInner()
1082 protectedPackages.add(parser.getAttributeValue(null, ATTR_NAME + i)); in readInner()
1171 out.attribute(null, ATTR_NAME, name); in writeToXml()
1192 final String name = parser.getAttributeValue(null, ATTR_NAME); in readFromXml()
DDevicePolicyData.java75 private static final String ATTR_NAME = "name"; field in DevicePolicyData
276 out.attribute(null, ATTR_NAME, policyData.mAcceptedCaCertificates.valueAt(i)); in store()
366 out.attribute(null, ATTR_NAME, packageName); in store()
513 policy.mAcceptedCaCertificates.add(parser.getAttributeValue(null, ATTR_NAME)); in load()
556 parser.getAttributeValue(null, ATTR_NAME)); in load()
/frameworks/base/core/java/com/android/internal/os/
DPowerProfile.java237 private static final String ATTR_NAME = "name"; field in PowerProfile
287 arrayName = parser.getAttributeValue(null, ATTR_NAME); in readPowerValuesFromXml()
290 if (!parsingArray) name = parser.getAttributeValue(null, ATTR_NAME); in readPowerValuesFromXml()
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java830 private static final String ATTR_NAME = "na"; field in HistoricalRegistry.Persistence
1356 final int uid = parser.getAttributeInt(null, ATTR_NAME); in readHistoricalUidOpsDLocked()
1381 final String packageName = XmlUtils.readStringAttribute(parser, ATTR_NAME); in readHistoricalPackageOpsDLocked()
1406 final String attributionTag = XmlUtils.readStringAttribute(parser, ATTR_NAME); in readHistoricalAttributionOpsDLocked()
1432 final int op = parser.getAttributeInt(null, ATTR_NAME); in readHistoricalOpDLocked()
1455 final long key = parser.getAttributeLong(null, ATTR_NAME); in readStateDLocked()
1545 serializer.attributeInt(null, ATTR_NAME, uidOps.getUid()); in writeHistoricalUidOpsDLocked()
1557 serializer.attributeInterned(null, ATTR_NAME, packageOps.getPackageName()); in writeHistoricalPackageOpsDLocked()
1570 XmlUtils.writeStringAttribute(serializer, ATTR_NAME, attributionOps.getTag()); in writeHistoricalAttributionOpsDLocked()
1586 serializer.attributeInt(null, ATTR_NAME, op.getOpCode()); in writeHistoricalOpDLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/
DPackageWatchdog.java150 private static final String ATTR_NAME = "name"; field in PackageWatchdog
1176 out.attribute(null, ATTR_NAME, name); in writeLocked()
1294 observerName = parser.getAttributeValue(null, ATTR_NAME); in read()
1374 String packageName = parser.getAttributeValue(null, ATTR_NAME); in parseMonitoredPackage()
1436 out.attribute(null, ATTR_NAME, getName()); in writeLocked()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppIdleHistory.java93 private static final String ATTR_NAME = "name"; field in AppIdleHistory
618 final String packageName = parser.getAttributeValue(null, ATTR_NAME); in readAppIdleTimes()
714 xml.attribute(null, ATTR_NAME, packageName); in writeAppIdleTimes()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DFusedPrintersProvider.java525 private static final String ATTR_NAME = "name"; field in FusedPrintersProvider.PersistenceManager
907 String name = parser.getAttributeValue(null, ATTR_NAME); in parsePrinter()
1020 serializer.attribute(null, ATTR_NAME, printer.getName()); in doWritePrinterHistory()

12