diff --git a/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/AddLocalCapabilityResponse.aidl b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/AddLocalCapabilityResponse.aidl new file mode 100644 index 00000000..875512c6 --- /dev/null +++ b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/AddLocalCapabilityResponse.aidl @@ -0,0 +1,3 @@ +package com.google.android.gms.wearable.internal; + +parcelable AddLocalCapabilityResponse; \ No newline at end of file diff --git a/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/ChannelReceiveFileResponse.aidl b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/ChannelReceiveFileResponse.aidl new file mode 100644 index 00000000..84d56ee9 --- /dev/null +++ b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/ChannelReceiveFileResponse.aidl @@ -0,0 +1,3 @@ +package com.google.android.gms.wearable.internal; + +parcelable ChannelReceiveFileResponse; \ No newline at end of file diff --git a/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/ChannelSendFileResponse.aidl b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/ChannelSendFileResponse.aidl new file mode 100644 index 00000000..f1547ae0 --- /dev/null +++ b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/ChannelSendFileResponse.aidl @@ -0,0 +1,3 @@ +package com.google.android.gms.wearable.internal; + +parcelable ChannelSendFileResponse; \ No newline at end of file diff --git a/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/CloseChannelResponse.aidl b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/CloseChannelResponse.aidl new file mode 100644 index 00000000..aceab124 --- /dev/null +++ b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/CloseChannelResponse.aidl @@ -0,0 +1,3 @@ +package com.google.android.gms.wearable.internal; + +parcelable CloseChannelResponse; \ No newline at end of file diff --git a/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/GetAllCapabilitiesResponse.aidl b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/GetAllCapabilitiesResponse.aidl new file mode 100644 index 00000000..610e5842 --- /dev/null +++ b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/GetAllCapabilitiesResponse.aidl @@ -0,0 +1,3 @@ +package com.google.android.gms.wearable.internal; + +parcelable GetAllCapabilitiesResponse; \ No newline at end of file diff --git a/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/GetCapabilityResponse.aidl b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/GetCapabilityResponse.aidl new file mode 100644 index 00000000..09e458fd --- /dev/null +++ b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/GetCapabilityResponse.aidl @@ -0,0 +1,3 @@ +package com.google.android.gms.wearable.internal; + +parcelable GetCapabilityResponse; \ No newline at end of file diff --git a/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/GetChannelInputStreamResponse.aidl b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/GetChannelInputStreamResponse.aidl new file mode 100644 index 00000000..141a6558 --- /dev/null +++ b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/GetChannelInputStreamResponse.aidl @@ -0,0 +1,3 @@ +package com.google.android.gms.wearable.internal; + +parcelable GetChannelInputStreamResponse; \ No newline at end of file diff --git a/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/GetChannelOutputStreamResponse.aidl b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/GetChannelOutputStreamResponse.aidl new file mode 100644 index 00000000..b08cdca1 --- /dev/null +++ b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/GetChannelOutputStreamResponse.aidl @@ -0,0 +1,3 @@ +package com.google.android.gms.wearable.internal; + +parcelable GetChannelOutputStreamResponse; \ No newline at end of file diff --git a/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/GetCloudSyncOptInOutDoneResponse.aidl b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/GetCloudSyncOptInOutDoneResponse.aidl new file mode 100644 index 00000000..3dfd71ba --- /dev/null +++ b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/GetCloudSyncOptInOutDoneResponse.aidl @@ -0,0 +1,3 @@ +package com.google.android.gms.wearable.internal; + +parcelable GetCloudSyncOptInOutDoneResponse; \ No newline at end of file diff --git a/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/GetCloudSyncOptInStatusResponse.aidl b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/GetCloudSyncOptInStatusResponse.aidl new file mode 100644 index 00000000..20bfb741 --- /dev/null +++ b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/GetCloudSyncOptInStatusResponse.aidl @@ -0,0 +1,3 @@ +package com.google.android.gms.wearable.internal; + +parcelable GetCloudSyncOptInStatusResponse; \ No newline at end of file diff --git a/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/IWearableCallbacks.aidl b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/IWearableCallbacks.aidl index a41f6e5b..ffa91cb9 100644 --- a/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/IWearableCallbacks.aidl +++ b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/IWearableCallbacks.aidl @@ -2,7 +2,17 @@ package com.google.android.gms.wearable.internal; import com.google.android.gms.common.api.Status; import com.google.android.gms.common.data.DataHolder; +import com.google.android.gms.wearable.internal.AddLocalCapabilityResponse; +import com.google.android.gms.wearable.internal.ChannelReceiveFileResponse; +import com.google.android.gms.wearable.internal.ChannelSendFileResponse; +import com.google.android.gms.wearable.internal.CloseChannelResponse; import com.google.android.gms.wearable.internal.DeleteDataItemsResponse; +import com.google.android.gms.wearable.internal.GetAllCapabilitiesResponse; +import com.google.android.gms.wearable.internal.GetCapabilityResponse; +import com.google.android.gms.wearable.internal.GetChannelInputStreamResponse; +import com.google.android.gms.wearable.internal.GetChannelOutputStreamResponse; +import com.google.android.gms.wearable.internal.GetCloudSyncOptInOutDoneResponse; +import com.google.android.gms.wearable.internal.GetCloudSyncOptInStatusResponse; import com.google.android.gms.wearable.internal.GetCloudSyncSettingResponse; import com.google.android.gms.wearable.internal.GetConfigResponse; import com.google.android.gms.wearable.internal.GetConfigsResponse; @@ -10,12 +20,23 @@ import com.google.android.gms.wearable.internal.GetConnectedNodesResponse; import com.google.android.gms.wearable.internal.GetDataItemResponse; import com.google.android.gms.wearable.internal.GetFdForAssetResponse; import com.google.android.gms.wearable.internal.GetLocalNodeResponse; +import com.google.android.gms.wearable.internal.OpenChannelResponse; import com.google.android.gms.wearable.internal.PutDataResponse; +import com.google.android.gms.wearable.internal.RemoveLocalCapabilityResponse; import com.google.android.gms.wearable.internal.SendMessageResponse; import com.google.android.gms.wearable.internal.StorageInfoResponse; interface IWearableCallbacks { + // Config void onGetConfigResponse(in GetConfigResponse response) = 1; + void onGetConfigsResponse(in GetConfigsResponse response) = 12; + + // Cloud Sync + void onGetCloudSyncOptInOutDoneResponse(in GetCloudSyncOptInOutDoneResponse response) = 27; + void onGetCloudSyncSettingResponse(in GetCloudSyncSettingResponse response) = 28; + void onGetCloudSyncOptInStatusResponse(in GetCloudSyncOptInStatusResponse response) = 29; + + // Data void onPutDataResponse(in PutDataResponse response) = 2; void onGetDataItemResponse(in GetDataItemResponse response) = 3; void onDataItemChanged(in DataHolder dataHolder) = 4; @@ -24,9 +45,21 @@ interface IWearableCallbacks { void onGetFdForAssetResponse(in GetFdForAssetResponse response) = 7; void onGetLocalNodeResponse(in GetLocalNodeResponse response) = 8; void onGetConnectedNodesResponse(in GetConnectedNodesResponse response) = 9; + + // Channels + void onOpenChannelResponse(in OpenChannelResponse response) = 13; + void onCloseChannelResponse(in CloseChannelResponse response) = 14; + void onGetChannelInputStreamResponse(in GetChannelInputStreamResponse response) = 16; + void onGetChannelOutputStreamResponse(in GetChannelOutputStreamResponse response) = 17; + void onChannelReceiveFileResponse(in ChannelReceiveFileResponse response) = 18; + void onChannelSendFileResponse(in ChannelSendFileResponse response) = 19; + void onStatus(in Status status) = 10; void onStorageInfoResponse(in StorageInfoResponse response) = 11; - void onGetConfigsResponse(in GetConfigsResponse response) = 12; - void onGetCloudSyncSettingResponse(in GetCloudSyncSettingResponse response) = 28; + // Capabilities + void onGetCapabilityResponse(in GetCapabilityResponse response) = 21; + void onGetAllCapabilitiesResponse(in GetAllCapabilitiesResponse response) = 22; + void onAddLocalCapabilityResponse(in AddLocalCapabilityResponse response) = 25; + void onRemoveLocalCapabilityResponse(in RemoveLocalCapabilityResponse response) = 26; } diff --git a/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/IWearableService.aidl b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/IWearableService.aidl index c449ee36..193937e7 100644 --- a/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/IWearableService.aidl +++ b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/IWearableService.aidl @@ -34,10 +34,10 @@ interface IWearableService { void getConnectedNodes(IWearableCallbacks callbacks) = 14; // Capabilties - void getConnectedCapability(IWearableCallbacks callbacks, String s1, int i) = 41; - void getConnectedCapaibilties(IWearableCallbacks callbacks, int i) = 42; - void addLocalCapability(IWearableCallbacks callbacks, String cap) = 45; - void removeLocalCapability(IWearableCallbacks callbacks, String cap) = 46; + void getConnectedCapability(IWearableCallbacks callbacks, String capability, int nodeFilter) = 41; + void getConnectedCapaibilties(IWearableCallbacks callbacks, int nodeFilter) = 42; + void addLocalCapability(IWearableCallbacks callbacks, String capability) = 45; + void removeLocalCapability(IWearableCallbacks callbacks, String capability) = 46; void addListener(IWearableCallbacks callbacks, in AddListenerRequest request) = 15; void removeListener(IWearableCallbacks callbacks, in RemoveListenerRequest request) = 16; diff --git a/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/OpenChannelResponse.aidl b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/OpenChannelResponse.aidl new file mode 100644 index 00000000..4bc17769 --- /dev/null +++ b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/OpenChannelResponse.aidl @@ -0,0 +1,3 @@ +package com.google.android.gms.wearable.internal; + +parcelable OpenChannelResponse; \ No newline at end of file diff --git a/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/RemoveLocalCapabilityResponse.aidl b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/RemoveLocalCapabilityResponse.aidl new file mode 100644 index 00000000..dc358804 --- /dev/null +++ b/play-services-wearable-api/src/main/aidl/com/google/android/gms/wearable/internal/RemoveLocalCapabilityResponse.aidl @@ -0,0 +1,3 @@ +package com.google.android.gms.wearable.internal; + +parcelable RemoveLocalCapabilityResponse; \ No newline at end of file diff --git a/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/WearableStatusCodes.java b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/WearableStatusCodes.java index 6982ae24..dc3bc64e 100644 --- a/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/WearableStatusCodes.java +++ b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/WearableStatusCodes.java @@ -50,4 +50,16 @@ public class WearableStatusCodes extends CommonStatusCodes { * Indicates that the requested asset is unavailable. */ public static final int ASSET_UNAVAILABLE = 4005; + /** + * Indicates that the specified capability already exists. + */ + public static final int DUPLICATE_CAPABILITY = 4006; + /** + * Indicates that the specified capability is not recognized. + */ + public static final int UNKNOWN_CAPABILITY = 4007; + /** + * Indicates that the WiFi credential sync no credential fetched. + */ + public static final int WIFI_CREDENTIAL_SYNC_NO_CREDENTIAL_FETCHED = 4008; } diff --git a/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/AddLocalCapabilityResponse.java b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/AddLocalCapabilityResponse.java new file mode 100644 index 00000000..8446da2c --- /dev/null +++ b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/AddLocalCapabilityResponse.java @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2019 microG Project Team + * + * Licensed 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 com.google.android.gms.wearable.internal; + +import org.microg.safeparcel.AutoSafeParcelable; +import org.microg.safeparcel.SafeParceled; + +public class AddLocalCapabilityResponse extends AutoSafeParcelable { + @SafeParceled(1) + private int versionCode = 1; + @SafeParceled(2) + private int status = 0; + + private AddLocalCapabilityResponse() { + } + + public AddLocalCapabilityResponse(int status) { + this.status = status; + } + + public static final Creator CREATOR = new AutoCreator(AddLocalCapabilityResponse.class); +} diff --git a/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/ChannelReceiveFileResponse.java b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/ChannelReceiveFileResponse.java new file mode 100644 index 00000000..9a6a05fe --- /dev/null +++ b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/ChannelReceiveFileResponse.java @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2019 microG Project Team + * + * Licensed 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 com.google.android.gms.wearable.internal; + +import org.microg.safeparcel.AutoSafeParcelable; +import org.microg.safeparcel.SafeParceled; + +public class ChannelReceiveFileResponse extends AutoSafeParcelable { + @SafeParceled(1) + private int versionCode = 1; + public static final Creator CREATOR = new AutoCreator(ChannelReceiveFileResponse.class); +} diff --git a/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/ChannelSendFileResponse.java b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/ChannelSendFileResponse.java new file mode 100644 index 00000000..09a2cb19 --- /dev/null +++ b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/ChannelSendFileResponse.java @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2019 microG Project Team + * + * Licensed 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 com.google.android.gms.wearable.internal; + +import org.microg.safeparcel.AutoSafeParcelable; +import org.microg.safeparcel.SafeParceled; + +public class ChannelSendFileResponse extends AutoSafeParcelable { + @SafeParceled(1) + private int versionCode = 1; + public static final Creator CREATOR = new AutoCreator(ChannelSendFileResponse.class); +} diff --git a/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/CloseChannelResponse.java b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/CloseChannelResponse.java new file mode 100644 index 00000000..3520593b --- /dev/null +++ b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/CloseChannelResponse.java @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2019 microG Project Team + * + * Licensed 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 com.google.android.gms.wearable.internal; + +import org.microg.safeparcel.AutoSafeParcelable; +import org.microg.safeparcel.SafeParceled; + +public class CloseChannelResponse extends AutoSafeParcelable { + @SafeParceled(1) + private int versionCode = 1; + public static final Creator CREATOR = new AutoCreator(CloseChannelResponse.class); +} diff --git a/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/GetAllCapabilitiesResponse.java b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/GetAllCapabilitiesResponse.java new file mode 100644 index 00000000..a807ec29 --- /dev/null +++ b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/GetAllCapabilitiesResponse.java @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2019 microG Project Team + * + * Licensed 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 com.google.android.gms.wearable.internal; + +import org.microg.safeparcel.AutoSafeParcelable; +import org.microg.safeparcel.SafeParceled; + +public class GetAllCapabilitiesResponse extends AutoSafeParcelable { + @SafeParceled(1) + private int versionCode = 1; + public static final Creator CREATOR = new AutoCreator(GetAllCapabilitiesResponse.class); +} diff --git a/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/GetCapabilityResponse.java b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/GetCapabilityResponse.java new file mode 100644 index 00000000..be7a5565 --- /dev/null +++ b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/GetCapabilityResponse.java @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2019 microG Project Team + * + * Licensed 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 com.google.android.gms.wearable.internal; + +import org.microg.safeparcel.AutoSafeParcelable; +import org.microg.safeparcel.SafeParceled; + +public class GetCapabilityResponse extends AutoSafeParcelable { + @SafeParceled(1) + private int versionCode = 1; + @SafeParceled(2) + private int status; + @SafeParceled(3) + private CapabilityInfoParcelable capabilityInfo; + + private GetCapabilityResponse() { + } + + public GetCapabilityResponse(int status, CapabilityInfoParcelable capabilityInfo) { + this.status = status; + this.capabilityInfo = capabilityInfo; + } + + public static final Creator CREATOR = new AutoCreator(GetCapabilityResponse.class); +} diff --git a/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/GetChannelInputStreamResponse.java b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/GetChannelInputStreamResponse.java new file mode 100644 index 00000000..b5460a43 --- /dev/null +++ b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/GetChannelInputStreamResponse.java @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2019 microG Project Team + * + * Licensed 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 com.google.android.gms.wearable.internal; + +import org.microg.safeparcel.AutoSafeParcelable; +import org.microg.safeparcel.SafeParceled; + +public class GetChannelInputStreamResponse extends AutoSafeParcelable { + @SafeParceled(1) + private int versionCode = 1; + public static final Creator CREATOR = new AutoCreator(GetChannelInputStreamResponse.class); +} diff --git a/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/GetChannelOutputStreamResponse.java b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/GetChannelOutputStreamResponse.java new file mode 100644 index 00000000..71e024e2 --- /dev/null +++ b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/GetChannelOutputStreamResponse.java @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2019 microG Project Team + * + * Licensed 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 com.google.android.gms.wearable.internal; + +import org.microg.safeparcel.AutoSafeParcelable; +import org.microg.safeparcel.SafeParceled; + +public class GetChannelOutputStreamResponse extends AutoSafeParcelable { + @SafeParceled(1) + private int versionCode = 1; + public static final Creator CREATOR = new AutoCreator(GetChannelOutputStreamResponse.class); +} diff --git a/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/GetCloudSyncOptInOutDoneResponse.java b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/GetCloudSyncOptInOutDoneResponse.java new file mode 100644 index 00000000..1c3c63ec --- /dev/null +++ b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/GetCloudSyncOptInOutDoneResponse.java @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2019 microG Project Team + * + * Licensed 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 com.google.android.gms.wearable.internal; + +import org.microg.safeparcel.AutoSafeParcelable; +import org.microg.safeparcel.SafeParceled; + +public class GetCloudSyncOptInOutDoneResponse extends AutoSafeParcelable { + @SafeParceled(1) + private int versionCode = 1; + public static final Creator CREATOR = new AutoCreator(GetCloudSyncOptInOutDoneResponse.class); +} diff --git a/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/GetCloudSyncOptInStatusResponse.java b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/GetCloudSyncOptInStatusResponse.java new file mode 100644 index 00000000..da213312 --- /dev/null +++ b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/GetCloudSyncOptInStatusResponse.java @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2019 microG Project Team + * + * Licensed 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 com.google.android.gms.wearable.internal; + +import org.microg.safeparcel.AutoSafeParcelable; +import org.microg.safeparcel.SafeParceled; + +public class GetCloudSyncOptInStatusResponse extends AutoSafeParcelable { + @SafeParceled(1) + private int versionCode = 1; + public static final Creator CREATOR = new AutoCreator(GetCloudSyncOptInStatusResponse.class); +} diff --git a/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/OpenChannelResponse.java b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/OpenChannelResponse.java new file mode 100644 index 00000000..fcd97a22 --- /dev/null +++ b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/OpenChannelResponse.java @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2019 microG Project Team + * + * Licensed 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 com.google.android.gms.wearable.internal; + +import org.microg.safeparcel.AutoSafeParcelable; +import org.microg.safeparcel.SafeParceled; + +public class OpenChannelResponse extends AutoSafeParcelable { + @SafeParceled(1) + private int versionCode = 1; + public static final Creator CREATOR = new AutoCreator(OpenChannelResponse.class); +} diff --git a/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/RemoveLocalCapabilityResponse.java b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/RemoveLocalCapabilityResponse.java new file mode 100644 index 00000000..516ebee5 --- /dev/null +++ b/play-services-wearable-api/src/main/java/com/google/android/gms/wearable/internal/RemoveLocalCapabilityResponse.java @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2019 microG Project Team + * + * Licensed 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 com.google.android.gms.wearable.internal; + +import org.microg.safeparcel.AutoSafeParcelable; +import org.microg.safeparcel.SafeParceled; + +public class RemoveLocalCapabilityResponse extends AutoSafeParcelable { + @SafeParceled(1) + private int versionCode = 1; + @SafeParceled(2) + private int status = 0; + + private RemoveLocalCapabilityResponse() { + } + + public RemoveLocalCapabilityResponse(int status) { + this.status = status; + } + + public static final Creator CREATOR = new AutoCreator(RemoveLocalCapabilityResponse.class); +}