Home
last modified time | relevance | path

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

/system/bt/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 …]
/system/tools/aidl/
Daidl_const_expressions.cpp386 if (!is_valid_) { in ValueString()
493 if (is_evaluated_) return is_valid_; in CheckValid()
506 is_valid_ = true; in CheckValid()
520 return is_valid_; in evaluate()
626 if (is_evaluated_) return is_valid_; in CheckValid()
629 is_valid_ = unary_->CheckValid(); in CheckValid()
630 if (!is_valid_) { in CheckValid()
640 return is_valid_; in evaluate()
650 is_valid_ = false; in evaluate()
658 is_valid_ = false; in evaluate()
[all …]
Daidl_language.h488 mutable bool is_valid_ = false; // cache of CheckValid, but may be marked false in evaluate variable
/system/core/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 …]
/system/core/adb/client/
Dadb_wifi.cpp41 std::optional<bool> is_valid_; member
52 p->is_valid_ = (peer_info != nullptr); in OnResult()
235 waiter.cv_.wait(lock, [&]() { return waiter.is_valid_.has_value(); }); in adb_wifi_pair_device()
236 if (!*(waiter.is_valid_)) { in adb_wifi_pair_device()