Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/
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()
111 void DeviceInfo::setSupportRgba10101010ForHdr(bool supportRgba10101010ForHdr) { in setSupportRgba10101010ForHdr()
[all …]
DDeviceInfo.h36 class DeviceInfo {
37 PREVENT_COPY_AND_ASSIGN(DeviceInfo);
40 static DeviceInfo* get();
108 DeviceInfo();
109 ~DeviceInfo() = default;
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()
/frameworks/native/services/inputflinger/rust/
Dbounce_keys_filter.rs24 DeviceInfo::DeviceInfo, KeyEvent::KeyEvent, KeyEventAction::KeyEventAction,
108 fn notify_devices_changed(&mut self, device_infos: &[DeviceInfo]) { in notify_devices_changed() argument
133 DeviceInfo::DeviceInfo, KeyEvent::KeyEvent, KeyEventAction::KeyEventAction,
236 DeviceInfo { deviceId: 1, external: true }, in test_is_notify_key_for_multiple_external_keyboards()
237 DeviceInfo { deviceId: 2, external: true }, in test_is_notify_key_for_multiple_external_keyboards()
267 &[DeviceInfo { deviceId: device_id, external: true }], in setup_filter_with_external_device()
279 &[DeviceInfo { deviceId: device_id, external: false }], in setup_filter_with_internal_device()
286 devices: &[DeviceInfo], in setup_filter_with_devices() argument
Dinput_filter.rs23 DeviceInfo::DeviceInfo,
41 fn notify_devices_changed(&mut self, device_infos: &[DeviceInfo]); in notify_devices_changed() argument
95 fn notifyInputDevicesChanged(&self, device_infos: &[DeviceInfo]) -> binder::Result<()> { in notifyInputDevicesChanged()
154 fn notify_devices_changed(&mut self, _device_infos: &[DeviceInfo]) { in notify_devices_changed() argument
213 DeviceInfo::DeviceInfo, IInputFilter::IInputFilter,
259 .notifyInputDevicesChanged(&[DeviceInfo { deviceId: 0, external: true }]) in test_notify_devices_changed()
342 DeviceInfo::DeviceInfo, KeyEvent::KeyEvent,
386 fn notify_devices_changed(&mut self, _device_infos: &[DeviceInfo]) { in notify_devices_changed() argument
Dslow_keys_filter.rs25 DeviceInfo::DeviceInfo, KeyEvent::KeyEvent, KeyEventAction::KeyEventAction,
159 fn notify_devices_changed(&mut self, device_infos: &[DeviceInfo]) { in notify_devices_changed() argument
218 DeviceInfo::DeviceInfo, KeyEvent::KeyEvent, KeyEventAction::KeyEventAction,
395 &[DeviceInfo { deviceId: device_id, external: true }], in setup_filter_with_external_device()
409 &[DeviceInfo { deviceId: device_id, external: false }], in setup_filter_with_internal_device()
417 devices: &[DeviceInfo], in setup_filter_with_devices() argument
Dsticky_keys_filter.rs24 DeviceInfo::DeviceInfo, KeyEvent::KeyEvent, KeyEventAction::KeyEventAction,
120 fn notify_devices_changed(&mut self, device_infos: &[DeviceInfo]) { in notify_devices_changed() argument
235 DeviceInfo::DeviceInfo, IInputFilter::IInputFilterCallbacks::IInputFilterCallbacks,
499 sticky_keys_filter.notify_devices_changed(&[DeviceInfo { deviceId: 2, external: true }]); in test_modifier_state_not_cleared_until_all_devices_removed()
/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
102 private final ArrayList<DeviceInfo> mDevices = new ArrayList<>();
165 DeviceInfo info = new DeviceInfo(i); in allocateDevices()
339 DeviceInfo current = mDevices.get(mProcessedDeviceCount); in handleReportPhysicalAddress()
371 DeviceInfo current = mDevices.get(mProcessedDeviceCount);
394 DeviceInfo current = mDevices.get(mProcessedDeviceCount);
414 DeviceInfo current = mDevices.get(mProcessedDeviceCount);
443 for (DeviceInfo info : mDevices) {
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java330 for (DeviceInfo di : mConnectedDevices.values()) { in synchronizeBleDeviceInInventory()
474 private final LinkedHashMap<String, DeviceInfo> mConnectedDevices = new LinkedHashMap<>() {
476 public DeviceInfo put(String key, DeviceInfo value) {
477 final DeviceInfo result = super.put(key, value);
483 public DeviceInfo putIfAbsent(String key, DeviceInfo value) {
484 final DeviceInfo result = super.putIfAbsent(key, value);
492 public DeviceInfo remove(Object key) {
493 final DeviceInfo result = super.remove(key);
504 record("remove", false /* connected */, (DeviceInfo) value);
518 private void record(String event, boolean connected, DeviceInfo value) {
[all …]
/frameworks/native/services/inputflinger/aidl/com/android/server/inputflinger/
DIInputFilter.aidl19 import com.android.server.inputflinger.DeviceInfo;
53 void notifyInputDevicesChanged(in DeviceInfo[] deviceInfos); in notifyInputDevicesChanged()
DDeviceInfo.aidl23 parcelable DeviceInfo {
/frameworks/av/drm/libmediadrmrkp/include/
DDrmRemotelyProvisionedComponent.h29 using ::aidl::android::hardware::security::keymint::DeviceInfo;
48 DeviceInfo* deviceInfo, ProtectedData* protectedData,
/frameworks/base/libs/hwui/tests/unit/
DCacheManagerTests.cpp39 int32_t width = DeviceInfo::get()->getWidth(); in RENDERTHREAD_TEST()
40 int32_t height = DeviceInfo::get()->getHeight(); in RENDERTHREAD_TEST()
DRenderPropertiesTests.cpp25 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); in TEST()
/frameworks/base/services/core/java/com/android/server/security/rkp/
DRemoteProvisioningShellCommand.java20 import android.hardware.security.keymint.DeviceInfo;
188 DeviceInfo deviceInfo = new DeviceInfo(); in csr()
218 private byte[] composeCertificateRequestV1(DeviceInfo deviceInfo, byte[] challenge, in composeCertificateRequestV1()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp498 mSurfaceColorType = DeviceInfo::get()->getWideColorType(); in setSurfaceColorProperties()
499 mSurfaceColorSpace = DeviceInfo::get()->getWideColorSpace(); in setSurfaceColorProperties()
502 if (DeviceInfo::get()->isSupportRgba10101010ForHdr()) { in setSurfaceColorProperties()
506 } else if (DeviceInfo::get()->isSupportFp16ForHdr()) { in setSurfaceColorProperties()
531 if (mColorMode == ColorMode::Hdr && DeviceInfo::get()->isSupportFp16ForHdr() && in setTargetSdrHdrRatio()
532 !DeviceInfo::get()->isSupportRgba10101010ForHdr()) { in setTargetSdrHdrRatio()
/frameworks/base/services/tests/RemoteProvisioningServiceTests/src/com/android/server/security/rkp/
DRemoteProvisioningShellCommandTest.java32 import android.hardware.security.keymint.DeviceInfo;
181 ((DeviceInfo) invocation.getArgument(4)).deviceInfo = new byte[] {0x00}; in csr_hwVersion1_withChallenge()
200 any(DeviceInfo.class), in csr_hwVersion1_withChallenge()
214 ((DeviceInfo) invocation.getArgument(4)).deviceInfo = new byte[] {0x00}; in csr_hwVersion2_withChallenge()
233 any(DeviceInfo.class), in csr_hwVersion2_withChallenge()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h595 struct DeviceInfo { struct
672 DeviceInfo(const std::string& name, const metadata_vendor_id_t tagId, in DeviceInfo() function
684 virtual ~DeviceInfo() {} in ~DeviceInfo() argument
692 std::vector<std::unique_ptr<DeviceInfo>> mDevices;
705 struct DeviceInfo3 : public DeviceInfo {
811 std::unique_ptr<ProviderInfo::DeviceInfo>
880 ProviderInfo::DeviceInfo* findDeviceInfoLocked(const std::string& id) const;
927 std::pair<bool, ProviderInfo::DeviceInfo *> isHiddenPhysicalCameraInternal(
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRenderer.cpp871 DeviceInfo::setDensity(density); in android_view_ThreadedRenderer_setDisplayDensityDpi()
879 DeviceInfo::setWidth(physicalWidth); in android_view_ThreadedRenderer_initDisplayInfo()
880 DeviceInfo::setHeight(physicalHeight); in android_view_ThreadedRenderer_initDisplayInfo()
881 DeviceInfo::setRefreshRate(refreshRate); in android_view_ThreadedRenderer_initDisplayInfo()
882 DeviceInfo::setWideColorDataspace(static_cast<ADataSpace>(wideColorDataspace)); in android_view_ThreadedRenderer_initDisplayInfo()
883 DeviceInfo::setAppVsyncOffsetNanos(appVsyncOffsetNanos); in android_view_ThreadedRenderer_initDisplayInfo()
884 DeviceInfo::setPresentationDeadlineNanos(presentationDeadlineNanos); in android_view_ThreadedRenderer_initDisplayInfo()
885 DeviceInfo::setSupportFp16ForHdr(supportFp16ForHdr); in android_view_ThreadedRenderer_initDisplayInfo()
886 DeviceInfo::setSupportRgba10101010ForHdr(supportRgba10101010ForHdr); in android_view_ThreadedRenderer_initDisplayInfo()
887 DeviceInfo::setSupportMixedColorSpaces(supportMixedColorSpaces); in android_view_ThreadedRenderer_initDisplayInfo()
/frameworks/native/services/memtrackproxy/include/memtrackproxy/
DMemtrackProxy.h44 ndk::ScopedAStatus getGpuDeviceInfo(std::vector<DeviceInfo>* _aidl_return) override;
/frameworks/native/services/memtrackproxy/test/
DMemtrackProxyTest.cpp26 using aidl::android::hardware::memtrack::DeviceInfo;
/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp143 LOG_ALWAYS_FATAL_IF(!DeviceInfo::get()->getWideColorSpace()->toXYZD50(&wideColorGamut), in initialize()
445 bool canUseFp16 = DeviceInfo::get()->isSupportFp16ForHdr() || in createSurface()
446 DeviceInfo::get()->getWideColorType() == kRGBA_F16_SkColorType; in createSurface()
449 if (canUseFp16 && !DeviceInfo::get()->isSupportRgba10101010ForHdr()) { in createSurface()
DRenderThread.cpp161 DeviceInfo::get()->onRefreshRateChanged(vsyncPeriod); in refreshRateCallback()
273 nsecs_t frameIntervalNanos = DeviceInfo::getVsyncPeriod(); in setupFrameInterval()
393 DeviceInfo::setMaxTextureSize(mGrContext->maxRenderTargetSize()); in setGrContext()
DCacheManager.cpp46 mMaxSurfaceArea = static_cast<size_t>((DeviceInfo::getWidth() * DeviceInfo::getHeight()) * in CacheManager()
/frameworks/native/services/inputflinger/
DInputFilter.h50 using AidlDeviceInfo = aidl::com::android::server::inputflinger::DeviceInfo;

12