summaryrefslogtreecommitdiff
path: root/telephony/java/com
diff options
context:
space:
mode:
authorsqian <shuoq@google.com>2020-03-10 22:13:46 +0000
committersqian <shuoq@google.com>2020-03-10 22:13:46 +0000
commita1c74497cd4565be16c17d8ee3e15548f401991b (patch)
tree38a99060567e5172adb7d83e3af4d835da2cbbe3 /telephony/java/com
parent365caf6f0460744369fd9394a5642d58e4980d72 (diff)
API Council Feedback - Override EmergencyNumberDB File API
Use ParcelFileDescriptor; Introduce Reset API Test: atest TelephonyHostTest#testEmergencyNumberDb Bug: 147805285 Change-Id: I7a7733c02874c0f17fef8c91b9e543c8e803f504 Merged-In: I7a7733c02874c0f17fef8c91b9e543c8e803f504 (cherry picked from commit 75c49ab3345c47d18cebc8a1b932d1ef3829f37d)
Diffstat (limited to 'telephony/java/com')
-rw-r--r--telephony/java/com/android/internal/telephony/ITelephony.aidl10
1 files changed, 8 insertions, 2 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl
index eb669a6eeaa2..c43f5e98ec55 100644
--- a/telephony/java/com/android/internal/telephony/ITelephony.aidl
+++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl
@@ -22,6 +22,7 @@ import android.content.IntentSender;
import android.os.Bundle;
import android.os.IBinder;
import android.os.Messenger;
+import android.os.ParcelFileDescriptor;
import android.os.ResultReceiver;
import android.os.WorkSource;
import android.net.NetworkStats;
@@ -2129,9 +2130,14 @@ interface ITelephony {
void notifyOtaEmergencyNumberDbInstalled();
/**
- * Override the file partition name for testing OTA emergency number database.
+ * Override a customized file partition name for OTA emergency number database.
*/
- void updateTestOtaEmergencyNumberDbFilePath(String otaFilePath);
+ void updateOtaEmergencyNumberDbFilePath(in ParcelFileDescriptor otaParcelFileDescriptor);
+
+ /**
+ * Reset file partition to default for OTA emergency number database.
+ */
+ void resetOtaEmergencyNumberDbFilePath();
/**
* Enable or disable a logical modem stack associated with the slotIndex.