Home
last modified time | relevance | path

Searched refs:valid (Results 1 – 18 of 18) sorted by relevance

/device/asus/fugu/libaudio/
DAudioHardwareInput.cpp52 mDeviceInfos[i].valid = false; in AudioHardwareInput()
177 if (mDeviceInfos[i].valid) { in dump()
209 if (mDeviceInfos[i].valid) { in onDeviceFound()
221 if (!mDeviceInfos[i].valid) { in onDeviceFound()
224 mDeviceInfos[i].valid = true; in onDeviceFound()
245 if (mDeviceInfos[i].valid) { in onDeviceRemoved()
248 mDeviceInfos[i].valid = false; in onDeviceRemoved()
270 if (mDeviceInfos[i].valid) { in getBestDevice()
DAudioHotplugThread.h33 bool valid; member
/device/generic/goldfish/opengl/system/OpenglSystemCommon/
DQemuPipeStream.cpp55 if (!valid()) return -1; in connect()
89 if (!valid()) return -1; in writeFully()
130 if (!valid()) return NULL; in readFully()
167 if (!valid()) return NULL; in read()
186 if (!valid()) return int(ERR_INVALID_SOCKET); in recv()
DQemuPipeStream.h39 bool valid() { return m_sock >= 0; } in valid() function
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DSocketStream.cpp93 if (!valid()) return -1; in writeFully()
116 if (!valid()) return NULL; in readFully()
136 if (!valid()) return NULL; in read()
156 if (!valid()) return int(ERR_INVALID_SOCKET); in recv()
DTcpStream.cpp53 if (!valid()) return int(ERR_INVALID_SOCKET); in listen()
89 if (!valid()) return -1; in connect()
DSocketStream.h38 bool valid() { return m_sock >= 0; } in valid() function
/device/google/contexthub/firmware/src/
DnanohubCommand.c399 static uint32_t firmwareFinish(bool valid) in firmwareFinish() argument
415 if (mAppSecStatus == APP_SEC_NO_ERROR && valid) { in firmwareFinish()
428 … "%s: Secure verification failed: valid=%d; status=%" PRIu32 "\n", __func__, valid, mAppSecStatus); in firmwareFinish()
433 valid = false; in firmwareFinish()
436 valid = (segState == SEG_ST_VALID); in firmwareFinish()
440 valid ? "valid" : "invalid", in firmwareFinish()
446 if (!valid) in firmwareFinish()
494 bool valid; in firmwareWrite() local
515 valid = (mAppSecStatus == APP_SEC_NO_ERROR); in firmwareWrite()
519 } else if (valid) { in firmwareWrite()
[all …]
/device/google/contexthub/contexthubhal/
Dsystem_comms.cpp415 bool valid = false; in handleMgmt() local
421 valid = mCmd == CONTEXT_HUB_APPS_DISABLE; in handleMgmt()
424 valid = mCmd == CONTEXT_HUB_APPS_ENABLE; in handleMgmt()
427 valid = mCmd == CONTEXT_HUB_UNLOAD_APP; in handleMgmt()
433 if (!valid) { in handleMgmt()
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3Stream.cpp751 if (mStreamBufs->valid(i)) { in getBufs()
760 if (mStreamBufs->valid(j)) { in getBufs()
780 if (mStreamBufs->valid(i)) { in getBufs()
793 if (mStreamBufs->valid(i)) { in getBufs()
804 if (mStreamBufs->valid(i)) { in getBufs()
813 if (mStreamBufs->valid(i)) { in getBufs()
849 if (mStreamBufs->valid(i) && NULL != mBufDefs[i].mem_info) { in putBufs()
DQCamera3StreamMem.h64 bool valid(uint32_t index);
DQCamera3StreamMem.cpp260 bool QCamera3StreamMem::valid(uint32_t index) in valid() function in qcamera::QCamera3StreamMem
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3Stream.cpp751 if (mStreamBufs->valid(i)) { in getBufs()
760 if (mStreamBufs->valid(j)) { in getBufs()
780 if (mStreamBufs->valid(i)) { in getBufs()
793 if (mStreamBufs->valid(i)) { in getBufs()
804 if (mStreamBufs->valid(i)) { in getBufs()
813 if (mStreamBufs->valid(i)) { in getBufs()
849 if (mStreamBufs->valid(i) && NULL != mBufDefs[i].mem_info) { in putBufs()
DQCamera3StreamMem.h64 bool valid(uint32_t index);
DQCamera3StreamMem.cpp260 bool QCamera3StreamMem::valid(uint32_t index) in valid() function in qcamera::QCamera3StreamMem
/device/moto/shamu/sepolicy/
Dmdm_helper.te24 # ks checks the writeback path (dir) for the EFS block devices to make sure it is valid
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Parm.cpp2628 bool valid = true; in setPreviewFpsRange() local
2630 if(minFps < 0 || maxFps < 0) valid = false; in setPreviewFpsRange()
2632 if(minFps > maxFps) valid = false; in setPreviewFpsRange()
2634 if(valid) { in setPreviewFpsRange()
/device/lge/bullhead/wifi/
DWCNSS_qcom_cfg.ini268 # Note: Any of these settings are valid. Setting 0 would yield the highest power saving (in a noisy…