1 /*
2  * Copyright 2021 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 #include <string>
18 
19 #include "main/shim/config.h"
20 
HasSection(const std::string &)21 bool bluetooth::shim::BtifConfigInterface::HasSection(
22     const std::string& /* section */) {
23   return false;
24 }
HasProperty(const std::string &,const std::string &)25 bool bluetooth::shim::BtifConfigInterface::HasProperty(
26     const std::string& /* section */, const std::string& /* property */) {
27   return false;
28 }
GetInt(const std::string &,const std::string &,int *)29 bool bluetooth::shim::BtifConfigInterface::GetInt(
30     const std::string& /* section */, const std::string& /* key */,
31     int* /* value */) {
32   return false;
33 }
SetInt(const std::string &,const std::string &,int)34 bool bluetooth::shim::BtifConfigInterface::SetInt(
35     const std::string& /* section */, const std::string& /* key */,
36     int /* value */) {
37   return false;
38 }
GetUint64(const std::string &,const std::string &,uint64_t *)39 bool bluetooth::shim::BtifConfigInterface::GetUint64(
40     const std::string& /* section */, const std::string& /* key */,
41     uint64_t* /* value */) {
42   return false;
43 }
SetUint64(const std::string &,const std::string &,uint64_t)44 bool bluetooth::shim::BtifConfigInterface::SetUint64(
45     const std::string& /* section */, const std::string& /* key */,
46     uint64_t /* value */) {
47   return false;
48 }
GetStr(const std::string &,const std::string &,char *,int *)49 bool bluetooth::shim::BtifConfigInterface::GetStr(
50     const std::string& /* section */, const std::string& /* key */,
51     char* /* value */, int* /* size_bytes */) {
52   return false;
53 }
GetStr(const std::string &,const std::string &)54 std::optional<std::string> bluetooth::shim::BtifConfigInterface::GetStr(
55     const std::string& /* section */, const std::string& /* key */) {
56   return std::string();
57 }
SetStr(const std::string &,const std::string &,const std::string &)58 bool bluetooth::shim::BtifConfigInterface::SetStr(
59     const std::string& /* section */, const std::string& /* key */,
60     const std::string& /* value */) {
61   return false;
62 }
GetBin(const std::string &,const std::string &,uint8_t *,size_t *)63 bool bluetooth::shim::BtifConfigInterface::GetBin(
64     const std::string& /* section */, const std::string& /* key */,
65     uint8_t* /* value */, size_t* /* length */) {
66   return false;
67 }
GetBinLength(const std::string &,const std::string &)68 size_t bluetooth::shim::BtifConfigInterface::GetBinLength(
69     const std::string& /* section */, const std::string& /* key */) {
70   return 0;
71 }
SetBin(const std::string &,const std::string &,const uint8_t *,size_t)72 bool bluetooth::shim::BtifConfigInterface::SetBin(
73     const std::string& /* section */, const std::string& /* key */,
74     const uint8_t* /* value */, size_t /* length */) {
75   return false;
76 }
RemoveProperty(const std::string &,const std::string &)77 bool bluetooth::shim::BtifConfigInterface::RemoveProperty(
78     const std::string& /* section */, const std::string& /* key */) {
79   return false;
80 }
RemoveSection(const std::string &)81 void bluetooth::shim::BtifConfigInterface::RemoveSection(
82     const std::string& /* section */){};
83 std::vector<std::string>
GetPersistentDevices()84 bluetooth::shim::BtifConfigInterface::GetPersistentDevices() {
85   return std::vector<std::string>();
86 }
87 void bluetooth::shim::BtifConfigInterface::
ConvertEncryptOrDecryptKeyIfNeeded()88     ConvertEncryptOrDecryptKeyIfNeeded(){};
Clear()89 void bluetooth::shim::BtifConfigInterface::Clear(){};
90