Home
last modified time | relevance | path

Searched refs:CHECK (Results 1 – 25 of 56) sorted by relevance

123

/hardware/nxp/secure_element/libese-spi/p73/utils/
Dconfig.cpp52 CHECK(type_ == STRING); in getString()
57 CHECK(type_ == UNSIGNED); in getUnsigned()
62 CHECK(type_ == BYTES); in getBytes()
68 CHECK(in.length() > 2); // Don't allow empty strings in parseFromString()
75 CHECK(in.length() >= 4); // Needs at least one byte in parseFromString()
93 CHECK(config_read); in parseFromFile()
108 CHECK(search != string::npos); in parseFromString()
115 CHECK(value_parsed); in parseFromString()
116 CHECK(!hasKey(key)); in parseFromString()
129 CHECK(search != values_.end()); in getValue()
Dese_config.cpp50 CHECK(config_path != ""); in EseConfig()
/hardware/st/secure_element/ese-spi-driver/utils-lib/
Dconfig.cc47 CHECK(type_ == STRING); in getString()
52 CHECK(type_ == UNSIGNED); in getUnsigned()
57 CHECK(type_ == BYTES); in getBytes()
63 CHECK(in.length() > 2); // Don't allow empty strings in parseFromString()
70 CHECK(in.length() >= 4); // Needs at least one byte in parseFromString()
88 CHECK(config_read); in parseFromFile()
103 CHECK(search != string::npos); in parseFromString()
110 CHECK(value_parsed); in parseFromString()
111 CHECK(!hasKey(key)); in parseFromString()
124 CHECK(search != values_.end()); in getValue()
Dese_config.cc52 CHECK(config_path != ""); in EseConfig()
/hardware/interfaces/identity/support/src/
Dcppbor.cpp75 CHECK(false); // Impossible to get here. in encodeHeader()
103 CHECK(false); // Impossible to get here. in encodeHeader()
127 CHECK(false); // Impossible to get here. in operator ==()
133 CHECK(v < 0) << "Only negative values allowed"; in Nint()
145 CHECK(false); // Impossible to get here. in operator ==()
201 CHECK(mEntries.size() % 2 == 0); in assertInvariant()
222 CHECK(mEntries.size() == 1); in assertInvariant()
Dcppbor_parse.cpp220 CHECK(false); // It's impossible to get here in parseRecursively()
261 CHECK(false); // Impossible to get here. in parseRecursively()
291 CHECK(item->isCompound() && item.get() == mParentStack.top()); in itemEnd()
327 CHECK(false); // Impossible to get here. in appendToLastParent()
/hardware/interfaces/keymaster/4.1/support/
DKeymaster.cpp95 CHECK(device) << "Failed to get service for " << descriptor << " with interface name " in enumerateDevices()
126 CHECK(serviceManager) << "Could not retrieve ServiceManager"; in enumerateAvailableDevices()
152 CHECK(error == V4_0::ErrorCode::OK) in getHmacParameters()
156 CHECK(rc.isOk()) << "Failed to communicate with " << *keymaster in getHmacParameters()
176 CHECK(error == V4_0::ErrorCode::OK) << "Failed to get HMAC parameters from " in computeHmac()
187 CHECK(rc.isOk()) << "Failed to communicate with " << *keymaster in computeHmac()
DKeymaster4.cpp38 CHECK(rc.isOk()) << "Got error " << rc.description() << " trying to get hardware info"; in getVersionIfNeeded()
/hardware/interfaces/tests/extension/vibrator/aidl/default/
Dservice.cpp40 CHECK(STATUS_OK == AIBinder_setExtension(vibBinder.get(), cvib->asBinder().get())); in main()
43 CHECK(STATUS_OK == AServiceManager_addService(vibBinder.get(), instance.c_str())); in main()
/hardware/interfaces/wifi/1.3/default/
Dhidl_struct_util.cpp57 CHECK(false) << "Unknown legacy feature: " << feature; in convertLegacyLoggerFeatureToHidlChipCapability()
68 CHECK(false) << "Unknown legacy feature: " << feature; in convertLegacyLoggerFeatureToHidlStaIfaceCapability()
89 CHECK(false) << "Unknown legacy feature: " << feature; in convertLegacyFeatureToHidlChipCapability()
124 CHECK(false) << "Unknown legacy feature: " << feature; in convertLegacyFeatureToHidlStaIfaceCapability()
174 CHECK(false) << "Unknown legacy flag: " << flag; in convertLegacyDebugRingBufferFlagsToHidl()
282 CHECK(false); in convertHidlTxPowerScenarioToLegacy()
301 CHECK(false); in convertHidlTxPowerScenarioToLegacy_1_2()
312 CHECK(false); in convertHidlLatencyModeToLegacy()
421 CHECK(false); in convertHidlGscanReportEventFlagToLegacy()
429 CHECK(false) << "Unknown legacy flag: " << legacy_flag; in convertLegacyGscanDataFlagToHidl()
[all …]
/hardware/interfaces/health/utils/libhealth2impl/
DHalHealthLoop.cpp43 CHECK(res == Result::SUCCESS); in Init()
68 CHECK(res == Result::SUCCESS) in ScheduleBatteryUpdate()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DUtils.cpp47 CHECK(false) << "Invalid OperandType " << static_cast<uint32_t>(type); in sizeOfData()
71 CHECK(false) << "Invalid OperandType " << static_cast<uint32_t>(type); in isTensor()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/include/1.0/
DUtils.h107 CHECK(vec != nullptr); in hidl_vec_removeAt()
115 CHECK(vec != nullptr); in hidl_vec_remove()
123 CHECK(vec != nullptr); in hidl_vec_push_back()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DUtils.cpp49 CHECK(false) << "Invalid OperandType " << static_cast<uint32_t>(type); in sizeOfData()
75 CHECK(false) << "Invalid OperandType " << static_cast<uint32_t>(type); in isTensor()
/hardware/interfaces/light/aidl/default/
Dmain.cpp31 CHECK(status == STATUS_OK); in main()
/hardware/interfaces/vibrator/aidl/default/
Dmain.cpp31 CHECK(status == STATUS_OK); in main()
/hardware/interfaces/power/aidl/default/
Dmain.cpp31 CHECK(status == STATUS_OK); in main()
/hardware/interfaces/health/2.1/default/
Dservice.cpp32 CHECK(passthrough != nullptr) in main()
/hardware/google/av/media/codecs/cmds/
Dcodec2.cpp156 CHECK(mControl != nullptr); in SimplePlayer()
157 CHECK(mControl->isValid()); in SimplePlayer()
165 CHECK(mSurface != nullptr); in SimplePlayer()
306 CHECK(buffer == nullptr); in play()
315 CHECK(meta.findInt64(kKeyTime, &timestamp)); in play()
/hardware/interfaces/identity/aidl/default/
Dservice.cpp40 CHECK(status == STATUS_OK); in main()
/hardware/google/av/codec2/vndk/include/
Dandroid-C2Debug-log.h51 #define C2_CHECK CHECK
/hardware/interfaces/tests/inheritance/1.0/default/
DFetcher.cpp17 CHECK(!mPrecious->isRemote()); in Fetcher()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DUtils.cpp103 CHECK(memoryType == MemoryType::ASHMEM || memoryType == MemoryType::BLOB_AHWB); in createRequest()
190 CHECK(false) << "Invalid OperandType " << static_cast<uint32_t>(type); in sizeOfData()
206 CHECK(false) << "Invalid OperandType " << static_cast<uint32_t>(type); in isTensor()
DGeneratedTestHarness.cpp101 CHECK(mappedMemory.get() != nullptr); in createModel()
104 CHECK(mappedPtr != nullptr); in createModel()
/hardware/google/pixel/recovery/
Drecovery_ui.cpp117 CHECK(reason.has_value()); in PostWipeData()

123