Home
last modified time | relevance | path

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

123

/hardware/interfaces/bluetooth/audio/2.0/default/
DA2dpSoftwareAudioProvider.cpp49 if (tempDataMQ && tempDataMQ->isValid()) { in A2dpSoftwareAudioProvider()
54 ALOGE_IF(tempDataMQ && !tempDataMQ->isValid(), "data MQ is invalid"); in A2dpSoftwareAudioProvider()
58 bool A2dpSoftwareAudioProvider::isValid(const SessionType& sessionType) { in isValid() function in android::hardware::bluetooth::audio::V2_0::implementation::A2dpSoftwareAudioProvider
59 return (sessionType == session_type_ && mDataMQ && mDataMQ->isValid()); in isValid()
92 if (mDataMQ && mDataMQ->isValid()) { in onSessionReady()
DHearingAidAudioProvider.cpp49 if (tempDataMQ && tempDataMQ->isValid()) { in HearingAidAudioProvider()
54 ALOGE_IF(tempDataMQ && !tempDataMQ->isValid(), "data MQ is invalid"); in HearingAidAudioProvider()
58 bool HearingAidAudioProvider::isValid(const SessionType& sessionType) { in isValid() function in android::hardware::bluetooth::audio::V2_0::implementation::HearingAidAudioProvider
59 return (sessionType == session_type_ && mDataMQ && mDataMQ->isValid()); in isValid()
91 if (mDataMQ && mDataMQ->isValid()) { in onSessionReady()
DA2dpOffloadAudioProvider.h32 bool isValid(const SessionType& sessionType) override;
DHearingAidAudioProvider.h40 bool isValid(const SessionType& sessionType) override;
DA2dpSoftwareAudioProvider.h40 bool isValid(const SessionType& sessionType) override;
DA2dpOffloadAudioProvider.cpp46 bool A2dpOffloadAudioProvider::isValid(const SessionType& sessionType) { in isValid() function in android::hardware::bluetooth::audio::V2_0::implementation::A2dpOffloadAudioProvider
DBluetoothAudioProvider.h42 virtual bool isValid(const SessionType& sessionType) = 0;
/hardware/interfaces/wifi/1.3/default/
Dhidl_return_util.h47 if (obj->isValid()) { in validateAndCall()
63 if (obj->isValid()) { in validateAndCallWithLock()
79 if (obj->isValid()) { in validateAndCall()
100 if (obj->isValid()) { in validateAndCall()
Dwifi_nan_iface.cpp51 if (!shared_ptr_this.get() || !shared_ptr_this->isValid()) { in WifiNanIface()
249 if (!shared_ptr_this.get() || !shared_ptr_this->isValid()) { in WifiNanIface()
268 if (!shared_ptr_this.get() || !shared_ptr_this->isValid()) { in WifiNanIface()
286 if (!shared_ptr_this.get() || !shared_ptr_this->isValid()) { in WifiNanIface()
305 if (!shared_ptr_this.get() || !shared_ptr_this->isValid()) { in WifiNanIface()
325 if (!shared_ptr_this.get() || !shared_ptr_this->isValid()) { in WifiNanIface()
346 if (!shared_ptr_this.get() || !shared_ptr_this->isValid()) { in WifiNanIface()
363 if (!shared_ptr_this.get() || !shared_ptr_this->isValid()) { in WifiNanIface()
384 if (!shared_ptr_this.get() || !shared_ptr_this->isValid()) { in WifiNanIface()
402 if (!shared_ptr_this.get() || !shared_ptr_this->isValid()) { in WifiNanIface()
[all …]
Dwifi_p2p_iface.h41 bool isValid();
Dwifi_p2p_iface.cpp40 bool WifiP2pIface::isValid() { return is_valid_; } in isValid() function in android::hardware::wifi::V1_3::implementation::WifiP2pIface
Dwifi_ap_iface.h46 bool isValid();
/hardware/qcom/sm8150/gps/utils/
DLocIpc.cpp66 SOCK_OP_AND_LOG(buf, len, isValid(), rtv, sendto(buf, len, flags, destAddr, addrlen)); in send()
75 SOCK_OP_AND_LOG(dataCb.get(), mMaxTxSize, isValid(), rtv, in recv()
137 inline virtual bool isOperable() const override { return mSock != nullptr && mSock->isValid(); } in isOperable()
145 if (mSock != nullptr && mSock->isValid()) {
166 if (mSock->isValid() && ::bind(mSock->mSid, (struct sockaddr*)&mAddr, sizeof(mAddr)) < 0) { in LocIpcLocalRecver()
186 inline virtual bool isOperable() const override { return mSock != nullptr && mSock->isValid(); } in isOperable()
200 if (mSock != nullptr && mSock->isValid() && nullptr != name) {
214 if (-1 == mConnFd && mSock->isValid()) { in recv()
227 if (mSock->isValid() && ::bind(mSock->mSid, (struct sockaddr*)&mAddr, sizeof(mAddr)) < 0) { in LocIpcInetTcpRecver()
DLocIpc.h166 inline bool isValid() const { return -1 != mSid; } in isValid() function
173 if (isValid()) { in close()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawSensorDevice.cpp58 if (!HidRawDevice::isValid()) { in HidRawSensorDevice()
65 if (s->isValid()) { in HidRawSensorDevice()
/hardware/libhardware/modules/sensors/dynamic_sensor/test/
DHidRawDeviceTest.cpp49 if (!device->isValid()) { in test()
75 if (!sensor->isValid()) { in test()
/hardware/interfaces/tests/msgq/1.0/default/
DTestMsgQ.cpp30 if ((mFmqSynchronized == nullptr) || (mFmqSynchronized->isValid() == false)) { in configureFmqSyncReadWrite()
50 (mFmqUnsynchronized->isValid() == false)) { in getFmqUnsyncWrite()
/hardware/google/av/codec2/include/
DC2Buffer.h263 inline constexpr bool isValid() const { in isValid() function
268 return isValid() && !isEmpty();
277 if (!isValid() || !other.isValid()) { in contains()
286 if (!isValid()) {
287 return !other.isValid();
1358 inline constexpr bool isValid() const { in isValid() function
1363 return isValid() && !isEmpty();
1372 if (!isValid() || !other.isValid()) { in contains()
1382 if (!isValid()) {
1383 return !other.isValid();
/hardware/interfaces/audio/core/all-versions/default/
DStreamOut.cpp359 if (!tempCommandMQ->isValid() || !tempDataMQ->isValid() || !tempStatusMQ->isValid()) { in prepareForWriting()
360 ALOGE_IF(!tempCommandMQ->isValid(), "command MQ is invalid"); in prepareForWriting()
361 ALOGE_IF(!tempDataMQ->isValid(), "data MQ is invalid"); in prepareForWriting()
362 ALOGE_IF(!tempStatusMQ->isValid(), "status MQ is invalid"); in prepareForWriting()
DStreamIn.cpp375 if (!tempCommandMQ->isValid() || !tempDataMQ->isValid() || !tempStatusMQ->isValid()) { in prepareForReading()
376 ALOGE_IF(!tempCommandMQ->isValid(), "command MQ is invalid"); in prepareForReading()
377 ALOGE_IF(!tempDataMQ->isValid(), "data MQ is invalid"); in prepareForReading()
378 ALOGE_IF(!tempStatusMQ->isValid(), "status MQ is invalid"); in prepareForReading()
/hardware/interfaces/broadcastradio/common/utils2x/include/broadcastradio-utils-2x/
DUtils.h124 bool isValid(const V2_0::ProgramIdentifier& id);
125 bool isValid(const V2_0::ProgramSelector& sel);
/hardware/interfaces/broadcastradio/common/utils2x/
DUtils.cpp199 bool isValid(const ProgramIdentifier& id) { in isValid() function
283 bool isValid(const ProgramSelector& sel) { in isValid() function
284 if (!isValid(sel.primaryId)) return false; in isValid()
287 if (!isValid(id)) return false; in isValid()
/hardware/google/av/codec2/vndk/
DC2AllocatorIon.cpp74 static bool isValid(const C2Handle * const o);
112 bool C2HandleIon::isValid(const C2Handle * const o) { in isValid() function in android::C2HandleIon
539 if (!C2HandleIon::isValid(handle)) { in priorLinearAllocation()
556 bool C2AllocatorIon::isValid(const C2Handle* const o) { in isValid() function in android::C2AllocatorIon
557 return C2HandleIon::isValid(o); in isValid()
/hardware/google/av/codec2/vndk/include/
DC2AllocatorGralloc.h77 static bool isValid(const C2Handle* const o);
/hardware/interfaces/power/stats/1.0/vts/functional/
DVtsHalPowerStatsV1_0TargetTest.cpp512 ASSERT_TRUE(mQueue->isValid()); in readEnergy()
534 ASSERT_FALSE(mQueue->isValid()); in readEnergy()
538 ASSERT_FALSE(mQueue->isValid()); in readEnergy()
542 ASSERT_FALSE(mQueue->isValid()); in readEnergy()
546 ASSERT_FALSE(mQueue->isValid()); in readEnergy()

123