summaryrefslogtreecommitdiff
path: root/telephony
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2021-01-20 16:23:36 -0800
committerTyler Gunn <tgunn@google.com>2021-01-22 13:39:38 -0800
commitb6110a2158359617c997f76c421a958b77ba167d (patch)
tree15e2a92c27344e022d1b71f8c1b7bbb33366e753 /telephony
parente44156cfd608cea2b0c7b159b96d85968621186e (diff)
Add support for sending d2d messages through adb shell command.
Adding in AIDL definition for sending test messages. Test: Verified operation of the adb shell command which lets test message be sent. Bug: 163085177 Change-Id: I7b1c5398e2117077482a02ea4fec6c5d773ca3f5
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/com/android/internal/telephony/ITelephony.aidl5
1 files changed, 5 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl
index 053774241900..e556664bb323 100644
--- a/telephony/java/com/android/internal/telephony/ITelephony.aidl
+++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl
@@ -2367,6 +2367,11 @@ interface ITelephony {
boolean setCarrierSingleRegistrationEnabledOverride(int subId, String enabled);
/**
+ * Sends a device to device message; only for use through shell.
+ */
+ void sendDeviceToDeviceMessage(int message, int value);
+
+ /**
* Gets the config of RCS VoLTE single registration enabled for the carrier/subscription.
*/
boolean getCarrierSingleRegistrationEnabled(int subId);