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