Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/packet/parser/
Dsize.h29 is_valid_ = true; in Size()
34 is_valid_ = true; in Size()
39 is_valid_ = true; in Size()
45 is_valid_ = size.is_valid_; in Size()
66 return !is_valid_; in empty()
92 ret.is_valid_ = true;
100 ret.is_valid_ = is_valid_ && rhs.is_valid_;
107 is_valid_ = true;
113 is_valid_ = true;
119 is_valid_ = is_valid_ && rhs.is_valid_;
[all …]
/packages/modules/adb/pairing_connection/tests/
Dpairing_connection_test.cpp148 std::optional<bool> is_valid_; member
158 p->is_valid_ = (peer_info != nullptr); in ResultCallback()
349 client_waiter.cv_.wait(client_lock, [&]() { return client_waiter.is_valid_.has_value(); }); in TEST_F()
350 ASSERT_TRUE(*(client_waiter.is_valid_)); in TEST_F()
358 if (!client_waiter.is_valid_) { in TEST_F()
362 server_waiter.cv_.wait(server_lock, [&]() { return server_waiter.is_valid_.has_value(); }); in TEST_F()
363 ASSERT_TRUE(*(server_waiter.is_valid_)); in TEST_F()
388 client_waiter.cv_.wait(client_lock, [&]() { return client_waiter.is_valid_.has_value(); }); in TEST_F()
389 ASSERT_FALSE(*(client_waiter.is_valid_)); in TEST_F()
396 ASSERT_TRUE(server_waiter.is_valid_.has_value()); in TEST_F()
[all …]
/packages/modules/adb/client/
Dadb_wifi.cpp43 std::optional<bool> is_valid_; member
55 p->is_valid_ = (peer_info != nullptr); in OnResult()
237 waiter.cv_.wait(lock, [&]() { return waiter.is_valid_.has_value(); }); in adb_wifi_pair_device()
238 if (!*(waiter.is_valid_)) { in adb_wifi_pair_device()