Home
last modified time | relevance | path

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

12

/hardware/nxp/secure_element/libese-spi/p73/utils/
Dconfig.cpp47 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.cpp50 CHECK(config_path != ""); in EseConfig()
/hardware/interfaces/keymaster/4.0/support/
DKeymaster.cpp93 CHECK(device) << "Failed to get service for " << descriptor << " with interface name " in enumerateDevices()
111 CHECK(serviceManager) << "Could not retrieve ServiceManager"; in enumerateAvailableDevices()
137 CHECK(error == ErrorCode::OK) in getHmacParameters()
141 CHECK(rc.isOk()) << "Failed to communicate with " << *keymaster in getHmacParameters()
161 CHECK(error == ErrorCode::OK) in computeHmac()
167 CHECK(curSharingCheck == sharingCheck) in computeHmac()
172 CHECK(rc.isOk()) << "Failed to communicate with " << *keymaster in computeHmac()
DKeymaster4.cpp39 CHECK(rc.isOk()) << "Got error " << rc.description() << " trying to get hardware info"; in getVersionIfNeeded()
/hardware/intel/common/libmix/videoencoder/
DPVSoftMPEG4Encoder.cpp107 CHECK(!strcmp(name, "OMX.google.mpeg4.encoder")); in PVSoftMPEG4Encoder()
157 CHECK(mHandle != NULL); in initEncParams()
160 CHECK(mEncParams != NULL); in initEncParams()
190 CHECK(mTrimedInputData != NULL); in initEncParams()
194 CHECK(mInputFrameData == NULL); in initEncParams()
197 CHECK(mInputFrameData != NULL); in initEncParams()
231 CHECK(!mStarted); in initEncoder()
414 CHECK(IMB_SUCCESS == imb.UnSerialize(inBuffer->data, inBuffer->size)); in encode()
499 CHECK(NULL == PVGetOverrunBuffer(mHandle)); in getOutput()
/hardware/interfaces/wifi/1.2/default/
Dhidl_struct_util.cpp57 CHECK(false) << "Unknown legacy feature: " << feature; in convertLegacyLoggerFeatureToHidlChipCapability()
68 CHECK(false) << "Unknown legacy feature: " << feature; in convertLegacyLoggerFeatureToHidlStaIfaceCapability()
85 CHECK(false) << "Unknown legacy feature: " << feature; in convertLegacyFeatureToHidlChipCapability()
120 CHECK(false) << "Unknown legacy feature: " << feature; in convertLegacyFeatureToHidlStaIfaceCapability()
165 CHECK(false) << "Unknown legacy flag: " << flag; in convertLegacyDebugRingBufferFlagsToHidl()
273 CHECK(false); in convertHidlTxPowerScenarioToLegacy()
292 CHECK(false); in convertHidlTxPowerScenarioToLegacy_1_2()
400 CHECK(false); in convertHidlGscanReportEventFlagToLegacy()
408 CHECK(false) << "Unknown legacy flag: " << legacy_flag; in convertLegacyGscanDataFlagToHidl()
445 CHECK(false); in convertHidlWifiBandToLegacy()
[all …]
Dwifi_legacy_hal.cpp357 CHECK(global_func_table_.wifi_initialize && !global_handle_ && in start()
613 CHECK(num_freqs >= 0 && in getValidFrequenciesForBand()
818 CHECK(num_fates <= MAX_FATE_LOG_LEN); in getTxPktFates()
831 CHECK(num_fates <= MAX_FATE_LOG_LEN); in getRxPktFates()
858 CHECK( in getWakeReasonStats()
866 CHECK(stats.wake_reason_cnt.driver_fw_local_wake_cnt_used >= 0 && in getWakeReasonStats()
918 CHECK(num_rings <= kMaxRingBuffers); in getRingBuffersStatus()
949 CHECK(id == 0); in registerErrorAlertCallbackHandler()
1368 CHECK(num_results >= 0 && in getGscanCachedResults()
/hardware/google/av/codec2/vndk/include/
Dandroid-C2Debug-log.h51 #define C2_CHECK CHECK
/hardware/google/av/media/codecs/cmds/
Dcodec2.cpp158 CHECK(mControl != NULL); in SimplePlayer()
159 CHECK(mControl->isValid()); in SimplePlayer()
167 CHECK(mSurface != NULL); in SimplePlayer()
308 CHECK(buffer == NULL); in play()
317 CHECK(meta.findInt64(kKeyTime, &timestamp)); in play()
/hardware/interfaces/tests/inheritance/1.0/default/
DFetcher.cpp17 CHECK(!mPrecious->isRemote()); in Fetcher()
/hardware/interfaces/keymaster/4.0/vts/functional/
DKeymasterHidlTest.cpp614 CHECK(false) << "Invalid security level " << uint32_t(SecLevel()); in ValidKeySizes()
625 CHECK(false) << "Invalid security level " << uint32_t(SecLevel()); in ValidKeySizes()
640 CHECK(false) << "Invalid Algorithm: " << algorithm; in ValidKeySizes()
643 CHECK(false) << "Should be impossible to get here"; in ValidKeySizes()
648 CHECK(SecLevel() == SecurityLevel::STRONGBOX); in InvalidKeySizes()
669 CHECK(SecLevel() == SecurityLevel::STRONGBOX); in InvalidCurves()
701 CHECK(false) << "Invalid security level " << uint32_t(SecLevel()); in ValidDigests()
704 CHECK(false) << "Should be impossible to get here"; in ValidDigests()
/hardware/qcom/audio/hal/msm8916/
Dhw_info.c118 CHECK(strlcat(device_name, my_data->dev_extn, in hw_info_append_hw_type()
/hardware/google/av/media/sfplugin/utils/
DCodec2BufferUtils.cpp211 CHECK(dstY != nullptr); in ConvertRGBToPlanarYUV()
212 CHECK((src.width() & 1) == 0); in ConvertRGBToPlanarYUV()
213 CHECK((src.height() & 1) == 0); in ConvertRGBToPlanarYUV()
/hardware/qcom/audio/hal/msm8974/
Dhw_info.c144 CHECK(strlcat(device_name, my_data->dev_extn, in hw_info_append_hw_type()
/hardware/google/av/media/sfplugin/
DReflectedParamUpdater.cpp231 CHECK(vec != nullptr); in getParamIndicesFromMessage()
247 CHECK(vec != nullptr); in getParamIndicesForKeys()
272 CHECK(vec != nullptr); in updateParamsFromMessage()
DCCodec.cpp86 CHECK(msg->findPointer("codec", &ptr)); in onMessageReceived()
531 CHECK(msg->findObject("codecInfo", &codecInfo)); in initiateAllocateComponent()
1299 CHECK(msg->findObject("codecInfo", &obj)); in onMessageReceived()
1307 CHECK(msg->findMessage("format", &format)); in onMessageReceived()
1339 CHECK(msg->findObject("surface", &obj)); in onMessageReceived()
1347 CHECK(msg->findMessage("params", &params)); in onMessageReceived()
/hardware/qcom/audio/hal/
Daudio_hw.h393 #define CHECK(condition) LOG_ALWAYS_FATAL_IF(!(condition), "%s",\ macro
/hardware/google/av/media/codecs/mpeg4_h263/
DC2SoftMpeg4Enc.cpp467 CHECK(NULL != yPlane); in process()
492 CHECK(NULL == PVGetOverrunBuffer(mHandle)); in process()
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxDec.cpp230 CHECK(cpuCoreCount >= 1); in GetCPUCoreCount()
445 CHECK(img->fmt == VPX_IMG_FMT_I420 || img->fmt == VPX_IMG_FMT_I42016); in outputBuffer()
/hardware/interfaces/sensors/1.0/default/
DSensors.cpp215 CHECK(dyn->sensor != nullptr); in poll()
/hardware/interfaces/health/2.0/default/
DHealth.cpp278 CHECK(instance_ != nullptr); in getImplementation()
/hardware/interfaces/tests/foo/1.0/default/
DFoo.cpp345 CHECK(sizeof(data) == 10 * sizeof(int)); in createMyHandle()
/hardware/google/av/media/codecs/hevc/
DC2SoftHevcDec.cpp269 CHECK(cpuCoreCount >= 1); in getCpuCoreCount()
588 CHECK(err == OK); in getVuiParams()
/hardware/google/av/media/codecs/avc/
DC2SoftAvcDec.cpp310 CHECK(cpuCoreCount >= 1); in getCpuCoreCount()
626 CHECK(err == OK); in getVuiParams()
/hardware/google/av/media/codecs/mpeg2/
DC2SoftMpeg2Dec.cpp230 CHECK(cpuCoreCount >= 1); in getCpuCoreCount()
632 CHECK(err == OK); in getSeqInfo()

12