Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/libs/hwui/
H A DDeviceInfo.cpp28 DeviceInfo* DeviceInfo::get() { in get()
29 static DeviceInfo sDeviceInfo; in get()
33 DeviceInfo::DeviceInfo() { in DeviceInfo() function in android::uirenderer::DeviceInfo
41 void DeviceInfo::updateDisplayInfo() { in updateDisplayInfo()
78 int DeviceInfo::maxTextureSize() const { in maxTextureSize()
83 void DeviceInfo::setMaxTextureSize(int maxTextureSize) { in setMaxTextureSize()
84 DeviceInfo::get()->mMaxTextureSize = maxTextureSize; in setMaxTextureSize()
87 void DeviceInfo::setWideColorDataspace(ADataSpace dataspace) { in setWideColorDataspace()
107 void DeviceInfo::setSupportFp16ForHdr(bool supportFp16ForHdr) { in setSupportFp16ForHdr()
115 void DeviceInfo::onRefreshRateChanged(int64_t vsyncPeriod) { in onRefreshRateChanged()
[all …]
H A DDeviceInfo.h35 class DeviceInfo {
36 PREVENT_COPY_AND_ASSIGN(DeviceInfo);
39 static DeviceInfo* get();
92 DeviceInfo();
93 ~DeviceInfo() = default;
H A DJankTracker.cpp85 nsecs_t frameIntervalNanos = DeviceInfo::getVsyncPeriod(); in JankTracker()
86 nsecs_t sfOffset = DeviceInfo::getCompositorOffset(); in JankTracker()
87 nsecs_t offsetDelta = sfOffset - DeviceInfo::getAppOffset(); in JankTracker()
H A DRenderProperties.h545 const DeviceInfo* deviceInfo = DeviceInfo::get(); in fitsOnLayer()
H A DAndroid.bp608 "DeviceInfo.cpp",
/aosp14/system/core/fs_mgr/libsnapshot/
H A Ddevice_info.cpp40 std::string DeviceInfo::GetMetadataDir() const { in GetMetadataDir()
44 std::string DeviceInfo::GetSlotSuffix() const { in GetSlotSuffix()
48 std::string DeviceInfo::GetOtherSlotSuffix() const { in GetOtherSlotSuffix()
56 std::string DeviceInfo::GetSuperDevice(uint32_t slot) const { in GetSuperDevice()
60 bool DeviceInfo::IsOverlayfsSetup() const { in IsOverlayfsSetup()
65 bool DeviceInfo::EnsureBootHal() { in EnsureBootHal()
99 bool DeviceInfo::IsRecovery() const { in IsRecovery()
103 bool DeviceInfo::IsFirstStageInit() const { in IsFirstStageInit()
107 bool DeviceInfo::SetSlotAsUnbootable([[maybe_unused]] unsigned int slot) {
132 android::fiemap::ImageManager::DeviceInfo device_info = { in OpenImageManager()
[all …]
H A Ddevice_info.h28 class DeviceInfo final : public SnapshotManager::IDeviceInfo {
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioDeviceInventory.java217 public DeviceInfo put(String key, DeviceInfo value) {
224 public DeviceInfo putIfAbsent(String key, DeviceInfo value) {
233 public DeviceInfo remove(Object key) {
234 final DeviceInfo result = super.remove(key);
343 private static class DeviceInfo { class in AudioDeviceInventory
1715 final DeviceInfo di = new DeviceInfo(AudioSystem.DEVICE_OUT_BLUETOOTH_A2DP, name,
1746 DeviceInfo leOutDevice =
1748 DeviceInfo leInDevice =
1750 DeviceInfo a2dpDevice =
1752 DeviceInfo scoOutDevice =
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/
H A DDeviceDiscoveryAction.java75 private static final class DeviceInfo { class in DeviceDiscoveryAction
85 private DeviceInfo(int logicalAddress) { in DeviceInfo() method in DeviceDiscoveryAction.DeviceInfo
102 private final ArrayList<DeviceInfo> mDevices = new ArrayList<>();
159 DeviceInfo info = new DeviceInfo(i); in allocateDevices()
333 DeviceInfo current = mDevices.get(mProcessedDeviceCount); in handleReportPhysicalAddress()
365 DeviceInfo current = mDevices.get(mProcessedDeviceCount);
388 DeviceInfo current = mDevices.get(mProcessedDeviceCount);
408 DeviceInfo current = mDevices.get(mProcessedDeviceCount);
437 for (DeviceInfo info : mDevices) {
/aosp14/system/core/fs_mgr/libfiemap/include/libfiemap/
H A Dimage_manager.h42 struct DeviceInfo { struct
51 const DeviceInfo& device_info = {}); argument
142 const DeviceInfo& device_info = {});
147 const DeviceInfo& device_info = {});
183 const DeviceInfo& device_info);
204 DeviceInfo device_info_;
/aosp14/frameworks/base/services/tests/RemoteProvisioningServiceTests/src/com/android/server/security/rkp/
H A DRemoteProvisioningShellCommandTest.java29 import android.hardware.security.keymint.DeviceInfo;
154 ((DeviceInfo) invocation.getArgument(4)).deviceInfo = new byte[] {0x00}; in csr_hwVersion1_withChallenge()
171 any(DeviceInfo.class), in csr_hwVersion1_withChallenge()
185 ((DeviceInfo) invocation.getArgument(4)).deviceInfo = new byte[] {0x00}; in csr_hwVersion2_withChallenge()
202 any(DeviceInfo.class), in csr_hwVersion2_withChallenge()
/aosp14/frameworks/base/services/core/java/com/android/server/security/rkp/
H A DRemoteProvisioningShellCommand.java19 import android.hardware.security.keymint.DeviceInfo;
169 DeviceInfo deviceInfo = new DeviceInfo(); in csr()
199 private byte[] composeCertificateRequestV1(DeviceInfo deviceInfo, byte[] challenge, in composeCertificateRequestV1()
/aosp14/frameworks/base/libs/hwui/tests/unit/
H A DCacheManagerTests.cpp38 int32_t width = DeviceInfo::get()->getWidth(); in RENDERTHREAD_SKIA_PIPELINE_TEST()
39 int32_t height = DeviceInfo::get()->getHeight(); in RENDERTHREAD_SKIA_PIPELINE_TEST()
H A DRenderPropertiesTests.cpp25 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); in TEST()
/aosp14/system/core/fs_mgr/libfiemap/
H A Dpassthrough.cpp24 const DeviceInfo& device_info) { in Open()
H A Dimage_manager.cpp59 const DeviceInfo& device_info) { in Open()
72 const DeviceInfo& device_info) { in Open()
77 const DeviceInfo& device_info) in ImageManager()
H A Dbinder.cpp246 const DeviceInfo&) { in Open() argument
/aosp14/frameworks/base/libs/hwui/jni/
H A Dandroid_graphics_HardwareRenderer.cpp847 DeviceInfo::setDensity(density); in android_view_ThreadedRenderer_setDisplayDensityDpi()
854 DeviceInfo::setWidth(physicalWidth); in android_view_ThreadedRenderer_initDisplayInfo()
855 DeviceInfo::setHeight(physicalHeight); in android_view_ThreadedRenderer_initDisplayInfo()
856 DeviceInfo::setRefreshRate(refreshRate); in android_view_ThreadedRenderer_initDisplayInfo()
857 DeviceInfo::setWideColorDataspace(static_cast<ADataSpace>(wideColorDataspace)); in android_view_ThreadedRenderer_initDisplayInfo()
858 DeviceInfo::setAppVsyncOffsetNanos(appVsyncOffsetNanos); in android_view_ThreadedRenderer_initDisplayInfo()
859 DeviceInfo::setPresentationDeadlineNanos(presentationDeadlineNanos); in android_view_ThreadedRenderer_initDisplayInfo()
860 DeviceInfo::setSupportFp16ForHdr(supportFp16ForHdr); in android_view_ThreadedRenderer_initDisplayInfo()
861 DeviceInfo::setSupportMixedColorSpaces(supportMixedColorSpaces); in android_view_ThreadedRenderer_initDisplayInfo()
/aosp14/system/core/trusty/keymaster/include/trusty_keymaster/
H A DTrustyRemotelyProvisionedComponentDevice.h46 DeviceInfo* deviceInfo, ProtectedData* protectedData,
/aosp14/frameworks/base/libs/hwui/renderthread/
H A DRenderThread.cpp159 DeviceInfo::get()->onRefreshRateChanged(vsyncPeriod); in refreshRateCallback()
271 nsecs_t frameIntervalNanos = DeviceInfo::getVsyncPeriod(); in setupFrameInterval()
383 DeviceInfo::setMaxTextureSize(mGrContext->maxRenderTargetSize()); in setGrContext()
H A DCacheManager.cpp45 mMaxSurfaceArea = static_cast<size_t>((DeviceInfo::getWidth() * DeviceInfo::getHeight()) * in CacheManager()
H A DEglManager.cpp140 LOG_ALWAYS_FATAL_IF(!DeviceInfo::get()->getWideColorSpace()->toXYZD50(&wideColorGamut), in initialize()
441 if (DeviceInfo::get()->getWideColorType() == kRGBA_F16_SkColorType) { in createSurface()
H A DRenderProxy.cpp266 []() { return DeviceInfo::get()->maxTextureSize(); }); in maxTextureSize()
/aosp14/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaPipeline.cpp207 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); in createOrUpdateLayer()
640 mSurfaceColorType = DeviceInfo::get()->getWideColorType(); in setSurfaceColorProperties()
641 mSurfaceColorSpace = DeviceInfo::get()->getWideColorSpace(); in setSurfaceColorProperties()
/aosp14/system/core/trusty/keymaster/keymint/
H A DTrustyRemotelyProvisionedComponentDevice.cpp109 const bytevec& endpointEncCertChain, const bytevec& challenge, DeviceInfo* deviceInfo, in generateCertificateRequest()

12