1 /* 2 * Copyright 2019 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package com.android.bluetooth.btservice.storage; 18 19 import android.bluetooth.BluetoothProfile; 20 21 import androidx.room.Entity; 22 23 @Entity 24 class ProfilePrioritiesEntity { 25 /* Bluetooth profile priorities*/ 26 public int a2dp_priority; 27 public int a2dp_sink_priority; 28 public int hfp_priority; 29 public int hfp_client_priority; 30 public int hid_host_priority; 31 public int pan_priority; 32 public int pbap_priority; 33 public int pbap_client_priority; 34 public int map_priority; 35 public int sap_priority; 36 public int hearing_aid_priority; 37 public int map_client_priority; 38 ProfilePrioritiesEntity()39 ProfilePrioritiesEntity() { 40 a2dp_priority = BluetoothProfile.PRIORITY_UNDEFINED; 41 a2dp_sink_priority = BluetoothProfile.PRIORITY_UNDEFINED; 42 hfp_priority = BluetoothProfile.PRIORITY_UNDEFINED; 43 hfp_client_priority = BluetoothProfile.PRIORITY_UNDEFINED; 44 hid_host_priority = BluetoothProfile.PRIORITY_UNDEFINED; 45 pan_priority = BluetoothProfile.PRIORITY_UNDEFINED; 46 pbap_priority = BluetoothProfile.PRIORITY_UNDEFINED; 47 pbap_client_priority = BluetoothProfile.PRIORITY_UNDEFINED; 48 map_priority = BluetoothProfile.PRIORITY_UNDEFINED; 49 sap_priority = BluetoothProfile.PRIORITY_UNDEFINED; 50 hearing_aid_priority = BluetoothProfile.PRIORITY_UNDEFINED; 51 map_client_priority = BluetoothProfile.PRIORITY_UNDEFINED; 52 } 53 } 54