Home
last modified time | relevance | path

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

12

/device/generic/vulkan-cereal/gl-host-common/opengl/
DGpuFrameBridge.cpp47 bool isValid; member
50 : width(w), height(h), pixels(NULL), isValid(true) { in Frame()
138 mRecFrame->isValid = true; in getRecordFrame()
140 return mRecFrame && mRecFrame->isValid ? mRecFrame->pixels : nullptr; in getRecordFrame()
149 mRecFrame->isValid = true; in getRecordFrameAsync()
151 return mRecFrame && mRecFrame->isValid ? mRecFrame->pixels : nullptr; in getRecordFrameAsync()
/device/generic/opengl-transport/host/libs/virglrenderer/
DChecksumCalculator.cpp111 bool isValid; in validate() local
116 isValid = 0 == memcmp(&val, expectedChecksum, sizeof(val)) && in validate()
124 isValid = true; // No checksum is a valid checksum. in validate()
129 return isValid; in validate()
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DChecksumCalculator.cpp126 bool isValid; in validate() local
130 isValid = 0 == memcmp(&val, expectedChecksum, sizeof(val)) && in validate()
139 isValid = true; // No checksum is a valid checksum. in validate()
144 return isValid; in validate()
/device/generic/vulkan-cereal/stream-servers/apigen-codec-common/
DChecksumCalculator.cpp113 bool isValid; in validate() local
118 isValid = 0 == memcmp(&val, expectedChecksum, sizeof(val)) && in validate()
126 isValid = true; // No checksum is a valid checksum. in validate()
131 return isValid; in validate()
/device/generic/goldfish-opengl/shared/gralloc_cb/include/
Dgralloc_cb_bp.h56 bool isValid() const { in isValid() function
64 return cb->isValid() ? cb : NULL; in from()
/device/generic/goldfish-opengl/system/hals/
Dcb_handle_30.h77 …bool isValid() const { return (version == sizeof(native_handle_t)) && (magic == CB_HANDLE_MAGIC_30… in isValid() function
93 return cb->isValid() ? cb : nullptr; in from()
/device/generic/goldfish/dhcp/common/
Dsocket.cpp269 bool* isValid) { in receiveRawUdp() argument
287 *isValid = false; in receiveRawUdp()
290 *isValid = ip.version == IPVERSION && in receiveRawUdp()
/device/generic/goldfish/dhcp/client/
Ddhcpclient.cpp477 bool isValid = false; in receiveDhcpMessage() local
478 Result res = mSocket.receiveRawUdp(PORT_BOOTP_CLIENT, msg, &isValid); in receiveDhcpMessage()
484 return isValid && in receiveDhcpMessage()
/device/google/atv/audio_proxy/service/
DRemoteBusOutputStream.cpp133 if (!dataMQ->isValid()) { in prepareForWritingImpl()
150 if (!statusMQ->isValid()) { in prepareForWritingImpl()
DStreamOutImpl.cpp281 if (!commandMQ->isValid()) { in prepareForWriting()
288 if (!dataMQ->isValid()) { in prepareForWriting()
294 if (!statusMQ->isValid()) { in prepareForWriting()
/device/generic/goldfish/audio/
Dstream_in.cpp57 if (!mCommandMQ.isValid()) { in ReadThread()
61 if (!mDataMQ.isValid()) { in ReadThread()
65 if (!mStatusMQ.isValid()) { in ReadThread()
Dstream_out.cpp60 if (!mCommandMQ.isValid()) { in WriteThread()
64 if (!mDataMQ.isValid()) { in WriteThread()
68 if (!mStatusMQ.isValid()) { in WriteThread()
/device/google/contexthub/sensorhal/
Ddirectchannel.cpp27 bool DirectChannelBase::isValid() { in isValid() function in android::DirectChannelBase
36 if (isValid()) { in write()
Ddirectchannel.h36 bool isValid();
/device/google/atv/audio_proxy/
DOutputStreamImpl.cpp185 if (!dataMQ->isValid()) { in prepareForWriting()
192 if (!statusMQ->isValid()) { in prepareForWriting()
/device/google/contexthub/firmware/os/core/
Dbl.c332 bool isValid = false; in blVerifyOsImage() local
412 isValid = true; in blVerifyOsImage()
421 blWriteMark(hdr, isValid ? OS_UPDT_MARKER_VERIFIED : OS_UPDT_MARKER_INVALID); in blVerifyOsImage()
/device/generic/vulkan-cereal/fake-android-guest/ui/
DDetachedBufferHandle.h34 bool isValid() const { return mHandle.valid(); } in isValid() function
DRect.h72 inline bool isValid() const { in isValid() function
/device/google/cuttlefish/guest/hals/camera/
Dvsock_camera_metadata.h46 bool isValid() const { return is_valid_; } in isValid() function
Dvsock_camera_device_session_3_4.cpp56 Status status = metadata.isValid() ? Status::OK : Status::ILLEGAL_ARGUMENT; in constructDefaultRequestSettings()
57 if (metadata.isValid()) { in constructDefaultRequestSettings()
/device/generic/goldfish/dhcp/common/include/
Dsocket.h71 bool* isValid);
/device/generic/vulkan-cereal/stream-servers/
DRenderWindow.h72 bool isValid() const { return mValid; } in isValid() function
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp143 bool isValid() const { in isValid() function
150 return cb->isValid() ? cb : NULL; in from()
1615 bool isValid = prop[0] != '\0'; in fallback_init() local
1617 if (isValid && !strcmp(prop, "cutf_cvm")) { in fallback_init()
/device/generic/goldfish/camera/
DCameraDeviceSession.cpp150 LOG_ALWAYS_FATAL_IF(!mRequestQueue.isValid()); in CameraDeviceSession()
151 LOG_ALWAYS_FATAL_IF(!mResultQueue.isValid()); in CameraDeviceSession()
/device/google/sunfish/powerstats/
DRailDataProvider.cpp264 if (mOdpm.fmqSynchronized == nullptr || mOdpm.fmqSynchronized->isValid() == false) { in streamEnergyData()

12