diff --git a/app/build.gradle b/app/build.gradle index fa1fe978..d86283ee 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -57,7 +57,7 @@ android { dimension "version" resValue "string", "DEFAULT_PROFILE", "profile_8" applicationId "org.obd.graphs.my.giulia.aa" - versionCode 47 + versionCode 59 } giulia { diff --git a/app/src/androidTest/java/org/obd/graphs/CountDownLatchBroadcastReceiver.kt b/app/src/androidTest/java/org/obd/graphs/CountDownLatchBroadcastReceiver.kt index b6e33d7b..b678d22b 100644 --- a/app/src/androidTest/java/org/obd/graphs/CountDownLatchBroadcastReceiver.kt +++ b/app/src/androidTest/java/org/obd/graphs/CountDownLatchBroadcastReceiver.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs import android.content.BroadcastReceiver diff --git a/app/src/androidTest/java/org/obd/graphs/DataLoggerBluetoothTest.kt b/app/src/androidTest/java/org/obd/graphs/DataLoggerBluetoothTest.kt index bb0f2ac3..ea473d61 100644 --- a/app/src/androidTest/java/org/obd/graphs/DataLoggerBluetoothTest.kt +++ b/app/src/androidTest/java/org/obd/graphs/DataLoggerBluetoothTest.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs import android.content.IntentFilter diff --git a/app/src/androidTest/java/org/obd/graphs/DataLoggerWifiTest.kt b/app/src/androidTest/java/org/obd/graphs/DataLoggerWifiTest.kt index 60b1d585..df011c8e 100644 --- a/app/src/androidTest/java/org/obd/graphs/DataLoggerWifiTest.kt +++ b/app/src/androidTest/java/org/obd/graphs/DataLoggerWifiTest.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner @@ -8,6 +26,7 @@ import org.junit.runner.RunWith import org.obd.graphs.bl.datalogger.DATA_LOGGER_CONNECTED_EVENT import org.obd.graphs.bl.datalogger.DATA_LOGGER_DTC_AVAILABLE import org.obd.graphs.bl.datalogger.DATA_LOGGER_ERROR_EVENT +import org.obd.graphs.bl.datalogger.vehicleCapabilitiesManager import org.obd.graphs.preferences.* @RunWith(AndroidJUnit4ClassRunner::class) diff --git a/app/src/androidTest/java/org/obd/graphs/MainActivityTest.kt b/app/src/androidTest/java/org/obd/graphs/MainActivityTest.kt index 9e6718b6..63b68d73 100644 --- a/app/src/androidTest/java/org/obd/graphs/MainActivityTest.kt +++ b/app/src/androidTest/java/org/obd/graphs/MainActivityTest.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs import androidx.test.core.app.launchActivity diff --git a/app/src/androidTest/java/org/obd/graphs/MockServer.kt b/app/src/androidTest/java/org/obd/graphs/MockServer.kt index d0ddf142..f375af2b 100644 --- a/app/src/androidTest/java/org/obd/graphs/MockServer.kt +++ b/app/src/androidTest/java/org/obd/graphs/MockServer.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs import android.util.Log diff --git a/app/src/androidTest/java/org/obd/graphs/TestRunner.kt b/app/src/androidTest/java/org/obd/graphs/TestRunner.kt index 4a8a2727..c8ac6ad2 100644 --- a/app/src/androidTest/java/org/obd/graphs/TestRunner.kt +++ b/app/src/androidTest/java/org/obd/graphs/TestRunner.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs import android.content.IntentFilter diff --git a/app/src/androidTest/java/org/obd/graphs/VehicleProfileTest.kt b/app/src/androidTest/java/org/obd/graphs/VehicleProfileTest.kt index 0fe963cf..03bc82dd 100644 --- a/app/src/androidTest/java/org/obd/graphs/VehicleProfileTest.kt +++ b/app/src/androidTest/java/org/obd/graphs/VehicleProfileTest.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs import android.util.Log diff --git a/app/src/main/java/org/obd/graphs/AdminReceiver.kt b/app/src/main/java/org/obd/graphs/AdminReceiver.kt index 92915c26..411d033d 100644 --- a/app/src/main/java/org/obd/graphs/AdminReceiver.kt +++ b/app/src/main/java/org/obd/graphs/AdminReceiver.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs import android.app.admin.DeviceAdminReceiver diff --git a/app/src/main/java/org/obd/graphs/PowerBroadcastReceiver.kt b/app/src/main/java/org/obd/graphs/PowerBroadcastReceiver.kt index c53a9ce6..e3f35556 100644 --- a/app/src/main/java/org/obd/graphs/PowerBroadcastReceiver.kt +++ b/app/src/main/java/org/obd/graphs/PowerBroadcastReceiver.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs import android.app.ActivityManager diff --git a/app/src/main/java/org/obd/graphs/PowerPreferences.kt b/app/src/main/java/org/obd/graphs/PowerPreferences.kt index 8f8b6e03..c5f67b43 100644 --- a/app/src/main/java/org/obd/graphs/PowerPreferences.kt +++ b/app/src/main/java/org/obd/graphs/PowerPreferences.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs import org.obd.graphs.preferences.Prefs diff --git a/app/src/main/java/org/obd/graphs/activity/Components.kt b/app/src/main/java/org/obd/graphs/activity/Components.kt index 882fc2d8..e321b7da 100644 --- a/app/src/main/java/org/obd/graphs/activity/Components.kt +++ b/app/src/main/java/org/obd/graphs/activity/Components.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.activity import android.view.View diff --git a/app/src/main/java/org/obd/graphs/activity/MainActivity.kt b/app/src/main/java/org/obd/graphs/activity/MainActivity.kt index 477bd497..9c9aa886 100644 --- a/app/src/main/java/org/obd/graphs/activity/MainActivity.kt +++ b/app/src/main/java/org/obd/graphs/activity/MainActivity.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.activity import android.content.BroadcastReceiver diff --git a/app/src/main/java/org/obd/graphs/activity/MainActivityPreferences.kt b/app/src/main/java/org/obd/graphs/activity/MainActivityPreferences.kt index 4a756fa5..5b5621c9 100644 --- a/app/src/main/java/org/obd/graphs/activity/MainActivityPreferences.kt +++ b/app/src/main/java/org/obd/graphs/activity/MainActivityPreferences.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.activity import android.util.Log diff --git a/app/src/main/java/org/obd/graphs/activity/Navigation.kt b/app/src/main/java/org/obd/graphs/activity/Navigation.kt index e7e25a42..cd75c492 100644 --- a/app/src/main/java/org/obd/graphs/activity/Navigation.kt +++ b/app/src/main/java/org/obd/graphs/activity/Navigation.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.activity import android.util.Log diff --git a/app/src/main/java/org/obd/graphs/activity/Permissions.kt b/app/src/main/java/org/obd/graphs/activity/Permissions.kt index 0c4a181c..f8bb12d3 100644 --- a/app/src/main/java/org/obd/graphs/activity/Permissions.kt +++ b/app/src/main/java/org/obd/graphs/activity/Permissions.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.activity import android.Manifest diff --git a/app/src/main/java/org/obd/graphs/activity/Receivers.kt b/app/src/main/java/org/obd/graphs/activity/Receivers.kt index d43bbf48..7d69e58c 100644 --- a/app/src/main/java/org/obd/graphs/activity/Receivers.kt +++ b/app/src/main/java/org/obd/graphs/activity/Receivers.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.activity import android.content.Intent diff --git a/app/src/main/java/org/obd/graphs/activity/Screen.kt b/app/src/main/java/org/obd/graphs/activity/Screen.kt index 5494821d..bc760ddd 100644 --- a/app/src/main/java/org/obd/graphs/activity/Screen.kt +++ b/app/src/main/java/org/obd/graphs/activity/Screen.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.activity import android.app.admin.DevicePolicyManager diff --git a/app/src/main/java/org/obd/graphs/activity/SplashActivity.kt b/app/src/main/java/org/obd/graphs/activity/SplashActivity.kt index 3447dbcb..01091aac 100644 --- a/app/src/main/java/org/obd/graphs/activity/SplashActivity.kt +++ b/app/src/main/java/org/obd/graphs/activity/SplashActivity.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.activity import android.content.Intent diff --git a/app/src/main/java/org/obd/graphs/activity/StatusPanel.kt b/app/src/main/java/org/obd/graphs/activity/StatusPanel.kt index e900a7be..f2bb3bf8 100644 --- a/app/src/main/java/org/obd/graphs/activity/StatusPanel.kt +++ b/app/src/main/java/org/obd/graphs/activity/StatusPanel.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.activity import android.graphics.Color diff --git a/app/src/main/java/org/obd/graphs/activity/UsbEventReceiverActivity.kt b/app/src/main/java/org/obd/graphs/activity/UsbEventReceiverActivity.kt index 1f9a572d..7608d2fe 100644 --- a/app/src/main/java/org/obd/graphs/activity/UsbEventReceiverActivity.kt +++ b/app/src/main/java/org/obd/graphs/activity/UsbEventReceiverActivity.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.activity import android.app.Activity diff --git a/app/src/main/java/org/obd/graphs/preferences/BluetoothAdaptersListPreferences.kt b/app/src/main/java/org/obd/graphs/preferences/BluetoothAdaptersListPreferences.kt index dc8b8e00..9f09275d 100644 --- a/app/src/main/java/org/obd/graphs/preferences/BluetoothAdaptersListPreferences.kt +++ b/app/src/main/java/org/obd/graphs/preferences/BluetoothAdaptersListPreferences.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/preferences/PreferencesFragment.kt b/app/src/main/java/org/obd/graphs/preferences/PreferencesFragment.kt index 350a79c3..99c18310 100644 --- a/app/src/main/java/org/obd/graphs/preferences/PreferencesFragment.kt +++ b/app/src/main/java/org/obd/graphs/preferences/PreferencesFragment.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences import android.content.SharedPreferences diff --git a/app/src/main/java/org/obd/graphs/preferences/Toolbar.kt b/app/src/main/java/org/obd/graphs/preferences/Toolbar.kt index e3d98ef5..9257a829 100644 --- a/app/src/main/java/org/obd/graphs/preferences/Toolbar.kt +++ b/app/src/main/java/org/obd/graphs/preferences/Toolbar.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences import androidx.preference.CheckBoxPreference diff --git a/app/src/main/java/org/obd/graphs/preferences/WifiSSIDListPreferences.kt b/app/src/main/java/org/obd/graphs/preferences/WifiSSIDListPreferences.kt index a4abec6b..9a97b834 100644 --- a/app/src/main/java/org/obd/graphs/preferences/WifiSSIDListPreferences.kt +++ b/app/src/main/java/org/obd/graphs/preferences/WifiSSIDListPreferences.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences import android.content.Context @@ -10,7 +28,6 @@ import org.obd.graphs.ui.common.COLOR_PHILIPPINE_GREEN import org.obd.graphs.ui.common.colorize import java.util.* - private class SSID(val name: String) class WifiSSIDListPreferences( diff --git a/app/src/main/java/org/obd/graphs/preferences/dtc/DiagnosticTroubleCodeListPreferences.kt b/app/src/main/java/org/obd/graphs/preferences/dtc/DiagnosticTroubleCodeListPreferences.kt index 4383519e..919b178a 100644 --- a/app/src/main/java/org/obd/graphs/preferences/dtc/DiagnosticTroubleCodeListPreferences.kt +++ b/app/src/main/java/org/obd/graphs/preferences/dtc/DiagnosticTroubleCodeListPreferences.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.dtc import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/preferences/dtc/DiagnosticTroubleCodePreferenceDialog.kt b/app/src/main/java/org/obd/graphs/preferences/dtc/DiagnosticTroubleCodePreferenceDialog.kt index 5312a171..cd16862c 100644 --- a/app/src/main/java/org/obd/graphs/preferences/dtc/DiagnosticTroubleCodePreferenceDialog.kt +++ b/app/src/main/java/org/obd/graphs/preferences/dtc/DiagnosticTroubleCodePreferenceDialog.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.dtc import android.graphics.Color diff --git a/app/src/main/java/org/obd/graphs/preferences/dtc/DiagnosticTroubleCodeViewAdapter.kt b/app/src/main/java/org/obd/graphs/preferences/dtc/DiagnosticTroubleCodeViewAdapter.kt index 33c56ac2..049eeb94 100644 --- a/app/src/main/java/org/obd/graphs/preferences/dtc/DiagnosticTroubleCodeViewAdapter.kt +++ b/app/src/main/java/org/obd/graphs/preferences/dtc/DiagnosticTroubleCodeViewAdapter.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.dtc import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/preferences/metadata/VehicleMetadataListPreferences.kt b/app/src/main/java/org/obd/graphs/preferences/metadata/VehicleMetadataListPreferences.kt index 069f0aa6..c7456c99 100644 --- a/app/src/main/java/org/obd/graphs/preferences/metadata/VehicleMetadataListPreferences.kt +++ b/app/src/main/java/org/obd/graphs/preferences/metadata/VehicleMetadataListPreferences.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.metadata import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/preferences/metadata/VehicleMetadataPreferenceDialog.kt b/app/src/main/java/org/obd/graphs/preferences/metadata/VehicleMetadataPreferenceDialog.kt index e971dfa0..96af3490 100644 --- a/app/src/main/java/org/obd/graphs/preferences/metadata/VehicleMetadataPreferenceDialog.kt +++ b/app/src/main/java/org/obd/graphs/preferences/metadata/VehicleMetadataPreferenceDialog.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.metadata import android.graphics.Color diff --git a/app/src/main/java/org/obd/graphs/preferences/metadata/VehicleMetadataViewAdapter.kt b/app/src/main/java/org/obd/graphs/preferences/metadata/VehicleMetadataViewAdapter.kt index 2209916d..69fe2471 100644 --- a/app/src/main/java/org/obd/graphs/preferences/metadata/VehicleMetadataViewAdapter.kt +++ b/app/src/main/java/org/obd/graphs/preferences/metadata/VehicleMetadataViewAdapter.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.metadata import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/preferences/mode/HeaderListPreferences.kt b/app/src/main/java/org/obd/graphs/preferences/mode/HeaderListPreferences.kt index 87e4f65f..e750fc01 100644 --- a/app/src/main/java/org/obd/graphs/preferences/mode/HeaderListPreferences.kt +++ b/app/src/main/java/org/obd/graphs/preferences/mode/HeaderListPreferences.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.mode import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/preferences/mode/HeaderNamePreference.kt b/app/src/main/java/org/obd/graphs/preferences/mode/HeaderNamePreference.kt index 902bca6d..ba9f1822 100644 --- a/app/src/main/java/org/obd/graphs/preferences/mode/HeaderNamePreference.kt +++ b/app/src/main/java/org/obd/graphs/preferences/mode/HeaderNamePreference.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.mode import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/preferences/mode/Mode.kt b/app/src/main/java/org/obd/graphs/preferences/mode/Mode.kt index 26baf0b7..ce097996 100644 --- a/app/src/main/java/org/obd/graphs/preferences/mode/Mode.kt +++ b/app/src/main/java/org/obd/graphs/preferences/mode/Mode.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.mode const val MODE_LOG_KEY = "Mode" diff --git a/app/src/main/java/org/obd/graphs/preferences/mode/ModeListPreferences.kt b/app/src/main/java/org/obd/graphs/preferences/mode/ModeListPreferences.kt index 9b74c21c..0e490cda 100644 --- a/app/src/main/java/org/obd/graphs/preferences/mode/ModeListPreferences.kt +++ b/app/src/main/java/org/obd/graphs/preferences/mode/ModeListPreferences.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.mode import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/preferences/mode/ModeNamePreference.kt b/app/src/main/java/org/obd/graphs/preferences/mode/ModeNamePreference.kt index cebb6d2b..69d827e4 100644 --- a/app/src/main/java/org/obd/graphs/preferences/mode/ModeNamePreference.kt +++ b/app/src/main/java/org/obd/graphs/preferences/mode/ModeNamePreference.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.mode import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/preferences/pid/FilterByStablePIDsAction.kt b/app/src/main/java/org/obd/graphs/preferences/pid/FilterByStablePIDsAction.kt index 7efdea4e..57d67bdd 100644 --- a/app/src/main/java/org/obd/graphs/preferences/pid/FilterByStablePIDsAction.kt +++ b/app/src/main/java/org/obd/graphs/preferences/pid/FilterByStablePIDsAction.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.pid import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/preferences/pid/FilterBySupportedPIDsAction.kt b/app/src/main/java/org/obd/graphs/preferences/pid/FilterBySupportedPIDsAction.kt index eb942c0f..a733300f 100644 --- a/app/src/main/java/org/obd/graphs/preferences/pid/FilterBySupportedPIDsAction.kt +++ b/app/src/main/java/org/obd/graphs/preferences/pid/FilterBySupportedPIDsAction.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.pid import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/preferences/pid/PIDsListPreferenceDialog.kt b/app/src/main/java/org/obd/graphs/preferences/pid/PIDsListPreferenceDialog.kt index 52e4e917..96413a91 100644 --- a/app/src/main/java/org/obd/graphs/preferences/pid/PIDsListPreferenceDialog.kt +++ b/app/src/main/java/org/obd/graphs/preferences/pid/PIDsListPreferenceDialog.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.pid import android.annotation.SuppressLint diff --git a/app/src/main/java/org/obd/graphs/preferences/pid/PIDsListPreferences.kt b/app/src/main/java/org/obd/graphs/preferences/pid/PIDsListPreferences.kt index 65a36719..9e20611f 100644 --- a/app/src/main/java/org/obd/graphs/preferences/pid/PIDsListPreferences.kt +++ b/app/src/main/java/org/obd/graphs/preferences/pid/PIDsListPreferences.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.pid import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/preferences/pid/PIDsResourceListPreferences.kt b/app/src/main/java/org/obd/graphs/preferences/pid/PIDsResourceListPreferences.kt index a6389ba5..f827dd49 100644 --- a/app/src/main/java/org/obd/graphs/preferences/pid/PIDsResourceListPreferences.kt +++ b/app/src/main/java/org/obd/graphs/preferences/pid/PIDsResourceListPreferences.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.pid import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/preferences/pid/PIDsViewAdapter.kt b/app/src/main/java/org/obd/graphs/preferences/pid/PIDsViewAdapter.kt index a68392f5..1626bb0f 100644 --- a/app/src/main/java/org/obd/graphs/preferences/pid/PIDsViewAdapter.kt +++ b/app/src/main/java/org/obd/graphs/preferences/pid/PIDsViewAdapter.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.pid @@ -16,7 +34,6 @@ import org.obd.graphs.ui.common.COLOR_PHILIPPINE_GREEN import org.obd.graphs.ui.common.COLOR_RAINBOW_INDIGO import org.obd.graphs.ui.common.setText - class PIDsViewAdapter internal constructor( context: Context?, var data: List diff --git a/app/src/main/java/org/obd/graphs/preferences/profile/Profile.kt b/app/src/main/java/org/obd/graphs/preferences/profile/Profile.kt index fb3b7348..2aac120e 100644 --- a/app/src/main/java/org/obd/graphs/preferences/profile/Profile.kt +++ b/app/src/main/java/org/obd/graphs/preferences/profile/Profile.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.profile import android.content.SharedPreferences diff --git a/app/src/main/java/org/obd/graphs/preferences/profile/ProfileListPreference.kt b/app/src/main/java/org/obd/graphs/preferences/profile/ProfileListPreference.kt index 2b1ce721..fadf6467 100644 --- a/app/src/main/java/org/obd/graphs/preferences/profile/ProfileListPreference.kt +++ b/app/src/main/java/org/obd/graphs/preferences/profile/ProfileListPreference.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.profile import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/preferences/profile/ProfileNamePreference.kt b/app/src/main/java/org/obd/graphs/preferences/profile/ProfileNamePreference.kt index 6c4d2fff..7e1fd973 100644 --- a/app/src/main/java/org/obd/graphs/preferences/profile/ProfileNamePreference.kt +++ b/app/src/main/java/org/obd/graphs/preferences/profile/ProfileNamePreference.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.profile import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/preferences/profile/ProfileResetPreferenceAction.kt b/app/src/main/java/org/obd/graphs/preferences/profile/ProfileResetPreferenceAction.kt index 52aa9a98..142b131e 100644 --- a/app/src/main/java/org/obd/graphs/preferences/profile/ProfileResetPreferenceAction.kt +++ b/app/src/main/java/org/obd/graphs/preferences/profile/ProfileResetPreferenceAction.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.profile import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/preferences/profile/ProfileSavePreferenceAction.kt b/app/src/main/java/org/obd/graphs/preferences/profile/ProfileSavePreferenceAction.kt index 2368f9cb..b2726ff7 100644 --- a/app/src/main/java/org/obd/graphs/preferences/profile/ProfileSavePreferenceAction.kt +++ b/app/src/main/java/org/obd/graphs/preferences/profile/ProfileSavePreferenceAction.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.profile import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/preferences/trips/TripsListPreferences.kt b/app/src/main/java/org/obd/graphs/preferences/trips/TripsListPreferences.kt index d2950252..10e5c4ac 100644 --- a/app/src/main/java/org/obd/graphs/preferences/trips/TripsListPreferences.kt +++ b/app/src/main/java/org/obd/graphs/preferences/trips/TripsListPreferences.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.trips import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/preferences/trips/TripsPreferenceDialog.kt b/app/src/main/java/org/obd/graphs/preferences/trips/TripsPreferenceDialog.kt index f659fe16..741dd8c6 100644 --- a/app/src/main/java/org/obd/graphs/preferences/trips/TripsPreferenceDialog.kt +++ b/app/src/main/java/org/obd/graphs/preferences/trips/TripsPreferenceDialog.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.trips import android.graphics.Color diff --git a/app/src/main/java/org/obd/graphs/preferences/trips/TripsViewAdapter.kt b/app/src/main/java/org/obd/graphs/preferences/trips/TripsViewAdapter.kt index cd2f944d..1d92aa63 100644 --- a/app/src/main/java/org/obd/graphs/preferences/trips/TripsViewAdapter.kt +++ b/app/src/main/java/org/obd/graphs/preferences/trips/TripsViewAdapter.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences.trips import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/ui/common/DoubleClickListener.kt b/app/src/main/java/org/obd/graphs/ui/common/DoubleClickListener.kt index 11aaeb82..706102cb 100644 --- a/app/src/main/java/org/obd/graphs/ui/common/DoubleClickListener.kt +++ b/app/src/main/java/org/obd/graphs/ui/common/DoubleClickListener.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.common import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/ui/common/DragManageAdapter.kt b/app/src/main/java/org/obd/graphs/ui/common/DragManageAdapter.kt index 750035d3..eab51244 100644 --- a/app/src/main/java/org/obd/graphs/ui/common/DragManageAdapter.kt +++ b/app/src/main/java/org/obd/graphs/ui/common/DragManageAdapter.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.common import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/ui/common/Screen.kt b/app/src/main/java/org/obd/graphs/ui/common/Screen.kt index e4773ff6..4285ba13 100644 --- a/app/src/main/java/org/obd/graphs/ui/common/Screen.kt +++ b/app/src/main/java/org/obd/graphs/ui/common/Screen.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.common import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/ui/common/TextViewExtension.kt b/app/src/main/java/org/obd/graphs/ui/common/TextViewExtension.kt index 8e653f60..a26a9383 100644 --- a/app/src/main/java/org/obd/graphs/ui/common/TextViewExtension.kt +++ b/app/src/main/java/org/obd/graphs/ui/common/TextViewExtension.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.common import android.graphics.Typeface diff --git a/app/src/main/java/org/obd/graphs/ui/common/Toast.kt b/app/src/main/java/org/obd/graphs/ui/common/Toast.kt index 7b892eb3..a481aa30 100644 --- a/app/src/main/java/org/obd/graphs/ui/common/Toast.kt +++ b/app/src/main/java/org/obd/graphs/ui/common/Toast.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.common import android.text.SpannableStringBuilder diff --git a/app/src/main/java/org/obd/graphs/ui/dashboard/DashboardFragment.kt b/app/src/main/java/org/obd/graphs/ui/dashboard/DashboardFragment.kt index fa94350d..1d04fbe8 100644 --- a/app/src/main/java/org/obd/graphs/ui/dashboard/DashboardFragment.kt +++ b/app/src/main/java/org/obd/graphs/ui/dashboard/DashboardFragment.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.dashboard import android.content.BroadcastReceiver @@ -25,7 +43,6 @@ import org.obd.graphs.ui.recycler.RefreshableFragment import org.obd.graphs.ui.gauge.AdapterContext private const val CONFIGURATION_CHANGE_EVENT_DASH = "recycler.view.change.configuration.event.dash_id" - class DashboardFragment : RefreshableFragment() { private val metricsCollector = CarMetricsCollector() diff --git a/app/src/main/java/org/obd/graphs/ui/dashboard/DashboardPreferences.kt b/app/src/main/java/org/obd/graphs/ui/dashboard/DashboardPreferences.kt index 5eab0b4e..cc8cb898 100644 --- a/app/src/main/java/org/obd/graphs/ui/dashboard/DashboardPreferences.kt +++ b/app/src/main/java/org/obd/graphs/ui/dashboard/DashboardPreferences.kt @@ -1,10 +1,27 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.dashboard import org.obd.graphs.preferences.Prefs import org.obd.graphs.preferences.getLongSet import org.obd.graphs.preferences.isEnabled - data class DashboardPreferences( val swipeToDeleteEnabled: Boolean, val dragAndDropEnabled: Boolean, diff --git a/app/src/main/java/org/obd/graphs/ui/dashboard/DashboardViewAdapter.kt b/app/src/main/java/org/obd/graphs/ui/dashboard/DashboardViewAdapter.kt index 7cb2bc24..6266b227 100644 --- a/app/src/main/java/org/obd/graphs/ui/dashboard/DashboardViewAdapter.kt +++ b/app/src/main/java/org/obd/graphs/ui/dashboard/DashboardViewAdapter.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.dashboard import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/ui/dashboard/Segments.kt b/app/src/main/java/org/obd/graphs/ui/dashboard/Segments.kt index b03d087d..cd8762cb 100644 --- a/app/src/main/java/org/obd/graphs/ui/dashboard/Segments.kt +++ b/app/src/main/java/org/obd/graphs/ui/dashboard/Segments.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.dashboard import org.obd.graphs.round diff --git a/app/src/main/java/org/obd/graphs/ui/gauge/AdapterContext.kt b/app/src/main/java/org/obd/graphs/ui/gauge/AdapterContext.kt index ce0c7ef6..8f74bda0 100644 --- a/app/src/main/java/org/obd/graphs/ui/gauge/AdapterContext.kt +++ b/app/src/main/java/org/obd/graphs/ui/gauge/AdapterContext.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.gauge data class AdapterContext(val layoutId: Int, val spanCount: Int, val height: Int?=null) \ No newline at end of file diff --git a/app/src/main/java/org/obd/graphs/ui/gauge/Gauge.kt b/app/src/main/java/org/obd/graphs/ui/gauge/Gauge.kt index 76bd5cd0..678af16a 100644 --- a/app/src/main/java/org/obd/graphs/ui/gauge/Gauge.kt +++ b/app/src/main/java/org/obd/graphs/ui/gauge/Gauge.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.gauge import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/ui/gauge/GaugeAdapter.kt b/app/src/main/java/org/obd/graphs/ui/gauge/GaugeAdapter.kt index 77fdcc64..9aedb6a3 100644 --- a/app/src/main/java/org/obd/graphs/ui/gauge/GaugeAdapter.kt +++ b/app/src/main/java/org/obd/graphs/ui/gauge/GaugeAdapter.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.gauge import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/ui/gauge/GaugeFragment.kt b/app/src/main/java/org/obd/graphs/ui/gauge/GaugeFragment.kt index c5108728..1d14f61b 100644 --- a/app/src/main/java/org/obd/graphs/ui/gauge/GaugeFragment.kt +++ b/app/src/main/java/org/obd/graphs/ui/gauge/GaugeFragment.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.gauge import android.annotation.SuppressLint diff --git a/app/src/main/java/org/obd/graphs/ui/gauge/GaugePreferences.kt b/app/src/main/java/org/obd/graphs/ui/gauge/GaugePreferences.kt index a75f4dc7..07f1188b 100644 --- a/app/src/main/java/org/obd/graphs/ui/gauge/GaugePreferences.kt +++ b/app/src/main/java/org/obd/graphs/ui/gauge/GaugePreferences.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.gauge import org.obd.graphs.preferences.Prefs diff --git a/app/src/main/java/org/obd/graphs/ui/gauge/GaugeVirtualScreen.kt b/app/src/main/java/org/obd/graphs/ui/gauge/GaugeVirtualScreen.kt index b9dfa08b..45adcf61 100644 --- a/app/src/main/java/org/obd/graphs/ui/gauge/GaugeVirtualScreen.kt +++ b/app/src/main/java/org/obd/graphs/ui/gauge/GaugeVirtualScreen.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.gauge import org.obd.graphs.preferences.Prefs diff --git a/app/src/main/java/org/obd/graphs/ui/giulia/GiuliaFragment.kt b/app/src/main/java/org/obd/graphs/ui/giulia/GiuliaFragment.kt index 0e777e08..cd2539a8 100644 --- a/app/src/main/java/org/obd/graphs/ui/giulia/GiuliaFragment.kt +++ b/app/src/main/java/org/obd/graphs/ui/giulia/GiuliaFragment.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.giulia import android.content.BroadcastReceiver diff --git a/app/src/main/java/org/obd/graphs/ui/giulia/GiuliaSettings.kt b/app/src/main/java/org/obd/graphs/ui/giulia/GiuliaSettings.kt index 6e8ea2bc..bbeb03f5 100644 --- a/app/src/main/java/org/obd/graphs/ui/giulia/GiuliaSettings.kt +++ b/app/src/main/java/org/obd/graphs/ui/giulia/GiuliaSettings.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.giulia import org.obd.graphs.bl.datalogger.dataLoggerPreferences diff --git a/app/src/main/java/org/obd/graphs/ui/giulia/GiuliaVirtualScreenPreferences.kt b/app/src/main/java/org/obd/graphs/ui/giulia/GiuliaVirtualScreenPreferences.kt index 1b829c8f..07e92abf 100644 --- a/app/src/main/java/org/obd/graphs/ui/giulia/GiuliaVirtualScreenPreferences.kt +++ b/app/src/main/java/org/obd/graphs/ui/giulia/GiuliaVirtualScreenPreferences.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.giulia import org.obd.graphs.preferences.Prefs diff --git a/app/src/main/java/org/obd/graphs/ui/giulia/SurfaceController.kt b/app/src/main/java/org/obd/graphs/ui/giulia/SurfaceController.kt index 010c12db..fee0265d 100644 --- a/app/src/main/java/org/obd/graphs/ui/giulia/SurfaceController.kt +++ b/app/src/main/java/org/obd/graphs/ui/giulia/SurfaceController.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.giulia import android.graphics.Canvas diff --git a/app/src/main/java/org/obd/graphs/ui/graph/GraphFragment.kt b/app/src/main/java/org/obd/graphs/ui/graph/GraphFragment.kt index 47e92165..56063985 100644 --- a/app/src/main/java/org/obd/graphs/ui/graph/GraphFragment.kt +++ b/app/src/main/java/org/obd/graphs/ui/graph/GraphFragment.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.graph import android.annotation.SuppressLint diff --git a/app/src/main/java/org/obd/graphs/ui/graph/GraphPreferences.kt b/app/src/main/java/org/obd/graphs/ui/graph/GraphPreferences.kt index 260ac016..31d37fb6 100644 --- a/app/src/main/java/org/obd/graphs/ui/graph/GraphPreferences.kt +++ b/app/src/main/java/org/obd/graphs/ui/graph/GraphPreferences.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.graph import android.util.Log diff --git a/app/src/main/java/org/obd/graphs/ui/graph/GraphVirtualScreen.kt b/app/src/main/java/org/obd/graphs/ui/graph/GraphVirtualScreen.kt index a4130b6f..15b35b22 100644 --- a/app/src/main/java/org/obd/graphs/ui/graph/GraphVirtualScreen.kt +++ b/app/src/main/java/org/obd/graphs/ui/graph/GraphVirtualScreen.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.graph import org.obd.graphs.preferences.* diff --git a/app/src/main/java/org/obd/graphs/ui/graph/MarkerWindow.kt b/app/src/main/java/org/obd/graphs/ui/graph/MarkerWindow.kt index 22cb3c0b..4ba20cc7 100644 --- a/app/src/main/java/org/obd/graphs/ui/graph/MarkerWindow.kt +++ b/app/src/main/java/org/obd/graphs/ui/graph/MarkerWindow.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.graph import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/ui/graph/MarkerWindowViewAdapter.kt b/app/src/main/java/org/obd/graphs/ui/graph/MarkerWindowViewAdapter.kt index 8dfdce34..a92e603f 100644 --- a/app/src/main/java/org/obd/graphs/ui/graph/MarkerWindowViewAdapter.kt +++ b/app/src/main/java/org/obd/graphs/ui/graph/MarkerWindowViewAdapter.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.graph import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/ui/graph/TripDetailsViewAdapter.kt b/app/src/main/java/org/obd/graphs/ui/graph/TripDetailsViewAdapter.kt index 8b2f17d3..b8a8778e 100644 --- a/app/src/main/java/org/obd/graphs/ui/graph/TripDetailsViewAdapter.kt +++ b/app/src/main/java/org/obd/graphs/ui/graph/TripDetailsViewAdapter.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.graph import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/ui/recycler/RecycleViewPreferences.kt b/app/src/main/java/org/obd/graphs/ui/recycler/RecycleViewPreferences.kt index 527697ca..f8325964 100644 --- a/app/src/main/java/org/obd/graphs/ui/recycler/RecycleViewPreferences.kt +++ b/app/src/main/java/org/obd/graphs/ui/recycler/RecycleViewPreferences.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.recycler import com.fasterxml.jackson.databind.ObjectMapper diff --git a/app/src/main/java/org/obd/graphs/ui/recycler/RecyclerViewAdapter.kt b/app/src/main/java/org/obd/graphs/ui/recycler/RecyclerViewAdapter.kt index d072280b..55f46ebc 100644 --- a/app/src/main/java/org/obd/graphs/ui/recycler/RecyclerViewAdapter.kt +++ b/app/src/main/java/org/obd/graphs/ui/recycler/RecyclerViewAdapter.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.recycler import android.content.Context diff --git a/app/src/main/java/org/obd/graphs/ui/recycler/RefreshableFragment.kt b/app/src/main/java/org/obd/graphs/ui/recycler/RefreshableFragment.kt index 440f82a7..bf37a4d7 100644 --- a/app/src/main/java/org/obd/graphs/ui/recycler/RefreshableFragment.kt +++ b/app/src/main/java/org/obd/graphs/ui/recycler/RefreshableFragment.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.recycler import android.annotation.SuppressLint diff --git a/automotive/src/main/java/org/obd/graphs/aa/CarScreen.kt b/automotive/src/main/java/org/obd/graphs/aa/CarScreen.kt index 7ca74533..ba7f919e 100644 --- a/automotive/src/main/java/org/obd/graphs/aa/CarScreen.kt +++ b/automotive/src/main/java/org/obd/graphs/aa/CarScreen.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.aa import android.content.BroadcastReceiver diff --git a/automotive/src/main/java/org/obd/graphs/aa/CarService.kt b/automotive/src/main/java/org/obd/graphs/aa/CarService.kt index 7b9a86dc..a3aea2ba 100644 --- a/automotive/src/main/java/org/obd/graphs/aa/CarService.kt +++ b/automotive/src/main/java/org/obd/graphs/aa/CarService.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.aa import android.content.pm.ApplicationInfo diff --git a/automotive/src/main/java/org/obd/graphs/aa/CarSession.kt b/automotive/src/main/java/org/obd/graphs/aa/CarSession.kt index 1d0ea2c8..bab89161 100644 --- a/automotive/src/main/java/org/obd/graphs/aa/CarSession.kt +++ b/automotive/src/main/java/org/obd/graphs/aa/CarSession.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.aa import android.content.Intent diff --git a/automotive/src/main/java/org/obd/graphs/aa/CarSettings.kt b/automotive/src/main/java/org/obd/graphs/aa/CarSettings.kt index 65d93626..60ea6eef 100644 --- a/automotive/src/main/java/org/obd/graphs/aa/CarSettings.kt +++ b/automotive/src/main/java/org/obd/graphs/aa/CarSettings.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.aa import android.graphics.Color diff --git a/automotive/src/main/java/org/obd/graphs/aa/Colors.kt b/automotive/src/main/java/org/obd/graphs/aa/Colors.kt index 64a58e1c..2554ca72 100644 --- a/automotive/src/main/java/org/obd/graphs/aa/Colors.kt +++ b/automotive/src/main/java/org/obd/graphs/aa/Colors.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.aa import android.graphics.Color diff --git a/automotive/src/main/java/org/obd/graphs/aa/SurfaceController.kt b/automotive/src/main/java/org/obd/graphs/aa/SurfaceController.kt index 7c3a1e7e..aa7553d1 100644 --- a/automotive/src/main/java/org/obd/graphs/aa/SurfaceController.kt +++ b/automotive/src/main/java/org/obd/graphs/aa/SurfaceController.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.aa import android.graphics.Canvas diff --git a/automotive/src/main/java/org/obd/graphs/aa/Toast.kt b/automotive/src/main/java/org/obd/graphs/aa/Toast.kt index 87679679..d93cd2b0 100644 --- a/automotive/src/main/java/org/obd/graphs/aa/Toast.kt +++ b/automotive/src/main/java/org/obd/graphs/aa/Toast.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.aa import androidx.car.app.CarContext diff --git a/common/src/main/java/org/obd/graphs/Async.kt b/common/src/main/java/org/obd/graphs/Async.kt index 5c323a6a..34f8c290 100644 --- a/common/src/main/java/org/obd/graphs/Async.kt +++ b/common/src/main/java/org/obd/graphs/Async.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ @file:Suppress("DEPRECATION") package org.obd.graphs diff --git a/common/src/main/java/org/obd/graphs/Broadcast.kt b/common/src/main/java/org/obd/graphs/Broadcast.kt index 50a4579b..ec25ee3f 100644 --- a/common/src/main/java/org/obd/graphs/Broadcast.kt +++ b/common/src/main/java/org/obd/graphs/Broadcast.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs import android.content.Intent diff --git a/common/src/main/java/org/obd/graphs/Cache.kt b/common/src/main/java/org/obd/graphs/Cache.kt index 0ccf6bae..544a04c2 100644 --- a/common/src/main/java/org/obd/graphs/Cache.kt +++ b/common/src/main/java/org/obd/graphs/Cache.kt @@ -1,6 +1,23 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs - class Cache { private var cache: MutableMap = mutableMapOf() diff --git a/common/src/main/java/org/obd/graphs/Constants.kt b/common/src/main/java/org/obd/graphs/Constants.kt index 7b33a50d..8e6f3670 100644 --- a/common/src/main/java/org/obd/graphs/Constants.kt +++ b/common/src/main/java/org/obd/graphs/Constants.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs const val TRIP_LOAD_EVENT = "trip.load.event" diff --git a/common/src/main/java/org/obd/graphs/Context.kt b/common/src/main/java/org/obd/graphs/Context.kt index e8e02d2a..adbda140 100644 --- a/common/src/main/java/org/obd/graphs/Context.kt +++ b/common/src/main/java/org/obd/graphs/Context.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs import android.content.ContextWrapper diff --git a/common/src/main/java/org/obd/graphs/ExceptionHandler.kt b/common/src/main/java/org/obd/graphs/ExceptionHandler.kt index 347674c3..d24843bc 100644 --- a/common/src/main/java/org/obd/graphs/ExceptionHandler.kt +++ b/common/src/main/java/org/obd/graphs/ExceptionHandler.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs import android.util.Log diff --git a/common/src/main/java/org/obd/graphs/Extenstions.kt b/common/src/main/java/org/obd/graphs/Extenstions.kt index 5016e793..c615886e 100644 --- a/common/src/main/java/org/obd/graphs/Extenstions.kt +++ b/common/src/main/java/org/obd/graphs/Extenstions.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs fun Double.round(decimals: Int): Double { diff --git a/common/src/main/java/org/obd/graphs/Mode.kt b/common/src/main/java/org/obd/graphs/Mode.kt index d937bbef..9628a600 100644 --- a/common/src/main/java/org/obd/graphs/Mode.kt +++ b/common/src/main/java/org/obd/graphs/Mode.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs import org.obd.graphs.preferences.Prefs diff --git a/common/src/main/java/org/obd/graphs/Network.kt b/common/src/main/java/org/obd/graphs/Network.kt index c125abd2..a5e12970 100644 --- a/common/src/main/java/org/obd/graphs/Network.kt +++ b/common/src/main/java/org/obd/graphs/Network.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs import android.Manifest diff --git a/common/src/main/java/org/obd/graphs/RenderingThread.kt b/common/src/main/java/org/obd/graphs/RenderingThread.kt index e448f8ee..bcfab8a4 100644 --- a/common/src/main/java/org/obd/graphs/RenderingThread.kt +++ b/common/src/main/java/org/obd/graphs/RenderingThread.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs import android.os.Handler diff --git a/common/src/main/java/org/obd/graphs/ValueScaler.kt b/common/src/main/java/org/obd/graphs/ValueScaler.kt index d6df094b..671d18a4 100644 --- a/common/src/main/java/org/obd/graphs/ValueScaler.kt +++ b/common/src/main/java/org/obd/graphs/ValueScaler.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs import org.obd.metrics.api.model.ObdMetric diff --git a/common/src/main/java/org/obd/graphs/preferences/Preferences.kt b/common/src/main/java/org/obd/graphs/preferences/Preferences.kt index 3a1f9a06..abc0529e 100644 --- a/common/src/main/java/org/obd/graphs/preferences/Preferences.kt +++ b/common/src/main/java/org/obd/graphs/preferences/Preferences.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.preferences import android.content.SharedPreferences diff --git a/common/src/main/java/org/obd/graphs/profile/Profile.kt b/common/src/main/java/org/obd/graphs/profile/Profile.kt index de7278e3..48d9b91f 100644 --- a/common/src/main/java/org/obd/graphs/profile/Profile.kt +++ b/common/src/main/java/org/obd/graphs/profile/Profile.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.profile import org.obd.graphs.preferences.Prefs diff --git a/common/src/main/java/org/obd/graphs/ui/common/Colors.kt b/common/src/main/java/org/obd/graphs/ui/common/Colors.kt index b8491fbd..4bc90eee 100644 --- a/common/src/main/java/org/obd/graphs/ui/common/Colors.kt +++ b/common/src/main/java/org/obd/graphs/ui/common/Colors.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.ui.common import android.graphics.Color diff --git a/datalogger/src/main/java/org/obd/graphs/bl/collector/CarMetric.kt b/datalogger/src/main/java/org/obd/graphs/bl/collector/CarMetric.kt index abb1aa79..041e1897 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/collector/CarMetric.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/collector/CarMetric.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.collector import org.obd.graphs.round diff --git a/datalogger/src/main/java/org/obd/graphs/bl/collector/CarMetricsBuilder.kt b/datalogger/src/main/java/org/obd/graphs/bl/collector/CarMetricsBuilder.kt index 4c26c27e..b566cd6d 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/collector/CarMetricsBuilder.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/collector/CarMetricsBuilder.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.collector diff --git a/datalogger/src/main/java/org/obd/graphs/bl/collector/CarMetricsCollector.kt b/datalogger/src/main/java/org/obd/graphs/bl/collector/CarMetricsCollector.kt index e6ca9922..9e9a1831 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/collector/CarMetricsCollector.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/collector/CarMetricsCollector.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.collector import android.util.Log diff --git a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLogger.kt b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLogger.kt index da8e4a52..6b4f50de 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLogger.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLogger.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.datalogger import android.content.BroadcastReceiver diff --git a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLoggerConstants.kt b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLoggerConstants.kt index f8d50967..ab94a0f5 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLoggerConstants.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLoggerConstants.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.datalogger const val WORKFLOW_RELOAD_EVENT = "data.logger.workflow.reload.event" diff --git a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLoggerJobScheduler.kt b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLoggerJobScheduler.kt index 76fc99e3..cbd5b600 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLoggerJobScheduler.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLoggerJobScheduler.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.datalogger import android.util.Log diff --git a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLoggerPreferences.kt b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLoggerPreferences.kt index e43c2bd2..bd0661b5 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLoggerPreferences.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLoggerPreferences.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.datalogger import android.content.SharedPreferences diff --git a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLoggerService.kt b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLoggerService.kt index 8b704135..91bc6208 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLoggerService.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DataLoggerService.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.datalogger import android.content.BroadcastReceiver diff --git a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DynamicSelectorModeEventBroadcaster.kt b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DynamicSelectorModeEventBroadcaster.kt index 6e8ffe84..b9bda69a 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DynamicSelectorModeEventBroadcaster.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/DynamicSelectorModeEventBroadcaster.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.datalogger import android.util.Log diff --git a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/MetricsObserver.kt b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/MetricsObserver.kt index bec1b922..5550efad 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/MetricsObserver.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/MetricsObserver.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.datalogger import androidx.lifecycle.LifecycleOwner diff --git a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/PIDsResources.kt b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/PIDsResources.kt index 44b1f20e..4095c450 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/PIDsResources.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/PIDsResources.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.datalogger import android.content.Context diff --git a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/VehicleCapabilitiesManager.kt b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/VehicleCapabilitiesManager.kt index 3cd78004..063000cc 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/VehicleCapabilitiesManager.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/VehicleCapabilitiesManager.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.datalogger import com.fasterxml.jackson.databind.ObjectMapper diff --git a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/WorkflowOrchestrator.kt b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/WorkflowOrchestrator.kt index b9915ac9..da408248 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/WorkflowOrchestrator.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/WorkflowOrchestrator.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.datalogger import android.content.BroadcastReceiver diff --git a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/WorkflowStatus.kt b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/WorkflowStatus.kt index 68f62163..4ebb9d47 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/WorkflowStatus.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/WorkflowStatus.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.datalogger enum class WorkflowStatus { diff --git a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/BluetoothConnection.kt b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/BluetoothConnection.kt index f99ef5bf..8e1aaab5 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/BluetoothConnection.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/BluetoothConnection.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.datalogger.connectors import android.bluetooth.BluetoothSocket diff --git a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/UsbConnection.kt b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/UsbConnection.kt index 2866c845..f8a01700 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/UsbConnection.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/UsbConnection.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.datalogger.connectors import android.content.Context diff --git a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/UsbInputStream.kt b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/UsbInputStream.kt index a79a99f9..a1770db9 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/UsbInputStream.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/UsbInputStream.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.datalogger.connectors import android.util.Log diff --git a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/UsbOutputStream.kt b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/UsbOutputStream.kt index 4d0a6423..678096e1 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/UsbOutputStream.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/UsbOutputStream.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.datalogger.connectors import android.util.Log diff --git a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/WifiConnection.kt b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/WifiConnection.kt index f24e145f..1d5a235e 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/WifiConnection.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/datalogger/connectors/WifiConnection.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.datalogger.connectors diff --git a/datalogger/src/main/java/org/obd/graphs/bl/trip/DefaultTripManager.kt b/datalogger/src/main/java/org/obd/graphs/bl/trip/DefaultTripManager.kt index 5f5c5a05..aaa03d65 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/trip/DefaultTripManager.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/trip/DefaultTripManager.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.trip import android.content.Context diff --git a/datalogger/src/main/java/org/obd/graphs/bl/trip/TripCache.kt b/datalogger/src/main/java/org/obd/graphs/bl/trip/TripCache.kt index a54fa2d4..58bd2865 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/trip/TripCache.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/trip/TripCache.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.trip import android.util.Log diff --git a/datalogger/src/main/java/org/obd/graphs/bl/trip/TripManager.kt b/datalogger/src/main/java/org/obd/graphs/bl/trip/TripManager.kt index a6b545e2..4a58d998 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/trip/TripManager.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/trip/TripManager.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.trip import org.obd.metrics.api.model.ObdMetric diff --git a/datalogger/src/main/java/org/obd/graphs/bl/trip/TripManagerBroadcastReceiver.kt b/datalogger/src/main/java/org/obd/graphs/bl/trip/TripManagerBroadcastReceiver.kt index 94529e62..0e9680d2 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/trip/TripManagerBroadcastReceiver.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/trip/TripManagerBroadcastReceiver.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.trip import android.content.BroadcastReceiver diff --git a/datalogger/src/main/java/org/obd/graphs/bl/trip/TripModel.kt b/datalogger/src/main/java/org/obd/graphs/bl/trip/TripModel.kt index 8072ed91..642dc9d1 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/trip/TripModel.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/trip/TripModel.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.trip import com.fasterxml.jackson.annotation.JsonIgnoreProperties diff --git a/datalogger/src/main/java/org/obd/graphs/bl/trip/TripModelSerializers.kt b/datalogger/src/main/java/org/obd/graphs/bl/trip/TripModelSerializers.kt index e151a2b5..f89e2fa2 100644 --- a/datalogger/src/main/java/org/obd/graphs/bl/trip/TripModelSerializers.kt +++ b/datalogger/src/main/java/org/obd/graphs/bl/trip/TripModelSerializers.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.bl.trip import com.fasterxml.jackson.core.JsonGenerator diff --git a/giulia_renderer/src/main/java/org/obd/graphs/renderer/DrawingManager.kt b/giulia_renderer/src/main/java/org/obd/graphs/renderer/DrawingManager.kt index 69f2f5d8..d6836f1e 100644 --- a/giulia_renderer/src/main/java/org/obd/graphs/renderer/DrawingManager.kt +++ b/giulia_renderer/src/main/java/org/obd/graphs/renderer/DrawingManager.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.renderer import android.content.Context diff --git a/giulia_renderer/src/main/java/org/obd/graphs/renderer/Fps.kt b/giulia_renderer/src/main/java/org/obd/graphs/renderer/Fps.kt index 5c214c81..1f9d57e2 100644 --- a/giulia_renderer/src/main/java/org/obd/graphs/renderer/Fps.kt +++ b/giulia_renderer/src/main/java/org/obd/graphs/renderer/Fps.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.renderer import org.obd.graphs.round diff --git a/giulia_renderer/src/main/java/org/obd/graphs/renderer/ScreenRenderer.kt b/giulia_renderer/src/main/java/org/obd/graphs/renderer/ScreenRenderer.kt index 04a8c9e3..80a8f586 100644 --- a/giulia_renderer/src/main/java/org/obd/graphs/renderer/ScreenRenderer.kt +++ b/giulia_renderer/src/main/java/org/obd/graphs/renderer/ScreenRenderer.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.renderer import android.content.Context diff --git a/giulia_renderer/src/main/java/org/obd/graphs/renderer/ScreenSettings.kt b/giulia_renderer/src/main/java/org/obd/graphs/renderer/ScreenSettings.kt index e0d64d7c..64da683b 100644 --- a/giulia_renderer/src/main/java/org/obd/graphs/renderer/ScreenSettings.kt +++ b/giulia_renderer/src/main/java/org/obd/graphs/renderer/ScreenSettings.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.renderer import android.graphics.Color diff --git a/giulia_renderer/src/main/java/org/obd/graphs/renderer/SimpleScreenRenderer.kt b/giulia_renderer/src/main/java/org/obd/graphs/renderer/SimpleScreenRenderer.kt index 25415956..9e9ea74e 100644 --- a/giulia_renderer/src/main/java/org/obd/graphs/renderer/SimpleScreenRenderer.kt +++ b/giulia_renderer/src/main/java/org/obd/graphs/renderer/SimpleScreenRenderer.kt @@ -1,3 +1,21 @@ +/** + * Copyright 2019-2023, Tomasz Żebrowski + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ package org.obd.graphs.renderer import android.content.Context