diff options
author | Wink Saville <wink@google.com> | 2014-09-03 20:42:37 -0700 |
---|---|---|
committer | Wink Saville <wink@google.com> | 2014-09-03 20:42:37 -0700 |
commit | 8fec2e4414abfbc4e4e20d719e80ba99dc9ceb60 (patch) | |
tree | fa247586bcdfc4a128747310f1ee22307c95f57a /telephony | |
parent | 366390ce9fdd72aab23d4e4120ebbb8b278a37ce (diff) | |
download | frameworks_base-8fec2e4414abfbc4e4e20d719e80ba99dc9ceb60.zip frameworks_base-8fec2e4414abfbc4e4e20d719e80ba99dc9ceb60.tar.gz frameworks_base-8fec2e4414abfbc4e4e20d719e80ba99dc9ceb60.tar.bz2 |
Cleanup ISub.aidl
Fix copyright and remove @param context
Change-Id: Icf0a7899070f03161db54aac4a83f6dd060bc28d
Diffstat (limited to 'telephony')
-rwxr-xr-x | telephony/java/com/android/internal/telephony/ISub.aidl | 42 |
1 files changed, 14 insertions, 28 deletions
diff --git a/telephony/java/com/android/internal/telephony/ISub.aidl b/telephony/java/com/android/internal/telephony/ISub.aidl index e3b7d59..46d0660 100755 --- a/telephony/java/com/android/internal/telephony/ISub.aidl +++ b/telephony/java/com/android/internal/telephony/ISub.aidl @@ -1,18 +1,18 @@ /* -* Copyright (C) 2011-2014 MediaTek Inc. -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ + * Copyright (C) 2014 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.android.internal.telephony; @@ -22,7 +22,6 @@ import android.telephony.SubInfoRecord; interface ISub { /** * Get the SubInfoRecord according to an index - * @param context Context provided by caller * @param subId The unique SubInfoRecord index in database * @return SubInfoRecord, maybe null */ @@ -30,7 +29,6 @@ interface ISub { /** * Get the SubInfoRecord according to an IccId - * @param context Context provided by caller * @param iccId the IccId of SIM card * @return SubInfoRecord, maybe null */ @@ -38,7 +36,6 @@ interface ISub { /** * Get the SubInfoRecord according to slotId - * @param context Context provided by caller * @param slotId the slot which the SIM is inserted * @return SubInfoRecord, maybe null */ @@ -46,35 +43,30 @@ interface ISub { /** * Get all the SubInfoRecord(s) in subinfo database - * @param context Context provided by caller * @return Array list of all SubInfoRecords in database, include thsoe that were inserted before */ List<SubInfoRecord> getAllSubInfoList(); /** * Get the SubInfoRecord(s) of the currently inserted SIM(s) - * @param context Context provided by caller * @return Array list of currently inserted SubInfoRecord(s) */ List<SubInfoRecord> getActiveSubInfoList(); /** * Get the SUB count of all SUB(s) in subinfo database - * @param context Context provided by caller * @return all SIM count in database, include what was inserted before */ int getAllSubInfoCount(); /** * Get the count of active SUB(s) - * @param context Context provided by caller * @return active SIM count */ int getActiveSubInfoCount(); /** * Add a new SubInfoRecord to subinfo database if needed - * @param context Context provided by caller * @param iccId the IccId of the SIM card * @param slotId the slot which the SIM is inserted * @return the URL of the newly created row or the updated row @@ -83,7 +75,6 @@ interface ISub { /** * Set SIM color by simInfo index - * @param context Context provided by caller * @param color the color of the SIM * @param subId the unique SubInfoRecord index in database * @return the number of records updated @@ -92,7 +83,6 @@ interface ISub { /** * Set display name by simInfo index - * @param context Context provided by caller * @param displayName the display name of SIM card * @param subId the unique SubInfoRecord index in database * @return the number of records updated @@ -101,7 +91,6 @@ interface ISub { /** * Set display name by simInfo index with name source - * @param context Context provided by caller * @param displayName the display name of SIM card * @param subId the unique SubInfoRecord index in database * @param nameSource, 0: DEFAULT_SOURCE, 1: SIM_SOURCE, 2: USER_INPUT @@ -111,7 +100,6 @@ interface ISub { /** * Set phone number by subId - * @param context Context provided by caller * @param number the phone number of the SIM * @param subId the unique SubInfoRecord index in database * @return the number of records updated @@ -120,7 +108,6 @@ interface ISub { /** * Set number display format. 0: none, 1: the first four digits, 2: the last four digits - * @param context Context provided by caller * @param format the display format of phone number * @param subId the unique SubInfoRecord index in database * @return the number of records updated @@ -129,7 +116,6 @@ interface ISub { /** * Set data roaming by simInfo index - * @param context Context provided by caller * @param roaming 0:Don't allow data when roaming, 1:Allow data when roaming * @param subId the unique SubInfoRecord index in database * @return the number of records updated |