summaryrefslogtreecommitdiff
path: root/javaSE
diff options
context:
space:
mode:
authorNoah Stanford <noah@livio.io>2022-01-05 15:33:58 -0500
committerNoah Stanford <noah@livio.io>2022-01-05 15:33:58 -0500
commit1683adcee2a5f73564e087ab052142113c6c3ec7 (patch)
treeb50f34dcddb15fc7a0c38e7f8226bcd746c98d03 /javaSE
parent797aa89b2c04be888b49dc63cfded73fe9d5b8b0 (diff)
downloadsdl_android-1683adcee2a5f73564e087ab052142113c6c3ec7.tar.gz
Reformat javaSE Java files
Diffstat (limited to 'javaSE')
-rw-r--r--javaSE/javaSE/src/main/java/com/smartdevicelink/BuildConfig.java58
-rw-r--r--javaSE/javaSE/src/main/java/com/smartdevicelink/managers/SdlManager.java19
-rw-r--r--javaSE/javaSE/src/main/java/com/smartdevicelink/managers/SdlManagerListener.java1
-rw-r--r--javaSE/javaSE/src/main/java/com/smartdevicelink/managers/file/FileManager.java1
-rw-r--r--javaSE/javaSE/src/main/java/com/smartdevicelink/managers/screen/AlertManager.java2
5 files changed, 43 insertions, 38 deletions
diff --git a/javaSE/javaSE/src/main/java/com/smartdevicelink/BuildConfig.java b/javaSE/javaSE/src/main/java/com/smartdevicelink/BuildConfig.java
index 9b4ce8fca..3cd816118 100644
--- a/javaSE/javaSE/src/main/java/com/smartdevicelink/BuildConfig.java
+++ b/javaSE/javaSE/src/main/java/com/smartdevicelink/BuildConfig.java
@@ -1,33 +1,33 @@
/*
-* Copyright (c) 2017 - 2020, SmartDeviceLink Consortium, Inc.
-* All rights reserved.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions are met:
-*
-* * Redistributions of source code must retain the above copyright notice, this
-* list of conditions and the following disclaimer.
-*
-* * Redistributions in binary form must reproduce the above copyright notice,
-* this list of conditions and the following disclaimer in the documentation
-* and/or other materials provided with the distribution.
-*
-* * Neither the name of SmartDeviceLink Consortium, Inc. nor the names of its
-* contributors may be used to endorse or promote products derived from
-* this software without specific prior written permission.
-*
-* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
-* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*
-*/
+ * Copyright (c) 2017 - 2020, SmartDeviceLink Consortium, Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * * Redistributions of source code must retain the above copyright notice, this
+ * list of conditions and the following disclaimer.
+ *
+ * * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *
+ * * Neither the name of SmartDeviceLink Consortium, Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ */
package com.smartdevicelink;
// THIS FILE IS AUTO GENERATED, DO NOT MODIFY!!
diff --git a/javaSE/javaSE/src/main/java/com/smartdevicelink/managers/SdlManager.java b/javaSE/javaSE/src/main/java/com/smartdevicelink/managers/SdlManager.java
index f95639ca6..f4c5895e4 100644
--- a/javaSE/javaSE/src/main/java/com/smartdevicelink/managers/SdlManager.java
+++ b/javaSE/javaSE/src/main/java/com/smartdevicelink/managers/SdlManager.java
@@ -194,6 +194,7 @@ public class SdlManager extends BaseSdlManager {
super(appId, appName, listener);
}
}
+
private ISdl _internalInterface = new ISdl() {
@Override
public void start() {
@@ -252,7 +253,7 @@ public class SdlManager extends BaseSdlManager {
@Override
public boolean removeOnRPCNotificationListener(FunctionID notificationId, OnRPCNotificationListener listener) {
- return lifecycleManager.getInternalInterface(SdlManager.this).removeOnRPCNotificationListener(notificationId, listener);
+ return lifecycleManager.getInternalInterface(SdlManager.this).removeOnRPCNotificationListener(notificationId, listener);
}
@Override
@@ -262,7 +263,7 @@ public class SdlManager extends BaseSdlManager {
@Override
public boolean removeOnRPCRequestListener(FunctionID functionID, OnRPCRequestListener listener) {
- return lifecycleManager.getInternalInterface(SdlManager.this).removeOnRPCRequestListener(functionID, listener);
+ return lifecycleManager.getInternalInterface(SdlManager.this).removeOnRPCRequestListener(functionID, listener);
}
@Override
@@ -272,29 +273,29 @@ public class SdlManager extends BaseSdlManager {
@Override
public boolean removeOnRPCListener(FunctionID responseId, OnRPCListener listener) {
- return lifecycleManager.getInternalInterface(SdlManager.this).removeOnRPCListener(responseId, listener);
+ return lifecycleManager.getInternalInterface(SdlManager.this).removeOnRPCListener(responseId, listener);
}
@Override
public RegisterAppInterfaceResponse getRegisterAppInterfaceResponse() {
- return lifecycleManager.getInternalInterface(SdlManager.this).getRegisterAppInterfaceResponse();
+ return lifecycleManager.getInternalInterface(SdlManager.this).getRegisterAppInterfaceResponse();
}
@Override
public boolean isTransportForServiceAvailable(SessionType serviceType) {
- return lifecycleManager.getInternalInterface(SdlManager.this).isTransportForServiceAvailable(serviceType);
+ return lifecycleManager.getInternalInterface(SdlManager.this).isTransportForServiceAvailable(serviceType);
}
@NonNull
@Override
public SdlMsgVersion getSdlMsgVersion() {
- return lifecycleManager.getInternalInterface(SdlManager.this).getSdlMsgVersion();
+ return lifecycleManager.getInternalInterface(SdlManager.this).getSdlMsgVersion();
}
@NonNull
@Override
public Version getProtocolVersion() {
- return lifecycleManager.getInternalInterface(SdlManager.this).getProtocolVersion();
+ return lifecycleManager.getInternalInterface(SdlManager.this).getProtocolVersion();
}
@Override
@@ -309,12 +310,12 @@ public class SdlManager extends BaseSdlManager {
@Override
public Taskmaster getTaskmaster() {
- return lifecycleManager.getInternalInterface(SdlManager.this).getTaskmaster();
+ return lifecycleManager.getInternalInterface(SdlManager.this).getTaskmaster();
}
@Override
public SystemCapabilityManager getSystemCapabilityManager() {
- return lifecycleManager.getInternalInterface(SdlManager.this).getSystemCapabilityManager();
+ return lifecycleManager.getInternalInterface(SdlManager.this).getSystemCapabilityManager();
}
@Override
diff --git a/javaSE/javaSE/src/main/java/com/smartdevicelink/managers/SdlManagerListener.java b/javaSE/javaSE/src/main/java/com/smartdevicelink/managers/SdlManagerListener.java
index fbe236f08..aedac486f 100644
--- a/javaSE/javaSE/src/main/java/com/smartdevicelink/managers/SdlManagerListener.java
+++ b/javaSE/javaSE/src/main/java/com/smartdevicelink/managers/SdlManagerListener.java
@@ -72,6 +72,7 @@ public interface SdlManagerListener extends BaseSdlManagerListener {
/**
* A way to determine if this SDL session should continue to be active while
* connected to the determined system information of the vehicle.
+ *
* @param systemInfo systemInfo - the system information of the vehicle that this session is currently active on.
* @return Return true if this session should continue, false if the session should end
*/
diff --git a/javaSE/javaSE/src/main/java/com/smartdevicelink/managers/file/FileManager.java b/javaSE/javaSE/src/main/java/com/smartdevicelink/managers/file/FileManager.java
index b53a734d5..ddbd52b80 100644
--- a/javaSE/javaSE/src/main/java/com/smartdevicelink/managers/file/FileManager.java
+++ b/javaSE/javaSE/src/main/java/com/smartdevicelink/managers/file/FileManager.java
@@ -34,6 +34,7 @@ package com.smartdevicelink.managers.file;
import androidx.annotation.NonNull;
import androidx.annotation.RestrictTo;
+
import com.smartdevicelink.managers.ISdl;
import com.smartdevicelink.managers.file.filetypes.SdlFile;
import com.smartdevicelink.util.DebugTool;
diff --git a/javaSE/javaSE/src/main/java/com/smartdevicelink/managers/screen/AlertManager.java b/javaSE/javaSE/src/main/java/com/smartdevicelink/managers/screen/AlertManager.java
index addcee13d..730f547b4 100644
--- a/javaSE/javaSE/src/main/java/com/smartdevicelink/managers/screen/AlertManager.java
+++ b/javaSE/javaSE/src/main/java/com/smartdevicelink/managers/screen/AlertManager.java
@@ -1,9 +1,11 @@
package com.smartdevicelink.managers.screen;
+
import androidx.annotation.NonNull;
import androidx.annotation.RestrictTo;
import com.smartdevicelink.managers.ISdl;
import com.smartdevicelink.managers.file.FileManager;
+
/**
* <strong>AlertManager</strong> <br>
* <p>