Home
last modified time | relevance | path

Searched refs:Capability (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/java/android/hardware/camera2/params/
DCapability.java36 public final class Capability { class
60 public Capability(int mode, int maxStreamingWidth, int maxStreamingHeight, in Capability() method in Capability
125 if (obj instanceof Capability) { in equals()
126 final Capability other = (Capability) obj; in equals()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerService.cpp43 hidl_cb(hidl_vec<Capability>()); in getCapabilities()
72 hidl_cb(hidl_vec<Capability>()); in getCapabilities()
101 hidl_cb(hidl_vec<Capability>()); in getCapabilities()
139 hidl_cb(hidl_vec<Capability>()); in getCapabilities()
/frameworks/native/services/surfaceflinger/tests/unittests/
DHWComposerTest.cpp78 EXPECT_CALL(*mHal, getCapabilities()).WillOnce(Return(std::vector<hal::Capability>{})); in TEST_F()
101 EXPECT_CALL(*mHal, getCapabilities()).WillOnce(Return(std::vector<hal::Capability>{})); in TEST_F()
118 HWComposerLayerTest(const std::unordered_set<hal::Capability>& capabilities) in HWComposerLayerTest()
124 const std::unordered_set<hal::Capability> mCapabilies;
DTestableSurfaceFlinger.h439 const std::unordered_set<hal::Capability>& capabilities, hal::HWDisplayId id, in HWC2Display()
501 auto& setCapabilities(const std::unordered_set<hal::Capability>* capabilities) { in setCapabilities()
512 static const std::unordered_set<hal::Capability> defaultCapabilities; in inject()
556 const std::unordered_set<hal::Capability>* mCapabilities = nullptr;
DCompositionTest.cpp176 std::unordered_set<hal::Capability> mDefaultCapabilities = {hal::Capability::SIDEBAND_STREAM};
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneConnection.java314 Connection.Capability.SUPPORTS_VT_LOCAL_BIDIRECTIONAL); in applyLocalCallCapabilities()
325 Connection.Capability.SUPPORTS_VT_LOCAL_BIDIRECTIONAL); in applyLocalCallCapabilities()
334 Connection.Capability.SUPPORTS_VT_REMOTE_BIDIRECTIONAL); in applyRemoteCallCapabilities()
341 Connection.Capability.SUPPORTS_VT_REMOTE_BIDIRECTIONAL); in applyRemoteCallCapabilities()
1036 Connection.Capability.SUPPORTS_DOWNGRADE_TO_VOICE_REMOTE | in updateMediaCapabilities()
1037 Capability.SUPPORTS_DOWNGRADE_TO_VOICE_LOCAL); in updateMediaCapabilities()
1040 Connection.Capability.SUPPORTS_DOWNGRADE_TO_VOICE_REMOTE | in updateMediaCapabilities()
1041 Capability.SUPPORTS_DOWNGRADE_TO_VOICE_LOCAL); in updateMediaCapabilities()
1067 hasCapabilities(Connection.Capability.SUPPORTS_VT_LOCAL_BIDIRECTIONAL)); in updateMediaCapabilities()
DImsExternalConnection.java287 int capabilities = Capability.IS_EXTERNAL_CONNECTION; in rebuildCapabilities()
289 capabilities |= Capability.IS_PULLABLE; in rebuildCapabilities()
DImsPhoneCallTracker.java4561 Connection.Capability.SUPPORTS_DOWNGRADE_TO_VOICE_LOCAL | in maybeNotifyDataDisabled()
4562 Connection.Capability.SUPPORTS_DOWNGRADE_TO_VOICE_REMOTE)) { in maybeNotifyDataDisabled()
4629 Connection.Capability.SUPPORTS_DOWNGRADE_TO_VOICE_LOCAL | in downgradeVideoCall()
4630 Connection.Capability.SUPPORTS_DOWNGRADE_TO_VOICE_REMOTE) in downgradeVideoCall()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHal.h55 using Capability = IComposer::Capability; variable
DHWComposer.h88 virtual bool hasCapability(hal::Capability capability) const = 0;
242 bool hasCapability(hal::Capability capability) const override;
408 std::unordered_set<hal::Capability> mCapabilities;
DHWC2.h246 const std::unordered_set<hal::Capability>& capabilities, hal::HWDisplayId id,
338 const std::unordered_set<hal::Capability>& mCapabilities;
401 const std::unordered_set<hal::Capability>& capabilities, hal::HWDisplayId displayId,
439 const std::unordered_set<hal::Capability>& mCapabilities;
DHWC2.cpp102 const std::unordered_set<Capability>& capabilities, HWDisplayId id, in Display()
588 if (mCapabilities.count(Capability::SKIP_CLIENT_COLOR_TRANSFORM)) { in setPowerMode()
754 Layer::Layer(android::Hwc2::Composer& composer, const std::unordered_set<Capability>& capabilities, in Layer()
929 if (mCapabilities.count(Capability::SIDEBAND_STREAM) == 0) { in setSidebandStream()
DHWComposer.cpp185 bool HWComposer::hasCapability(hal::Capability capability) const { in hasCapability()
976 static_assert(sizeof(hal::Capability) == sizeof(int32_t), "Capability size has changed"); in loadCapabilities()
979 mCapabilities.emplace(static_cast<hal::Capability>(capability)); in loadCapabilities()
DComposerHal.h89 virtual std::vector<IComposer::Capability> getCapabilities() = 0;
342 std::vector<IComposer::Capability> getCapabilities() override;
DComposerHal.cpp231 std::vector<IComposer::Capability> Composer::getCapabilities() in getCapabilities()
233 std::vector<IComposer::Capability> capabilities; in getCapabilities()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DConnection.java57 public static class Capability { class in Connection
1389 str.append(" isExternal: " + (((mConnectionCapabilities & Capability.IS_EXTERNAL_CONNECTION) in toString()
1390 == Capability.IS_EXTERNAL_CONNECTION) ? "Y" : "N")); in toString()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DMockHWComposer.h44 MOCK_CONST_METHOD1(hasCapability, bool(hal::Capability));
DDisplayTest.cpp692 EXPECT_CALL(mHwComposer, hasCapability(hal::Capability::SKIP_CLIENT_COLOR_TRANSFORM)) in TEST_F()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java51 import android.hardware.camera2.params.Capability;
1447 private Capability[] getExtendedSceneModeCapabilities() { in getExtendedSceneModeCapabilities()
1483 Capability[] capabilities = new Capability[numExtendedSceneModes]; in getExtendedSceneModeCapabilities()
1490 capabilities[i] = new Capability(mode, width, height, zoomRanges[2 * j], in getExtendedSceneModeCapabilities()
1494 capabilities[i] = new Capability(mode, width, height, modeOffMinZoomRatio, in getExtendedSceneModeCapabilities()
/frameworks/base/core/java/android/hardware/camera2/
DCameraCharacteristics.java1209 …public static final Key<android.hardware.camera2.params.Capability[]> CONTROL_AVAILABLE_EXTENDED_S…
1210 …are.camera2.params.Capability[]>("android.control.availableExtendedSceneModeCapabilities", android…
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockComposer.h52 MOCK_METHOD0(getCapabilities, std::vector<IComposer::Capability>());
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplay.cpp274 : hwc.hasCapability(hal::Capability::SKIP_CLIENT_COLOR_TRANSFORM); in getSkipColorTransform()
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.cpp843 hidl_cb(hidl_vec<Capability>()); in getCapabilities()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp741 !getHwComposer().hasCapability(hal::Capability::PRESENT_FENCE_IS_NOT_RELIABLE); in init()
819 if (!getHwComposer().hasCapability(hal::Capability::PRESENT_FENCE_IS_NOT_RELIABLE)) { in getSupportedFrameTimestamps()
/frameworks/base/config/
Dpreloaded-classes2338 android.hardware.camera2.params.Capability

12