xref: /aosp_15_r20/tools/netsim/rust/daemon/src/bluetooth/mod.rs (revision cf78ab8cffb8fc9207af348f23af247fb04370a6)
1*cf78ab8cSAndroid Build Coastguard Worker // Copyright 2023 Google LLC
2*cf78ab8cSAndroid Build Coastguard Worker //
3*cf78ab8cSAndroid Build Coastguard Worker // Licensed under the Apache License, Version 2.0 (the "License");
4*cf78ab8cSAndroid Build Coastguard Worker // you may not use this file except in compliance with the License.
5*cf78ab8cSAndroid Build Coastguard Worker // You may obtain a copy of the License at
6*cf78ab8cSAndroid Build Coastguard Worker //
7*cf78ab8cSAndroid Build Coastguard Worker //     https://www.apache.org/licenses/LICENSE-2.0
8*cf78ab8cSAndroid Build Coastguard Worker //
9*cf78ab8cSAndroid Build Coastguard Worker // Unless required by applicable law or agreed to in writing, software
10*cf78ab8cSAndroid Build Coastguard Worker // distributed under the License is distributed on an "AS IS" BASIS,
11*cf78ab8cSAndroid Build Coastguard Worker // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*cf78ab8cSAndroid Build Coastguard Worker // See the License for the specific language governing permissions and
13*cf78ab8cSAndroid Build Coastguard Worker // limitations under the License.
14*cf78ab8cSAndroid Build Coastguard Worker 
15*cf78ab8cSAndroid Build Coastguard Worker // [cfg(test)] gets compiled during local Rust unit tests
16*cf78ab8cSAndroid Build Coastguard Worker // [cfg(not(test))] avoids getting compiled during local Rust unit tests
17*cf78ab8cSAndroid Build Coastguard Worker 
18*cf78ab8cSAndroid Build Coastguard Worker #![allow(unused)]
19*cf78ab8cSAndroid Build Coastguard Worker mod beacon;
20*cf78ab8cSAndroid Build Coastguard Worker #[cfg(test)]
21*cf78ab8cSAndroid Build Coastguard Worker mod mocked;
22*cf78ab8cSAndroid Build Coastguard Worker pub(crate) use self::beacon::*;
23*cf78ab8cSAndroid Build Coastguard Worker #[cfg(test)]
24*cf78ab8cSAndroid Build Coastguard Worker pub(crate) use self::mocked::*;
25*cf78ab8cSAndroid Build Coastguard Worker pub(crate) mod advertise_data;
26*cf78ab8cSAndroid Build Coastguard Worker pub(crate) mod advertise_settings;
27*cf78ab8cSAndroid Build Coastguard Worker pub(crate) mod chip;
28