From 5c728994311c40821604c6711171e860776659a6 Mon Sep 17 00:00:00 2001 From: Prerepa Viswanadham Date: Thu, 28 May 2015 00:12:37 -0700 Subject: Activity info and stats from modem Change-Id: Ifa8e520673c7e5549b0066a16a744810f1f0730c --- telephony/java/com/android/internal/telephony/ITelephony.aidl | 7 +++++++ telephony/java/com/android/internal/telephony/RILConstants.java | 1 + 2 files changed, 8 insertions(+) (limited to 'telephony/java/com/android') diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index 11d0ea6..77f90ab 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -23,6 +23,7 @@ import android.telephony.CellInfo; import android.telephony.IccOpenLogicalChannelResponse; import android.telephony.NeighboringCellInfo; import android.telephony.RadioAccessFamily; +import android.telephony.ModemActivityInfo; import java.util.List; @@ -953,4 +954,10 @@ interface ITelephony { * if no locale could be derived. */ String getLocaleFromDefaultSim(); + + /** + * Return the modem activity info. + *@hide + */ + ModemActivityInfo getModemActivityInfo(); } diff --git a/telephony/java/com/android/internal/telephony/RILConstants.java b/telephony/java/com/android/internal/telephony/RILConstants.java index 12541d8..8d48c86 100644 --- a/telephony/java/com/android/internal/telephony/RILConstants.java +++ b/telephony/java/com/android/internal/telephony/RILConstants.java @@ -323,6 +323,7 @@ cat include/telephony/ril.h | \ int RIL_REQUEST_START_LCE = 132; int RIL_REQUEST_STOP_LCE = 133; int RIL_REQUEST_PULL_LCEDATA = 134; + int RIL_REQUEST_GET_ACTIVITY_INFO = 135; int RIL_UNSOL_RESPONSE_BASE = 1000; int RIL_UNSOL_RESPONSE_RADIO_STATE_CHANGED = 1000; -- cgit v1.1