summaryrefslogtreecommitdiffstats
path: root/gatekeeperd/IGateKeeperService.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-10-08 11:10:11 -0700
committerElliott Hughes <enh@google.com>2018-10-08 11:15:52 -0700
commit643268f325e2bda64248df24913f8b68c842c95a (patch)
tree4ddf6fdaa71ad280a6df08821c15ce97955a4c64 /gatekeeperd/IGateKeeperService.cpp
parentf3186de123c742166ec5e61b27b61af3ef929dfb (diff)
downloadsystem_core-643268f325e2bda64248df24913f8b68c842c95a.tar.gz
system_core-643268f325e2bda64248df24913f8b68c842c95a.tar.bz2
system_core-643268f325e2bda64248df24913f8b68c842c95a.zip
Move system/core/ off NO_ERROR.
It causes trouble for Windows, and OK already exists. Bug: N/A Test: builds Change-Id: Ida22fd658b0ebb259c710ba39049b07c9e495d9c
Diffstat (limited to 'gatekeeperd/IGateKeeperService.cpp')
-rw-r--r--gatekeeperd/IGateKeeperService.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/gatekeeperd/IGateKeeperService.cpp b/gatekeeperd/IGateKeeperService.cpp
index 1c339f4c8..43d57088d 100644
--- a/gatekeeperd/IGateKeeperService.cpp
+++ b/gatekeeperd/IGateKeeperService.cpp
@@ -70,7 +70,7 @@ status_t BnGateKeeperService::onTransact(
} else {
reply->writeInt32(GATEKEEPER_RESPONSE_ERROR);
}
- return NO_ERROR;
+ return OK;
}
case VERIFY: {
CHECK_INTERFACE(IGateKeeperService, data, reply);
@@ -102,7 +102,7 @@ status_t BnGateKeeperService::onTransact(
} else {
reply->writeInt32(GATEKEEPER_RESPONSE_ERROR);
}
- return NO_ERROR;
+ return OK;
}
case VERIFY_CHALLENGE: {
CHECK_INTERFACE(IGateKeeperService, data, reply);
@@ -141,7 +141,7 @@ status_t BnGateKeeperService::onTransact(
} else {
reply->writeInt32(GATEKEEPER_RESPONSE_ERROR);
}
- return NO_ERROR;
+ return OK;
}
case GET_SECURE_USER_ID: {
CHECK_INTERFACE(IGateKeeperService, data, reply);
@@ -149,20 +149,20 @@ status_t BnGateKeeperService::onTransact(
uint64_t sid = getSecureUserId(uid);
reply->writeNoException();
reply->writeInt64(sid);
- return NO_ERROR;
+ return OK;
}
case CLEAR_SECURE_USER_ID: {
CHECK_INTERFACE(IGateKeeperService, data, reply);
uint32_t uid = data.readInt32();
clearSecureUserId(uid);
reply->writeNoException();
- return NO_ERROR;
+ return OK;
}
case REPORT_DEVICE_SETUP_COMPLETE: {
CHECK_INTERFACE(IGateKeeperService, data, reply);
reportDeviceSetupComplete();
reply->writeNoException();
- return NO_ERROR;
+ return OK;
}
default:
return BBinder::onTransact(code, data, reply, flags);