Home
last modified time | relevance | path

Searched refs:adminType (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DTransferOwnershipMetadataManager.java94 insertSimpleTag(serializer, TAG_ADMIN_TYPE, params.adminType); in saveMetadataFile()
141 String adminType = null; in parseMetadataFile() local
162 adminType = parser.getText(); in parseMetadataFile()
166 return new Metadata(adminComponent, targetComponent, userId, adminType); in parseMetadataFile()
182 final String adminType; field in TransferOwnershipMetadataManager.Metadata
185 @NonNull int userId, @NonNull String adminType) { in Metadata() argument
190 Preconditions.checkStringNotEmpty(adminType); in Metadata()
192 this.adminType = adminType; in Metadata()
196 @NonNull int userId, @NonNull String adminType) { in Metadata() argument
198 unflattenComponentUnchecked(flatTargetComponent), userId, adminType); in Metadata() local
[all …]
DDevicePolicyManagerService.java3417 if (metadata.adminType.equals(ADMIN_TYPE_PROFILE_OWNER)) { in revertTransferOwnershipIfNecessaryLocked()
3422 } else if (metadata.adminType.equals(ADMIN_TYPE_DEVICE_OWNER)) { in revertTransferOwnershipIfNecessaryLocked()
12746 PersistableBundle bundle, int callingUserId, String adminType) { in prepareTransfer() argument
12750 callingUserId, adminType)); in prepareTransfer()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java5041 private void writeFakeTransferMetadataFile(int callerUserHandle, String adminType) { in writeFakeTransferMetadataFile() argument
5049 adminType); in writeFakeTransferMetadataFile()