Home
last modified time | relevance | path

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

/system/chre/util/tests/
Doptional_test.cc25 EXPECT_FALSE(myInt.has_value()); in TEST()
30 EXPECT_TRUE(myInt.has_value()); in TEST()
36 EXPECT_TRUE(myInt.has_value()); in TEST()
42 EXPECT_FALSE(myInt.has_value()); in TEST()
45 EXPECT_TRUE(myInt.has_value()); in TEST()
47 EXPECT_FALSE(myInt.has_value()); in TEST()
52 EXPECT_FALSE(myInt.has_value()); in TEST()
54 EXPECT_TRUE(myInt.has_value()); in TEST()
61 EXPECT_FALSE(myMovedInt.has_value()); in TEST()
63 EXPECT_FALSE(myInt.has_value()); in TEST()
[all …]
/system/chre/util/include/chre/util/
Doptional.h52 bool has_value() const;
Doptional_impl.h36 bool Optional<ObjectType>::has_value() const { in has_value() function
/system/chre/core/
Dwifi_request_manager.cc77 if (!mScanRequestingNanoappInstanceId.has_value()) { in requestScan()
368 CHRE_ASSERT_LOG(mScanRequestingNanoappInstanceId.has_value(), in handleScanResponseSync()
370 if (mScanRequestingNanoappInstanceId.has_value()) { in handleScanResponseSync()
415 && mScanRequestingNanoappInstanceId.has_value()) { in handleFreeWifiScanEvent()
Dsensor.cc36 return mPlatformSensor.has_value(); in isValid()