Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ecfa2566 authored by Hendrik Wagenaar's avatar Hendrik Wagenaar Committed by Alex Vakulenko
Browse files

Move pdx system/ paths to system/vr/

If PDX is used for non-vr stuff in the future, it will be clear
that system/vr/display is for vr and not general display

Test: compile and make sure the vr systems still work
Change-Id: I7f4331b51011574598ea3636f675be68d1ff49a0
parent 06d63de0
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -205,7 +205,7 @@ struct ViewerParams {

struct DisplayRPC {
  // Service path.
  static constexpr char kClientPath[] = "system/display/client";
  static constexpr char kClientPath[] = "system/vr/display/client";

  // Op codes.
  enum {
@@ -253,7 +253,7 @@ struct DisplayRPC {

struct DisplayManagerRPC {
  // Service path.
  static constexpr char kClientPath[] = "system/display/manager";
  static constexpr char kClientPath[] = "system/vr/display/manager";

  // Op codes.
  enum {
@@ -287,7 +287,7 @@ struct ScreenshotData {

struct DisplayScreenshotRPC {
  // Service path.
  static constexpr char kClientPath[] = "system/display/screenshot";
  static constexpr char kClientPath[] = "system/vr/display/screenshot";

  // Op codes.
  enum {
@@ -314,7 +314,7 @@ struct VSyncSchedInfo {

struct DisplayVSyncRPC {
  // Service path.
  static constexpr char kClientPath[] = "system/display/vsync";
  static constexpr char kClientPath[] = "system/vr/display/vsync";

  // Op codes.
  enum {
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
extern "C" {
#endif

#define DVR_POSE_SERVICE_BASE "system/pose"
#define DVR_POSE_SERVICE_BASE "system/vr/pose"
#define DVR_POSE_SERVICE_CLIENT (DVR_POSE_SERVICE_BASE "/client")

enum {
+1 −1
Original line number Diff line number Diff line
#ifndef ANDROID_DVR_SENSOR_IPC_H_
#define ANDROID_DVR_SENSOR_IPC_H_

#define DVR_SENSOR_SERVICE_BASE "system/sensors"
#define DVR_SENSOR_SERVICE_BASE "system/vr/sensors"

#define DVR_SENSOR_SERVICE_CLIENT (DVR_SENSOR_SERVICE_BASE "/client")