diff options
author | 2024-09-06 17:49:06 +0000 | |
---|---|---|
committer | 2024-10-10 18:22:05 +0000 | |
commit | c5c50c5a92ab629d803c359a1bbe3c9e165ef47e (patch) | |
tree | 04192796c505a0bdf944aab38315926ac996f81c | |
parent | d0d2305d938b262e5081d1cb5cdd11a2806f8385 (diff) |
Initialize the unstable AIDL interface for
the mainline supplicant.
Bug: 365585450
Flag: com.android.wifi.flags.mainline_supplicant
Test: m
Change-Id: I7a459a70e2759b61491ea6e7c66a88848ee3fab4
-rw-r--r-- | aidl/mainline_supplicant/Android.bp | 42 | ||||
-rw-r--r-- | aidl/mainline_supplicant/android/system/wifi/mainline_supplicant/IMainlineSupplicant.aidl | 28 |
2 files changed, 70 insertions, 0 deletions
diff --git a/aidl/mainline_supplicant/Android.bp b/aidl/mainline_supplicant/Android.bp new file mode 100644 index 0000000000..285af3d6cf --- /dev/null +++ b/aidl/mainline_supplicant/Android.bp @@ -0,0 +1,42 @@ +// Copyright (C) 2024 The Android Open Source Project +// +// 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. + +aidl_interface { + name: "android.system.wifi.mainline_supplicant", + unstable: true, + srcs: [ + "android/system/wifi/mainline_supplicant/*.aidl", + ], + backend: { + java: { + enabled: true, + apex_available: [ + "//apex_available:platform", + "com.android.wifi", + ], + min_sdk_version: "30", + }, + ndk: { + enabled: true, + apex_available: [ + "//apex_available:platform", + "com.android.wifi", + ], + min_sdk_version: "30", + }, + cpp: { + enabled: false, + }, + }, +} diff --git a/aidl/mainline_supplicant/android/system/wifi/mainline_supplicant/IMainlineSupplicant.aidl b/aidl/mainline_supplicant/android/system/wifi/mainline_supplicant/IMainlineSupplicant.aidl new file mode 100644 index 0000000000..2cef28229a --- /dev/null +++ b/aidl/mainline_supplicant/android/system/wifi/mainline_supplicant/IMainlineSupplicant.aidl @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2024 The Android Open Source Project + * + * 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 android.system.wifi.mainline_supplicant; + +/** + * Root of the mainline supplicant interface. This is an unstable AIDL interface used + * to interact with the supplicant binary stored in the mainline module. + */ +interface IMainlineSupplicant { + /** + * Terminate the service. + */ + void terminate(); +} |