summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yiwei Zhang <zzyiwei@google.com> 2018-11-16 10:56:12 -0800
committer Yiwei Zhang <zzyiwei@google.com> 2018-11-16 12:53:40 -0800
commit423d080938edb0853be752c47fb760cfee5364f5 (patch)
tree0107bc2450061519fbdf12c77c276b5a080fee8d
parent238e18a5a262d549ad886640a9fddf64fcee27af (diff)
[GPU Service] Name GPU service back to "gpu"
Changed the GPU service name back to be compatible with external engines/tools' usage of vkjson cmd. Bug: 118347356 Test: adb shell cmd gpu vkjson Change-Id: I8830149e6f239d95a7397329ba2f8bc99561d494
-rw-r--r--services/gpuservice/GpuService.cpp2
-rw-r--r--services/gpuservice/gpuservice.rc2
2 files changed, 2 insertions, 2 deletions
diff --git a/services/gpuservice/GpuService.cpp b/services/gpuservice/GpuService.cpp
index e4ca6bcc47..150896cf91 100644
--- a/services/gpuservice/GpuService.cpp
+++ b/services/gpuservice/GpuService.cpp
@@ -62,7 +62,7 @@ namespace {
status_t cmd_vkjson(int out, int err);
}
-const char* const GpuService::SERVICE_NAME = "gpuservice";
+const char* const GpuService::SERVICE_NAME = "gpu";
GpuService::GpuService() = default;
diff --git a/services/gpuservice/gpuservice.rc b/services/gpuservice/gpuservice.rc
index d23cf461f8..65a5c2776a 100644
--- a/services/gpuservice/gpuservice.rc
+++ b/services/gpuservice/gpuservice.rc
@@ -1,4 +1,4 @@
-service gpuservice /system/bin/gpuservice
+service gpu /system/bin/gpuservice
class core
user gpu_service
group graphics