Home
last modified time | relevance | path

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

12

/device/generic/goldfish/audio/
Dutil.cpp112 bool valid = checkSampleRateHz(cfg.sampleRateHz, suggested.sampleRateHz); in checkAudioConfig() local
119 valid = FAILURE(false); in checkAudioConfig()
128 valid = FAILURE(false); in checkAudioConfig()
138 valid = FAILURE(false); in checkAudioConfig()
149 return valid; in checkAudioConfig()
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DQemuPipeStream.cpp55 if (valid()) { in ~QemuPipeStream()
68 if (!valid()) { in connect()
125 if (!valid()) return NULL; in commitBufferAndReadFully()
213 if (!valid()) return NULL; in read()
232 if (!valid()) return int(ERR_INVALID_SOCKET); in recv()
DVirtioGpuPipeStream.cpp204 if (!valid()) return -1; in writeFully()
246 if (!valid()) return NULL; in readFully()
289 if (!valid()) return NULL; in read()
308 if (!valid()) return int(ERR_INVALID_SOCKET); in recv()
DQemuPipeStream.h49 bool valid() { return qemu_pipe_valid(m_sock); } in valid() function
DVirtioGpuPipeStream.h46 bool valid() { return m_fd >= 0; } in valid() function
DVirtioGpuStream.h67 bool valid() in valid() function
DVirtioGpuStream.cpp260 if (!valid()) in writeFully()
304 if (!valid()) in readFully()
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DSocketStream.cpp93 if (!valid()) return -1; in writeFully()
115 if (!valid()) return NULL; in readFully()
140 if (!valid()) return NULL; in read()
160 if (!valid()) return int(ERR_INVALID_SOCKET); in recv()
DTcpStream.cpp85 if (!valid()) return int(ERR_INVALID_SOCKET); in listen()
121 if (!valid()) return -1; in connect()
DSocketStream.h39 bool valid() { return m_sock >= 0; } in valid() function
/device/google/cuttlefish/tools/play_audio/
Dplay_audio.cpp43 if (!conn.valid()) { in Connect()
93 CHECK(dec.valid()) << "Could not construct Decoder. Maybe bad frame_rate (" in main()
98 CHECK(dec.valid()) << "decoder in invalid state"; in main()
Dclient_socket.h43 bool valid() const { return socket_fd_ >= 0; } in valid() function
/device/generic/goldfish-opengl/system/vulkan_enc/
DVulkanStreamGuest.cpp38 bool valid() { return true; } in valid() function in goldfish_vk::VulkanStreamGuest::Impl
125 bool VulkanStreamGuest::valid() { in valid() function in goldfish_vk::VulkanStreamGuest
126 return mImpl->valid(); in valid()
DVulkanStreamGuest.h35 bool valid();
/device/google/contexthub/firmware/os/core/
DnanohubCommand.c422 static uint32_t firmwareFinish(bool valid) in firmwareFinish() argument
438 if (mAppSecStatus == APP_SEC_NO_ERROR && valid) { in firmwareFinish()
451 … "%s: Secure verification failed: valid=%d; status=%" PRIu32 "\n", __func__, valid, mAppSecStatus); in firmwareFinish()
456 valid = false; in firmwareFinish()
461 valid = (segState == SEG_ST_VALID); in firmwareFinish()
465 valid ? "valid" : "invalid", in firmwareFinish()
472 if (!valid) in firmwareFinish()
539 bool valid; in firmwareWrite() local
560 valid = (mAppSecStatus == APP_SEC_NO_ERROR); in firmwareWrite()
564 } else if (valid) { in firmwareWrite()
[all …]
/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dhwcomposer.cpp286 bool valid = displays_value[0] != '\0'; in GetExternalDisplayConfigs() local
287 if (valid) { in GetExternalDisplayConfigs()
291 valid = false; in GetExternalDisplayConfigs()
297 if (!valid) { in GetExternalDisplayConfigs()
/device/google/cuttlefish/host/frontend/gcastv2/https/
DSSLSocket.cpp524 bool valid = (res == X509_V_OK); in isPeerCertificateValid() local
526 if (!valid) { in isPeerCertificateValid()
556 return valid; in isPeerCertificateValid()
/device/google/contexthub/contexthubhal/
Dsystem_comms.cpp828 bool valid = false; in handleMgmt() local
837 valid = mCmd == CONTEXT_HUB_APPS_DISABLE; in handleMgmt()
838 if (valid && rsp.mStatus == 0) in handleMgmt()
842 valid = mCmd == CONTEXT_HUB_APPS_ENABLE; in handleMgmt()
843 if (valid && rsp.mStatus == 0) { in handleMgmt()
857 valid = mCmd == CONTEXT_HUB_UNLOAD_APP; in handleMgmt()
858 if (valid && rsp.mStatus == 0) in handleMgmt()
866 if (!valid) { in handleMgmt()
1054 bool valid = reader.parse(str, *in); in restoreApps() local
1057 if (valid && in->isObject()) { in restoreApps()
/device/google/bonito/sdm710/kernel-headers/linux/
Dqseecom.h164 int valid; member
/device/google/crosshatch/sdm845/original-kernel-headers/linux/
Dqseecom.h266 int valid; member
/device/google/crosshatch/sdm845/kernel-headers/linux/
Dqseecom.h164 int valid; member
/device/google/bonito/sdm710/original-kernel-headers/linux/
Dqseecom.h266 int valid; member
/device/amlogic/yukawa/binaries/bt-wifi-firmware/
Dnvram.txt6 #valid ofdm filter types are 0 and 1
/device/google/crosshatch/json-c/
DChangeLog58 …te json_object_object_add to replace just the value if the key already exists so keys remain valid.
/device/google/bonito/json-c/
DChangeLog58 …te json_object_object_add to replace just the value if the key already exists so keys remain valid.

12