summaryrefslogtreecommitdiffstats
path: root/telephony/java
diff options
context:
space:
mode:
Diffstat (limited to 'telephony/java')
-rw-r--r--telephony/java/android/telephony/PhoneNumberUtils.java1
-rw-r--r--[-rwxr-xr-x]telephony/java/android/telephony/TelephonyManager.java9
-rw-r--r--telephony/java/com/android/internal/telephony/CallerInfo.java4
3 files changed, 14 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/PhoneNumberUtils.java b/telephony/java/android/telephony/PhoneNumberUtils.java
index c73b42c..c92fd90 100644
--- a/telephony/java/android/telephony/PhoneNumberUtils.java
+++ b/telephony/java/android/telephony/PhoneNumberUtils.java
@@ -150,6 +150,7 @@ public class PhoneNumberUtils
* <code>null</code> if the number cannot be found.
*/
public static String getNumberFromIntent(Intent intent, Context context) {
+ android.util.SeempLog.record(12);
String number = null;
Uri uri = intent.getData();
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java
index 1afb1cb..ecfff3e 100755..100644
--- a/telephony/java/android/telephony/TelephonyManager.java
+++ b/telephony/java/android/telephony/TelephonyManager.java
@@ -699,6 +699,7 @@ public class TelephonyManager {
* {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE}
*/
public String getDeviceId() {
+ android.util.SeempLog.record(9);
try {
ITelephony telephony = getITelephony();
if (telephony == null)
@@ -721,6 +722,7 @@ public class TelephonyManager {
* @param slotId of which deviceID is returned
*/
public String getDeviceId(int slotId) {
+ android.util.SeempLog.record(9);
// FIXME this assumes phoneId == slotId
try {
IPhoneSubInfo info = getSubscriberInfo();
@@ -817,6 +819,7 @@ public class TelephonyManager {
* {@link android.Manifest.permission#ACCESS_COARSE_LOCATION ACCESS_FINE_LOCATION}.
*/
public CellLocation getCellLocation() {
+ android.util.SeempLog.record(66);
try {
ITelephony telephony = getITelephony();
if (telephony == null) {
@@ -914,6 +917,7 @@ public class TelephonyManager {
*/
@Deprecated
public List<NeighboringCellInfo> getNeighboringCellInfo() {
+ android.util.SeempLog.record(67);
try {
ITelephony telephony = getITelephony();
if (telephony == null)
@@ -1910,6 +1914,7 @@ public class TelephonyManager {
* {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE}
*/
public String getSimSerialNumber() {
+ android.util.SeempLog.record(10);
return getSimSerialNumber(getDefaultSubscription());
}
@@ -1923,6 +1928,7 @@ public class TelephonyManager {
*/
/** {@hide} */
public String getSimSerialNumber(int subId) {
+ android.util.SeempLog.record(10);
try {
IPhoneSubInfo info = getSubscriberInfo();
if (info == null)
@@ -1997,6 +2003,7 @@ public class TelephonyManager {
* {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE}
*/
public String getSubscriberId() {
+ android.util.SeempLog.record(114);
return getSubscriberId(getDefaultSubscription());
}
@@ -2012,6 +2019,7 @@ public class TelephonyManager {
*/
/** {@hide} */
public String getSubscriberId(int subId) {
+ android.util.SeempLog.record(114);
try {
IPhoneSubInfo info = getSubscriberInfo();
if (info == null)
@@ -2082,6 +2090,7 @@ public class TelephonyManager {
* The default SMS app can also use this.
*/
public String getLine1Number() {
+ android.util.SeempLog.record(11);
return getLine1NumberForSubscriber(getDefaultSubscription());
}
diff --git a/telephony/java/com/android/internal/telephony/CallerInfo.java b/telephony/java/com/android/internal/telephony/CallerInfo.java
index be7e702..4e4ce5a 100644
--- a/telephony/java/com/android/internal/telephony/CallerInfo.java
+++ b/telephony/java/com/android/internal/telephony/CallerInfo.java
@@ -165,6 +165,7 @@ public class CallerInfo {
* number. The returned CallerInfo is null if no number is supplied.
*/
public static CallerInfo getCallerInfo(Context context, Uri contactRef, Cursor cursor) {
+ android.util.SeempLog.record(15);
CallerInfo info = new CallerInfo();
info.photoResource = 0;
info.phoneLabel = null;
@@ -283,6 +284,7 @@ public class CallerInfo {
* number. The returned CallerInfo is null if no number is supplied.
*/
public static CallerInfo getCallerInfo(Context context, Uri contactRef) {
+ android.util.SeempLog.record(15);
CallerInfo info = null;
ContentResolver cr = CallerInfoAsyncQuery.getCurrentProfileContentResolver(context);
if (cr != null) {
@@ -307,6 +309,7 @@ public class CallerInfo {
* with all relevant fields empty or null.
*/
public static CallerInfo getCallerInfo(Context context, String number) {
+ android.util.SeempLog.record(15);
if (VDBG) Rlog.v(TAG, "getCallerInfo() based on number...");
int subId = SubscriptionManager.getDefaultSubId();
@@ -325,6 +328,7 @@ public class CallerInfo {
* with all relevant fields empty or null.
*/
public static CallerInfo getCallerInfo(Context context, String number, int subId) {
+ android.util.SeempLog.record(15);
if (TextUtils.isEmpty(number)) {
return null;