Home
last modified time | relevance | path

Searched refs:is_valid (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/libs/input/tests/
DTfLiteMotionPredictor_test.cpp161 const auto is_valid = [](float value) { return !isnan(value) && value != 0; }; in TEST() local
162 ASSERT_TRUE(std::all_of(model->outputR().begin(), model->outputR().end(), is_valid)); in TEST()
163 ASSERT_TRUE(std::all_of(model->outputPhi().begin(), model->outputPhi().end(), is_valid)); in TEST()
165 std::all_of(model->outputPressure().begin(), model->outputPressure().end(), is_valid)); in TEST()
/frameworks/base/tools/aapt2/
DResource.h140 bool is_valid() const;
165 bool is_valid() const;
197 bool is_valid() const;
282 inline bool ResourceId::is_valid() const { in is_valid() function
441 inline bool ResourceName::is_valid() const { in is_valid() function
492 inline bool ResourceNameRef::is_valid() const { in is_valid() function
DResourceValues.cpp125 const bool dynamic = resid.is_valid() && is_dynamic; in Flatten()
163 if (id && id.value().is_valid()) { in Print()
200 } else if (ref.id && ref.id.value().is_valid()) { in PrettyPrintReferenceImpl()
DResourceTable.cpp478 if (res.id.has_value() && !res.id->first.is_valid()) { in AddResource()
DResourceUtils.cpp511 if (id.is_valid()) { in ParseResourceId()
DResourceParser.cpp138 if (res->id.is_valid()) { in AddResourcesToTable()
/frameworks/base/tools/aapt2/format/binary/
DXmlFlattener.cpp354 if (str->context.priority == kLowPriority || !id.is_valid()) { in Flatten()
DBinaryResourceParser.cpp70 if (!reference->id || !reference->id.value().is_valid()) { in Visit()
/frameworks/native/libs/vr/libbroadcastring/include/libbroadcastring/
Dbroadcast_ring.h373 bool is_valid() const { return !!data_.mmap; } in is_valid() function
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp49 if (!reference->id || !reference->id.value().is_valid()) { in Visit()
518 if (resid.is_valid()) { in DeserializePackageFromPb()