From c1c2385bd522c6b70fae6cf6a6fc515737d4bf61 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Thu, 2 Mar 2023 19:32:10 +0200 Subject: [PATCH] app: Add SPDX copyright headers 1/5 --- app/lint.xml | 4 ++++ app/src/androidTest/AndroidManifest.xml | 4 ++++ .../androidTest/java/com/stevesoltys/seedvault/PluginTest.kt | 5 +++++ .../seedvault/plugins/saf/DocumentsStorageTest.kt | 5 +++++ .../seedvault/transport/backup/PackageServiceTest.kt | 5 +++++ app/src/debug/AndroidManifest.xml | 4 ++++ app/src/debug/res/values/config.xml | 4 ++++ .../sharedTest/java/com/stevesoltys/seedvault/TestUtils.kt | 5 +++++ .../com/stevesoltys/seedvault/crypto/KeyManagerTestImpl.kt | 5 +++++ app/src/test/java/com/stevesoltys/seedvault/TestApp.kt | 5 +++++ .../com/stevesoltys/seedvault/crypto/Bip39ComparisonTest.kt | 5 +++++ .../java/com/stevesoltys/seedvault/crypto/CryptoImplTest.kt | 5 +++++ .../stevesoltys/seedvault/crypto/CryptoIntegrationTest.kt | 5 +++++ .../test/java/com/stevesoltys/seedvault/crypto/CryptoTest.kt | 5 +++++ .../com/stevesoltys/seedvault/crypto/KeyManagerImplTest.kt | 5 +++++ .../java/com/stevesoltys/seedvault/crypto/WordListTest.kt | 5 +++++ .../com/stevesoltys/seedvault/header/HeaderReaderTest.kt | 5 +++++ .../stevesoltys/seedvault/metadata/MetadataManagerTest.kt | 5 +++++ .../stevesoltys/seedvault/metadata/MetadataReadWriteTest.kt | 5 +++++ .../com/stevesoltys/seedvault/metadata/MetadataReaderTest.kt | 5 +++++ .../com/stevesoltys/seedvault/metadata/MetadataV0ReadTest.kt | 5 +++++ .../seedvault/metadata/MetadataWriterDecoderTest.kt | 5 +++++ .../stevesoltys/seedvault/plugins/saf/DocumentFileTest.kt | 5 +++++ .../stevesoltys/seedvault/plugins/saf/StoragePluginTest.kt | 5 +++++ .../seedvault/restore/install/ApkBackupRestoreTest.kt | 5 +++++ .../stevesoltys/seedvault/restore/install/ApkRestoreTest.kt | 5 +++++ .../restore/install/ApkSplitCompatibilityCheckerTest.kt | 5 +++++ .../stevesoltys/seedvault/restore/install/DeviceInfoTest.kt | 5 +++++ .../seedvault/transport/CoordinatorIntegrationTest.kt | 5 +++++ .../com/stevesoltys/seedvault/transport/TransportTest.kt | 5 +++++ .../seedvault/transport/backup/BackupCoordinatorTest.kt | 5 +++++ .../com/stevesoltys/seedvault/transport/backup/BackupTest.kt | 5 +++++ .../stevesoltys/seedvault/transport/backup/FullBackupTest.kt | 5 +++++ .../stevesoltys/seedvault/transport/backup/KVBackupTest.kt | 5 +++++ .../seedvault/transport/backup/TestKvDbManager.kt | 5 +++++ .../seedvault/transport/restore/FullRestoreTest.kt | 5 +++++ .../stevesoltys/seedvault/transport/restore/KVRestoreTest.kt | 5 +++++ .../seedvault/transport/restore/RestoreCoordinatorTest.kt | 5 +++++ .../stevesoltys/seedvault/transport/restore/RestoreTest.kt | 5 +++++ .../seedvault/transport/restore/RestoreV0IntegrationTest.kt | 5 +++++ build.gradle.kts | 5 +++++ 41 files changed, 201 insertions(+) diff --git a/app/lint.xml b/app/lint.xml index f70fd2ba..589ba063 100644 --- a/app/lint.xml +++ b/app/lint.xml @@ -1,4 +1,8 @@ + diff --git a/app/src/androidTest/AndroidManifest.xml b/app/src/androidTest/AndroidManifest.xml index 00f58f96..1d3f048a 100644 --- a/app/src/androidTest/AndroidManifest.xml +++ b/app/src/androidTest/AndroidManifest.xml @@ -1,4 +1,8 @@ + diff --git a/app/src/androidTest/java/com/stevesoltys/seedvault/PluginTest.kt b/app/src/androidTest/java/com/stevesoltys/seedvault/PluginTest.kt index 67fc0426..0ffaca99 100644 --- a/app/src/androidTest/java/com/stevesoltys/seedvault/PluginTest.kt +++ b/app/src/androidTest/java/com/stevesoltys/seedvault/PluginTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault import android.net.Uri diff --git a/app/src/androidTest/java/com/stevesoltys/seedvault/plugins/saf/DocumentsStorageTest.kt b/app/src/androidTest/java/com/stevesoltys/seedvault/plugins/saf/DocumentsStorageTest.kt index 77375cbf..4f08f52c 100644 --- a/app/src/androidTest/java/com/stevesoltys/seedvault/plugins/saf/DocumentsStorageTest.kt +++ b/app/src/androidTest/java/com/stevesoltys/seedvault/plugins/saf/DocumentsStorageTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.plugins.saf import android.database.ContentObserver diff --git a/app/src/androidTest/java/com/stevesoltys/seedvault/transport/backup/PackageServiceTest.kt b/app/src/androidTest/java/com/stevesoltys/seedvault/transport/backup/PackageServiceTest.kt index 7bf20f42..046b3024 100644 --- a/app/src/androidTest/java/com/stevesoltys/seedvault/transport/backup/PackageServiceTest.kt +++ b/app/src/androidTest/java/com/stevesoltys/seedvault/transport/backup/PackageServiceTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.transport.backup import android.content.pm.PackageInfo diff --git a/app/src/debug/AndroidManifest.xml b/app/src/debug/AndroidManifest.xml index 0888d2f4..6944c2cb 100644 --- a/app/src/debug/AndroidManifest.xml +++ b/app/src/debug/AndroidManifest.xml @@ -1,4 +1,8 @@ + diff --git a/app/src/debug/res/values/config.xml b/app/src/debug/res/values/config.xml index a814cb63..07d6e219 100644 --- a/app/src/debug/res/values/config.xml +++ b/app/src/debug/res/values/config.xml @@ -1,4 +1,8 @@ + true diff --git a/app/src/sharedTest/java/com/stevesoltys/seedvault/TestUtils.kt b/app/src/sharedTest/java/com/stevesoltys/seedvault/TestUtils.kt index 70d1ca7e..94add9ea 100644 --- a/app/src/sharedTest/java/com/stevesoltys/seedvault/TestUtils.kt +++ b/app/src/sharedTest/java/com/stevesoltys/seedvault/TestUtils.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault import kotlinx.coroutines.runBlocking diff --git a/app/src/sharedTest/java/com/stevesoltys/seedvault/crypto/KeyManagerTestImpl.kt b/app/src/sharedTest/java/com/stevesoltys/seedvault/crypto/KeyManagerTestImpl.kt index 1bb0c7c5..58b07419 100644 --- a/app/src/sharedTest/java/com/stevesoltys/seedvault/crypto/KeyManagerTestImpl.kt +++ b/app/src/sharedTest/java/com/stevesoltys/seedvault/crypto/KeyManagerTestImpl.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.crypto import javax.crypto.KeyGenerator diff --git a/app/src/test/java/com/stevesoltys/seedvault/TestApp.kt b/app/src/test/java/com/stevesoltys/seedvault/TestApp.kt index 724ba41e..160dee86 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/TestApp.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/TestApp.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault import com.stevesoltys.seedvault.crypto.CipherFactory diff --git a/app/src/test/java/com/stevesoltys/seedvault/crypto/Bip39ComparisonTest.kt b/app/src/test/java/com/stevesoltys/seedvault/crypto/Bip39ComparisonTest.kt index c1e89895..d574e6b5 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/crypto/Bip39ComparisonTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/crypto/Bip39ComparisonTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.crypto import cash.z.ecc.android.bip39.Mnemonics diff --git a/app/src/test/java/com/stevesoltys/seedvault/crypto/CryptoImplTest.kt b/app/src/test/java/com/stevesoltys/seedvault/crypto/CryptoImplTest.kt index 879ee745..348dee6b 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/crypto/CryptoImplTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/crypto/CryptoImplTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.crypto import com.stevesoltys.seedvault.getRandomBase64 diff --git a/app/src/test/java/com/stevesoltys/seedvault/crypto/CryptoIntegrationTest.kt b/app/src/test/java/com/stevesoltys/seedvault/crypto/CryptoIntegrationTest.kt index 7eedba18..67d6b077 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/crypto/CryptoIntegrationTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/crypto/CryptoIntegrationTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.crypto import com.stevesoltys.seedvault.assertReadEquals diff --git a/app/src/test/java/com/stevesoltys/seedvault/crypto/CryptoTest.kt b/app/src/test/java/com/stevesoltys/seedvault/crypto/CryptoTest.kt index 3480283e..d7d12e7c 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/crypto/CryptoTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/crypto/CryptoTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.crypto import com.stevesoltys.seedvault.assertContains diff --git a/app/src/test/java/com/stevesoltys/seedvault/crypto/KeyManagerImplTest.kt b/app/src/test/java/com/stevesoltys/seedvault/crypto/KeyManagerImplTest.kt index 7f7ee538..c91df607 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/crypto/KeyManagerImplTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/crypto/KeyManagerImplTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.crypto import com.stevesoltys.seedvault.getRandomByteArray diff --git a/app/src/test/java/com/stevesoltys/seedvault/crypto/WordListTest.kt b/app/src/test/java/com/stevesoltys/seedvault/crypto/WordListTest.kt index 88ef7faa..def2d30f 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/crypto/WordListTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/crypto/WordListTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.crypto import cash.z.ecc.android.bip39.Mnemonics diff --git a/app/src/test/java/com/stevesoltys/seedvault/header/HeaderReaderTest.kt b/app/src/test/java/com/stevesoltys/seedvault/header/HeaderReaderTest.kt index 7765d1ee..bbd1996f 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/header/HeaderReaderTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/header/HeaderReaderTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.header import com.stevesoltys.seedvault.Utf8 diff --git a/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataManagerTest.kt b/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataManagerTest.kt index 308f9105..0b1ff816 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataManagerTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataManagerTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.metadata import android.content.Context diff --git a/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataReadWriteTest.kt b/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataReadWriteTest.kt index fdd6aff8..38f56263 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataReadWriteTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataReadWriteTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.metadata import com.stevesoltys.seedvault.crypto.CipherFactoryImpl diff --git a/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataReaderTest.kt b/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataReaderTest.kt index 140d5915..30b7fbb8 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataReaderTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataReaderTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.metadata import com.stevesoltys.seedvault.Utf8 diff --git a/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataV0ReadTest.kt b/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataV0ReadTest.kt index d0e11aca..d150a3ea 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataV0ReadTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataV0ReadTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.metadata import com.stevesoltys.seedvault.crypto.CipherFactoryImpl diff --git a/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataWriterDecoderTest.kt b/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataWriterDecoderTest.kt index 0c3da522..24aad1cb 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataWriterDecoderTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/metadata/MetadataWriterDecoderTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.metadata import com.stevesoltys.seedvault.crypto.Crypto diff --git a/app/src/test/java/com/stevesoltys/seedvault/plugins/saf/DocumentFileTest.kt b/app/src/test/java/com/stevesoltys/seedvault/plugins/saf/DocumentFileTest.kt index 3fd6491b..ce19d907 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/plugins/saf/DocumentFileTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/plugins/saf/DocumentFileTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.plugins.saf import android.content.Context diff --git a/app/src/test/java/com/stevesoltys/seedvault/plugins/saf/StoragePluginTest.kt b/app/src/test/java/com/stevesoltys/seedvault/plugins/saf/StoragePluginTest.kt index 982124de..a13ef9db 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/plugins/saf/StoragePluginTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/plugins/saf/StoragePluginTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.plugins.saf import androidx.documentfile.provider.DocumentFile diff --git a/app/src/test/java/com/stevesoltys/seedvault/restore/install/ApkBackupRestoreTest.kt b/app/src/test/java/com/stevesoltys/seedvault/restore/install/ApkBackupRestoreTest.kt index 4a23ae12..6b33c969 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/restore/install/ApkBackupRestoreTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/restore/install/ApkBackupRestoreTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.restore.install import android.content.Context diff --git a/app/src/test/java/com/stevesoltys/seedvault/restore/install/ApkRestoreTest.kt b/app/src/test/java/com/stevesoltys/seedvault/restore/install/ApkRestoreTest.kt index 1af61a8b..c58dbbe2 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/restore/install/ApkRestoreTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/restore/install/ApkRestoreTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.restore.install import android.content.Context diff --git a/app/src/test/java/com/stevesoltys/seedvault/restore/install/ApkSplitCompatibilityCheckerTest.kt b/app/src/test/java/com/stevesoltys/seedvault/restore/install/ApkSplitCompatibilityCheckerTest.kt index 6d10afb8..f142ba5f 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/restore/install/ApkSplitCompatibilityCheckerTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/restore/install/ApkSplitCompatibilityCheckerTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.restore.install import com.stevesoltys.seedvault.getRandomString diff --git a/app/src/test/java/com/stevesoltys/seedvault/restore/install/DeviceInfoTest.kt b/app/src/test/java/com/stevesoltys/seedvault/restore/install/DeviceInfoTest.kt index 2ee5f7c2..2f4346c3 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/restore/install/DeviceInfoTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/restore/install/DeviceInfoTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.restore.install import android.content.Context diff --git a/app/src/test/java/com/stevesoltys/seedvault/transport/CoordinatorIntegrationTest.kt b/app/src/test/java/com/stevesoltys/seedvault/transport/CoordinatorIntegrationTest.kt index 4e0ffd43..222fed1e 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/transport/CoordinatorIntegrationTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/transport/CoordinatorIntegrationTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.transport import android.app.backup.BackupDataInput diff --git a/app/src/test/java/com/stevesoltys/seedvault/transport/TransportTest.kt b/app/src/test/java/com/stevesoltys/seedvault/transport/TransportTest.kt index 2269093b..56406985 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/transport/TransportTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/transport/TransportTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.transport import android.content.Context diff --git a/app/src/test/java/com/stevesoltys/seedvault/transport/backup/BackupCoordinatorTest.kt b/app/src/test/java/com/stevesoltys/seedvault/transport/backup/BackupCoordinatorTest.kt index f602fb78..f07bd307 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/transport/backup/BackupCoordinatorTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/transport/backup/BackupCoordinatorTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.transport.backup import android.app.backup.BackupTransport.TRANSPORT_ERROR diff --git a/app/src/test/java/com/stevesoltys/seedvault/transport/backup/BackupTest.kt b/app/src/test/java/com/stevesoltys/seedvault/transport/backup/BackupTest.kt index b1f85b7c..f480a250 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/transport/backup/BackupTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/transport/backup/BackupTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.transport.backup import android.os.ParcelFileDescriptor diff --git a/app/src/test/java/com/stevesoltys/seedvault/transport/backup/FullBackupTest.kt b/app/src/test/java/com/stevesoltys/seedvault/transport/backup/FullBackupTest.kt index b1a738d2..b509d18e 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/transport/backup/FullBackupTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/transport/backup/FullBackupTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.transport.backup import android.app.backup.BackupTransport.TRANSPORT_ERROR diff --git a/app/src/test/java/com/stevesoltys/seedvault/transport/backup/KVBackupTest.kt b/app/src/test/java/com/stevesoltys/seedvault/transport/backup/KVBackupTest.kt index a60c9a11..9468bb9e 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/transport/backup/KVBackupTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/transport/backup/KVBackupTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.transport.backup import android.app.backup.BackupDataInput diff --git a/app/src/test/java/com/stevesoltys/seedvault/transport/backup/TestKvDbManager.kt b/app/src/test/java/com/stevesoltys/seedvault/transport/backup/TestKvDbManager.kt index 9a31d188..55eb87de 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/transport/backup/TestKvDbManager.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/transport/backup/TestKvDbManager.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.transport.backup import com.stevesoltys.seedvault.getRandomString diff --git a/app/src/test/java/com/stevesoltys/seedvault/transport/restore/FullRestoreTest.kt b/app/src/test/java/com/stevesoltys/seedvault/transport/restore/FullRestoreTest.kt index 3986c069..bc3e3266 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/transport/restore/FullRestoreTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/transport/restore/FullRestoreTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.transport.restore import android.app.backup.BackupTransport.NO_MORE_DATA diff --git a/app/src/test/java/com/stevesoltys/seedvault/transport/restore/KVRestoreTest.kt b/app/src/test/java/com/stevesoltys/seedvault/transport/restore/KVRestoreTest.kt index 955d0c6b..018d2b2d 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/transport/restore/KVRestoreTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/transport/restore/KVRestoreTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.transport.restore import android.app.backup.BackupDataOutput diff --git a/app/src/test/java/com/stevesoltys/seedvault/transport/restore/RestoreCoordinatorTest.kt b/app/src/test/java/com/stevesoltys/seedvault/transport/restore/RestoreCoordinatorTest.kt index 9b1e609e..decae7bd 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/transport/restore/RestoreCoordinatorTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/transport/restore/RestoreCoordinatorTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.transport.restore import android.app.backup.BackupTransport.TRANSPORT_ERROR diff --git a/app/src/test/java/com/stevesoltys/seedvault/transport/restore/RestoreTest.kt b/app/src/test/java/com/stevesoltys/seedvault/transport/restore/RestoreTest.kt index e720bc79..57f7dadc 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/transport/restore/RestoreTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/transport/restore/RestoreTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.transport.restore import android.os.ParcelFileDescriptor diff --git a/app/src/test/java/com/stevesoltys/seedvault/transport/restore/RestoreV0IntegrationTest.kt b/app/src/test/java/com/stevesoltys/seedvault/transport/restore/RestoreV0IntegrationTest.kt index d38ee2f9..9e8baecf 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/transport/restore/RestoreV0IntegrationTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/transport/restore/RestoreV0IntegrationTest.kt @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2020 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + package com.stevesoltys.seedvault.transport.restore import android.app.backup.BackupDataOutput diff --git a/build.gradle.kts b/build.gradle.kts index 2a5dde5d..7bcd2111 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2023 The Calyx Institute + * SPDX-License-Identifier: Apache-2.0 + */ + import org.jlleitschuh.gradle.ktlint.KtlintExtension buildscript {