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 /* 18 * Generated mock file from original source file 19 * Functions generated:4 20 */ 21 22 #include <openssl/hmac.h> 23 24 #include <string> 25 26 #include "common/address_obfuscator.h" 27 #include "test/common/mock_functions.h" 28 #include "types/raw_address.h" 29 30 namespace bluetooth { 31 namespace common { 32 IsInitialized()33bool AddressObfuscator::IsInitialized() { 34 inc_func_call_count(__func__); 35 return false; 36 } IsSaltValid(const Octet32 & salt_256bit)37bool AddressObfuscator::IsSaltValid(const Octet32& salt_256bit) { 38 inc_func_call_count(__func__); 39 return false; 40 } Obfuscate(const RawAddress & address)41std::string AddressObfuscator::Obfuscate(const RawAddress& address) { 42 inc_func_call_count(__func__); 43 return 0; 44 } Initialize(const Octet32 & salt_256bit)45void AddressObfuscator::Initialize(const Octet32& salt_256bit) { 46 inc_func_call_count(__func__); 47 salt_256bit_ = salt_256bit; 48 } 49 50 } // namespace common 51 } // namespace bluetooth 52