Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreService.java89 private static final String CONFIG_FILE_ENCRYPTION_PATH = field in BluetoothKeystoreService
265 loadEncryptionFile(CONFIG_FILE_ENCRYPTION_PATH, true); in loadConfigData()
267 Files.deleteIfExists(Paths.get(CONFIG_FILE_ENCRYPTION_PATH)); in loadConfigData()
396 Files.deleteIfExists(Paths.get(CONFIG_FILE_ENCRYPTION_PATH)); in cleanupFile()
471 Files.write(Paths.get(CONFIG_FILE_ENCRYPTION_PATH), keyEncryptedLines); in saveEncryptedKey()
502 if (Files.exists(Paths.get(CONFIG_FILE_ENCRYPTION_PATH))) { in backupConfigEncryptionFile()
503 Files.move(Paths.get(CONFIG_FILE_ENCRYPTION_PATH), in backupConfigEncryptionFile()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreServiceTest.java50 private static final String CONFIG_FILE_ENCRYPTION_PATH = field in BluetoothKeystoreServiceTest
252 Assert.assertTrue(loadEncryptionFile(CONFIG_FILE_ENCRYPTION_PATH, true)); in testDecrypt()
290 Assert.assertFalse(Files.exists(Paths.get(CONFIG_FILE_ENCRYPTION_PATH))); in testParserFileAfterDisableNiapMode()