Home
last modified time | relevance | path

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

1234567891011

/hardware/interfaces/gnss/2.1/vts/functional/
Dgnss_hal_test.cpp206 Return<void> GnssHalTest::GnssCallback::gnssSetCapabilitesCb(uint32_t capabilities) { in gnssSetCapabilitesCb() argument
207 ALOGI("Capabilities received %d", capabilities); in gnssSetCapabilitesCb()
208 capabilities_cbq_.store(capabilities); in gnssSetCapabilitesCb()
212 Return<void> GnssHalTest::GnssCallback::gnssSetCapabilitiesCb_2_0(uint32_t capabilities) { in gnssSetCapabilitiesCb_2_0() argument
213 ALOGI("Capabilities (v2.0) received %d", capabilities); in gnssSetCapabilitiesCb_2_0()
214 capabilities_cbq_.store(capabilities); in gnssSetCapabilitiesCb_2_0()
218 Return<void> GnssHalTest::GnssCallback::gnssSetCapabilitiesCb_2_1(uint32_t capabilities) { in gnssSetCapabilitiesCb_2_1() argument
219 ALOGI("Capabilities (v2.1) received %d", capabilities); in gnssSetCapabilitiesCb_2_1()
220 capabilities_cbq_.store(capabilities); in gnssSetCapabilitiesCb_2_1()
267 uint32_t capabilities) { in setCapabilitiesCb() argument
[all …]
/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_nan_iface_hidl_test.cpp135 const NanCapabilities& capabilities) override { in notifyCapabilitiesResponse() argument
140 parent_.capabilities = capabilities; in notifyCapabilitiesResponse()
442 NanCapabilities capabilities; member in WifiNanIfaceHidlTest
495 EXPECT_GT(capabilities.maxConcurrentClusters, (unsigned int)0); in TEST_P()
496 EXPECT_GT(capabilities.maxPublishes, (unsigned int)0); in TEST_P()
497 EXPECT_GT(capabilities.maxSubscribes, (unsigned int)0); in TEST_P()
498 EXPECT_EQ(capabilities.maxServiceNameLen, (unsigned int)255); in TEST_P()
499 EXPECT_EQ(capabilities.maxMatchFilterLen, (unsigned int)255); in TEST_P()
500 EXPECT_GT(capabilities.maxTotalMatchFilterLen, (unsigned int)255); in TEST_P()
501 EXPECT_EQ(capabilities.maxServiceSpecificInfoLen, (unsigned int)255); in TEST_P()
[all …]
/hardware/interfaces/vibrator/aidl/vts/
DVtsHalVibratorTargetTest.cpp84 ASSERT_TRUE(vibrator->getCapabilities(&capabilities).isOk()); in SetUp()
88 int32_t capabilities; member in VibratorAidl
98 if (!(capabilities & IVibrator::CAP_PERFORM_CALLBACK)) return; in TEST_P()
112 if (!(capabilities & IVibrator::CAP_PERFORM_CALLBACK)) { in TEST_P()
143 if (!(capabilities & IVibrator::CAP_PERFORM_CALLBACK)) return; in TEST_P()
176 if (capabilities & IVibrator::CAP_PERFORM_CALLBACK) return; in TEST_P()
208 if (capabilities & IVibrator::CAP_AMPLITUDE_CONTROL) { in TEST_P()
219 if (capabilities & IVibrator::CAP_AMPLITUDE_CONTROL) { in TEST_P()
227 if ((capabilities & IVibrator::CAP_AMPLITUDE_CONTROL) == 0) { in TEST_P()
233 if (capabilities & IVibrator::CAP_EXTERNAL_CONTROL) { in TEST_P()
[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/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/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/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/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/gnss/2.0/vts/functional/
Dgnss_hal_test.cpp190 Return<void> GnssHalTest::GnssCallback::gnssSetCapabilitesCb(uint32_t capabilities) { in gnssSetCapabilitesCb() argument
191 ALOGI("Capabilities received %d", capabilities); in gnssSetCapabilitesCb()
192 capabilities_cbq_.store(capabilities); in gnssSetCapabilitesCb()
196 Return<void> GnssHalTest::GnssCallback::gnssSetCapabilitiesCb_2_0(uint32_t capabilities) { in gnssSetCapabilitiesCb_2_0() argument
197 ALOGI("Capabilities (v2.0) received %d", capabilities); in gnssSetCapabilitiesCb_2_0()
198 capabilities_cbq_.store(capabilities); in gnssSetCapabilitiesCb_2_0()
245 uint32_t capabilities) { in setCapabilitiesCb() argument
246 ALOGI("GnssMeasurementCorrectionsCallback capabilities received %d", capabilities); in setCapabilitiesCb()
247 capabilities_cbq_.store(capabilities); in setCapabilitiesCb()
/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/graphics/composer/2.3/vts/functional/
DVtsHalGraphicsComposerV2_3TargetTest.cpp546 std::vector<IComposerClient::DisplayCapability> capabilities; in TEST_P() local
547 const auto error = mComposerClient->getDisplayCapabilities(mPrimaryDisplay, &capabilities); in TEST_P()
550 std::find(capabilities.begin(), capabilities.end(), in TEST_P()
551 IComposerClient::DisplayCapability::DOZE) != capabilities.end(); in TEST_P()
554 std::find(capabilities.begin(), capabilities.end(), in TEST_P()
555 IComposerClient::DisplayCapability::BRIGHTNESS) != capabilities.end(); in TEST_P()
560 std::vector<IComposerClient::DisplayCapability> capabilities; in TEST_P() local
561 const auto error = mComposerClient->getDisplayCapabilities(mInvalidDisplayId, &capabilities); in TEST_P()
592 std::vector<IComposerClient::DisplayCapability> capabilities; in TEST_P() local
593 const auto error = mComposerClient->getDisplayCapabilities(mPrimaryDisplay, &capabilities); in TEST_P()
[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/qcom/gps/msm8960/core/
DContextBase.h60 unsigned long capabilities) { in requestUlp() argument
61 mIzatProxy->requestUlp(adapter, capabilities); in requestUlp()
/hardware/qcom/sdm845/gps/msm8960/core/
DContextBase.h60 unsigned long capabilities) { in requestUlp() argument
61 mIzatProxy->requestUlp(adapter, capabilities); in requestUlp()
/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/sdm845/core/
DLBSProxyBase.h57 unsigned long capabilities) const { in requestUlp() argument
60 (void)capabilities; in requestUlp()
/hardware/qcom/gps/msm8998/core/
DLBSProxyBase.h57 unsigned long capabilities) const { in requestUlp() argument
60 (void)capabilities; in requestUlp()
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()
/hardware/qcom/gps/msm8909w_3100/core/
DLBSProxyBase.h57 unsigned long capabilities) const { in requestUlp() argument
60 (void)capabilities; in requestUlp()
/hardware/qcom/sdm845/gps/msm8998/core/
DLBSProxyBase.h57 unsigned long capabilities) const { in requestUlp() argument
60 (void)capabilities; in requestUlp()
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()
/hardware/interfaces/automotive/occupant_awareness/aidl/vts/functional/
DVtsHalOccupantAwarenessV1_0TargetTest.cpp96 int32_t capabilities; in TEST_P() local
97 EXPECT_OK(mOccupantAwarenessService->getCapabilityForRole(role, &capabilities)); in TEST_P()
103 int32_t capabilities; in TEST_P() local
105 mOccupantAwarenessService->getCapabilityForRole(Role::INVALID, &capabilities).isOk()); in TEST_P()
109 mOccupantAwarenessService->getCapabilityForRole(invalidRole, &capabilities).isOk()); in TEST_P()

1234567891011