Advertisement
haky86

AOSPA Oreo

Apr 20th, 2018
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.27 KB | None | 0 0
  1. frameworks/native/services/surfaceflinger/SurfaceFlinger_hwc1.cpp:277:24: error: no matching constructor for initialization of 'android::DisplayDeviceState'
  2. DisplayDeviceState info(DisplayDevice::DISPLAY_VIRTUAL, secure);
  3. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4. frameworks/native/services/surfaceflinger/DisplayDevice.h:291:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
  5. struct DisplayDeviceState {
  6. ^
  7. frameworks/native/services/surfaceflinger/DisplayDevice.h:291:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
  8. frameworks/native/services/surfaceflinger/DisplayDevice.h:293:5: note: candidate constructor not viable: requires 3 arguments, but 2 were provided
  9. DisplayDeviceState(DisplayDevice::DisplayType type, int32_t hwcId, bool isSecure);
  10. ^
  11. frameworks/native/services/surfaceflinger/DisplayDevice.h:292:5: note: candidate constructor not viable: requires 0 arguments, but 2 were provided
  12. DisplayDeviceState() = default;
  13. ^
  14. frameworks/native/services/surfaceflinger/SurfaceFlinger_hwc1.cpp:303:22: error: out-of-line definition of 'createBuiltinDisplayLocked' does not match any declaration in 'android::SurfaceFlinger'
  15. void SurfaceFlinger::createBuiltinDisplayLocked(DisplayDevice::DisplayType type) {
  16. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  17. frameworks/native/services/surfaceflinger/SurfaceFlinger_hwc1.cpp:308:24: error: no matching constructor for initialization of 'android::DisplayDeviceState'
  18. DisplayDeviceState info(type, true);
  19. ^ ~~~~~~~~~~
  20. frameworks/native/services/surfaceflinger/DisplayDevice.h:291:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
  21. struct DisplayDeviceState {
  22. ^
  23. frameworks/native/services/surfaceflinger/DisplayDevice.h:291:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
  24. frameworks/native/services/surfaceflinger/DisplayDevice.h:293:5: note: candidate constructor not viable: requires 3 arguments, but 2 were provided
  25. DisplayDeviceState(DisplayDevice::DisplayType type, int32_t hwcId, bool isSecure);
  26. ^
  27. frameworks/native/services/surfaceflinger/DisplayDevice.h:292:5: note: candidate constructor not viable: requires 0 arguments, but 2 were provided
  28. DisplayDeviceState() = default;
  29. ^
  30. frameworks/native/services/surfaceflinger/SurfaceFlinger_hwc1.cpp:557:44: error: too few arguments to function call, expected 2, have 1
  31. createBuiltinDisplayLocked(type);
  32. ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
  33. frameworks/native/services/surfaceflinger/SurfaceFlinger.h:515:5: note: 'createBuiltinDisplayLocked' declared here
  34. void createBuiltinDisplayLocked(DisplayDevice::DisplayType type, int32_t hwcId);
  35. ^
  36. frameworks/native/services/surfaceflinger/SurfaceFlinger_hwc1.cpp:1073:72: error: too few arguments to function call, expected 2, have 1
  37. createBuiltinDisplayLocked((DisplayDevice::DisplayType)type);
  38. ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
  39. frameworks/native/services/surfaceflinger/SurfaceFlinger.h:515:5: note: 'createBuiltinDisplayLocked' declared here
  40. void createBuiltinDisplayLocked(DisplayDevice::DisplayType type, int32_t hwcId);
  41. ^
  42. frameworks/native/services/surfaceflinger/SurfaceFlinger_hwc1.cpp:3030:46: error: too few arguments to function call, expected 4, have 3
  43. dumpAllLocked(args, index, result);
  44. ~~~~~~~~~~~~~ ^
  45. frameworks/native/services/surfaceflinger/SurfaceFlinger.h:626:5: note: 'dumpAllLocked' declared here
  46. void dumpAllLocked(const Vector<String16>& args, size_t& index, String8& result,
  47. ^
  48. frameworks/native/services/surfaceflinger/SurfaceFlinger_hwc1.cpp:3197:22: error: out-of-line definition of 'dumpAllLocked' does not match any declaration in 'android::SurfaceFlinger'
  49. void SurfaceFlinger::dumpAllLocked(const Vector<String16>& args, size_t& index,
  50. ^~~~~~~~~~~~~
  51. frameworks/native/services/surfaceflinger/SurfaceFlinger_hwc1.cpp:3257:38: error: too few arguments to function call, expected 3, have 2
  52. layer->dump(result, colorizer);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement