Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DDeviceInfo.cpp26 DeviceInfo* DeviceInfo::get() { in get()
27 static DeviceInfo sDeviceInfo; in get()
31 DeviceInfo::DeviceInfo() { in DeviceInfo() function in android::uirenderer::DeviceInfo
39 DeviceInfo::~DeviceInfo() { in ~DeviceInfo()
43 int DeviceInfo::maxTextureSize() const { in maxTextureSize()
48 void DeviceInfo::setMaxTextureSize(int maxTextureSize) { in setMaxTextureSize()
49 DeviceInfo::get()->mMaxTextureSize = maxTextureSize; in setMaxTextureSize()
52 void DeviceInfo::onRefreshRateChanged(int64_t vsyncPeriod) { in onRefreshRateChanged()
56 void DeviceInfo::updateDisplayInfo() { in updateDisplayInfo()
DDeviceInfo.h31 class DeviceInfo {
32 PREVENT_COPY_AND_ASSIGN(DeviceInfo);
35 static DeviceInfo* get();
58 DeviceInfo();
59 ~DeviceInfo();
DJankTracker.cpp84 nsecs_t frameIntervalNanos = DeviceInfo::getVsyncPeriod(); in JankTracker()
85 nsecs_t sfOffset = DeviceInfo::getCompositorOffset(); in JankTracker()
86 nsecs_t offsetDelta = sfOffset - DeviceInfo::getAppOffset(); in JankTracker()
DRenderProperties.h533 const DeviceInfo* deviceInfo = DeviceInfo::get(); in fitsOnLayer()
DAndroid.bp463 "DeviceInfo.cpp",
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java74 private final LinkedHashMap<String, DeviceInfo> mConnectedDevices = new LinkedHashMap<>() {
76 public DeviceInfo put(String key, DeviceInfo value) {
77 final DeviceInfo result = super.put(key, value);
83 public DeviceInfo putIfAbsent(String key, DeviceInfo value) {
84 final DeviceInfo result = super.putIfAbsent(key, value);
92 public DeviceInfo remove(Object key) {
93 final DeviceInfo result = super.remove(key);
104 record("remove", false /* connected */, (String) key, (DeviceInfo) value);
118 private void record(String event, boolean connected, String key, DeviceInfo value) {
177 private static class DeviceInfo { class in AudioDeviceInventory
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DDeviceDiscoveryAction.java75 private static final class DeviceInfo { class in DeviceDiscoveryAction
85 private DeviceInfo(int logicalAddress) { in DeviceInfo() method in DeviceDiscoveryAction.DeviceInfo
95 private final ArrayList<DeviceInfo> mDevices = new ArrayList<>();
152 DeviceInfo info = new DeviceInfo(i); in allocateDevices()
326 DeviceInfo current = mDevices.get(mProcessedDeviceCount); in handleReportPhysicalAddress()
357 DeviceInfo current = mDevices.get(mProcessedDeviceCount);
380 DeviceInfo current = mDevices.get(mProcessedDeviceCount);
400 DeviceInfo current = mDevices.get(mProcessedDeviceCount);
429 for (DeviceInfo info : mDevices) {
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h433 struct DeviceInfo { struct
478 DeviceInfo(const std::string& name, const metadata_vendor_id_t tagId, in DeviceInfo() argument
488 virtual ~DeviceInfo();
502 return DeviceInfo::setTorchMode(interface, enabled); in setTorchModeForDevice()
505 std::vector<std::unique_ptr<DeviceInfo>> mDevices;
517 struct DeviceInfo1 : public DeviceInfo {
538 struct DeviceInfo3 : public DeviceInfo {
610 std::unique_ptr<DeviceInfo> initializeDeviceInfo(const std::string &name,
643 ProviderInfo::DeviceInfo* findDeviceInfoLocked(const std::string& id,
676 …std::pair<bool, ProviderInfo::DeviceInfo *> isHiddenPhysicalCameraInternal(const std::string& came…
DCameraProviderManager.cpp545 CameraProviderManager::ProviderInfo::DeviceInfo* CameraProviderManager::findDeviceInfoLocked( in findDeviceInfoLocked()
1189 std::pair<bool, CameraProviderManager::ProviderInfo::DeviceInfo *>
1537 std::unique_ptr<DeviceInfo> deviceInfo; in addDevice()
1990 std::unique_ptr<CameraProviderManager::ProviderInfo::DeviceInfo>
2023 return std::unique_ptr<DeviceInfo>( in initializeDeviceInfo()
2094 CameraProviderManager::ProviderInfo::DeviceInfo::~DeviceInfo() {} in ~DeviceInfo()
2097 sp<InterfaceT> CameraProviderManager::ProviderInfo::DeviceInfo::startDeviceInterface() { in startDeviceInterface()
2112 status_t CameraProviderManager::ProviderInfo::DeviceInfo::setTorchMode(InterfaceT& interface, in setTorchMode()
2125 DeviceInfo(name, tagId, id, hardware::hidl_version{1, minorVersion}, in DeviceInfo1()
2245 DeviceInfo(name, tagId, id, hardware::hidl_version{3, minorVersion}, in DeviceInfo3()
/frameworks/base/libs/hwui/tests/unit/
DCacheManagerTests.cpp36 int32_t width = DeviceInfo::get()->getWidth(); in RENDERTHREAD_SKIA_PIPELINE_TEST()
37 int32_t height = DeviceInfo::get()->getHeight(); in RENDERTHREAD_SKIA_PIPELINE_TEST()
DRenderPropertiesTests.cpp25 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); in TEST()
/frameworks/base/libs/hwui/renderthread/
DCacheManager.cpp49 : mMaxSurfaceArea(DeviceInfo::getWidth() * DeviceInfo::getHeight()) in CacheManager()
DRenderThread.cpp66 DeviceInfo::get()->onRefreshRateChanged(vsyncPeriod); in refreshRateCallback()
174 nsecs_t frameIntervalNanos = DeviceInfo::getVsyncPeriod(); in setupFrameInterval()
274 DeviceInfo::setMaxTextureSize(mGrContext->maxRenderTargetSize()); in setGrContext()
DCanvasContext.cpp110 mProfiler.setDensity(DeviceInfo::getDensity()); in CanvasContext()
158 if (mRenderAheadDepth == 0 && DeviceInfo::get()->getMaxRefreshRate() > 66.6f) { in setSurface()
448 (frameIntervalNanos * (renderAhead + 1)) - DeviceInfo::get()->getAppOffset() + in setPresentTime()
DEglManager.cpp136 LOG_ALWAYS_FATAL_IF(!DeviceInfo::get()->getWideColorSpace()->toXYZD50(&wideColorGamut), in initialize()
256 SkColorType wideColorType = DeviceInfo::get()->getWideColorType(); in loadConfigs()
DRenderProxy.cpp205 []() { return DeviceInfo::get()->maxTextureSize(); }); in maxTextureSize()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp190 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); in createOrUpdateLayer()
594 mSurfaceColorType = DeviceInfo::get()->getWideColorType(); in setSurfaceColorProperties()
595 mSurfaceColorSpace = DeviceInfo::get()->getWideColorSpace(); in setSurfaceColorProperties()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.h229 struct DeviceInfo { struct
DParameters.cpp1148 DeviceInfo::OverrideModes modes; in buildFastInfo()
/frameworks/base/services/
Dart-profile8963 …android/server/audio/AudioDeviceInventory$DeviceInfo;)Lcom/android/server/audio/AudioDeviceInvento…
8964 …d(Ljava/lang/String;ZLjava/lang/String;Lcom/android/server/audio/AudioDeviceInventory$DeviceInfo;)V
8965 …eInventory$1;->remove(Ljava/lang/Object;)Lcom/android/server/audio/AudioDeviceInventory$DeviceInfo;
8967 PLcom/android/server/audio/AudioDeviceInventory$DeviceInfo;-><init>(ILjava/lang/String;Ljava/lang/S…
8968 HPLcom/android/server/audio/AudioDeviceInventory$DeviceInfo;->access$000(ILjava/lang/String;)Ljava/…
8969 PLcom/android/server/audio/AudioDeviceInventory$DeviceInfo;->getKey()Ljava/lang/String;
8970 HPLcom/android/server/audio/AudioDeviceInventory$DeviceInfo;->makeDeviceListKey(ILjava/lang/String;…
8971 PLcom/android/server/audio/AudioDeviceInventory$DeviceInfo;->toString()Ljava/lang/String;
8983 …isconnectA2dp$4(Landroid/util/ArraySet;Lcom/android/server/audio/AudioDeviceInventory$DeviceInfo;)V
8985 …nnectA2dpSink$6(Landroid/util/ArraySet;Lcom/android/server/audio/AudioDeviceInventory$DeviceInfo;)V
[all …]