Home
last modified time | relevance | path

Searched refs:transferOwnershipMetadataFile (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DTransferOwnershipMetadataManager.java80 final File transferOwnershipMetadataFile = new File(mInjector.getOwnerTransferMetadataDir(), in saveMetadataFile() local
82 final AtomicFile atomicFile = new AtomicFile(transferOwnershipMetadataFile); in saveMetadataFile()
100 + "Params to file " + transferOwnershipMetadataFile, e); in saveMetadataFile()
101 transferOwnershipMetadataFile.delete(); in saveMetadataFile()
116 final File transferOwnershipMetadataFile = in loadMetadataFile() local
118 if (!transferOwnershipMetadataFile.exists()) { in loadMetadataFile()
122 + transferOwnershipMetadataFile); in loadMetadataFile()
123 try (FileInputStream stream = new FileInputStream(transferOwnershipMetadataFile)) { in loadMetadataFile()
129 + "owner transfer params from file " + transferOwnershipMetadataFile, e); in loadMetadataFile()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DTransferOwnershipMetadataManagerTest.java110 final File transferOwnershipMetadataFile = in testLoad() local
112 Log.d(TAG, "testLoad: file path is " + transferOwnershipMetadataFile.getAbsolutePath()); in testLoad()
113 Log.d(TAG, "testLoad: file exists? " + transferOwnershipMetadataFile.exists()); in testLoad()
114 Log.d(TAG, "testLoad: file mkdir?" + transferOwnershipMetadataFile.mkdir()); in testLoad()
116 File canonicalFile = transferOwnershipMetadataFile.getCanonicalFile(); in testLoad()