Home
last modified time | relevance | path

Searched refs:capabilities (Results 1 – 25 of 245) sorted by relevance

12345678910

/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_nan_iface_hidl_test.cpp125 const NanCapabilities& capabilities) override { in notifyCapabilitiesResponse() argument
130 parent_.capabilities = capabilities; in notifyCapabilitiesResponse()
432 NanCapabilities capabilities; member in WifiNanIfaceHidlTest
481 EXPECT_GT(capabilities.maxConcurrentClusters, (unsigned int) 0); in TEST_F()
482 EXPECT_GT(capabilities.maxPublishes, (unsigned int) 0); in TEST_F()
483 EXPECT_GT(capabilities.maxSubscribes, (unsigned int) 0); in TEST_F()
484 EXPECT_EQ(capabilities.maxServiceNameLen, (unsigned int) 255); in TEST_F()
485 EXPECT_EQ(capabilities.maxMatchFilterLen, (unsigned int) 255); in TEST_F()
486 EXPECT_GT(capabilities.maxTotalMatchFilterLen, (unsigned int) 255); in TEST_F()
487 EXPECT_EQ(capabilities.maxServiceSpecificInfoLen, (unsigned int) 255); in TEST_F()
[all …]
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DBasicTests.cpp45 kDevice->getCapabilities_1_1([](ErrorStatus status, const Capabilities& capabilities) { in TEST_P() argument
47 EXPECT_LT(0.0f, capabilities.float32Performance.execTime); in TEST_P()
48 EXPECT_LT(0.0f, capabilities.float32Performance.powerUsage); in TEST_P()
49 EXPECT_LT(0.0f, capabilities.quantized8Performance.execTime); in TEST_P()
50 EXPECT_LT(0.0f, capabilities.quantized8Performance.powerUsage); in TEST_P()
51 EXPECT_LT(0.0f, capabilities.relaxedFloat32toFloat16Performance.execTime); in TEST_P()
52 EXPECT_LT(0.0f, capabilities.relaxedFloat32toFloat16Performance.powerUsage); in TEST_P()
/hardware/interfaces/vibrator/aidl/vts/
DVtsHalVibratorTargetTest.cpp79 ASSERT_TRUE(vibrator->getCapabilities(&capabilities).isOk()); in SetUp()
83 int32_t capabilities; member in VibratorAidl
93 if (!(capabilities & IVibrator::CAP_PERFORM_CALLBACK)) return; in TEST_P()
107 if (!(capabilities & IVibrator::CAP_PERFORM_CALLBACK)) { in TEST_P()
139 if (!(capabilities & IVibrator::CAP_PERFORM_CALLBACK)) return; in TEST_P()
173 if (capabilities & IVibrator::CAP_PERFORM_CALLBACK) return; in TEST_P()
206 if (capabilities & IVibrator::CAP_AMPLITUDE_CONTROL) { in TEST_P()
217 if (capabilities & IVibrator::CAP_AMPLITUDE_CONTROL) { in TEST_P()
225 if ((capabilities & IVibrator::CAP_AMPLITUDE_CONTROL) == 0) { in TEST_P()
231 if (capabilities & IVibrator::CAP_EXTERNAL_CONTROL) { in TEST_P()
[all …]
/hardware/qcom/gps/msm8909/core/
DContextBase.cpp51 uint32_t capabilities = mGps_conf.CAPABILITIES; in getCarrierCapabilities() local
53 capabilities &= ~gpsConfMSA; in getCarrierCapabilities()
56 capabilities &= ~gpsConfMSB; in getCarrierCapabilities()
60 mGps_conf.CAPABILITIES, mGps_conf.SUPL_MODE, capabilities); in getCarrierCapabilities()
61 return capabilities; in getCarrierCapabilities()
/hardware/qcom/gps/msm8996/core/
DContextBase.cpp51 uint32_t capabilities = mGps_conf.CAPABILITIES; in getCarrierCapabilities() local
53 capabilities &= ~gpsConfMSA; in getCarrierCapabilities()
56 capabilities &= ~gpsConfMSB; in getCarrierCapabilities()
60 mGps_conf.CAPABILITIES, mGps_conf.SUPL_MODE, capabilities); in getCarrierCapabilities()
61 return capabilities; in getCarrierCapabilities()
/hardware/qcom/sdm845/gps/msm8909/core/
DContextBase.cpp51 uint32_t capabilities = mGps_conf.CAPABILITIES; in getCarrierCapabilities() local
53 capabilities &= ~gpsConfMSA; in getCarrierCapabilities()
56 capabilities &= ~gpsConfMSB; in getCarrierCapabilities()
60 mGps_conf.CAPABILITIES, mGps_conf.SUPL_MODE, capabilities); in getCarrierCapabilities()
61 return capabilities; in getCarrierCapabilities()
/hardware/qcom/sdm845/gps/msm8996/core/
DContextBase.cpp51 uint32_t capabilities = mGps_conf.CAPABILITIES; in getCarrierCapabilities() local
53 capabilities &= ~gpsConfMSA; in getCarrierCapabilities()
56 capabilities &= ~gpsConfMSB; in getCarrierCapabilities()
60 mGps_conf.CAPABILITIES, mGps_conf.SUPL_MODE, capabilities); in getCarrierCapabilities()
61 return capabilities; in getCarrierCapabilities()
/hardware/interfaces/gnss/2.0/vts/functional/
Dgnss_hal_test.cpp164 Return<void> GnssHalTest::GnssCallback::gnssSetCapabilitesCb(uint32_t capabilities) { in gnssSetCapabilitesCb() argument
165 ALOGI("Capabilities received %d", capabilities); in gnssSetCapabilitesCb()
166 capabilities_cbq_.store(capabilities); in gnssSetCapabilitesCb()
170 Return<void> GnssHalTest::GnssCallback::gnssSetCapabilitiesCb_2_0(uint32_t capabilities) { in gnssSetCapabilitiesCb_2_0() argument
171 ALOGI("Capabilities (v2.0) received %d", capabilities); in gnssSetCapabilitiesCb_2_0()
172 capabilities_cbq_.store(capabilities); in gnssSetCapabilitiesCb_2_0()
219 uint32_t capabilities) { in setCapabilitiesCb() argument
220 ALOGI("GnssMeasurementCorrectionsCallback capabilities received %d", capabilities); in setCapabilitiesCb()
221 capabilities_cbq_.store(capabilities); in setCapabilitiesCb()
/hardware/interfaces/gnss/measurement_corrections/1.0/
DIMeasurementCorrectionsCallback.hal25 * Flags to indicate supported measurement corrections capabilities
39 * Callback to inform framework the measurement correction specific capabilities of the GNSS
45 * @param capabilities Supported measurement corrections capabilities. It is mandatory to
49 setCapabilitiesCb(bitfield<Capabilities> capabilities);
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DBasicTests.cpp40 kDevice->getCapabilities([](ErrorStatus status, const Capabilities& capabilities) { in TEST_P() argument
42 EXPECT_LT(0.0f, capabilities.float32Performance.execTime); in TEST_P()
43 EXPECT_LT(0.0f, capabilities.float32Performance.powerUsage); in TEST_P()
44 EXPECT_LT(0.0f, capabilities.quantized8Performance.execTime); in TEST_P()
45 EXPECT_LT(0.0f, capabilities.quantized8Performance.powerUsage); in TEST_P()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DBasicTests.cpp46 const Capabilities& capabilities) { in TEST_P() argument
53 EXPECT_TRUE(isPositive(capabilities.relaxedFloat32toFloat16PerformanceScalar)); in TEST_P()
54 EXPECT_TRUE(isPositive(capabilities.relaxedFloat32toFloat16PerformanceTensor)); in TEST_P()
55 const auto& opPerf = capabilities.operandPerformance; in TEST_P()
66 EXPECT_TRUE(isPositive(capabilities.ifPerformance)); in TEST_P()
67 EXPECT_TRUE(isPositive(capabilities.whilePerformance)); in TEST_P()
/hardware/interfaces/graphics/composer/2.3/vts/functional/
DVtsHalGraphicsComposerV2_3TargetTest.cpp562 std::vector<IComposerClient::DisplayCapability> capabilities; in TEST_F() local
563 const auto error = mComposerClient->getDisplayCapabilities(mPrimaryDisplay, &capabilities); in TEST_F()
566 std::find(capabilities.begin(), capabilities.end(), in TEST_F()
567 IComposerClient::DisplayCapability::DOZE) != capabilities.end(); in TEST_F()
570 std::find(capabilities.begin(), capabilities.end(), in TEST_F()
571 IComposerClient::DisplayCapability::BRIGHTNESS) != capabilities.end(); in TEST_F()
576 std::vector<IComposerClient::DisplayCapability> capabilities; in TEST_F() local
577 const auto error = mComposerClient->getDisplayCapabilities(mInvalidDisplayId, &capabilities); in TEST_F()
608 std::vector<IComposerClient::DisplayCapability> capabilities; in TEST_F() local
609 const auto error = mComposerClient->getDisplayCapabilities(mPrimaryDisplay, &capabilities); in TEST_F()
[all …]
/hardware/interfaces/bluetooth/audio/2.0/
DIBluetoothAudioProvidersFactory.hal51 * Gets a list of audio capabilities for a session type.
53 * For software encoding, the PCM capabilities are returned.
54 * For hardware encoding, the supported codecs and their capabilities are
59 * @return audioCapabilities A list containing all the capabilities
60 * supported by the sesson type. The capabilities is a list of
64 * capabilities.
/hardware/libhardware/modules/camera/3_4/
Dstatic_properties.cpp34 StaticProperties::CapabilitiesMap* capabilities) { in ConstructStreamCapabilities() argument
39 (*capabilities)[config.spec].output_supported = true; in ConstructStreamCapabilities()
42 (*capabilities)[config.spec].input_supported = true; in ConstructStreamCapabilities()
56 (*capabilities)[stall.spec].stall_duration = stall.duration; in ConstructStreamCapabilities()
65 StaticProperties::CapabilitiesMap capabilities) { in ValidateStreamCapabilities() argument
66 for (const auto& spec_capabilities : capabilities) { in ValidateStreamCapabilities()
85 const StaticProperties::CapabilitiesMap& capabilities, in ValidateReprocessFormats() argument
90 for (const auto& spec_capabilities : capabilities) { in ValidateReprocessFormats()
/hardware/interfaces/graphics/composer/2.1/
DIComposer.hal23 * Optional capabilities which may be supported by some devices. The
24 * particular set of supported capabilities for a given device may be
56 * Provides a list of supported capabilities (as described in the
60 * @return capabilities is a list of supported capabilities.
65 getCapabilities() generates (vec<Capability> capabilities);
/hardware/interfaces/bluetooth/audio/2.0/default/session/
DBluetoothAudioSupportedCodecsDB.cpp111 {.codecType = CodecType::SBC, .capabilities = {}},
112 {.codecType = CodecType::AAC, .capabilities = {}},
113 {.codecType = CodecType::LDAC, .capabilities = {}},
114 {.codecType = CodecType::APTX, .capabilities = {}},
115 {.codecType = CodecType::APTX_HD, .capabilities = {}}};
313 codec_capability.capabilities.sbcCapabilities( in GetOffloadCodecCapabilities()
317 codec_capability.capabilities.aacCapabilities( in GetOffloadCodecCapabilities()
321 codec_capability.capabilities.ldacCapabilities( in GetOffloadCodecCapabilities()
325 codec_capability.capabilities.aptxCapabilities( in GetOffloadCodecCapabilities()
329 codec_capability.capabilities.aptxCapabilities( in GetOffloadCodecCapabilities()
/hardware/qcom/sdm845/gps/msm8960/core/
DContextBase.h60 unsigned long capabilities) { in requestUlp() argument
61 mIzatProxy->requestUlp(adapter, capabilities); in requestUlp()
/hardware/qcom/gps/msm8960/core/
DContextBase.h60 unsigned long capabilities) { in requestUlp() argument
61 mIzatProxy->requestUlp(adapter, capabilities); in requestUlp()
/hardware/qcom/sdm845/gps/msm8998/core/
DContextBase.cpp157 uint32_t capabilities = mGps_conf.CAPABILITIES; in getCarrierCapabilities() local
159 capabilities &= ~gpsConfMSA; in getCarrierCapabilities()
162 capabilities &= ~gpsConfMSB; in getCarrierCapabilities()
166 mGps_conf.CAPABILITIES, mGps_conf.SUPL_MODE, capabilities); in getCarrierCapabilities()
167 return capabilities; in getCarrierCapabilities()
DLBSProxyBase.h57 unsigned long capabilities) const { in requestUlp() argument
60 (void)capabilities; in requestUlp()
/hardware/qcom/gps/msm8998/core/
DContextBase.cpp157 uint32_t capabilities = mGps_conf.CAPABILITIES; in getCarrierCapabilities() local
159 capabilities &= ~gpsConfMSA; in getCarrierCapabilities()
162 capabilities &= ~gpsConfMSB; in getCarrierCapabilities()
166 mGps_conf.CAPABILITIES, mGps_conf.SUPL_MODE, capabilities); in getCarrierCapabilities()
167 return capabilities; in getCarrierCapabilities()
DLBSProxyBase.h57 unsigned long capabilities) const { in requestUlp() argument
60 (void)capabilities; in requestUlp()
/hardware/qcom/gps/msm8909w_3100/core/
DLBSProxyBase.h57 unsigned long capabilities) const { in requestUlp() argument
60 (void)capabilities; in requestUlp()
/hardware/qcom/sdm845/gps/sdm845/core/
DLBSProxyBase.h57 unsigned long capabilities) const { in requestUlp() argument
60 (void)capabilities; in requestUlp()
/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/
DAudioPrimaryHidlHalUtils.h79 static Result formats(IStream* stream, hidl_vec<AudioFormat>& capabilities) { in formats()
80 EXPECT_OK(stream->getSupportedFormats(returnIn(capabilities))); in formats()
84 static Result formats(IStream* stream, hidl_vec<AudioFormat>& capabilities) { in formats()
86 EXPECT_OK(stream->getSupportedFormats(returnIn(res, capabilities))); in formats()

12345678910