Home
last modified time | relevance | path

Searched refs:stackState (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/
DBluetoothActivityEnergyInfoTest.java42 int stackState = BT_STACK_STATE_INVALID; in constructor() local
49 timestamp, stackState, txTime, rxTime, idleTime, energyUsed); in constructor()
52 assertThat(info.getBluetoothStackState()).isEqualTo(stackState); in constructor()
63 int stackState = BT_STACK_STATE_INVALID; in setUidTraffic() local
70 timestamp, stackState, txTime, rxTime, idleTime, energyUsed); in setUidTraffic()
84 int stackState = BT_STACK_STATE_INVALID; in isValid() local
91 timestamp, stackState, txTime, rxTime, idleTime, energyUsed); in isValid()
97 timestamp, stackState, -1, rxTime, idleTime, energyUsed); in isValid()
102 timestamp, stackState, txTime, -1, idleTime, energyUsed); in isValid()
107 timestamp, stackState, txTime, rxTime, -1, energyUsed); in isValid()
[all …]
/packages/modules/Uwb/framework/java/android/uwb/
DUwbActivityEnergyInfo.java47 @State int stackState, in UwbActivityEnergyInfo() argument
53 mStackState = stackState; in UwbActivityEnergyInfo()
203 public Builder setStackState(@State int stackState) { in setStackState() argument
204 if (stackState != UwbManager.AdapterStateCallback.STATE_DISABLED in setStackState()
205 && stackState != UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE in setStackState()
206 && stackState != UwbManager.AdapterStateCallback.STATE_ENABLED_ACTIVE) { in setStackState()
209 mStackState = stackState; in setStackState()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothActivityEnergyInfo.java67 int stackState, in BluetoothActivityEnergyInfo() argument
73 mBluetoothStackState = stackState; in BluetoothActivityEnergyInfo()