Home
last modified time | relevance | path

Searched refs:relativeAddress (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayIdentificationTest.cpp327 EXPECT_EQ(DeviceProductInfo::NO_RELATIVE_ADDRESS, info.relativeAddress); in TEST()
341 EXPECT_EQ(DeviceProductInfo::NO_RELATIVE_ADDRESS, info.relativeAddress); in TEST()
355 EXPECT_EQ((RelativeAddress{{2, 0, 0, 0}}), info.relativeAddress); in TEST()
368 EXPECT_EQ((RelativeAddress{{2, 0, 0, 0}}), info.relativeAddress); in TEST()
382 EXPECT_EQ((RelativeAddress{{1, 2, 3, 4}}), info.relativeAddress); in TEST()
394 EXPECT_EQ(DeviceProductInfo::NO_RELATIVE_ADDRESS, info.relativeAddress); in TEST()
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/display/
DDeviceProductInfo.java41 int[] relativeAddress) { in DeviceProductInfo() argument
47 this.mRelativeAddress = relativeAddress; in DeviceProductInfo()
/frameworks/base/core/java/android/hardware/display/
DDeviceProductInfo.java45 int[] relativeAddress) { in DeviceProductInfo() argument
51 this.mRelativeAddress = relativeAddress; in DeviceProductInfo()
/frameworks/native/libs/ui/include_vndk/ui/
DDeviceProductInfo.h65 RelativeAddress relativeAddress; member
/frameworks/native/libs/ui/include/ui/
DDeviceProductInfo.h65 RelativeAddress relativeAddress; member
/frameworks/native/services/surfaceflinger/DisplayHardware/
DDisplayIdentification.cpp101 info.relativeAddress = {address.a, address.b, address.c, address.d}; in buildDeviceProductInfo()
103 info.relativeAddress = DeviceProductInfo::NO_RELATIVE_ADDRESS; in buildDeviceProductInfo()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp871 jintArray relativeAddress = nullptr; in convertDeviceProductInfoToJavaObject() local
872 if (info->relativeAddress != DeviceProductInfo::NO_RELATIVE_ADDRESS) { in convertDeviceProductInfoToJavaObject()
873 relativeAddress = env->NewIntArray(info->relativeAddress.size()); in convertDeviceProductInfoToJavaObject()
874 jint* relativeAddressData = env->GetIntArrayElements(relativeAddress, nullptr); in convertDeviceProductInfoToJavaObject()
875 for (size_t i = 0; i < info->relativeAddress.size(); i++) { in convertDeviceProductInfoToJavaObject()
876 relativeAddressData[i] = static_cast<jint>(info->relativeAddress[i]); in convertDeviceProductInfoToJavaObject()
878 env->ReleaseIntArrayElements(relativeAddress, relativeAddressData, 0); in convertDeviceProductInfoToJavaObject()
882 relativeAddress); in convertDeviceProductInfoToJavaObject()