aboutsummaryrefslogtreecommitdiff
path: root/guest/hals/ril/reference-libril/RefRadioNetwork.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'guest/hals/ril/reference-libril/RefRadioNetwork.cpp')
-rw-r--r--guest/hals/ril/reference-libril/RefRadioNetwork.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/guest/hals/ril/reference-libril/RefRadioNetwork.cpp b/guest/hals/ril/reference-libril/RefRadioNetwork.cpp
index 407efaa5e..941cd2470 100644
--- a/guest/hals/ril/reference-libril/RefRadioNetwork.cpp
+++ b/guest/hals/ril/reference-libril/RefRadioNetwork.cpp
@@ -89,4 +89,28 @@ ScopedAStatus RefRadioNetwork::isNullCipherAndIntegrityEnabled(int32_t serial) {
respond()->isNullCipherAndIntegrityEnabledResponse(responseInfo(serial), true);
return ok();
}
+
+ScopedAStatus RefRadioNetwork::setCellularIdentifierTransparencyEnabled(int32_t serial, bool enabled) {
+ mIsCellularIdentifierTransparencyEnabled = enabled;
+ respond()->setCellularIdentifierTransparencyEnabledResponse(responseInfo(serial));
+ return ok();
+}
+
+ScopedAStatus RefRadioNetwork::isCellularIdentifierTransparencyEnabled(int32_t serial) {
+ respond()->isCellularIdentifierTransparencyEnabledResponse(
+ responseInfo(serial), mIsCellularIdentifierTransparencyEnabled);
+ return ok();
+}
+
+ScopedAStatus RefRadioNetwork::setSecurityAlgorithmsUpdatedEnabled(int32_t serial, bool enabled) {
+ mIsCipheringTransparencyEnabled = enabled;
+ respond()->setSecurityAlgorithmsUpdatedEnabledResponse(responseInfo(serial));
+ return ok();
+}
+
+ScopedAStatus RefRadioNetwork::isSecurityAlgorithmsUpdatedEnabled(int32_t serial) {
+ respond()->isSecurityAlgorithmsUpdatedEnabledResponse(responseInfo(serial),
+ mIsCipheringTransparencyEnabled);
+ return ok();
+}
} // namespace cf::ril