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