Home
last modified time | relevance | path

Searched refs:Capabilities (Results 1 – 25 of 62) 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[];
39 constexpr char MediaCodecInfo::Capabilities::FEATURE_DETACHED_SURFACE[];
41 void MediaCodecInfo::Capabilities::getSupportedProfileLevels( in getSupportedProfileLevels()
47 void MediaCodecInfo::Capabilities::getSupportedColorFormats( in getSupportedColorFormats()
[all …]
/frameworks/base/telephony/java/android/telephony/ims/feature/
DImsFeature.java231 public static class Capabilities { class in ImsFeature
239 public Capabilities() { in Capabilities() method in ImsFeature.Capabilities
245 protected Capabilities(int capabilities) { in Capabilities() method in ImsFeature.Capabilities
279 public Capabilities copy() { in copy()
280 return new Capabilities(mCapabilities); in copy()
297 if (!(o instanceof Capabilities)) return false; in equals()
299 Capabilities that = (Capabilities) o; in equals()
332 private Capabilities mCapabilityStatus = new Capabilities();
470 public Capabilities queryCapabilityStatus() { in queryCapabilityStatus()
497 protected final void notifyCapabilitiesStatusChanged(Capabilities caps) { in notifyCapabilitiesStatusChanged()
/frameworks/av/media/libmedia/include/media/
DMediaCodecInfo.h64 struct Capabilities : public RefBase { struct
107 Capabilities();
111 static sp<Capabilities> FromParcel(const Parcel &parcel);
114 DISALLOW_COPY_AND_ASSIGN(Capabilities);
178 Capabilities* mCap;
184 CapabilitiesWriter(Capabilities* cap);
195 const sp<Capabilities> getCapabilitiesFor(const char *mediaType) const;
236 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/
DVibratorHalWrapper.cpp111 HalResult<Capabilities> HalWrapper::getCapabilities() { in getCapabilities()
220 HalResult<Capabilities> capabilities = getCapabilities(); in on()
222 static_cast<int32_t>(capabilities.value() & Capabilities::ON_CALLBACK); in on()
255 HalResult<Capabilities> capabilities = getCapabilities(); in performEffect()
257 static_cast<int32_t>(capabilities.value() & Capabilities::PERFORM_CALLBACK); in performEffect()
301 HalResult<Capabilities> AidlHalWrapper::getCapabilitiesInternal() { in getCapabilitiesInternal()
304 return HalResultFactory::fromStatus<Capabilities>(result, in getCapabilitiesInternal()
305 static_cast<Capabilities>(capabilities)); in getCapabilitiesInternal()
479 HalResult<Capabilities> HidlHalWrapper<I>::getCapabilitiesInternal() { in getCapabilitiesInternal()
481 Capabilities capabilities = in getCapabilitiesInternal()
[all …]
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h199 enum class Capabilities : int32_t { enum
211 inline Capabilities operator|(Capabilities lhs, Capabilities rhs) {
212 using underlying = typename std::underlying_type<Capabilities>::type;
213 return static_cast<Capabilities>(static_cast<underlying>(lhs) | static_cast<underlying>(rhs));
216 inline Capabilities& operator|=(Capabilities& lhs, Capabilities rhs) {
220 inline Capabilities operator&(Capabilities lhs, Capabilities rhs) {
221 using underlying = typename std::underlying_type<Capabilities>::type;
222 return static_cast<Capabilities>(static_cast<underlying>(lhs) & static_cast<underlying>(rhs));
225 inline Capabilities& operator&=(Capabilities& lhs, Capabilities rhs) {
233 const HalResult<Capabilities> capabilities;
[all …]
/frameworks/base/core/java/android/app/time/
DCapabilities.java41 public final class Capabilities { class
76 private Capabilities() {} in Capabilities() method in Capabilities
DTimeCapabilities.java19 import static android.app.time.Capabilities.CAPABILITY_NOT_APPLICABLE;
24 import android.app.time.Capabilities.CapabilityState;
DTimeZoneCapabilities.java19 import static android.app.time.Capabilities.CAPABILITY_NOT_APPLICABLE;
24 import android.app.time.Capabilities.CapabilityState;
/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>::transactionFailed("msg"))) in TEST_F()
115 .WillRepeatedly(Return(vibrator::HalResult<vibrator::Capabilities>::ok( in TEST_F()
116 vibrator::Capabilities::ON_CALLBACK))); in TEST_F()
127 .WillRepeatedly(Return(vibrator::HalResult<vibrator::Capabilities>::failed("msg"))); in TEST_F()
138 .WillRepeatedly(Return(vibrator::HalResult<vibrator::Capabilities>::unsupported())); in TEST_F()
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/
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/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;
27 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_NOT_APPLICABLE;
21 import static android.app.time.Capabilities.CAPABILITY_NOT_SUPPORTED;
22 import static android.app.time.Capabilities.CAPABILITY_POSSESSED;
28 import android.app.time.Capabilities.CapabilityState;
/frameworks/native/services/vibratorservice/benchmarks/
DVibratorHalControllerBenchmarks.cpp152 bool shouldSkipWithMissingCapabilityMessage(vibrator::Capabilities query, State& state) { in shouldSkipWithMissingCapabilityMessage()
289 if (shouldSkipWithMissingCapabilityMessage(vibrator::Capabilities::AMPLITUDE_CONTROL, state)) {
310 if (shouldSkipWithMissingCapabilityMessage(vibrator::Capabilities::EXTERNAL_CONTROL, state)) {
332 auto externalAmplitudeControl = vibrator::Capabilities::EXTERNAL_CONTROL &
333 vibrator::Capabilities::EXTERNAL_AMPLITUDE_CONTROL;
422 if (shouldSkipWithMissingCapabilityMessage(vibrator::Capabilities::ALWAYS_ON_CONTROL, state)) {
452 if (shouldSkipWithMissingCapabilityMessage(vibrator::Capabilities::ALWAYS_ON_CONTROL, state)) {
556 if (shouldSkipWithMissingCapabilityMessage(vibrator::Capabilities::COMPOSE_EFFECTS, state)) {
/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/core/tests/timetests/src/android/app/time/
DTimeCapabilitiesTest.java20 import static android.app.time.Capabilities.CAPABILITY_NOT_ALLOWED;
21 import static android.app.time.Capabilities.CAPABILITY_NOT_APPLICABLE;
22 import static android.app.time.Capabilities.CAPABILITY_NOT_SUPPORTED;
23 import static android.app.time.Capabilities.CAPABILITY_POSSESSED;
DTimeManagerTest.java19 import static android.app.time.Capabilities.CAPABILITY_NOT_ALLOWED;
20 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
/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/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Private.h77 LVDBE_Capabilities_t Capabilities; /* Instance capabilities */ member
/frameworks/base/proto/src/
Dam_capabilities.proto25 message Capabilities { message

123