Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DPersistentPreferredActivity.java32 private static final String ATTR_NAME = "name"; // component name field in PersistentPreferredActivity
50 String shortComponent = parser.getAttributeValue(null, ATTR_NAME); in PersistentPreferredActivity()
90 serializer.attribute(null, ATTR_NAME, mComponent.flattenToShortString()); in writeToXml()
DPreferredComponent.java42 private static final String ATTR_NAME = "name"; // component name field in PreferredComponent
103 mShortComponent = parser.getAttributeValue(null, ATTR_NAME); in PreferredComponent()
135 String name = parser.getAttributeValue(null, ATTR_NAME); in PreferredComponent()
187 serializer.attribute(null, ATTR_NAME, mShortComponent); in writeToXml()
196 serializer.attribute(null, ATTR_NAME, mSetComponents[s]); in writeToXml()
DShareTargetInfo.java46 private static final String ATTR_NAME = "name"; field in ShareTargetInfo
145 ShortcutService.writeAttr(out, ATTR_NAME, mCategories[i]); in saveToXml()
166 categories.add(ShortcutService.parseStringAttribute(parser, ATTR_NAME)); in loadFromXml()
DSettings.java242 public static final String ATTR_NAME = "name"; field in Settings
1647 String name = parser.getAttributeValue(null, ATTR_NAME); in readPackageRestrictionsLPr()
1863 String componentName = parser.getAttributeValue(null, ATTR_NAME); in readComponentsLPr()
2065 serializer.attribute(null, ATTR_NAME, pkg.name); in writePackageRestrictionsLPr()
2140 serializer.attribute(null, ATTR_NAME, name); in writePackageRestrictionsLPr()
2149 serializer.attribute(null, ATTR_NAME, name); in writePackageRestrictionsLPr()
2213 String name = parser.getAttributeValue(null, ATTR_NAME); in readInstallPermissionsLPr()
2267 serializer.attribute(null, ATTR_NAME, permissionState.getName()); in writePermissionsLPr()
2285 String libName = parser.getAttributeValue(null, ATTR_NAME); in readUsesStaticLibLPw()
2317 serializer.attribute(null, ATTR_NAME, libName); in writeUsesStaticLibLPw()
[all …]
DPackageInstallerSession.java218 private static final String ATTR_NAME = "name"; field in PackageInstallerSession
3305 writeStringAttribute(out, ATTR_NAME, permission); in writeGrantedRuntimePermissionsLocked()
3317 writeStringAttribute(out, ATTR_NAME, whitelistedRestrictedPermissions.get(i)); in writeWhitelistedRestrictedPermissionsLocked()
3443 writeStringAttribute(out, ATTR_NAME, file.getName()); in write()
3568 grantedRuntimePermissions.add(readStringAttribute(in, ATTR_NAME)); in readFromXml()
3571 whitelistedRestrictedPermissions.add(readStringAttribute(in, ATTR_NAME)); in readFromXml()
3583 readStringAttribute(in, ATTR_NAME), in readFromXml()
DInstantAppRegistry.java111 private static final String ATTR_NAME = "name"; field in InstantAppRegistry
1103 String permission = XmlUtils.readStringAttribute(parser, ATTR_NAME); in parsePermissions()
1139 serializer.attribute(null, ATTR_NAME, permission); in writeUninstalledInstantAppMetadata()
DShortcutPackage.java91 private static final String ATTR_NAME = "name"; field in ShortcutPackage
1585 ShortcutService.writeAttr(out, ATTR_NAME, getPackageName()); in saveToXml()
1774 ATTR_NAME); in loadFromXml()
/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/face/
DFaceUserState.java51 private static final String ATTR_NAME = "name"; field in FaceUserState
118 serializer.attribute(null, ATTR_NAME, f.getName().toString()); in doWriteState()
151 String name = parser.getAttributeValue(null, ATTR_NAME); in parseBiometricsLocked()
/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/biometrics/fingerprint/
DFingerprintUserState.java50 private static final String ATTR_NAME = "name"; field in FingerprintUserState
119 serializer.attribute(null, ATTR_NAME, fp.getName().toString()); in doWriteState()
154 String name = parser.getAttributeValue(null, ATTR_NAME); in parseBiometricsLocked()
/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/services/core/java/com/android/server/appop/
DHistoricalRegistry.java760 private static final String ATTR_NAME = "na"; field in HistoricalRegistry.Persistence
1286 final int uid = XmlUtils.readIntAttribute(parser, ATTR_NAME); in readHistoricalUidOpsDLocked()
1311 final String packageName = XmlUtils.readStringAttribute(parser, ATTR_NAME); in readHistoricalPackageOpsDLocked()
1336 final String attributionTag = XmlUtils.readStringAttribute(parser, ATTR_NAME); in readHistoricalAttributionOpsDLocked()
1362 final int op = XmlUtils.readIntAttribute(parser, ATTR_NAME); in readHistoricalOpDLocked()
1385 final long key = XmlUtils.readLongAttribute(parser, ATTR_NAME); in readStateDLocked()
1477 serializer.attribute(null, ATTR_NAME, Integer.toString(uidOps.getUid())); in writeHistoricalUidOpsDLocked()
1489 serializer.attribute(null, ATTR_NAME, packageOps.getPackageName()); in writeHistoricalPackageOpsDLocked()
1502 XmlUtils.writeStringAttribute(serializer, ATTR_NAME, attributionOps.getTag()); in writeHistoricalAttributionOpsDLocked()
1518 serializer.attribute(null, ATTR_NAME, Integer.toString(op.getOpCode())); in writeHistoricalOpDLocked()
[all …]
/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/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java96 private static final String ATTR_NAME = "name"; field in Owners
569 String name = parser.getAttributeValue(null, ATTR_NAME); in readLegacyOwnerFileLocked()
579 String profileOwnerName = parser.getAttributeValue(null, ATTR_NAME); in readLegacyOwnerFileLocked()
992 out.attribute(null, ATTR_NAME, name); in writeToXml()
1014 final String name = parser.getAttributeValue(null, ATTR_NAME); in readFromXml()
/frameworks/base/services/core/java/com/android/server/
DPackageWatchdog.java135 private static final String ATTR_NAME = "name"; field in PackageWatchdog
1054 out.attribute(null, ATTR_NAME, name); in writeLocked()
1138 observerName = parser.getAttributeValue(null, ATTR_NAME); in read()
1150 String packageName = parser.getAttributeValue(null, ATTR_NAME); in read()
1272 out.attribute(null, ATTR_NAME, getName()); in writeLocked()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DBasePermission.java25 import static com.android.server.pm.Settings.ATTR_NAME;
487 final String name = parser.getAttributeValue(null, ATTR_NAME); in readLPw()
540 serializer.attribute(null, ATTR_NAME, name); in writeLPr()
DDefaultPermissionGrantPolicy.java120 private static final String ATTR_NAME = "name"; field in DefaultPermissionGrantPolicy
1496 String name = parser.getAttributeValue(null, ATTR_NAME); in parsePermission()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppIdleHistory.java92 private static final String ATTR_NAME = "name"; field in AppIdleHistory
615 final String packageName = parser.getAttributeValue(null, ATTR_NAME); in readAppIdleTimes()
711 xml.attribute(null, ATTR_NAME, packageName); in writeAppIdleTimes()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DFusedPrintersProvider.java520 private static final String ATTR_NAME = "name"; field in FusedPrintersProvider.PersistenceManager
902 String name = parser.getAttributeValue(null, ATTR_NAME); in parsePrinter()
1015 serializer.attribute(null, ATTR_NAME, printer.getName()); in doWritePrinterHistory()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java116 private static final String ATTR_NAME = "name"; field in SettingsState
928 serializer.attribute(null, ATTR_NAME, name); in writeSingleSetting()
1105 String name = parser.getAttributeValue(null, ATTR_NAME); in parseSettingsLocked()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPrintSpoolerService.java882 private static final String ATTR_NAME = "name"; field in PrintSpoolerService.PersistenceManager
1058 serializer.attribute(null, ATTR_NAME, documentInfo.getName()); in doWriteStateLocked()
1328 String name = parser.getAttributeValue(null, ATTR_NAME); in parsePrintJobLocked()