Home
last modified time | relevance | path

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

/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/goldfish-opengl/system/hals/
Dcb_handle_30.h60 …bool isValid() const { return (version == sizeof(native_handle_t)) && (magic == CB_HANDLE_MAGIC_30… in isValid() function
65 return cb->isValid() ? cb : nullptr; in from()
/device/generic/goldfish-opengl/shared/gralloc_cb/include/
Dgralloc_cb_bp.h85 bool isValid() const { in isValid() function
93 return cb->isValid() ? cb : NULL; in from()
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DHostConnection.cpp105 bool isValid = transportValue[0] != '\0'; in getConnectionTypeFromProperty()
107 if (!isValid) { in getConnectionTypeFromProperty()
109 isValid = transportValue[0] != '\0'; in getConnectionTypeFromProperty()
112 if (!isValid) return HOST_CONNECTION_QEMU_PIPE; in getConnectionTypeFromProperty()
129 bool isValid = flushValue[0] != '\0'; in getDrawCallFlushIntervalFromProperty() local
130 if (!isValid) return 800; in getDrawCallFlushIntervalFromProperty()
143 bool isValid = prop[0] != '\0'; in getGrallocTypeFromProperty() local
145 if (!isValid) return GRALLOC_TYPE_RANCHU; in getGrallocTypeFromProperty()
/device/generic/goldfish/dhcp/common/include/
Dsocket.h71 bool* isValid);
/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/generic/goldfish-opengl/system/hwc2/
DEmuHWC2.cpp351 static bool isValid(Callback descriptor) { in isValid() function
363 if (!isValid(descriptor)) { in registerCallback()
425 bool isValid = displaysValue[0] != '\0'; in getVsyncPeriodFromProperty() local
427 if (!isValid) return 60; in getVsyncPeriodFromProperty()
980 static bool isValid(PowerMode mode) { in isValid() function
994 if (!isValid(mode)) { in setPowerMode()
1008 static bool isValid(Vsync enable) { in isValid() function
1019 if (!isValid(enable)) { in setVsyncEnabled()
1657 bool isValid = displaysValue[0] != '\0'; in populateSecondaryDisplays() local
1658 if (isValid) { in populateSecondaryDisplays()
[all …]
/device/google/contexthub/sensorhal/
Ddirectchannel.h36 bool isValid();
Ddirectchannel.cpp27 bool DirectChannelBase::isValid() { in isValid() function in android::DirectChannelBase
36 if (isValid()) { in write()
Dhubconnection.cpp2031 if (ch->isValid()) { in addDirectChannel()
/device/generic/goldfish/audio/
Dstream_in.cpp52 if (!mCommandMQ.isValid()) { in ReadThread()
56 if (!mDataMQ.isValid()) { in ReadThread()
60 if (!mStatusMQ.isValid()) { in ReadThread()
Dstream_out.cpp54 if (!mCommandMQ.isValid()) { in WriteThread()
58 if (!mDataMQ.isValid()) { in WriteThread()
62 if (!mStatusMQ.isValid()) { in WriteThread()
/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/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp122 bool isValid() const { in isValid() function
129 return cb->isValid() ? cb : NULL; in from()
1576 bool isValid = prop[0] != '\0'; in fallback_init() local
1578 if (isValid && !strcmp(prop, "cutf_cvm")) { in fallback_init()
Dgralloc_30.cpp759 …bool isValid() const { return (version == sizeof(native_handle_t)) && (magic == CB_HANDLE_MAGIC_30… in isValid() function
764 return cb->isValid() ? cb : nullptr; in from()
/device/google/coral/powerstats/
DRailDataProvider.cpp265 if (mOdpm.fmqSynchronized == nullptr || mOdpm.fmqSynchronized->isValid() == false) { in streamEnergyData()
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
DHWC2.cpp431 static bool isValid(Callback descriptor) { in isValid() function
442 if (!isValid(descriptor)) { in registerCallback()
922 static bool isValid(PowerMode mode) { in isValid() function
941 if (!isValid(mode)) { in setPowerMode()
966 static bool isValid(Vsync enable) { in isValid() function
975 if (!isValid(enable)) { in setVsyncEnabled()