From b6110a2158359617c997f76c421a958b77ba167d Mon Sep 17 00:00:00 2001 From: Tyler Gunn Date: Wed, 20 Jan 2021 16:23:36 -0800 Subject: 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 --- telephony/java/com/android/internal/telephony/ITelephony.aidl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'telephony/java/com') 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 @@ -2366,6 +2366,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. */ -- cgit v1.2.3