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.java3609 if (metadata.adminType.equals(ADMIN_TYPE_PROFILE_OWNER)) { in revertTransferOwnershipIfNecessaryLocked()
3614 } else if (metadata.adminType.equals(ADMIN_TYPE_DEVICE_OWNER)) { in revertTransferOwnershipIfNecessaryLocked()
13761 PersistableBundle bundle, int callingUserId, String adminType) { in prepareTransfer() argument
13765 callingUserId, adminType)); in prepareTransfer()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java5406 private void writeFakeTransferMetadataFile(int callerUserHandle, String adminType) { in writeFakeTransferMetadataFile() argument
5414 adminType); in writeFakeTransferMetadataFile()