Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/desktop_capture/win/
Dscreen_capture_utils.cc78 DEVMODE device_mode; in GetScreenRect() local
79 device_mode.dmSize = sizeof(device_mode); in GetScreenRect()
80 device_mode.dmDriverExtra = 0; in GetScreenRect()
82 device.DeviceName, ENUM_CURRENT_SETTINGS, &device_mode, 0); in GetScreenRect()
86 return DesktopRect::MakeXYWH(device_mode.dmPosition.x, in GetScreenRect()
87 device_mode.dmPosition.y, in GetScreenRect()
88 device_mode.dmPelsWidth, in GetScreenRect()
89 device_mode.dmPelsHeight); in GetScreenRect()
/external/webrtc/webrtc/modules/desktop_capture/
Dmouse_cursor_monitor_win.cc148 DEVMODE device_mode; in GetScreenRect() local
149 device_mode.dmSize = sizeof(device_mode); in GetScreenRect()
150 device_mode.dmDriverExtra = 0; in GetScreenRect()
152 device.DeviceName, ENUM_CURRENT_SETTINGS, &device_mode, 0); in GetScreenRect()
156 return DesktopRect::MakeXYWH(device_mode.dmPosition.x, in GetScreenRect()
157 device_mode.dmPosition.y, in GetScreenRect()
158 device_mode.dmPelsWidth, in GetScreenRect()
159 device_mode.dmPelsHeight); in GetScreenRect()
/external/libbrillo/policy/
Dlibpolicy.cc65 const std::string& device_mode = install_attributes_reader_->GetAttribute( in IsConsumerDevice()
67 return device_mode != InstallAttributesReader::kDeviceModeEnterprise && in IsConsumerDevice()
68 device_mode != InstallAttributesReader::kDeviceModeEnterpriseAD; in IsConsumerDevice()
/external/libbrillo/install_attributes/
Dmock_install_attributes_reader.cc19 const std::string& device_mode, bool initialized) { in MockInstallAttributesReader() argument
20 attributes_[kAttrMode] = device_mode; in MockInstallAttributesReader()
Dmock_install_attributes_reader.h16 MockInstallAttributesReader(const std::string& device_mode, bool initialized);
/external/autotest/client/common_lib/cros/
Darc.py606 def set_device_mode(device_mode, use_fake_sensor_with_lifetime_secs=0): argument
620 if device_mode not in valid_value:
621 raise ValueError('Invalid device_mode parameter: %s' % device_mode)
623 value = 1 if device_mode == 'tablet' else 0
641 if device_mode == 'clamshell' and \
/external/libbrillo/policy/tests/
Ddevice_policy_impl_unittest.cc21 void InitializePolicy(const char* device_mode, in InitializePolicy() argument
26 device_mode, true /* initialized */)); in InitializePolicy()