Lines Matching refs:dsp
169 bool AnnPlaneManager::isValidZOrder(int dsp, ZOrderConfig& config) in isValidZOrder() argument
178 if (dsp == IDisplayDevice::DEVICE_PRIMARY) { in isValidZOrder()
206 } else if (dsp == IDisplayDevice::DEVICE_EXTERNAL) { in isValidZOrder()
219 ELOGTRACE("invalid display device %d", dsp); in isValidZOrder()
225 bool AnnPlaneManager::assignPlanes(int dsp, ZOrderConfig& config) in assignPlanes() argument
227 if (dsp < 0 || dsp > IDisplayDevice::DEVICE_EXTERNAL) { in assignPlanes()
228 ELOGTRACE("invalid display device %d", dsp); in assignPlanes()
243 if (dsp == IDisplayDevice::DEVICE_PRIMARY) in assignPlanes()
250 if (dsp == IDisplayDevice::DEVICE_PRIMARY) in assignPlanes()
258 if (assignPlanes(dsp, config, zorderDesc->zorder)) { in assignPlanes()
266 bool AnnPlaneManager::assignPlanes(int dsp, ZOrderConfig& config, const char *zorder) in assignPlanes() argument
287 PlaneDescription& desc = PLANE_DESC['I' - 'A' + dsp]; in assignPlanes()
338 PlaneDescription& desc = PLANE_DESC['I' - 'A' + dsp]; in assignPlanes()
392 int AnnPlaneManager::getFreePlanes(int dsp, int type) in getFreePlanes() argument
397 return DisplayPlaneManager::getFreePlanes(dsp, type); in getFreePlanes()
400 if (dsp < 0 || dsp > IDisplayDevice::DEVICE_EXTERNAL) { in getFreePlanes()
401 ELOGTRACE("invalid display device %d", dsp); in getFreePlanes()
408 if (dsp == IDisplayDevice::DEVICE_EXTERNAL) { in getFreePlanes()