Home
last modified time | relevance | path

Searched refs:BinaryXmlSerializer (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/permission/java/com/android/server/permission/access/util/
DBinaryXmlSerializerExtensions.kt19 import com.android.modules.utils.BinaryXmlSerializer
25 inline fun OutputStream.serializeBinaryXml(block: BinaryXmlSerializer.() -> Unit) { in serializeBinaryXml()
26 BinaryXmlSerializer().apply { in serializeBinaryXml()
39 inline fun BinaryXmlSerializer.document(block: BinaryXmlSerializer.() -> Unit) { in document()
52 inline fun BinaryXmlSerializer.tag(name: String, block: BinaryXmlSerializer.() -> Unit) { in tag()
61 inline fun BinaryXmlSerializer.attribute(name: String, value: String) { in attribute()
68 inline fun BinaryXmlSerializer.attributeInterned(name: String, value: String) { in attributeInterned()
75 inline fun BinaryXmlSerializer.attributeBytesHex(name: String, value: ByteArray) { in attributeBytesHex()
82 inline fun BinaryXmlSerializer.attributeBytesBase64(name: String, value: ByteArray) { in attributeBytesBase64()
89 inline fun BinaryXmlSerializer.attributeInt(name: String, value: Int) { in attributeInt()
[all …]
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DBinaryXmlPullParser.java19 import static com.android.modules.utils.BinaryXmlSerializer.ATTRIBUTE;
20 import static com.android.modules.utils.BinaryXmlSerializer.PROTOCOL_MAGIC_VERSION_0;
21 import static com.android.modules.utils.BinaryXmlSerializer.TYPE_BOOLEAN_FALSE;
22 import static com.android.modules.utils.BinaryXmlSerializer.TYPE_BOOLEAN_TRUE;
23 import static com.android.modules.utils.BinaryXmlSerializer.TYPE_BYTES_BASE64;
24 import static com.android.modules.utils.BinaryXmlSerializer.TYPE_BYTES_HEX;
25 import static com.android.modules.utils.BinaryXmlSerializer.TYPE_DOUBLE;
26 import static com.android.modules.utils.BinaryXmlSerializer.TYPE_FLOAT;
27 import static com.android.modules.utils.BinaryXmlSerializer.TYPE_INT;
28 import static com.android.modules.utils.BinaryXmlSerializer.TYPE_INT_HEX;
[all …]
DAndroid.bp77 "BinaryXmlSerializer.java",
DBinaryXmlSerializer.java67 public class BinaryXmlSerializer implements TypedXmlSerializer { class
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DBaseAppOpPersistence.kt21 import com.android.modules.utils.BinaryXmlSerializer in <lambda>()
37 abstract fun BinaryXmlSerializer.serializeUserState(state: AccessState, userId: Int) in <lambda>() method
54 protected fun BinaryXmlSerializer.serializeAppOps(appOpModes: IndexedMap<String, Int>) { in <lambda>() method
58 private fun BinaryXmlSerializer.serializeAppOp(name: String, mode: Int) { in <lambda>() method
DAppIdAppOpPersistence.kt22 import com.android.modules.utils.BinaryXmlSerializer in <lambda>()
72 override fun BinaryXmlSerializer.serializeUserState(state: AccessState, userId: Int) { in <lambda>()
76 private fun BinaryXmlSerializer.serializeAppIdAppOps(appIdAppOpModes: AppIdAppOpModes) { in <lambda>() method
84 private fun BinaryXmlSerializer.serializeAppId( in <lambda>() method
DPackageAppOpPersistence.kt21 import com.android.modules.utils.BinaryXmlSerializer in <lambda>()
68 override fun BinaryXmlSerializer.serializeUserState(state: AccessState, userId: Int) { in <lambda>()
72 private fun BinaryXmlSerializer.serializePackageAppOps(packageAppOpModes: PackageAppOpModes) { in <lambda>() method
80 private fun BinaryXmlSerializer.serializePackage( in <lambda>() method
DBaseAppOpPolicy.kt20 import com.android.modules.utils.BinaryXmlSerializer
34 override fun BinaryXmlSerializer.serializeUserState(state: AccessState, userId: Int) { in serializeUserState()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionPersistence.kt22 import com.android.modules.utils.BinaryXmlSerializer in <lambda>()
119 fun BinaryXmlSerializer.serializeSystemState(state: AccessState) { in <lambda>() method
125 private fun BinaryXmlSerializer.serializePermissions( in <lambda>() method
132 private fun BinaryXmlSerializer.serializePermission(permission: Permission) { in <lambda>() method
192 fun BinaryXmlSerializer.serializeUserState(state: AccessState, userId: Int) { in <lambda>() method
196 private fun BinaryXmlSerializer.serializeAppIdPermissions( in <lambda>() method
206 private fun BinaryXmlSerializer.serializeAppId( in <lambda>() method
218 private fun BinaryXmlSerializer.serializeAppIdPermission(name: String, flags: Int) { in <lambda>() method
DDevicePermissionPersistence.kt21 import com.android.modules.utils.BinaryXmlSerializer in <lambda>()
111 fun BinaryXmlSerializer.serializeUserState(state: AccessState, userId: Int) { in <lambda>() method
120 private fun BinaryXmlSerializer.serializeAppId( in <lambda>() method
132 private fun BinaryXmlSerializer.serializeDevice( in <lambda>() method
142 private fun BinaryXmlSerializer.serializePermission(name: String, flags: Int) { in <lambda>() method
DDevicePermissionPolicy.kt22 import com.android.modules.utils.BinaryXmlSerializer in <lambda>()
201 override fun BinaryXmlSerializer.serializeUserState(state: AccessState, userId: Int) { in <lambda>()
DAppIdPermissionPolicy.kt30 import com.android.modules.utils.BinaryXmlSerializer in <lambda>()
1636 override fun BinaryXmlSerializer.serializeSystemState(state: AccessState) { in <lambda>()
1644 override fun BinaryXmlSerializer.serializeUserState(state: AccessState, userId: Int) { in <lambda>()
/frameworks/base/core/java/com/android/internal/util/
DArtBinaryXmlSerializer.java21 import com.android.modules.utils.BinaryXmlSerializer;
34 public class ArtBinaryXmlSerializer extends BinaryXmlSerializer {
/frameworks/base/services/permission/java/com/android/server/permission/access/
DAccessPolicy.kt21 import com.android.modules.utils.BinaryXmlSerializer in <lambda>()
327 fun BinaryXmlSerializer.serializeSystemState(state: AccessState) { in <lambda>() method
391 fun BinaryXmlSerializer.serializeUserState(state: AccessState, userId: Int) { in <lambda>() method
401 private fun BinaryXmlSerializer.serializePackageVersions( in <lambda>() method
414 private fun BinaryXmlSerializer.serializeDefaultPermissionGrantFingerprint( in <lambda>() method
490 open fun BinaryXmlSerializer.serializeSystemState(state: AccessState) {} in serializeSystemState()
494 open fun BinaryXmlSerializer.serializeUserState(state: AccessState, userId: Int) {} in serializeUserState()
DAccessPersistence.kt29 import com.android.modules.utils.BinaryXmlSerializer in <lambda>()
164 private inline fun File.serialize(block: BinaryXmlSerializer.() -> Unit) { in <lambda>()
/frameworks/base/core/java/android/util/
DXml.java30 import com.android.modules.utils.BinaryXmlSerializer;
239 if (Arrays.equals(magic, BinaryXmlSerializer.PROTOCOL_MAGIC_VERSION_0)) { in resolvePullParser()
289 return new BinaryXmlSerializer(); in newBinarySerializer$ravenwood()
323 final TypedXmlSerializer xml = new BinaryXmlSerializer(); in resolveSerializer$ravenwood()
/frameworks/base/ravenwood/texts/
Dravenwood-framework-policies.txt36 class com.android.modules.utils.BinaryXmlSerializer keepclass
/frameworks/base/services/
Dart-profile2135BinaryXmlSerializer;Lcom/android/server/permission/access/immutable/IndexedMap;)V+]Lcom/android/mo…
2152 …s/utils/BinaryXmlSerializer;Ljava/lang/String;I)V+]Lcom/android/modules/utils/BinaryXmlSerializer;…
2153 …/BaseAppOpPersistence;->serializeAppOps(Lcom/android/modules/utils/BinaryXmlSerializer;Lcom/androi…
2166BinaryXmlSerializer;ILcom/android/server/permission/access/immutable/IndexedMap;)V+]Lcom/android/m…
2167 …s/utils/BinaryXmlSerializer;Ljava/lang/String;I)V+]Lcom/android/modules/utils/BinaryXmlSerializer;…
2168BinaryXmlSerializer;Lcom/android/server/permission/access/permission/Permission;)V+]Lcom/android/m…
2169BinaryXmlSerializer;Ljava/lang/String;Lcom/android/server/permission/access/immutable/IndexedMap;)…
Dart-wear-profile17089 …ializeDefaultPermissionGrantFingerprint(Lcom/android/modules/utils/BinaryXmlSerializer;Ljava/lang/…
17090 …AccessPolicy;->serializePackageVersions(Lcom/android/modules/utils/BinaryXmlSerializer;Lcom/androi…
17091 …ess/AccessPolicy;->serializeSystemState(Lcom/android/modules/utils/BinaryXmlSerializer;Lcom/androi…
17092 …ccess/AccessPolicy;->serializeUserState(Lcom/android/modules/utils/BinaryXmlSerializer;Lcom/androi…
17180 …ess/SchemePolicy;->serializeSystemState(Lcom/android/modules/utils/BinaryXmlSerializer;Lcom/androi…
17222 …/AppIdAppOpPersistence;->serializeAppId(Lcom/android/modules/utils/BinaryXmlSerializer;ILcom/andro…
17223 …AppOpPersistence;->serializeAppIdAppOps(Lcom/android/modules/utils/BinaryXmlSerializer;Lcom/androi…
17224 …IdAppOpPersistence;->serializeUserState(Lcom/android/modules/utils/BinaryXmlSerializer;Lcom/androi…
17268 …p/BaseAppOpPersistence;->serializeAppOp(Lcom/android/modules/utils/BinaryXmlSerializer;Ljava/lang/…
17269 …/BaseAppOpPersistence;->serializeAppOps(Lcom/android/modules/utils/BinaryXmlSerializer;Lcom/androi…
[all …]