OSDN Git Service
Remi NGUYEN VAN [Wed, 13 Mar 2019 18:33:46 +0000 (03:33 +0900)]
Add Parcelable implementation for ApfCapabilities
This is necessary to allow usage of ApfCapabilities as-is in AIDL,
instead of relying on ApfCapabilitiesParcelable, assuming that stable
AIDL starts allowing usage of @SystemApi classes. The Parcelable
implementation would be convenient for clients in any case.
Bug:
126477266
Test: atest FrameworksNetTests
Change-Id: Id2ef3cad261832a2918ccb6bb6bc154d99d75746
Treehugger Robot [Thu, 14 Mar 2019 10:13:32 +0000 (10:13 +0000)]
Merge "Add a whitelist to control packages that can use Bugreporting API"
Chen Xu [Thu, 14 Mar 2019 00:47:07 +0000 (00:47 +0000)]
Merge "fix the issue that setPreferredNW send wrong RAT to HAL"
Treehugger Robot [Wed, 13 Mar 2019 21:45:28 +0000 (21:45 +0000)]
Merge "Add me to owners for batterystats."
Treehugger Robot [Wed, 13 Mar 2019 21:18:57 +0000 (21:18 +0000)]
Merge "Should return the number of supported SIM cards"
Hall Liu [Wed, 13 Mar 2019 21:18:53 +0000 (21:18 +0000)]
Merge "Fix issues associated with hold failure"
Steven Moreland [Wed, 13 Mar 2019 20:52:37 +0000 (20:52 +0000)]
Merge "Use jarjar rules for framework.jar."
chen xu [Wed, 13 Mar 2019 20:26:39 +0000 (13:26 -0700)]
fix the issue that setPreferredNW send wrong RAT to HAL
Bug:
126805258
Test: Manual test to set LTE only mode
Change-Id: I2e88d3bc22ca8d1e626bf381840cc80f832a8b3f
Joe Onorato [Wed, 13 Mar 2019 19:11:05 +0000 (12:11 -0700)]
Add me to owners for batterystats.
I do solemnly swear that other powers I get incidentally will be
used carefully.
Test: none
Bug:
123732427
Change-Id: I672f5f10b32646b8beb3e9692ed131019c391593
Treehugger Robot [Wed, 13 Mar 2019 18:52:35 +0000 (18:52 +0000)]
Merge "DO NOT MERGE Let isLocationEnabledForUser() return true location setting"
Treehugger Robot [Wed, 13 Mar 2019 18:01:46 +0000 (18:01 +0000)]
Merge "Add alanstokes as owner of DynamicCodeLoggingService."
Leland Miller [Wed, 13 Mar 2019 17:23:12 +0000 (17:23 +0000)]
Merge "Annotate Parcelable CREATOR fields as @NonNull"
Nikita Ioffe [Thu, 28 Feb 2019 21:35:02 +0000 (21:35 +0000)]
Add a whitelist to control packages that can use Bugreporting API
Test: checked SecurityException is thrown for my custom app
Test: whiltelisted my custom app, checked no SecurityException is thrown
Bug:
126541701
Change-Id: Id0b61ccc1adf40bcb455d3b59b640f4b160bdd84
Merged-In: Id0b61ccc1adf40bcb455d3b59b640f4b160bdd84
(cherry picked from commit
07964b49ac81b9955d9ecf5cf60c0bb1fc32c501)
Steven Moreland [Wed, 13 Mar 2019 16:51:30 +0000 (16:51 +0000)]
Merge changes from topic "hidl-updater-system"
* changes:
pm: AndroidHidlUpdater: system only
pm: PackageBackwardCompatibility -> applyPolicy
Treehugger Robot [Wed, 13 Mar 2019 16:09:00 +0000 (16:09 +0000)]
Merge "Add Nullable annotation to getDecorView"
Tyler Gunn [Wed, 13 Mar 2019 15:07:06 +0000 (15:07 +0000)]
Merge "Remove support for event-based handovers."
Treehugger Robot [Wed, 13 Mar 2019 14:07:43 +0000 (14:07 +0000)]
Merge "Clean up bugreport API."
Neil Fuller [Wed, 13 Mar 2019 13:26:02 +0000 (13:26 +0000)]
Merge "Improve documentation around HostnameVerifier"
Alan Stokes [Tue, 12 Mar 2019 12:51:13 +0000 (12:51 +0000)]
Add alanstokes as owner of DynamicCodeLoggingService.
As suggested by agampe on I69f415929785845ede8f2d1341f4b70f97b4f480.
Test: None.
Change-Id: Ibaac6f5d96ad9b9a343ba8940345bc7d0c8126d9
Alan Stokes [Wed, 13 Mar 2019 12:33:03 +0000 (12:33 +0000)]
Merge "Refactor OWNERS file."
Abhijeet Kaur [Fri, 8 Mar 2019 11:00:29 +0000 (11:00 +0000)]
Clean up bugreport API.
Make BugreportManager class final.
Add FloatRange annotation for BugreportManager.onProgress() function's
parameter.
Make @IntDef in BugreportMode hidden.
Bug:
126434607
Test: builds
Change-Id: I95f004106ba97bc9e99859a8b23b96a86b6a43f4
Merged-In: I95f004106ba97bc9e99859a8b23b96a86b6a43f4
Iris Chang [Wed, 13 Mar 2019 07:40:43 +0000 (15:40 +0800)]
Should return the number of supported SIM cards
When multiple SIM is enabled, getSimCount() in TelephonyManager.java
just returns 2 and it is not consistent with getPhoneCount(). For
devices which support more than 2 SIMs, it will cause
ArrayIndexOutOfBoundsException in the getInstance() function of CatService.java
when thress SIMs are present. To fix this issue, we need to return
the phone count in getSimCount() to synchronize both APIs.
Bug:
126292874
Test: check if JE is fixed on a device which supports 3 SIMs
Change-Id: I227f7d05349c1d0cf4c8bfa46c4e3b5f9bd42be9
Treehugger Robot [Wed, 13 Mar 2019 07:36:51 +0000 (07:36 +0000)]
Merge "continue read file when returned count > 0"
Chiachang Wang [Wed, 13 Mar 2019 06:49:03 +0000 (06:49 +0000)]
Merge "Support partial connectivity probe result option"
Mathieu Chartier [Wed, 13 Mar 2019 05:02:58 +0000 (05:02 +0000)]
Merge "Call notifyStartupCompleted from reportFullyDrawn"
Mathieu Chartier [Thu, 7 Mar 2019 17:05:44 +0000 (09:05 -0800)]
Call notifyStartupCompleted from reportFullyDrawn
ART will now know when startup is startup is finished.
Test: manual
Bug:
120671223
Bug:
123377072
(cherry-picked from commit
63e14c10b3f7b2c9709b98cb9f128a2a817d4968)
Merged-In: I1134f66792bddc9ab33606fa4c2807b3918d5261
Change-Id: I1134f66792bddc9ab33606fa4c2807b3918d5261
Treehugger Robot [Wed, 13 Mar 2019 04:48:24 +0000 (04:48 +0000)]
Merge "Rename entitlement callback to adhere to API guidelines."
Xiangyu/Malcolm Chen [Wed, 13 Mar 2019 04:14:14 +0000 (04:14 +0000)]
Merge "Only return one mobile subscription per group in Settings."
Malcolm Chen [Wed, 27 Feb 2019 00:48:40 +0000 (16:48 -0800)]
Only return one mobile subscription per group in Settings.
Right now getSelectableSubscriptionInfoList returns all subscriptions
that are visible and available. But we should only show one per
subscription group. So updating getSelectableSubscriptionInfoList
to make sure of it.
Bug:
126438122
Test: manual - group Fi primary subscriptions and make sure only
one Fi subscription is shown in Settings UI.
Change-Id: I867296b4f8efbdf2e9885ef34dd45806fa0abbca
Merged-In: I867296b4f8efbdf2e9885ef34dd45806fa0abbca
Treehugger Robot [Wed, 13 Mar 2019 02:28:32 +0000 (02:28 +0000)]
Merge "Add @NonNull annotations to LE CoC APIs"
Stanley Tng [Tue, 12 Mar 2019 17:19:49 +0000 (10:19 -0700)]
Add @NonNull annotations to LE CoC APIs
Added NonNull annotations to the 4 LE Connection-oriented channel API in
BluetoothDevice and BluetoothAdapter.
Bug:
126701988
Bug:
126701989
Test: Compile only
Change-Id: I2d4dc8fbd06e30c782123e01f8481d249e40ee02
Xin Li [Wed, 13 Mar 2019 02:26:04 +0000 (02:26 +0000)]
Merge "DO NOT MERGE - Merge PPRL.190305.001 into master"
Chalard Jean [Wed, 13 Mar 2019 02:07:29 +0000 (02:07 +0000)]
Merge "Tell the factory it is already serving a request."
Ian Kasprzak [Wed, 13 Mar 2019 01:52:21 +0000 (01:52 +0000)]
Merge "Temporarily disable flaky test."
Treehugger Robot [Wed, 13 Mar 2019 01:30:58 +0000 (01:30 +0000)]
Merge "Schematize Crypto state system property"
Xiao Ma [Wed, 13 Mar 2019 01:13:08 +0000 (01:13 +0000)]
Merge "[KA13]: add unit test for exposed TCP socket keepalive API."
Josh Hou [Wed, 13 Mar 2019 00:58:21 +0000 (00:58 +0000)]
Merge "add NonNull annotation to API"
Lorenzo Colitti [Wed, 13 Mar 2019 00:23:50 +0000 (09:23 +0900)]
Temporarily disable flaky test.
Test: None
Bug:
128426024
Change-Id: Id88bf452f41f512703d5831e357d9ba72dc5b911
Xiangyu/Malcolm Chen [Tue, 12 Mar 2019 22:59:00 +0000 (22:59 +0000)]
Merge "Don't return hidden subscription in getActiveSubIdList"
Xiangyu/Malcolm Chen [Tue, 12 Mar 2019 22:40:39 +0000 (22:40 +0000)]
Merge "Don't return hidden subscription in getActiveSubscriptionInfoList."
Treehugger Robot [Tue, 12 Mar 2019 22:34:26 +0000 (22:34 +0000)]
Merge "Revert^3 "Delay start of bootanimation until after the Runtime APEX is mounted.""
Jiyong Park [Thu, 28 Feb 2019 03:21:16 +0000 (12:21 +0900)]
Revert^3 "Delay start of bootanimation until after the Runtime APEX is mounted."
This reverts commit
a6bb8916b057bb619aab2aae5cb07e190e97c79d.
Bootanim doesn't need to be delayed because the APEXes from the system partition are now
activated very early in the boot sequence (far before bootanim is started).
See https://android-review.googlesource.com/q/topic:%22apex_earlymount_base%22+(status:open%20OR%20status:merged)
Bug:
125549215
Test: bootanim is started without being delayed
Change-Id: I367b1a5c6bf08dad770cd2bf7f6d67dbf1a813e6
Nathan Harold [Tue, 12 Mar 2019 22:25:46 +0000 (22:25 +0000)]
Merge "[API Feedback] Rename DebugEventReporter"
Soonil Nagarkar [Tue, 5 Mar 2019 01:17:22 +0000 (17:17 -0800)]
DO NOT MERGE Let isLocationEnabledForUser() return true location setting
* In API 28, LocationManager#isLocationEnabled() and
LocationManager#isLocationEnabledForUser(UserHandle) always
return false when a device has neither LocationManager#GPS_PROVIDER
nor LocationManager#NETWORK_PROVIDER.
* Instead of letting setLocationEnabled() and isLocationEnabled()
depend on whether device has GPS or NETWORK location provider, this
CL changes these two APIs to directly use LOCATION_MODE setting to
store the location enable state
* Hence when LOCATION_PROVIDERS_ALLOWED contains a provider, the provider
may be used, but it is not guaranteed to exist
* Settings.java has two workarounds that actually convert:
- putInt(LOCATION_MODE, LOCATION_MODE_HIGH_ACCURACY)
=> putString(LOCATION_PROVIDERS_ALLOWED, "+gps");
=> putString(LOCATION_PROVIDERS_ALLOWED, "+network");
- getInt(LOCATION_MODE, LOCATION_MODE_HIGH_ACCURACY)
=> getString(LOCATION_PROVIDERS_ALLOWED):
- "gps,network" - LOCATION_MODE_HIGH_ACCURACY
- "gps" - LOCATION_MODE_SENSORS_ONLY
- "network" - LOCATION_MODE_BATTERY_SAVING
- others - LOCATION_MODE_OFF
* Hence this is NOT a new behavior
Bug:
121040693
Bug:
118242060
Bug:
127359153
Test: CTS tests,
android.bluetooth.cts.BluetoothLeScanTest#testBasicBleScan,
android.bluetooth.cts.BluetoothLeScanTest#testScanFilter,
android.location.cts.LocationManagerTest,
android.location2.cts.LocationManagerTest
Change-Id: I7972d8f97f4ca82c58c29641a081ef73fdcb106c
Steven Moreland [Wed, 6 Mar 2019 17:39:27 +0000 (09:39 -0800)]
pm: AndroidHidlUpdater: system only
Backwards compatibility takes a slight performance hit. Only apply this
rule to outdated system apps as they are the only ones that use these
libraries.
Bug:
86259915
Test: boot Pixel 2
Test: boot Pixel 3 and systrace app startup
Test: atest android.content.pm.AndroidHidlUpdaterTest
Change-Id: I2d2e2ca79266a92ba0e4efcf25e31d15daee87a1
Steven Moreland [Wed, 6 Mar 2019 17:20:37 +0000 (09:20 -0800)]
pm: PackageBackwardCompatibility -> applyPolicy
This moves PackageBackwardCompatibility from parsePackage to
applyPolicy.
The motivation of this is to expose partition information to these
files. Specifically, to expose whether the app is a pre-installed
(or updated pre-installed app) for certain backwards compatibility
rules that should only apply to these cases.
Bug:
86259915
Test: boot Pixel 2
Test: Pixel 3: atest -p cts/tests/signature
- all passed except for CtsSystemApiAnnotationTestCases test which
failed (known issue b/
124210145)
Change-Id: Ic824f06489781233dc98bf3dc0182681d32f7142
Malcolm Chen [Wed, 20 Feb 2019 03:00:26 +0000 (19:00 -0800)]
Don't return hidden subscription in getActiveSubIdList
Now getActiveSubscriptionInfoList will not return hidden
subscriptions. And getActiveSubIdList should be consistent
with it. In the mean time, internal SubscriptionController
API should have a way to specify if caller wants hidden
subscriptions or not.
Bug:
124690005
Test: manual
Change-Id: I46ccae88167c2988d71a6e07da2937bf9644a1f0
Merged-In: I46ccae88167c2988d71a6e07da2937bf9644a1f0
Hans Boehm [Tue, 12 Mar 2019 21:07:03 +0000 (21:07 +0000)]
Merge "Correct registerNativeAllocation type"
Hall Liu [Tue, 12 Mar 2019 20:49:21 +0000 (20:49 +0000)]
Merge "Change summary text of Wi-Fi calling"
Tyler Gunn [Wed, 13 Feb 2019 21:51:18 +0000 (13:51 -0800)]
Remove support for event-based handovers.
Public APIs have been available for 2 releases; removing support
for the EXTRA/EVENT-based handovers.
Test: Manual
Bug:
110846969
Change-Id: I4747a509a9fd4d41c161febb78fbb7e4e11699f2
Malcolm Chen [Wed, 13 Feb 2019 01:29:59 +0000 (17:29 -0800)]
Don't return hidden subscription in getActiveSubscriptionInfoList.
Bug:
121396526
Test: manual
Change-Id: I3a9f3a9a2628a8e2ad1c401f6fe5e4c5866a0047
Merged-In: I3a9f3a9a2628a8e2ad1c401f6fe5e4c5866a0047
Jeremy Klein [Tue, 12 Mar 2019 20:32:08 +0000 (13:32 -0700)]
Rename entitlement callback to adhere to API guidelines.
The method for OnTetheringEntitlementResultListener needs to be
onTetheringEntitlementResult in order to meet our API guidelines:
"Use Listener when there is a single callback method and there will
never be any others. It should be an interface whose name is the same
as the callback method plus Listener."
Bug:
126392011
Change-Id: I9a883765541ae853c4eb3bd52c9d93a7af16e661
Test: Manual build
Jordan Liu [Tue, 12 Mar 2019 19:57:35 +0000 (19:57 +0000)]
Merge "Add carrier's option to cancel CS reject cause notification"
Seongho Kim [Tue, 13 Nov 2018 06:08:34 +0000 (15:08 +0900)]
Add carrier's option to cancel CS reject cause notification
Some carrier still want to cancel CS reject notification automatically
when it gets service. So, we need a way to set carrier's option for it.
Bug:
79889307
Test: Manual
Change-Id: If4c696e8116094d0cb555fe87c92243af1f34cec
Merged-In: If4c696e8116094d0cb555fe87c92243af1f34cec
Leland Miller [Sat, 9 Mar 2019 00:55:45 +0000 (16:55 -0800)]
Annotate Parcelable CREATOR fields as @NonNull
Bug:
126726802
Test: Builds and existing tests pass
Change-Id: I243073dc559e93fa6302d6b69468088ca5960ab5
Neil Fuller [Fri, 8 Mar 2019 17:08:19 +0000 (17:08 +0000)]
Improve documentation around HostnameVerifier
Explain usage of HostnameVerifier / HttpsURLConnection.
Bug:
126851476
Test: make docs / visual inspection
Merged-In: I6bc86f8e7efc47521316d41e07ef546ea995061c
Change-Id: I6bc86f8e7efc47521316d41e07ef546ea995061c
(cherry picked from commit
9f5e6f22bdc086ee0396f01556e3367c621737c0)
Chalard Jean [Wed, 2 May 2018 12:14:54 +0000 (21:14 +0900)]
Tell the factory it is already serving a request.
This is a cherry-pick of ag/607226 that has been rebased on
top of four years of changes and with comments addressed.
Gives each factory a serial number and propagates it to every
NetworkAgent so when a score comes back indicating a request is
being handled the factory can account for it properly.
Without this, a new request that's already handled by a network
offered by a factory will not cause an increment of the factorys
ref count. Concretely this results in issues like the RAT icon
not being displayed in spite of the network actually being up
and usable.
This will be ported to AOSP as soon as possible, but immediately
some master-only WiFi tests need to be adjusted with this change
which would not let me submit to AOSP.
Bug:
18637384
Bug:
29030667
Test: manual
Test: atest frameworks/opt/telephony/tests/telephonytests
Test: atest frameworks-net
Test: atest CtsNetTestCases CtsHostsideNetworkTests
Change-Id: I597ac588f76dd507512ff02868fd1310b7e63f7e
Merged-In: I597ac588f76dd507512ff02868fd1310b7e63f7e
Alan Stokes [Tue, 12 Mar 2019 12:47:08 +0000 (12:47 +0000)]
Refactor OWNERS file.
This makes it easier to read the per-file exeptions and to make
further changes.
Specifically:
- Collapse multiple lines so we only have one per-file line per file.
- Remove per-file owners who are already global owners of all files here.
See https://gerrit.googlesource.com/plugins/find-owners/+/master/src/main/resources/Documentation/syntax.md.
This reverts many of the changes in
b662614ca624c3d79827470fafb522b0d9b7f48f but I believe does not
actually change the effect of it at all.
Test: None.
Change-Id: I1bef6e806c17344c57377a8ab28109fa40e9ecf2
Chalard Jean [Tue, 12 Mar 2019 12:04:46 +0000 (12:04 +0000)]
Merge "[CS] Support "instant failure" from factories"
Chiachang Wang [Tue, 12 Mar 2019 10:28:24 +0000 (18:28 +0800)]
Support partial connectivity probe result option
Bug:
124629963
Test: atest NetworkStackTests
Change-Id: I1c22bad6ba94d23892e8907d6e7b28d074922339
Kiyoung Kim [Tue, 12 Mar 2019 08:48:46 +0000 (08:48 +0000)]
Merge "Add product apk support from libnativeloader"
Xiao Ma [Thu, 7 Feb 2019 06:03:57 +0000 (15:03 +0900)]
[KA13]: add unit test for exposed TCP socket keepalive API.
Bug:
123987272
Test: atest FrameworksNetTests
Change-Id: I543d8f00ae539b706592a149981e3e8992999284
Lucas Lin [Tue, 12 Mar 2019 08:11:14 +0000 (08:11 +0000)]
Merge "Check if network has partial connectivity"
lucaslin [Tue, 12 Mar 2019 05:08:03 +0000 (13:08 +0800)]
Check if network has partial connectivity
In some networks, network validation may only get success
result for http probe but fail result for https probe.
For this kind of network, it may still work at some websites
or apps, but user didn't know about that. In order to fix this
issue, we will check if network has partial connectivity and
notify user to make a choice if they want to use this partial
connectivity or not.
Bug:
113450764
Test: 1. Build pass.
2. Fake partial connectivity case for testing.
3. atest FrameworksNetTests
4. atest NetworkStackTests
Change-Id: I69ed00ac4850904ff708c9fef22e148879a10e92
Xin Li [Tue, 12 Mar 2019 07:17:37 +0000 (00:17 -0700)]
DO NOT MERGE - Merge PPRL.190305.001 into master
Bug:
127812889
Change-Id: I7c5ada5c5afe38848be733616cbb1568440ab1c5
Daniel Huang [Tue, 12 Mar 2019 06:02:04 +0000 (06:02 +0000)]
Merge "Modify API return type and add callback."
Remi NGUYEN VAN [Tue, 12 Mar 2019 05:27:33 +0000 (05:27 +0000)]
Merge "Move NetworkStack start to AM.systemReady"
Tony Huang [Tue, 12 Mar 2019 05:22:28 +0000 (05:22 +0000)]
Merge "Update nullability of api"
Junyu Lai [Tue, 12 Mar 2019 05:11:50 +0000 (05:11 +0000)]
Merge "Improve keepalive offload documentation and error handling"
Remi NGUYEN VAN [Tue, 12 Mar 2019 02:50:22 +0000 (11:50 +0900)]
Move NetworkStack start to AM.systemReady
In practice the NetworkStack was not started after
ActivityManager#systemReady, since ActivityManager was only scheduling
the start (mPendingStarts).
Requesting the start too early causes issues for the PackageManager to
install updates/rollbacks.
Test: flashed AOSP and internal builds, WiFi working
Bug:
128331883
Change-Id: I93315ad31925bd436e21d1eabb21d5967e6aae60
Hall Liu [Tue, 12 Mar 2019 02:11:35 +0000 (19:11 -0700)]
Fix issues associated with hold failure
Add new connection event to indicate hold failure
Fixes:
128275255
Test: manual
Change-Id: I2678cda12d7703eba37d3feca3a8d98b21c050b1
Kazuki Iwami [Thu, 1 Nov 2018 10:02:34 +0000 (19:02 +0900)]
Change summary text of Wi-Fi calling
According to the wording change of the settings app, also change the
FWK resource for Wi-Fi calling.
Test: manual
Bug:
34793636
Change-Id: I75b970ed2094c4efcb5a8cf8b89cf3d8c78bb5db
Merged-In: I75b970ed2094c4efcb5a8cf8b89cf3d8c78bb5db
Remi NGUYEN VAN [Tue, 12 Mar 2019 01:37:26 +0000 (01:37 +0000)]
Merge "Use an in-process APK for in-process NetworkStack"
Etan Cohen [Tue, 8 Jan 2019 20:09:18 +0000 (12:09 -0800)]
[CS] Support "instant failure" from factories
Add a mechanism by which a factory can declare "instant failure" for
a request - which would result in it getting an OnUnavailable()
(even without a timeout).
Factories may only do this iff:
1. They know they are the only factory which may fulfill this
request (common for transport-specific requests).
2. The know that the request can definitely not be
fulfilled at any point in the future.
Bug:
31382922
Test: atest ConnectivityServiceTest
Merged-In: I9bce0f4d85fa8cad7f8a9998819f945b778c5ac5
Change-Id: I9bce0f4d85fa8cad7f8a9998819f945b778c5ac5
Treehugger Robot [Mon, 11 Mar 2019 22:57:58 +0000 (22:57 +0000)]
Merge "Remove android-support-test lib from testutils."
Chen Xu [Mon, 11 Mar 2019 21:34:30 +0000 (21:34 +0000)]
Merge "rename precise carrier id to specific carrier id"
Ian Kasprzak [Sat, 9 Mar 2019 02:49:31 +0000 (18:49 -0800)]
Remove android-support-test lib from testutils.
Fixed dependencies as needed.
Fixes apct/net/networking_framework_unit_test broken
in aosp/919393.
Test: m tests, checkbuild and Forrest (via gerritt) testing
Bug:
127910239
Change-Id: Ida0ca8012ede9227d204935b11002ddfa2f134ff
Merged-In: Ia825e0926b46855f9056739441cb21a065692076
(Manual partial cherry-pick of
ec6bcbceee8fed0f99d1d5d1760b74eead98668a)
Nathan Harold [Mon, 11 Mar 2019 17:53:40 +0000 (17:53 +0000)]
Merge "Add Missing getRssi to CellSignalStrengthGsm"
Chalard Jean [Mon, 11 Mar 2019 17:04:57 +0000 (17:04 +0000)]
Merge "Add tethering event callback API"
Josh Hou [Mon, 11 Mar 2019 15:59:34 +0000 (23:59 +0800)]
add NonNull annotation to API
Bug:
126702863
Test: Build pass
Change-Id: I3398d43837bef90ebe685d7f7c35c6c5d0defd7e
Treehugger Robot [Mon, 11 Mar 2019 14:56:34 +0000 (14:56 +0000)]
Merge "Add a static to get the Ip Memory Store"
danielwbhuang [Mon, 11 Mar 2019 03:52:10 +0000 (11:52 +0800)]
Modify API return type and add callback.
1. Modify the type from boolean to void for updateAvailableNetworks().
2. Adding callback for updateAvailableNetworks().
3. Define error codes for update available networks results.
Test: build pass
Bug:
124616182
Merged-In: I32fe1407deabe36485227ec75931bec334d85abe
Change-Id: I32fe1407deabe36485227ec75931bec334d85abe
Chalard Jean [Mon, 11 Mar 2019 11:44:24 +0000 (20:44 +0900)]
Add a static to get the Ip Memory Store
This is so that there is some AOSP stable API while the
memory store is moved to the network.
Test: atest FrameworksNetTests
Change-Id: Ib51dbee77fcb0d14a5c85240ac711b3b1aa71286
Treehugger Robot [Mon, 11 Mar 2019 11:07:21 +0000 (11:07 +0000)]
Merge "[PT17.5] Revert to booleans for send/not send broadcast constants."
Chalard Jean [Mon, 15 Oct 2018 05:27:15 +0000 (14:27 +0900)]
[PT17.5] Revert to booleans for send/not send broadcast constants.
In PT17, for security of the patch these two constants have been
switched from boolean to enum values. While this is nice for making
sure a patch is correct, it's also pretty wasteful. Now that it's
certain that the values of these fields don't matter, they can be
set to logical values (as opposed to reversed as it was the case
before PT17.
Test: runtest
Change-Id: I93a0780e23c2f658687be066dc16f27529baaa86
Treehugger Robot [Mon, 11 Mar 2019 04:06:48 +0000 (04:06 +0000)]
Merge "Make ParseException less useless."
Kiyoung Kim [Wed, 20 Feb 2019 09:07:41 +0000 (18:07 +0900)]
Add product apk support from libnativeloader
Currently libnativeloader appends vendor lib path if apk is from vendor
partition. Similar to this we should add product lib path if apk if from product partition.
Bug:
124705551
Test: m -j && tested from crosshatch with product apps (such as Wallpaper)
Change-Id: Ic85b16e8e4484a35c659c16e067f1e7c7285d05e
Merged-In: Iaa8d0ea61b1b9ab8a1da676a492f75c6a5d71d5d
Remi NGUYEN VAN [Mon, 11 Mar 2019 02:06:27 +0000 (02:06 +0000)]
Merge changes I9dbbf904,Iebc174ed
* changes:
Move NetworkStackTests to presubmit
Remove NetworkStack test dependency on testutils
chen xu [Wed, 6 Mar 2019 22:43:40 +0000 (14:43 -0800)]
rename precise carrier id to specific carrier id
Bug:
126727010
Test: atest CtsTelephonyTestCases
Change-Id: I4561ae8c15c429912695e0753b2ab3137a4e1e44
(cherry picked from commit
45f662139190df65f15d57a6e415c9559b580efe)
Merged-in: I4561ae8c15c429912695e0753b2ab3137a4e1e44
Nicolas Geoffray [Fri, 8 Mar 2019 23:15:03 +0000 (23:15 +0000)]
Merge "Update current API after adding nullable annotations."
Treehugger Robot [Fri, 8 Mar 2019 22:54:11 +0000 (22:54 +0000)]
Merge "Convert tests/**/Android.mk files to Android.bp"
Treehugger Robot [Fri, 8 Mar 2019 22:05:59 +0000 (22:05 +0000)]
Merge "update getStaticPhoneCapability to use HAL instead of default value"
Nazanin Bakhshi [Fri, 8 Mar 2019 22:00:33 +0000 (22:00 +0000)]
Merge "make onActiveDataSubId in PhoneStateListener public API"
Treehugger Robot [Fri, 8 Mar 2019 21:58:46 +0000 (21:58 +0000)]
Merge "Add Keystore get option that supresses caught exceptions warnings."
Nathan Harold [Fri, 8 Mar 2019 19:51:56 +0000 (11:51 -0800)]
[API Feedback] Rename DebugEventReporter
To address concerns that the DebugEventReporter would
be misconstrued as a generic logging mechanism, for
which use of system broadcasts is inappropriate, this
component and the accompanying broadcast are renamed
as AnomalyReporter and the event renamed from
ACTION_DEBUG_EVENT to ACTION_ANOMALY_REPORTED.
Bug:
126178766
Test: manual (fire event from PhoneGlobals at boot).
Change-Id: I13381d6c551db161d9858601df8be98f5c25976c
Nazanin Bakhshi [Wed, 6 Mar 2019 23:31:45 +0000 (15:31 -0800)]
update getStaticPhoneCapability to use HAL instead of default value
Bug:
123359867
Test: build
Change-Id: Ic40921679ade1f9be42f2bc3d5170ba201dbab5a
Merged-In: Ic40921679ade1f9be42f2bc3d5170ba201dbab5a
(cherry picked from commit
1772247b044795cdad1fa22069040df0bf657f42)
Nazanin Bakhshi [Fri, 1 Mar 2019 18:10:22 +0000 (10:10 -0800)]
make onActiveDataSubId in PhoneStateListener public API
Bug:
124260187
Test: CTS
Change-Id: I6e5a5c8273348d822b8f552599784b8e986850bf
Merged-In: I6e5a5c8273348d822b8f552599784b8e986850bf
(cherry picked from commit
026c42d7521c390b171f2b42a9b961fdc325b44a)
Nathan Harold [Fri, 8 Mar 2019 19:03:47 +0000 (19:03 +0000)]
Merge "Add TimeStamp Constructor for HAL 1.4 Support"
android-build-team Robot [Fri, 8 Mar 2019 18:47:45 +0000 (18:47 +0000)]
Snap for
5240760 from
988624eda2c566551f75b48231cdeff2b0142d93 to pi-platform-release
Change-Id: I81cc0472fa90130ff2002a2e96240b41f4cf5f61
Steven Moreland [Fri, 8 Mar 2019 18:44:22 +0000 (10:44 -0800)]
Use jarjar rules for framework.jar.
Rather than copying the rules, boot libs (e.g. telephony-common
or those added by OEMs) can just add the following to their library:
jarjar_rules: ":framework-jarjar-rules",
This will ensure that rules can be changed in framework.jar without
breaking things downstream.
Bug:
127875362
Test: manual
Change-Id: I3dd64d418eca5302bb4aa142147040c459725e11