Home
last modified time | relevance | path

Searched refs:CHECK (Results 1 – 25 of 32) 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()
124 CHECK(serviceManager) << "Could not retrieve ServiceManager"; in enumerateAvailableDevices()
150 CHECK(error == ErrorCode::OK) in getHmacParameters()
154 CHECK(rc.isOk()) << "Failed to communicate with " << *keymaster in getHmacParameters()
174 CHECK(error == ErrorCode::OK) in computeHmac()
185 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()
DKeymaster3.cpp121 CHECK(rc.isOk()) << "Got error " << rc.description() << " trying to get hardware features"; in getVersionIfNeeded()
/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 …]
Dwifi_legacy_hal.cpp361 CHECK(global_func_table_.wifi_initialize && !global_handle_ && in start()
622 CHECK(num_freqs >= 0 && in getValidFrequenciesForBand()
850 CHECK(num_fates <= MAX_FATE_LOG_LEN); in getTxPktFates()
863 CHECK(num_fates <= MAX_FATE_LOG_LEN); in getRxPktFates()
890 CHECK( in getWakeReasonStats()
898 CHECK(stats.wake_reason_cnt.driver_fw_local_wake_cnt_used >= 0 && in getWakeReasonStats()
950 CHECK(num_rings <= kMaxRingBuffers); in getRingBuffersStatus()
981 CHECK(id == 0); in registerErrorAlertCallbackHandler()
1400 CHECK(num_results >= 0 && in getGscanCachedResults()
Dwifi_chip.cpp86 CHECK(false) << "Requested interface beyond wlan" << kMaxWlanIfaces; in getWlanIfaceName()
1297 CHECK(0) << "Expected to find iface combinations for current mode!"; in getCurrentModeIfaceCombinations()
1493 CHECK(false) << "All wlan interfaces in use already!"; in allocateApOrStaIfaceName()
/hardware/google/av/media/codecs/cmds/
Dcodec2.cpp157 CHECK(mControl != nullptr); in SimplePlayer()
158 CHECK(mControl->isValid()); in SimplePlayer()
166 CHECK(mSurface != nullptr); in SimplePlayer()
307 CHECK(buffer == nullptr); in play()
316 CHECK(meta.findInt64(kKeyTime, &timestamp)); in play()
/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/keymaster/4.0/vts/functional/
DKeymasterHidlTest.cpp656 CHECK(false) << "Invalid security level " << uint32_t(SecLevel()); in ValidKeySizes()
667 CHECK(false) << "Invalid security level " << uint32_t(SecLevel()); in ValidKeySizes()
682 CHECK(false) << "Invalid Algorithm: " << algorithm; in ValidKeySizes()
685 CHECK(false) << "Should be impossible to get here"; in ValidKeySizes()
690 CHECK(SecLevel() == SecurityLevel::STRONGBOX); in InvalidKeySizes()
713 CHECK(SecLevel() == SecurityLevel::STRONGBOX); in InvalidCurves()
744 CHECK(false) << "Invalid security level " << uint32_t(SecLevel()); in ValidDigests()
747 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/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/codecs/base/
DSimpleC2Component.cpp70 CHECK(msg->senderAwaitsResponse(&replyId)); in Reply()
271 CHECK(reply->findInt32("err", &err)); in start()
303 CHECK(reply->findInt32("err", &err)); in stop()
/hardware/google/av/media/sfplugin/
DReflectedParamUpdater.cpp244 CHECK(vec != nullptr); in getParamIndicesFromMessage()
260 CHECK(vec != nullptr); in getParamIndicesForKeys()
285 CHECK(vec != nullptr); in updateParamsFromMessage()
DCCodec.cpp580 CHECK(msg->findObject("codecInfo", &codecInfo)); in initiateAllocateComponent()
1496 CHECK(msg->findObject("codecInfo", &obj)); in onMessageReceived()
1504 CHECK(msg->findMessage("format", &format)); in onMessageReceived()
1541 CHECK(msg->findObject("surface", &obj)); in onMessageReceived()
/hardware/google/av/media/sfplugin/utils/
DCodec2BufferUtils.cpp346 CHECK(dstY != nullptr); in ConvertRGBToPlanarYUV()
347 CHECK((src.width() & 1) == 0); in ConvertRGBToPlanarYUV()
348 CHECK((src.height() & 1) == 0); in ConvertRGBToPlanarYUV()
/hardware/qcom/audio/hal/
Daudio_hw.h455 #define CHECK(condition) LOG_ALWAYS_FATAL_IF(!(condition), "%s",\ macro
/hardware/interfaces/sensors/1.0/default/
DSensors.cpp215 CHECK(dyn->sensor != nullptr); in poll()
/hardware/google/av/media/codecs/mpeg4_h263/
DC2SoftMpeg4Enc.cpp565 CHECK(NULL != yPlane); in process()
590 CHECK(NULL == PVGetOverrunBuffer(mHandle)); in process()
/hardware/interfaces/health/2.0/default/
DHealth.cpp290 CHECK(instance_ != nullptr); in getImplementation()
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxDec.cpp336 CHECK(cpuCoreCount >= 1); in GetCPUCoreCount()
583 CHECK(img->fmt == VPX_IMG_FMT_I420 || img->fmt == VPX_IMG_FMT_I42016); in outputBuffer()
/hardware/interfaces/tests/foo/1.0/default/
DFoo.cpp345 CHECK(sizeof(data) == 10 * sizeof(int)); in createMyHandle()
/hardware/google/av/codec2/hidl/1.0/utils/
DInputSurfaceConnection.cpp313 CHECK(i < stackParams.size()); in compQuery()

12