Home
last modified time | relevance | path

Searched refs:Capabilities (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/av/media/libmedia/
DMediaCodecInfo.cpp32 constexpr char MediaCodecInfo::Capabilities::FEATURE_ADAPTIVE_PLAYBACK[];
33 constexpr char MediaCodecInfo::Capabilities::FEATURE_DYNAMIC_TIMESTAMP[];
34 constexpr char MediaCodecInfo::Capabilities::FEATURE_FRAME_PARSING[];
35 constexpr char MediaCodecInfo::Capabilities::FEATURE_INTRA_REFRESH[];
36 constexpr char MediaCodecInfo::Capabilities::FEATURE_MULTIPLE_FRAMES[];
37 constexpr char MediaCodecInfo::Capabilities::FEATURE_SECURE_PLAYBACK[];
38 constexpr char MediaCodecInfo::Capabilities::FEATURE_TUNNELED_PLAYBACK[];
40 void MediaCodecInfo::Capabilities::getSupportedProfileLevels( in getSupportedProfileLevels()
46 void MediaCodecInfo::Capabilities::getSupportedColorFormats( in getSupportedColorFormats()
52 const sp<AMessage> MediaCodecInfo::Capabilities::getDetails() const { in getDetails()
[all …]
/frameworks/base/telephony/java/android/telephony/ims/feature/
DImsFeature.java234 public static class Capabilities { class in ImsFeature
242 public Capabilities() { in Capabilities() method in ImsFeature.Capabilities
248 protected Capabilities(int capabilities) { in Capabilities() method in ImsFeature.Capabilities
282 public Capabilities copy() { in copy()
283 return new Capabilities(mCapabilities); in copy()
300 if (!(o instanceof Capabilities)) return false; in equals()
302 Capabilities that = (Capabilities) o; in equals()
335 private Capabilities mCapabilityStatus = new Capabilities();
469 public Capabilities queryCapabilityStatus() { in queryCapabilityStatus()
496 protected final void notifyCapabilitiesStatusChanged(Capabilities caps) { in notifyCapabilitiesStatusChanged()
/frameworks/av/media/libmedia/include/media/
DMediaCodecInfo.h64 struct Capabilities : public RefBase { struct
106 Capabilities();
110 static sp<Capabilities> FromParcel(const Parcel &parcel);
113 DISALLOW_COPY_AND_ASSIGN(Capabilities);
177 Capabilities* mCap;
183 CapabilitiesWriter(Capabilities* cap);
194 const sp<Capabilities> getCapabilitiesFor(const char *mediaType) const;
235 KeyedVector<AString, sp<Capabilities> > mCaps;
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DImsFeatureTest.java122 ImsFeature.Capabilities c = new ImsFeature.Capabilities(); in testCapabilityConfigAdd()
131 ImsFeature.Capabilities c = new ImsFeature.Capabilities(); in testCapabilityConfigAddMultiple()
141 ImsFeature.Capabilities c = new ImsFeature.Capabilities(); in testCapabilityConfigHasMultiple()
152 ImsFeature.Capabilities c = new ImsFeature.Capabilities(); in testCapabilityConfigRemove()
196 ImsFeature.Capabilities status = in testNotifyCapabilityStatusChanged()
197 new ImsFeature.Capabilities(); in testNotifyCapabilityStatusChanged()
212 ImsFeature.Capabilities status = in testNotifyCapabilityStatusChangedCallback()
213 new ImsFeature.Capabilities(); in testNotifyCapabilityStatusChangedCallback()
278 ImsFeature.Capabilities status = in testCapabilityCallbackWhenRegistering()
279 new ImsFeature.Capabilities(); in testCapabilityCallbackWhenRegistering()
DTestImsFeature.java38 public void capabilitiesStatusChanged(Capabilities c) { in capabilitiesStatusChanged()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h146 enum class Capabilities : int32_t { enum
158 inline Capabilities operator|(Capabilities lhs, Capabilities rhs) {
159 using underlying = typename std::underlying_type<Capabilities>::type;
160 return static_cast<Capabilities>(static_cast<underlying>(lhs) | static_cast<underlying>(rhs));
163 inline Capabilities& operator|=(Capabilities& lhs, Capabilities rhs) {
167 inline Capabilities operator&(Capabilities lhs, Capabilities rhs) {
168 using underlying = typename std::underlying_type<Capabilities>::type;
169 return static_cast<Capabilities>(static_cast<underlying>(lhs) & static_cast<underlying>(rhs));
172 inline Capabilities& operator&=(Capabilities& lhs, Capabilities rhs) {
180 const HalResult<Capabilities> capabilities;
[all …]
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp180 HalResult<Capabilities> HalWrapper::getCapabilities() { in getCapabilities()
289 HalResult<Capabilities> capabilities = getCapabilities(); in on()
291 static_cast<int32_t>(capabilities.value() & Capabilities::ON_CALLBACK); in on()
324 HalResult<Capabilities> capabilities = getCapabilities(); in performEffect()
326 static_cast<int32_t>(capabilities.value() & Capabilities::PERFORM_CALLBACK); in performEffect()
370 HalResult<Capabilities> AidlHalWrapper::getCapabilitiesInternal() { in getCapabilitiesInternal()
373 return HalResult<Capabilities>::fromStatus(result, static_cast<Capabilities>(capabilities)); in getCapabilitiesInternal()
546 HalResult<Capabilities> HidlHalWrapper<I>::getCapabilitiesInternal() { in getCapabilitiesInternal()
548 Capabilities capabilities = in getCapabilitiesInternal()
549 result.withDefault(false) ? Capabilities::AMPLITUDE_CONTROL : Capabilities::NONE; in getCapabilitiesInternal()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
DConfigurationInternalTest.java21 import android.app.time.Capabilities;
44 .setConfigureAutoTimeDetectionEnabledCapability(Capabilities.CAPABILITY_POSSESSED) in capabilitiesAndConfig()
45 .setSuggestTimeManuallyCapability(Capabilities.CAPABILITY_POSSESSED) in capabilitiesAndConfig()
/frameworks/base/core/java/android/app/time/
DCapabilities.java41 public final class Capabilities { class
76 private Capabilities() {} in Capabilities() method in Capabilities
DTimeZoneCapabilities.java19 import static android.app.time.Capabilities.CAPABILITY_NOT_APPLICABLE;
24 import android.app.time.Capabilities.CapabilityState;
/frameworks/base/services/core/java/com/android/server/timedetector/
DConfigurationInternal.java19 import static android.app.time.Capabilities.CAPABILITY_NOT_ALLOWED;
20 import static android.app.time.Capabilities.CAPABILITY_POSSESSED;
23 import android.app.time.Capabilities.CapabilityState;
/frameworks/native/services/vibratorservice/benchmarks/
DVibratorHalControllerBenchmarks.cpp53 bool hasCapabilities(vibrator::Capabilities&& query, State& state) { in hasCapabilities()
154 if (!hasCapabilities(vibrator::Capabilities::AMPLITUDE_CONTROL, state)) {
182 if (!hasCapabilities(vibrator::Capabilities::AMPLITUDE_CONTROL, state)) {
202 if (!hasCapabilities(vibrator::Capabilities::EXTERNAL_CONTROL, state)) {
223 if (!hasCapabilities(vibrator::Capabilities::EXTERNAL_CONTROL, state)) {
241 if (!hasCapabilities(vibrator::Capabilities::EXTERNAL_AMPLITUDE_CONTROL, state)) {
333 if (!hasCapabilities(vibrator::Capabilities::ALWAYS_ON_CONTROL, state)) {
359 if (!hasCapabilities(vibrator::Capabilities::ALWAYS_ON_CONTROL, state)) {
443 if (!hasCapabilities(vibrator::Capabilities::COMPOSE_EFFECTS, state)) {
/frameworks/base/core/tests/coretests/src/android/app/time/
DTimeCapabilitiesTest.java20 import static android.app.time.Capabilities.CAPABILITY_NOT_APPLICABLE;
21 import static android.app.time.Capabilities.CAPABILITY_NOT_SUPPORTED;
22 import static android.app.time.Capabilities.CAPABILITY_POSSESSED;
DTimeZoneCapabilitiesTest.java19 import static android.app.time.Capabilities.CAPABILITY_NOT_ALLOWED;
20 import static android.app.time.Capabilities.CAPABILITY_POSSESSED;
/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperHidlV1_3Test.cpp119 ASSERT_EQ(vibrator::Capabilities::AMPLITUDE_CONTROL | vibrator::Capabilities::EXTERNAL_CONTROL | in TEST_F()
120 vibrator::Capabilities::EXTERNAL_AMPLITUDE_CONTROL, in TEST_F()
135 ASSERT_EQ(vibrator::Capabilities::AMPLITUDE_CONTROL, mWrapper->getInfo().capabilities.value()); in TEST_F()
149 ASSERT_EQ(vibrator::Capabilities::EXTERNAL_CONTROL, mWrapper->getInfo().capabilities.value()); in TEST_F()
163 ASSERT_EQ(vibrator::Capabilities::NONE, mWrapper->getInfo().capabilities.value()); in TEST_F()
207 ASSERT_EQ(vibrator::Capabilities::AMPLITUDE_CONTROL, mWrapper->getInfo().capabilities.value()); in TEST_F()
243 ASSERT_EQ(vibrator::Capabilities::AMPLITUDE_CONTROL, mWrapper->getInfo().capabilities.value()); in TEST_F()
246 ASSERT_EQ(vibrator::Capabilities::AMPLITUDE_CONTROL, mWrapper->getInfo().capabilities.value()); in TEST_F()
DVibratorHalControllerTest.cpp70 MOCK_METHOD(vibrator::HalResult<vibrator::Capabilities>, getCapabilitiesInternal, (),
114 .WillOnce(Return(vibrator::HalResult<vibrator::Capabilities>::failed("message"))) in TEST_F()
115 .WillRepeatedly(Return(vibrator::HalResult<vibrator::Capabilities>::ok( in TEST_F()
116 vibrator::Capabilities::ON_CALLBACK))); in TEST_F()
/frameworks/av/media/libstagefright/
DMediaCodecListOverrides.cpp49 static bool getMeasureSize(const sp<MediaCodecInfo::Capabilities> &caps, int32_t *width, int32_t *h… in getMeasureSize()
72 static void getMeasureBitrate(const sp<MediaCodecInfo::Capabilities> &caps, int32_t *bitrate) { in getMeasureBitrate()
90 bool isEncoder, const AString &mime, const sp<MediaCodecInfo::Capabilities> &caps) { in getMeasureFormat()
128 …sEncoder, const AString &name, const AString &mime, const sp<MediaCodecInfo::Capabilities> &caps) { in doProfileCodecs()
220 KeyedVector<AString, sp<MediaCodecInfo::Capabilities>> codecsNeedMeasure; in profileCodecs()
233 const sp<MediaCodecInfo::Capabilities> &caps = in profileCodecs()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DConfigurationInternal.java19 import static android.app.time.Capabilities.CAPABILITY_NOT_ALLOWED;
20 import static android.app.time.Capabilities.CAPABILITY_NOT_APPLICABLE;
21 import static android.app.time.Capabilities.CAPABILITY_NOT_SUPPORTED;
22 import static android.app.time.Capabilities.CAPABILITY_POSSESSED;
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_BypassMix.cpp249 if ((*pInstance->Capabilities.CallBack) != LVM_NULL) { in LVCS_MixerCallback()
250 (*pInstance->Capabilities.CallBack)(pInstance->Capabilities.pBundleInstance, LVM_NULL, in LVCS_MixerCallback()
DLVCS_Private.h103 LVCS_Capabilities_t Capabilities; /* Initialisation capabilities */ member
DLVCS_Init.cpp65 pInstance->Capabilities = *pCapabilities; in LVCS_Init()
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Control.cpp104 *pCapabilities = pInstance->Capabilities; in LVEQNB_GetCapabilities()
385 LVM_Callback CallBack = pInstance->Capabilities.CallBack; in LVEQNB_BypassMixerCallBack()
396 CallBack(pInstance->Capabilities.pBundleInstance, LVM_NULL, in LVEQNB_BypassMixerCallBack()
DLVEQNB_Private.h68 LVEQNB_Capabilities_t Capabilities; /* Instance capabilities */ member
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
DConfigurationInternalTest.java19 import static android.app.time.Capabilities.CAPABILITY_NOT_ALLOWED;
20 import static android.app.time.Capabilities.CAPABILITY_NOT_APPLICABLE;
21 import static android.app.time.Capabilities.CAPABILITY_NOT_SUPPORTED;
22 import static android.app.time.Capabilities.CAPABILITY_POSSESSED;
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Private.h77 LVDBE_Capabilities_t Capabilities; /* Instance capabilities */ member

123