Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 844a7c34 authored by Jakub Tyszkowski's avatar Jakub Tyszkowski Committed by Jakub Pawlowski
Browse files

mcp: Implement Media Control Profile

Architecture-wise it defines the Mcs Manager as an
entry point for registering Mcs Service instances.
Most of the service related API is not exposed in the
IPC mechanism since is used only internally.

Bug: 150670922
Tag: #feature
Test: manual testing
Sponsor: jpawlowski@
Merged-In: I414af987250807c2c8b6d94213ef044035f6bad6
Change-Id: I414af987250807c2c8b6d94213ef044035f6bad6
parent 34768972
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ filegroup {
        "android/bluetooth/IBluetoothManagerCallback.aidl",
        "android/bluetooth/IBluetoothMap.aidl",
        "android/bluetooth/IBluetoothMapClient.aidl",
        "android/bluetooth/IBluetoothMcpServiceManager.aidl",
        "android/bluetooth/IBluetoothPbap.aidl",
        "android/bluetooth/IBluetoothPbapClient.aidl",
        "android/bluetooth/IBluetoothSap.aidl",
+29 −0
Original line number Diff line number Diff line
/*
 * Copyright 2021 HIMSA II K/S - www.himsa.com.
 * Represented by EHIMA - www.ehima.com
 *
 * 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.bluetooth;

import android.bluetooth.BluetoothDevice;

/**
 * Media Control Profile service manager
 * @hide
 */
interface IBluetoothMcpServiceManager
{
    void setDeviceAuthorized(in BluetoothDevice device, boolean isAuthorized);
}