Commit Graph

26 Commits

Author SHA1 Message Date
Jayachandran C
1fd2abcf1d resolve merge conflicts of c4555ee941 to pi-dev-plus-aosp
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I897faef1bc1a32a5cf11a048b3a9dd1c40a9bc24
2018-11-08 13:13:58 -08:00
sqian
8d391c8580 resolve merge conflicts of 61444e09ff to pi-dev-plus-aosp
Test: I solemnly swear I tested this conflict resolution.
Bug: 109809543
Change-Id: If49f6adecb3cae911ba758753679565f9f5d317b
Merged-In: I9f750a72edfc282c80f7547647bcddaf2da51d9b
2018-11-07 23:55:06 +00:00
sqian
1ed547ee3e Add telephony commands about SMS apps
See the other CL on the same topic for the details

Bug: 109809543
Test: See the other CL
Change-Id: I9f750a72edfc282c80f7547647bcddaf2da51d9b
Merged-In: I9f750a72edfc282c80f7547647bcddaf2da51d9b
2018-11-05 14:28:49 -08:00
Jayachandran C
14542a2d07 Move the intent to SMS namespace for database corruption detection
Test: Simulated and verified the new intend is used
Bug: 118658558
Bug: 115990430
Merged-in: I07a58d0fe1c34106b3da85d1dfd4576b40da4bd5
Change-Id: I07a58d0fe1c34106b3da85d1dfd4576b40da4bd5
2018-11-05 11:59:12 -08:00
Amit Mahajan
d9375df6ed Adding new intent ACTION_SMS_MMS_DB_CREATED.
am: 1b26e44ce0

Change-Id: I9d2431ba073d67e40bc2056f4dc88c399719aa66
2018-10-25 21:19:07 -07:00
Amit Mahajan
1b26e44ce0 Adding new intent ACTION_SMS_MMS_DB_CREATED.
Test: manual (verified from logcat that intent is broadcast)
Bug: 115990430
Merged-in: I660cf2d04a1b57a58c8cefd212e5f8d73b329890
Change-Id: I660cf2d04a1b57a58c8cefd212e5f8d73b329890
(cherry picked from commit 8c1c45a710)
2018-10-25 15:57:47 -07:00
Nathan Harold
f5cf9f24ed Merge "Move some members to the "Q blacklist"." 2018-10-23 21:53:51 +00:00
Mathew Inwood
45d2c252b1 Move some members to the "Q blacklist".
Based on some analysis, these fields/methods are likely false positives.
Set maxTargetSdk=P so that any apps using them are required to migrate off
them in future. See the bug for more details.

Exempted-From-Owner-Approval: Automatic changes to the codebase
affecting only @UnsupportedAppUsage annotations, themselves added
without requiring owners approval earlier.

Bug: 115609023
Test: m
Merged-In: I719b5c94e5b1f4fa562dd5d655953422958ad37e
Change-Id: I719b5c94e5b1f4fa562dd5d655953422958ad37e
(cherry picked from commit 8c854f86a4)
2018-10-22 17:28:24 -07:00
Chen Xu
fccdf46adf Merge changes from topic "carrier_id_aosp_cp"
* changes:
  support mno carrier id
  support privilege access rule for carrier identification
2018-10-22 16:36:25 +00:00
chen xu
6d4f5b2280 support mno carrier id
Bug: 110559381
Test: CarrierResolverTest.testMnoCarrierId
Change-Id: Ifa1f69fc98b5a7034f28fb5690981087cd6c135a
Merged-in: Ifa1f69fc98b5a7034f28fb5690981087cd6c135a
2018-10-20 22:25:10 -07:00
fionaxu
e9c6da7b12 support privilege access rule for carrier identification
Bug: 69807697
Bug: 72665237
Test: Manual
Change-Id: I5e00302684b2be93ee956d43b04ca9a12d043158
Merged-in: I5e00302684b2be93ee956d43b04ca9a12d043158
2018-10-20 22:22:18 -07:00
chen xu
851004813a expose some Telephony.Carriers cols system APIs
Bug: 117473154
Test: Telephony unit test

Change-Id: I8e6b873842f42b8cb3244a14b6e6c5d9c1ae5318
2018-10-17 13:30:57 -07:00
chen xu
0281169e6d refactor data/voice roaming states
1. migrate set/get roamingType from ServiceState to
NetworkRegState.set/get roamingType
2. migrate set/get roamingStateFromRegstate from ServiceState
to NetworkRegState.regState
3. new System API for neworkRegistration.isRoaming().

Bug: 116127096
Test: ServiceStateTest, ServiceStateProviderTest

Change-Id: Ib89744089c98713819c8d313240d629ddb77d0bf
2018-10-11 15:10:32 -07:00
Cassie
6d0a571dea Move SECRET_CODE_ACTION from Telephony.Sms.Intents to TelephonyManager.
Bug: 112440728
Test: Telephony
Change-Id: If030a6b519b6a8b8b92c570e77a458fd23cdbb68
2018-08-24 13:58:25 -07:00
Mathew Inwood
ba503117f4 Add @UnsupportedAppUsage annotations
For packages:
  android.providers.settings
  android.provider

This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.

Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@

Bug: 110868826
Test: m
Change-Id: I993adf36dc31a5e224e88217c9e8dc140b6ba880
Merged-In: I3865ac184fcb6f52c6bfab9729611b065b27722e
2018-08-10 09:37:35 +01:00
Jordan Liu
4061715168 Add Carriers.APN_SET_ID and NO_SET_SET
Add them as hidden for now.

Bug: 70172263
Test: TelephonyProviderTest#testApnSetId
Change-Id: Id16dd5631d327f403a7347b72ecfb27a5e298541
2018-04-27 10:40:36 -07:00
Jack Yu
2661fac133 Renamed getNetworkId and getSystemId
1. Renamed getNetworkId() to getCdmaNetworkId()
2. Renamed getSystemId() to getCdmaSystemId()

Test: Build
Bug: 74976831
Change-Id: I2a5fb50a59c3239bd3dca5568991a9dff08839fc
2018-03-15 16:39:19 -07:00
fionaxu
c8d483e488 Carrier id api rename
Rename getAndroidCarrierIdForSubscription to getSimCarrierId.
Drop prefix "Android" as Android is implicit everywhere.

Rename carrierName to CarrierIdName to imply correlation between
these two APIs. This also helps to differentiate from another API
getSimOperatorName.

Bug: 71584605
Test: build
Change-Id: Iba4b1c21522741b8c11836a4c39004064736b4c6
2018-03-08 15:43:28 -08:00
fionaxu
62bc747275 API review: rename CarrierIdentification to Carrier id
Bug: 73953797
Test: unit test
Change-Id: Id89c9100e8963a3cb890ebec347e4aabcd5fd4b8
(cherry picked from commit 4281d0ff57)
Merged-in: Id89c9100e8963a3cb890ebec347e4aabcd5fd4b8
2018-03-05 15:50:34 -08:00
Cassie
69f99c8e1f Merge "Add documentation for SECRET_CODE_ACTION according to API review process." am: e6691d8e89 am: f29d208045
am: 9f373ee378

Change-Id: I9dcb76126e9cb06a7967f3f003b78fe605b69167
2018-02-28 04:47:16 +00:00
Cassie
b5d3d67077 Merge "Add comments according to the API review process." am: e9a215b238 am: b3b458b9ad
am: b1b06cbaf5

Change-Id: Ic90fe7f73ae2442e5bd3c8e7f69e70c1b5332ff6
2018-02-23 07:07:18 +00:00
fionaxu
3d00d698d7 add a current table in CarrierIdProvider
restructure CarrierIdProvider into two tables
1. All - a private table which stores a complete mapping of all carriers
2. Current - a public table only stores the carrier identification of the
current active subs. require no permission to query.
expose the content url to public so that apps could be
notified on carrier identity change either on background or foreground.

Bug: 72571475
Test: runtest --path CarrierIdProviderTest.java
Test: Manual
Change-Id: If2a20288e63d25343f5bb582b35564d769a4e13b
2018-02-05 14:47:31 -08:00
Cassie Han
a600b31201 Merge "Move android.provider.Telephony.SECRET_CODE to Telephony.Intents." am: eb9452a08d am: 8e3dcbb5d3
am: b828fa2bfc

Change-Id: I086a958cab93dcbc47103e5d0c7d91dba5aab412
2018-01-24 09:37:29 +00:00
yuemingw
9549cc7040 Merge "Add URL_DPC, URL_FILTERED and URL_ENFORCE_MANAGED as constants." am: b760295764 am: 10f60a740f
am: 0315d12976

Change-Id: I0510b82c525d3dd6b577ece470ba3e82e6b7568e
2018-01-17 23:14:19 +00:00
Cassie Han
b76d28fee3 Merge "Expose a new public column network_type_bitmask and deprecate bearer_bitmask gradually." am: 72acefa6d8 am: b51df90f28
am: 23274614da

Change-Id: Id1b1667359a45259aea7d32cf7426f843ba0f33f
2018-01-10 01:33:29 +00:00
Jake Wharton
695c53ee09 Correct Telephony source directory to match package.
Test: none
Bug: 71549250
Change-Id: I3e4c1d67240d83712f96d076d650af464a9c8277
2018-01-04 10:16:31 -05:00