Searched refs:Optional (Results 1 – 15 of 15) sorted by relevance
/system/chre/util/include/chre/util/ |
D | optional_impl.h | 25 Optional<ObjectType>::Optional() {} in Optional() function 28 Optional<ObjectType>::Optional(const ObjectType& object) in Optional() function 32 Optional<ObjectType>::Optional(ObjectType&& object) in Optional() function 36 bool Optional<ObjectType>::has_value() const { in has_value() 41 void Optional<ObjectType>::reset() { in reset() 47 Optional<ObjectType>& Optional<ObjectType>::operator=(ObjectType&& other) { 54 Optional<ObjectType>& Optional<ObjectType>::operator=( 55 Optional<ObjectType>&& other) { 63 Optional<ObjectType>& Optional<ObjectType>::operator=(const ObjectType& other) { 70 Optional<ObjectType>& Optional<ObjectType>::operator=( [all …]
|
D | optional.h | 27 class Optional { 32 Optional(); 39 Optional(const ObjectType& object); 46 Optional(ObjectType&& object); 67 Optional<ObjectType>& operator=(ObjectType&& other); 76 Optional<ObjectType>& operator=(Optional<ObjectType>&& other); 85 Optional<ObjectType>& operator=(const ObjectType& other); 93 Optional<ObjectType>& operator=(const Optional<ObjectType>& other);
|
/system/chre/util/tests/ |
D | optional_test.cc | 21 using chre::Optional; 23 TEST(Optional, NoValueByDefault) { in TEST() argument 24 Optional<int> myInt; in TEST() 28 TEST(Optional, NonDefaultValueByDefault) { in TEST() argument 29 Optional<int> myInt(0x1337); in TEST() 34 TEST(Optional, NonDefaultMovedValueByDefault) { in TEST() argument 35 Optional<int> myInt(std::move(0x1337)); in TEST() 40 TEST(Optional, CopyAssignAndRead) { in TEST() argument 41 Optional<int> myInt; in TEST() 50 TEST(Optional, MoveAssignAndRead) { in TEST() argument [all …]
|
/system/nvram/messages/include/nvram/messages/ |
D | optional.h | 24 template <typename ValueType> class Optional { 26 Optional() = default; 27 explicit Optional(ValueType value) : value_(value), valid_(true) {} in Optional() function
|
D | proto.hpp | 226 struct Codec<Optional<ValueType>> { 230 static bool Encode(const Optional<ValueType>& value, ProtoWriter* writer) { in Encode() 234 static bool Decode(Optional<ValueType>& value, ProtoReader* reader) { in Decode()
|
/system/extras/cppreopts/ |
D | cppreopts.rc | 18 # Optional script to copy additional preloaded content to data directory 26 # Optional script to copy additional preloaded content to data directory
|
/system/chre/core/include/chre/core/ |
D | sensor.h | 102 Optional<PlatformSensor> mPlatformSensor;
|
D | wifi_request_manager.h | 154 Optional<uint32_t> mScanRequestingNanoappInstanceId;
|
/system/nvram/core/ |
D | nvram_manager.cpp | 282 if ((result = WriteHeader(Optional<uint32_t>(index))) != NV_RESULT_SUCCESS || in CreateSpace() 349 result = WriteHeader(Optional<uint32_t>(index)); in DeleteSpace() 386 nvram_result_t result = WriteHeader(Optional<uint32_t>()); in DisableCreate() 571 return WriteHeader(Optional<uint32_t>()); in WipeStorage() 677 const Optional<uint32_t>& provisional_index = header.provisional_index; in Initialize() 769 WriteHeader(Optional<uint32_t>()); in Initialize() 818 nvram_result_t NvramManager::WriteHeader(Optional<uint32_t> provisional_index) { in WriteHeader()
|
/system/nvram/core/include/nvram/core/ |
D | persistence.h | 86 Optional<uint32_t> provisional_index;
|
D | nvram_manager.h | 136 nvram_result_t WriteHeader(Optional<uint32_t> provisional_index);
|
/system/extras/app-launcher/ |
D | README | 15 -v : Optional, Verbose mode, prints stats on a lot of metrics. 42 (b) (Optional) Add code to get the /system block device pathname. This is
|
/system/bt/ |
D | README.md | 96 until "Optional: Building inside Eclipse" section (don't do that section, we
|
/system/update_engine/ |
D | update_metadata.proto | 189 // Optional SHA 256 hash of the blob associated with this operation.
|
/system/core/rootdir/ |
D | init.rc | 262 # Mount fstab in init.{$device}.rc by mount_all command. Optional parameter
|