/frameworks/av/media/libmedia/ |
D | MediaCodecInfo.cpp | 32 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/ |
D | ImsFeature.java | 234 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/ |
D | MediaCodecInfo.h | 64 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/ |
D | ImsFeatureTest.java | 122 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()
|
D | TestImsFeature.java | 38 public void capabilitiesStatusChanged(Capabilities c) { in capabilitiesStatusChanged()
|
/frameworks/native/services/vibratorservice/include/vibratorservice/ |
D | VibratorHalWrapper.h | 146 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/ |
D | VibratorHalWrapper.cpp | 180 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/ |
D | ConfigurationInternalTest.java | 21 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/ |
D | Capabilities.java | 41 public final class Capabilities { class 76 private Capabilities() {} in Capabilities() method in Capabilities
|
D | TimeZoneCapabilities.java | 19 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/ |
D | ConfigurationInternal.java | 19 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/ |
D | VibratorHalControllerBenchmarks.cpp | 53 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/ |
D | TimeCapabilitiesTest.java | 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;
|
D | TimeZoneCapabilitiesTest.java | 19 import static android.app.time.Capabilities.CAPABILITY_NOT_ALLOWED; 20 import static android.app.time.Capabilities.CAPABILITY_POSSESSED;
|
/frameworks/native/services/vibratorservice/test/ |
D | VibratorHalWrapperHidlV1_3Test.cpp | 119 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()
|
D | VibratorHalControllerTest.cpp | 70 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/ |
D | MediaCodecListOverrides.cpp | 49 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/ |
D | ConfigurationInternal.java | 19 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/ |
D | LVCS_BypassMix.cpp | 249 if ((*pInstance->Capabilities.CallBack) != LVM_NULL) { in LVCS_MixerCallback() 250 (*pInstance->Capabilities.CallBack)(pInstance->Capabilities.pBundleInstance, LVM_NULL, in LVCS_MixerCallback()
|
D | LVCS_Private.h | 103 LVCS_Capabilities_t Capabilities; /* Initialisation capabilities */ member
|
D | LVCS_Init.cpp | 65 pInstance->Capabilities = *pCapabilities; in LVCS_Init()
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_Control.cpp | 104 *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()
|
D | LVEQNB_Private.h | 68 LVEQNB_Capabilities_t Capabilities; /* Instance capabilities */ member
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/ |
D | ConfigurationInternalTest.java | 19 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/ |
D | LVDBE_Private.h | 77 LVDBE_Capabilities_t Capabilities; /* Instance capabilities */ member
|