Commit Graph

3157 Commits

Author SHA1 Message Date
Makoto Onuki
82b66a4fda Merge "Add telephony commands about SMS apps" 2018-09-21 16:41:43 +00:00
Pengquan Meng
d242a09a15 Merge "Update network selection API" 2018-09-21 00:03:48 +00:00
Makoto Onuki
a042aaad9b 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
2018-09-20 17:01:15 -07:00
Pengquan Meng
f7dd82becc Update network selection API
Change the manual network selection api in TelephonyManager to support
the OperatorInfo.

Bug: 115401728
Test: manual test
Change-Id: I43dee55ce117873b699cb98c6eb6d41f5dee24ea
2018-09-20 13:47:47 -07:00
Nathan Harold
cbf34a2318 Merge "Add function to encode PLMNs" am: f681744863 am: 3e8650c5d1
am: b4df52a9c1

Change-Id: I871e0f517c9fa52a6d9f742c9c82bafb191e8c53
2018-09-18 14:22:03 -07:00
Nathan Harold
3e8650c5d1 Merge "Add function to encode PLMNs"
am: f681744863

Change-Id: I948db19cbc57f549b880d42200ea4164f4132490
2018-09-18 13:53:03 -07:00
Treehugger Robot
f681744863 Merge "Add function to encode PLMNs" 2018-09-18 18:58:03 +00:00
Jack Yu
28e9684705 Use locale language instead of harcoded langauge
Used the locale language instead of the hardcoded language since
ISO 639 is not a stable standard. Some language codes changed before.

This is part of the cell broadcast language filtering feature
added per U.S. FCC requirement.

Test: Manual
Bug: 110754638, 71497689, 110896497
Change-Id: I3cf42eb037cdbb40597c1053fedb36b478277fc9
2018-09-17 11:08:18 -07:00
Pengquan Meng
624ccc3331 Merge "Add New TelephonyManager APIs"
am: b65aca27af

Change-Id: I18c7c905f742e40331dca61efc9c314e6b08ad32
2018-09-12 19:32:41 -07:00
Jack Yu
78921f0925 Added new cell broadcast channels
Added new cell broadcast channels for public safety messages
and state/local test alert required by FCC of the United States.

Test: Build
Bug: 110754638, 71497689, 110896497
Change-Id: I05c57b66d85ea7f2b67d7fc421230442f5c7694f
2018-09-12 15:07:47 -07:00
Pengquan Meng
97c29e04fa Add New TelephonyManager APIs
Bug:111453847
Test: build test
Merged-In: I83a5f4149f92ce495cd066f7158e7ff37a66894f
Change-Id: I83a5f4149f92ce495cd066f7158e7ff37a66894f
2018-09-11 15:07:56 -07:00
Xiangyu/Malcolm Chen
e3d93a25d6 Merge "Add API to listen to opportunistic subscriptions change."
am: 26e686a973

Change-Id: I20ba8865169a857e73b4094ac170f63bf41a66a3
2018-09-11 13:11:24 -07:00
Malcolm Chen
27829e2d17 Add API to listen to opportunistic subscriptions change.
Add a new set of APIs so that caller can listen to
opportunistic subscriptions changes.

Bug: 92796390
Test: build
Change-Id: Iaa741141bf1bd04c4b1618d5bfeac733a0690ed8
Merged-In: Iaa741141bf1bd04c4b1618d5bfeac733a0690ed8
2018-09-10 15:36:08 -07:00
Pengquan Meng
1e1f0b3e10 Merge "Add New TelephonyManager APIs" 2018-09-08 06:23:16 +00:00
Xiangyu/Malcolm Chen
a1a74cb44d Merge "Add API to listen to opportunistic subscriptions change." 2018-09-07 20:17:17 +00:00
Pengquan Meng
2a949cdd1e Add New TelephonyManager APIs
Bug:111453847
Test: build test
Change-Id: I83a5f4149f92ce495cd066f7158e7ff37a66894f
2018-09-07 11:56:30 -07:00
Malcolm Chen
13f31af137 Add API to listen to opportunistic subscriptions change.
Add a new set of APIs so that caller can listen to
opportunistic subscriptions changes.

Bug: 92796390
Test: build
Change-Id: Iaa741141bf1bd04c4b1618d5bfeac733a0690ed8
2018-09-06 19:00:06 -07:00
Sooraj Sasindran
d71ccc543e Merge "Introduce AlternativeNetworkAccess APIs" 2018-09-06 20:32:01 +00:00
Sooraj Sasindran
165c9e90fb Introduce AlternativeNetworkAccess APIs
Introduce AlternativeNetworkAccess APIs

Bug: 113106744
Test: Verified using test app to make api calls
Change-Id: I7f470cd6028a12cc66a660d58720f803271d38eb
2018-09-06 10:32:56 -07:00
Mathew Inwood
44787b6aa7 Merge "Add @UnsupportedAppUsage annotations"
am: fa4ccace61

Change-Id: Ib61dbedb60054bdf6e21b236f6ad9804465d29c8
2018-08-30 02:47:31 -07:00
Mathew Inwood
fa4ccace61 Merge "Add @UnsupportedAppUsage annotations" 2018-08-30 07:55:39 +00:00
Pengquan Meng
93518497b1 Merge "Add new Telephony API for settings migration"
am: adbe45e0ca

Change-Id: Ie3b4c9529cc4279f0caf462efaca18d06689f629
2018-08-29 18:03:16 -07:00
Pengquan Meng
ad224b637e Add new Telephony API for settings migration
Bug:111453847
Test: build test
Change-Id: Ia4468664453e532e80b8834e53d386fabeb11c41
Merged-In: Ia4468664453e532e80b8834e53d386fabeb11c41
2018-08-29 22:19:15 +00:00
Mathew Inwood
c8344a1963 Merge "Add @UnsupportedAppUsage annotations" 2018-08-29 12:15:18 +00:00
Malcolm Chen
5f47241785 Merge "Add PhoneCapabilityChanged in phone state listener"
am: ec67984561

Change-Id: I7beaaea32a0dd27f8c7a8318914416886f21216e
2018-08-24 16:41:39 -07:00
Malcolm Chen
5ee5c14ecb Add PhoneCapabilityChanged in phone state listener
Add a new hidden event PhoneCapabilityChanged that can be
listned to know phone capability has changed.

Bug: 92796390
Test: build
Change-Id: I12ccde1a1c4257ac50c2cfa73d2d5b58dd7e1518
Merged-In: I12ccde1a1c4257ac50c2cfa73d2d5b58dd7e1518
2018-08-24 15:39:01 -07:00
Pengquan Meng
c46213a622 Add new Telephony API for settings migration
Bug:111453847
Test: build test
Change-Id: Ia4468664453e532e80b8834e53d386fabeb11c41
2018-08-24 11:35:26 -07:00
Mathew Inwood
b4936a336b Add @UnsupportedAppUsage annotations
For packages:
  com.android.internal.telephony

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: Ib9bb9c8ba23a3305c8b72600fa5fd3109b4f6ee1
Merged-In: Ia06d9a50c456201dc7ecb960ff1a1563617777a5
2018-08-23 11:47:41 +01:00
Mathew Inwood
71c65991cb Add @UnsupportedAppUsage annotations
For packages:
  com.android.internal.telephony

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: Ia06d9a50c456201dc7ecb960ff1a1563617777a5
2018-08-21 16:49:18 +01:00
Mathew Inwood
ea1e4131cc Merge "Code reformatting for upcoming automated code changes." am: fc38791616 am: b4a4f7e366
am: 8ee7922c16

Change-Id: Ie6ecb183acd0bd0271bc0e940b4b7fb66098f4af
2018-08-21 04:05:27 -07:00
Mathew Inwood
b4a4f7e366 Merge "Code reformatting for upcoming automated code changes."
am: fc38791616

Change-Id: I3e77fc382a76eee6bf95e9cdd7f2f7da20fbdb5a
2018-08-21 03:17:43 -07:00
Mathew Inwood
d0741c56fb Code reformatting for upcoming automated code changes.
Adding annotations to individual members cannot be easily done when there
are several enum values defined on a single line. Put each on a line of its
own.

See go/UnsupportedAppUsage for more context.

Bug: 110868826
Test: m
Change-Id: I807a416e234fa92001920b484bbf3eedbf305c41
2018-08-20 13:09:52 +01:00
Malcolm Chen
e1623652a4 Add PhoneCapabilityChanged in phone state listener
Add a new hidden event PhoneCapabilityChanged that can be
listned to know phone capability has changed.

Bug: 92796390
Test: build
Change-Id: I12ccde1a1c4257ac50c2cfa73d2d5b58dd7e1518
2018-08-17 16:04:34 -07:00
Malcolm Chen
edf51aebaf Merge "Add APIs in SubscriptionManager for opportunistic subscriptions"
am: c0a2488df6

Change-Id: Id826b13c39e594110f5813b632f1db4cec6baa4a
2018-08-16 17:35:07 -07:00
Malcolm Chen
0ac24ef349 Add APIs in SubscriptionManager for opportunistic subscriptions
Bug: 92796390
Test: unittest
Change-Id: Id6d9454872e4d12a395cc568f7e2361c5b8c9a33
Merged-In: Id6d9454872e4d12a395cc568f7e2361c5b8c9a33
2018-08-15 17:01:44 -07:00
Malcolm Chen
e6bb077804 Add APIs in SubscriptionManager for opportunistic subscriptions
Bug: 92796390
Test: unittest
Change-Id: Id6d9454872e4d12a395cc568f7e2361c5b8c9a33
2018-08-13 14:55:56 -07:00
Mathew Inwood
634676e2f9 Merge "Add @UnsupportedAppUsage annotations" am: f892a8ce9f
am: 7a10fd6a47

Change-Id: I9af4cf36f02d6da12aee1ed8a74b5fe2f2a83a65
2018-08-03 04:21:40 -07:00
Mathew Inwood
7a10fd6a47 Merge "Add @UnsupportedAppUsage annotations"
am: f892a8ce9f

Change-Id: I34b238c2105ea4f46c1cbdbc4b2e4375562398f1
2018-08-03 04:12:24 -07:00
Treehugger Robot
f892a8ce9f Merge "Add @UnsupportedAppUsage annotations" 2018-08-02 15:11:40 +00:00
Mathew Inwood
b0a60d33aa Merge "Add @UnsupportedAppUsage annotations" 2018-08-02 12:04:18 +00:00
Nathan Harold
2a21769d4e Merge "Pass SdkVersion to getNeighboringCellInfo" am: cec3f1fafb am: 8f4fdd4e78 am: 3193926e6a
am: 6493efa705

Change-Id: Iad2aeea8faf434ab41202bf82d30b3f88dc19690
2018-08-01 17:20:43 -07:00
Nathan Harold
3193926e6a Merge "Pass SdkVersion to getNeighboringCellInfo" am: cec3f1fafb
am: 8f4fdd4e78

Change-Id: I1397d457efe3c1758795aace2f05ed330a92e596
2018-08-01 16:13:48 -07:00
Nathan Harold
8f4fdd4e78 Merge "Pass SdkVersion to getNeighboringCellInfo"
am: cec3f1fafb

Change-Id: I46ede415a660852938506b9bd4eebff409da5929
2018-08-01 15:51:30 -07:00
Mathew Inwood
45321deeef Add @UnsupportedAppUsage annotations
For packages:
  com.android.ims.internal.uce.uceservice
  com.android.ims.internal.uce.presence
  com.android.ims.internal.uce.options
  com.android.ims.internal.uce.common
  com.android.ims.internal
  com.android.ims

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: I9e39973bf43a80f17038f7e239a94ef2209e6e2a
Merged-In: Ib1819d4d15e730c0f224b45fb72f3225b0dddf91
2018-08-01 14:07:13 +01:00
Mathew Inwood
e189996cd3 Add @UnsupportedAppUsage annotations
For packages:
  com.android.ims.internal.uce.uceservice
  com.android.ims.internal.uce.presence
  com.android.ims.internal.uce.options
  com.android.ims.internal.uce.common
  com.android.ims.internal
  com.android.ims

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: Ib1819d4d15e730c0f224b45fb72f3225b0dddf91
2018-08-01 14:00:32 +01:00
Malcolm Chen
9afe59bf1c Have proper permission check in getConfigForSubId
In CarrierConfigManager, add pass context in constructor, so that
when calling CarrierConfigLoader#getConfigForSubId, it can pass
callingPackage.

Bug: 73136824
Test: regression
Change-Id: I4bbff4ea30e2d5473c14d24d6833bf3ca3c595ec
Merged-In: I4bbff4ea30e2d5473c14d24d6833bf3ca3c595ec
2018-07-31 18:43:01 -07:00
Nathan Harold
3892d05850 Pass SdkVersion to getNeighboringCellInfo
Bug: 62490173
Test: tested manually with SL4A (P and P+ SDK)
Change-Id: I65bae72ab8379f996486e7f4326eddf1b305658a
2018-07-30 17:19:59 -07:00
Malcolm Chen
05ab439039 Have proper permission check in getConfigForSubId
In CarrierConfigManager, add pass context in constructor, so that
when calling CarrierConfigLoader#getConfigForSubId, it can pass
callingPackage.

Bug: 73136824
Test: regression
Change-Id: I4bbff4ea30e2d5473c14d24d6833bf3ca3c595ec
Merged-In: I4bbff4ea30e2d5473c14d24d6833bf3ca3c595ec
2018-07-30 17:08:27 -07:00
Malcolm Chen
6cc64f7244 Have proper permission check in getConfigForSubId
In CarrierConfigManager, add pass context in constructor, so that
when calling CarrierConfigLoader#getConfigForSubId, it can pass
callingPackage.

Bug: 73136824
Test: regression
Change-Id: I4bbff4ea30e2d5473c14d24d6833bf3ca3c595ec
Merged-In: I4bbff4ea30e2d5473c14d24d6833bf3ca3c595ec
2018-07-28 01:41:06 +00:00
Brad Ebinger
98d767052a Merge "Quick style fixup of ISmsImplBase" am: 6a5c1492d2 am: a36d57b722 am: 8873784d07
am: bc595fcfb1

Change-Id: I77d9b5f458de39741d84e7ec0582397d0159c458
2018-07-23 13:31:53 -07:00