summaryrefslogtreecommitdiff
path: root/telephony/java
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2021-05-03 14:45:26 -0700
committerTyler Gunn <tgunn@google.com>2021-05-03 14:45:26 -0700
commite6bf310006289f6d4ca32a282376229fb17f2e41 (patch)
treecfaaede59b116a692f2420b84b9cfa928abef406 /telephony/java
parentc05b6dbe204459c37fc938339922831f479e481e (diff)
Add telephony shell command to force D2D communications enabled.
This command is used for CTS testing to force override D2D on. Test: Added CTS test leveraging the new command. Test: Manual test to verify command operation. Bug: 183239479 Change-Id: I093ee1503182a78baa7527097731974fc9499f62
Diffstat (limited to 'telephony/java')
-rw-r--r--telephony/java/com/android/internal/telephony/ITelephony.aidl6
1 files changed, 6 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl
index 00ddec298dcf..4e4950b6cc0a 100644
--- a/telephony/java/com/android/internal/telephony/ITelephony.aidl
+++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl
@@ -2352,6 +2352,12 @@ interface ITelephony {
void setActiveDeviceToDeviceTransport(String transport);
/**
+ * Forces Device to Device communication to be enabled, even if the device config has it
+ * disabled.
+ */
+ void setDeviceToDeviceForceEnabled(boolean isForceEnabled);
+
+ /**
* Gets the config of RCS VoLTE single registration enabled for the carrier/subscription.
*/
boolean getCarrierSingleRegistrationEnabled(int subId);