mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-26 16:41:43 +01:00
Change java package of garmin protobuf files
This commit is contained in:
parent
0cf73a2120
commit
ea1c1c808c
@ -48,11 +48,11 @@ import nodomain.freeyourgadget.gadgetbridge.model.MusicStateSpec;
|
|||||||
import nodomain.freeyourgadget.gadgetbridge.model.NotificationSpec;
|
import nodomain.freeyourgadget.gadgetbridge.model.NotificationSpec;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.model.Weather;
|
import nodomain.freeyourgadget.gadgetbridge.model.Weather;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.model.WeatherSpec;
|
import nodomain.freeyourgadget.gadgetbridge.model.WeatherSpec;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr.GdiCore;
|
import nodomain.freeyourgadget.gadgetbridge.proto.garmin.GdiCore;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr.GdiDeviceStatus;
|
import nodomain.freeyourgadget.gadgetbridge.proto.garmin.GdiDeviceStatus;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr.GdiFindMyWatch;
|
import nodomain.freeyourgadget.gadgetbridge.proto.garmin.GdiFindMyWatch;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr.GdiSettingsService;
|
import nodomain.freeyourgadget.gadgetbridge.proto.garmin.GdiSettingsService;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr.GdiSmartProto;
|
import nodomain.freeyourgadget.gadgetbridge.proto.garmin.GdiSmartProto;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.service.btle.AbstractBTLEDeviceSupport;
|
import nodomain.freeyourgadget.gadgetbridge.service.btle.AbstractBTLEDeviceSupport;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.service.btle.TransactionBuilder;
|
import nodomain.freeyourgadget.gadgetbridge.service.btle.TransactionBuilder;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.service.btle.actions.SetDeviceStateAction;
|
import nodomain.freeyourgadget.gadgetbridge.service.btle.actions.SetDeviceStateAction;
|
||||||
|
@ -3,7 +3,7 @@ package nodomain.freeyourgadget.gadgetbridge.service.devices.garmin;
|
|||||||
import android.location.Location;
|
import android.location.Location;
|
||||||
import android.os.Build;
|
import android.os.Build;
|
||||||
|
|
||||||
import nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr.GdiCore;
|
import nodomain.freeyourgadget.gadgetbridge.proto.garmin.GdiCore;
|
||||||
|
|
||||||
public final class GarminUtils {
|
public final class GarminUtils {
|
||||||
private GarminUtils() {
|
private GarminUtils() {
|
||||||
|
@ -22,14 +22,14 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.GarminPreferences;
|
|||||||
import nodomain.freeyourgadget.gadgetbridge.externalevents.gps.GBLocationProviderType;
|
import nodomain.freeyourgadget.gadgetbridge.externalevents.gps.GBLocationProviderType;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.externalevents.gps.GBLocationService;
|
import nodomain.freeyourgadget.gadgetbridge.externalevents.gps.GBLocationService;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.model.CannedMessagesSpec;
|
import nodomain.freeyourgadget.gadgetbridge.model.CannedMessagesSpec;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr.GdiCalendarService;
|
import nodomain.freeyourgadget.gadgetbridge.proto.garmin.GdiCalendarService;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr.GdiCore;
|
import nodomain.freeyourgadget.gadgetbridge.proto.garmin.GdiCore;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr.GdiDataTransferService;
|
import nodomain.freeyourgadget.gadgetbridge.proto.garmin.GdiDataTransferService;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr.GdiDeviceStatus;
|
import nodomain.freeyourgadget.gadgetbridge.proto.garmin.GdiDeviceStatus;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr.GdiFindMyWatch;
|
import nodomain.freeyourgadget.gadgetbridge.proto.garmin.GdiFindMyWatch;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr.GdiHttpService;
|
import nodomain.freeyourgadget.gadgetbridge.proto.garmin.GdiHttpService;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr.GdiSmartProto;
|
import nodomain.freeyourgadget.gadgetbridge.proto.garmin.GdiSmartProto;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr.GdiSmsNotification;
|
import nodomain.freeyourgadget.gadgetbridge.proto.garmin.GdiSmsNotification;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.http.DataTransferHandler;
|
import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.http.DataTransferHandler;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.http.HttpHandler;
|
import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.http.HttpHandler;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.messages.GFDIMessage;
|
import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.messages.GFDIMessage;
|
||||||
|
@ -16,7 +16,7 @@ import java.util.TreeMap;
|
|||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
||||||
import java.util.concurrent.atomic.AtomicInteger;
|
import java.util.concurrent.atomic.AtomicInteger;
|
||||||
|
|
||||||
import nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr.GdiDataTransferService;
|
import nodomain.freeyourgadget.gadgetbridge.proto.garmin.GdiDataTransferService;
|
||||||
|
|
||||||
public class DataTransferHandler {
|
public class DataTransferHandler {
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(DataTransferHandler.class);
|
private static final Logger LOG = LoggerFactory.getLogger(DataTransferHandler.class);
|
||||||
|
@ -19,7 +19,7 @@ import java.util.Map;
|
|||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
||||||
import java.util.zip.GZIPOutputStream;
|
import java.util.zip.GZIPOutputStream;
|
||||||
|
|
||||||
import nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr.GdiHttpService;
|
import nodomain.freeyourgadget.gadgetbridge.proto.garmin.GdiHttpService;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.GarminSupport;
|
import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.GarminSupport;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.agps.AgpsHandler;
|
import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.agps.AgpsHandler;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.util.HttpUtils;
|
import nodomain.freeyourgadget.gadgetbridge.util.HttpUtils;
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto2";
|
|||||||
|
|
||||||
package garmin_vivomovehr;
|
package garmin_vivomovehr;
|
||||||
|
|
||||||
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr";
|
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.garmin";
|
||||||
|
|
||||||
message CalendarService {
|
message CalendarService {
|
||||||
optional CalendarServiceRequest calendar_request = 1;
|
optional CalendarServiceRequest calendar_request = 1;
|
@ -2,7 +2,7 @@ syntax = "proto2";
|
|||||||
|
|
||||||
package garmin_vivomovehr;
|
package garmin_vivomovehr;
|
||||||
|
|
||||||
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr";
|
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.garmin";
|
||||||
|
|
||||||
message CoreService {
|
message CoreService {
|
||||||
optional SyncRequest sync_request = 1;
|
optional SyncRequest sync_request = 1;
|
@ -2,7 +2,7 @@ syntax = "proto2";
|
|||||||
|
|
||||||
package garmin_vivomovehr;
|
package garmin_vivomovehr;
|
||||||
|
|
||||||
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr";
|
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.garmin";
|
||||||
|
|
||||||
message DataTransferService {
|
message DataTransferService {
|
||||||
enum Status {
|
enum Status {
|
@ -2,7 +2,7 @@ syntax = "proto2";
|
|||||||
|
|
||||||
package garmin_vivomovehr;
|
package garmin_vivomovehr;
|
||||||
|
|
||||||
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr";
|
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.garmin";
|
||||||
|
|
||||||
message DeviceStatusService {
|
message DeviceStatusService {
|
||||||
optional RemoteDeviceBatteryStatusChangedNotification remote_device_battery_status_changed_notification = 1;
|
optional RemoteDeviceBatteryStatusChangedNotification remote_device_battery_status_changed_notification = 1;
|
@ -2,7 +2,7 @@ syntax = "proto2";
|
|||||||
|
|
||||||
package garmin_vivomovehr;
|
package garmin_vivomovehr;
|
||||||
|
|
||||||
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr";
|
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.garmin";
|
||||||
|
|
||||||
message FindMyWatchService {
|
message FindMyWatchService {
|
||||||
optional FindMyWatchRequest find_request = 1;
|
optional FindMyWatchRequest find_request = 1;
|
@ -2,7 +2,7 @@ syntax = "proto2";
|
|||||||
|
|
||||||
package garmin_vivomovehr;
|
package garmin_vivomovehr;
|
||||||
|
|
||||||
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr";
|
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.garmin";
|
||||||
|
|
||||||
message HttpService {
|
message HttpService {
|
||||||
enum Method {
|
enum Method {
|
@ -2,7 +2,7 @@ syntax = "proto2";
|
|||||||
|
|
||||||
package garmin_vivomovehr;
|
package garmin_vivomovehr;
|
||||||
|
|
||||||
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr";
|
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.garmin";
|
||||||
|
|
||||||
message SettingsService {
|
message SettingsService {
|
||||||
optional ChangeRequest change_request = 5;
|
optional ChangeRequest change_request = 5;
|
@ -2,16 +2,16 @@ syntax = "proto2";
|
|||||||
|
|
||||||
package garmin_vivomovehr;
|
package garmin_vivomovehr;
|
||||||
|
|
||||||
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr";
|
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.garmin";
|
||||||
|
|
||||||
import "garmin_vivomovehr/gdi_device_status.proto";
|
import "garmin/gdi_device_status.proto";
|
||||||
import "garmin_vivomovehr/gdi_find_my_watch.proto";
|
import "garmin/gdi_find_my_watch.proto";
|
||||||
import "garmin_vivomovehr/gdi_core.proto";
|
import "garmin/gdi_core.proto";
|
||||||
import "garmin_vivomovehr/gdi_http_service.proto";
|
import "garmin/gdi_http_service.proto";
|
||||||
import "garmin_vivomovehr/gdi_data_transfer_service.proto";
|
import "garmin/gdi_data_transfer_service.proto";
|
||||||
import "garmin_vivomovehr/gdi_sms_notification.proto";
|
import "garmin/gdi_sms_notification.proto";
|
||||||
import "garmin_vivomovehr/gdi_calendar_service.proto";
|
import "garmin/gdi_calendar_service.proto";
|
||||||
import "garmin_vivomovehr/gdi_settings_service.proto";
|
import "garmin/gdi_settings_service.proto";
|
||||||
|
|
||||||
message Smart {
|
message Smart {
|
||||||
optional CalendarService calendar_service = 1;
|
optional CalendarService calendar_service = 1;
|
@ -2,7 +2,7 @@ syntax = "proto2";
|
|||||||
|
|
||||||
package garmin_vivomovehr;
|
package garmin_vivomovehr;
|
||||||
|
|
||||||
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.vivomovehr";
|
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.garmin";
|
||||||
|
|
||||||
message SmsNotificationService {
|
message SmsNotificationService {
|
||||||
optional SmsSendMessageRequest sms_send_message_request = 1;
|
optional SmsSendMessageRequest sms_send_message_request = 1;
|
Loading…
Reference in New Issue
Block a user