Lines Matching refs:device
79 IDisplayDevice *device = mDisplayDevices.itemAt(i); in prepare() local
80 if (!device) { in prepare()
85 if (device->getType() == IDisplayDevice::DEVICE_VIRTUAL) in prepare()
88 device->prePrepare(displays[i]); in prepare()
92 IDisplayDevice *device = mDisplayDevices.itemAt(i); in prepare() local
93 if (!device) { in prepare()
98 if (device->getType() == IDisplayDevice::DEVICE_VIRTUAL) in prepare()
101 ret = device->prepare(displays[i]); in prepare()
130 IDisplayDevice *device = mDisplayDevices.itemAt(i); in commit() local
131 if (!device) { in commit()
136 if (!device->isConnected()) { in commit()
141 if (device->getType() == IDisplayDevice::DEVICE_VIRTUAL) in commit()
144 ret = device->commit(displays[i], mDisplayContext); in commit()
170 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in setPowerMode() local
171 if (!device) { in setPowerMode()
176 return device->setPowerMode(mode); in setPowerMode()
188 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in getActiveConfig() local
189 if (!device) { in getActiveConfig()
194 return device->getActiveConfig(); in getActiveConfig()
206 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in setActiveConfig() local
207 if (!device) { in setActiveConfig()
212 return device->setActiveConfig(index); in setActiveConfig()
244 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in blank() local
245 if (!device) { in blank()
250 return device->blank(blank ? true : false); in blank()
269 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in getDisplayConfigs() local
270 if (!device) { in getDisplayConfigs()
275 return device->getDisplayConfigs(configs, numConfigs); in getDisplayConfigs()
295 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in getDisplayAttributes() local
296 if (!device) { in getDisplayAttributes()
301 return device->getDisplayAttributes(config, attributes, values); in getDisplayAttributes()
320 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in compositionComplete() local
321 if (!device) { in compositionComplete()
326 return device->compositionComplete(); in compositionComplete()
385 IDisplayDevice *device = mDisplayDevices.itemAt(i); in dump() local
386 if (device) in dump()
387 device->dump(d); in dump()
450 IDisplayDevice *device = mPlatFactory->createDisplayDevice(i); in initialize() local
451 if (!device || !device->initialize()) { in initialize()
452 DEINIT_AND_DELETE_OBJ(device); in initialize()
456 ETRACE("HWC devices initialize device is %p at %d", device, i); in initialize()
457 mDisplayDevices.insertAt(device, i, 1); in initialize()
492 IDisplayDevice *device = mDisplayDevices.itemAt(i); in deinitialize() local
493 DEINIT_AND_DELETE_OBJ(device); in deinitialize()