Searched refs:mDataBlockFile (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pdb/ |
D | PersistentDataBlockService.java | 195 private final String mDataBlockFile; field in PersistentDataBlockService 226 mDataBlockFile = GSI_SANDBOX; in PersistentDataBlockService() 229 mDataBlockFile = SystemProperties.get(PERSISTENT_DATA_BLOCK_PROP); in PersistentDataBlockService() 240 mDataBlockFile = dataBlockFile; in PersistentDataBlockService() 415 mBlockDeviceSize = nativeGetBlockDeviceSize(mDataBlockFile); in getBlockDeviceSize() 476 return new RandomAccessFile(mDataBlockFile, "rw").getChannel(); in getBlockOutputChannelIgnoringFrp() 501 inputStream = new DataInputStream(new FileInputStream(new File(mDataBlockFile))); in computeDigestLocked() 788 new DataInputStream(new FileInputStream(new File(mDataBlockFile)))) { in readDataBlock() 825 inputStream = new DataInputStream(new FileInputStream(new File(mDataBlockFile))); in doGetOemUnlockEnabled() 1055 inputStream = new DataInputStream(new FileInputStream(new File(mDataBlockFile))); [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pdb/ |
D | PersistentDataBlockServiceTest.java | 86 private File mDataBlockFile; field in PersistentDataBlockServiceTest 125 mDataBlockFile = mTemporaryFolder.newFile(); in setUp() 129 mPdbService = new FakePersistentDataBlockService(mContext, mDataBlockFile.getPath(), in setUp() 414 FileChannel channel = FileChannel.open(mDataBlockFile.toPath(), StandardOpenOption.WRITE, in testPartitionFormat() 430 channel = FileChannel.open(mDataBlockFile.toPath(), StandardOpenOption.READ); in testPartitionFormat() 771 mDataBlockFile.getPath(), DEFAULT_BLOCK_DEVICE_SIZE, frpEnabled, in frpState_StartsActive() 902 mPdbService = new FakePersistentDataBlockService(mContext, mDataBlockFile.getPath(), in frpState_TestDowngradeUpgradeSequence() 912 mPdbService = new FakePersistentDataBlockService(mContext, mDataBlockFile.getPath(), in frpState_TestDowngradeUpgradeSequence() 920 mPdbService = new FakePersistentDataBlockService(mContext, mDataBlockFile.getPath(), in frpState_TestDowngradeUpgradeSequence() 932 mPdbService = new FakePersistentDataBlockService(mContext, mDataBlockFile.getPath(), in frpState_TestDowngradeUpgradeSequence() [all …]
|