Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DDeviceInfo.cpp48 DeviceInfo* DeviceInfo::get() { in get()
49 static DeviceInfo sDeviceInfo; in get()
127 DeviceInfo::DeviceInfo() : mMaxRefreshRate(QueryMaxRefreshRate()) { in DeviceInfo() function in android::uirenderer::DeviceInfo
137 int DeviceInfo::maxTextureSize() const { in maxTextureSize()
142 void DeviceInfo::setMaxTextureSize(int maxTextureSize) { in setMaxTextureSize()
143 DeviceInfo::get()->mMaxTextureSize = maxTextureSize; in setMaxTextureSize()
146 void DeviceInfo::onDisplayConfigChanged() { in onDisplayConfigChanged()
DDeviceInfo.h31 class DeviceInfo {
32 PREVENT_COPY_AND_ASSIGN(DeviceInfo);
35 static DeviceInfo* get();
51 DeviceInfo();
DRenderProperties.h529 const DeviceInfo* deviceInfo = DeviceInfo::get(); in fitsOnLayer()
DAndroid.bp204 "DeviceInfo.cpp",
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java61 private final LinkedHashMap<String, DeviceInfo> mConnectedDevices = new LinkedHashMap<>();
89 private static class DeviceInfo { class in AudioDeviceInventory
95 DeviceInfo(int deviceType, String deviceName, String deviceAddress, int deviceCodecFormat) { in DeviceInfo() method in AudioDeviceInventory.DeviceInfo
148 for (DeviceInfo di : mConnectedDevices.values()) { in onRestoreDevices()
183 final String key = DeviceInfo.makeDeviceListKey(AudioSystem.DEVICE_OUT_BLUETOOTH_A2DP, in onSetA2dpSinkConnectionState()
185 final DeviceInfo di = mConnectedDevices.get(key); in onSetA2dpSinkConnectionState()
225 final String key = DeviceInfo.makeDeviceListKey( in onSetA2dpSourceConnectionState()
227 final DeviceInfo di = mConnectedDevices.get(key); in onSetA2dpSourceConnectionState()
248 final String key = DeviceInfo.makeDeviceListKey(AudioSystem.DEVICE_OUT_HEARING_AID, in onSetHearingAidConnectionState()
250 final DeviceInfo di = mConnectedDevices.get(key); in onSetHearingAidConnectionState()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DDeviceDiscoveryAction.java74 private static final class DeviceInfo { class in DeviceDiscoveryAction
84 private DeviceInfo(int logicalAddress) { in DeviceInfo() method in DeviceDiscoveryAction.DeviceInfo
94 private final ArrayList<DeviceInfo> mDevices = new ArrayList<>();
151 DeviceInfo info = new DeviceInfo(i); in allocateDevices()
325 DeviceInfo current = mDevices.get(mProcessedDeviceCount); in handleReportPhysicalAddress()
355 DeviceInfo current = mDevices.get(mProcessedDeviceCount);
382 DeviceInfo current = mDevices.get(mProcessedDeviceCount);
402 DeviceInfo current = mDevices.get(mProcessedDeviceCount);
431 for (DeviceInfo info : mDevices) {
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h374 struct DeviceInfo { struct
416 DeviceInfo(const std::string& name, const metadata_vendor_id_t tagId, in DeviceInfo() function
426 virtual ~DeviceInfo();
439 return DeviceInfo::setTorchMode(interface, enabled); in setTorchModeForDevice()
442 std::vector<std::unique_ptr<DeviceInfo>> mDevices;
454 struct DeviceInfo1 : public DeviceInfo {
475 struct DeviceInfo3 : public DeviceInfo {
543 std::unique_ptr<DeviceInfo> initializeDeviceInfo(const std::string &name,
570 ProviderInfo::DeviceInfo* findDeviceInfoLocked(const std::string& id,
605 std::pair<bool, CameraProviderManager::ProviderInfo::DeviceInfo *>
DCameraProviderManager.cpp485 CameraProviderManager::ProviderInfo::DeviceInfo* CameraProviderManager::findDeviceInfoLocked( in findDeviceInfoLocked()
1086 std::pair<bool, CameraProviderManager::ProviderInfo::DeviceInfo *>
1407 std::unique_ptr<DeviceInfo> deviceInfo; in addDevice()
1683 std::unique_ptr<CameraProviderManager::ProviderInfo::DeviceInfo>
1716 return std::unique_ptr<DeviceInfo>( in initializeDeviceInfo()
1787 CameraProviderManager::ProviderInfo::DeviceInfo::~DeviceInfo() {} in ~DeviceInfo()
1790 sp<InterfaceT> CameraProviderManager::ProviderInfo::DeviceInfo::startDeviceInterface() { in startDeviceInterface()
1802 status_t CameraProviderManager::ProviderInfo::DeviceInfo::setTorchMode(InterfaceT& interface, in setTorchMode()
1815 DeviceInfo(name, tagId, id, hardware::hidl_version{1, minorVersion}, in DeviceInfo1()
1935 DeviceInfo(name, tagId, id, hardware::hidl_version{3, minorVersion}, in DeviceInfo3()
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp172 DeviceInfo::get()->onDisplayConfigChanged(); in initializeDisplayEventReceiver()
186 mCacheManager = new CacheManager(DeviceInfo::get()->displayInfo()); in initThreadLocals()
190 auto& displayInfo = DeviceInfo::get()->displayInfo(); in setupFrameInterval()
297 DeviceInfo::setMaxTextureSize(mGrContext->maxRenderTargetSize()); in setGrContext()
DCanvasContext.cpp108 , mJankTracker(&thread.globalProfileData(), DeviceInfo::get()->displayInfo()) in CanvasContext()
114 mProfiler.setDensity(DeviceInfo::get()->displayInfo().density); in CanvasContext()
159 if (mRenderAheadDepth == 0 && DeviceInfo::get()->getMaxRefreshRate() > 66.6f) { in setSurface()
DEglManager.cpp136 LOG_ALWAYS_FATAL_IF(!DeviceInfo::get()->getWideColorSpace()->toXYZD50(&wideColorGamut), in initialize()
253 SkColorType wideColorType = DeviceInfo::get()->getWideColorType(); in loadConfigs()
DRenderProxy.cpp209 []() { return DeviceInfo::get()->maxTextureSize(); }); in maxTextureSize()
/frameworks/base/libs/hwui/tests/unit/
DRenderPropertiesTests.cpp25 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); in TEST()
DCacheManagerTests.cpp36 DisplayInfo displayInfo = DeviceInfo::get()->displayInfo(); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp188 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); in createOrUpdateLayer()
451 mSurfaceColorType = DeviceInfo::get()->getWideColorType(); in setSurfaceColorProperties()
452 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()