OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Fix local reference table overflow error."
Treehugger Robot [Thu, 1 Nov 2018 20:00:46 +0000 (20:00 +0000)]
Merge "Fix local reference table overflow error."

5 years agoMerge "Revert "Need to check empty not null for String""
Chen Xu [Thu, 1 Nov 2018 20:00:36 +0000 (20:00 +0000)]
Merge "Revert "Need to check empty not null for String""

5 years agoFix local reference table overflow error.
xiaomi/hanli [Wed, 19 Jul 2017 10:53:03 +0000 (18:53 +0800)]
Fix local reference table overflow error.

table dump:
241 of android.media.AudioMixPort (241 unique instances)
241 of android.media.AudioMixPortConfig (241 unique instances)
8 of android.media.AudioDevicePortConfig (8 unique instances)
8 of android.media.AudioDevicePort (8 unique instances)

Test: Basic audio sanity
Bug: 64554806
Change-Id: Ice7a866c6a336e54829266aedca2f01e7b75e34b
Signed-off-by: xiaomi/hanli <hl09083253cy@126.com>
5 years agoMerge "Make SignalStrength#INVALID public"
Shuo Qian [Thu, 1 Nov 2018 18:06:25 +0000 (18:06 +0000)]
Merge "Make SignalStrength#INVALID public"

5 years agoMerge "Fixes context for tiles without longClick"
Fabian Kozynski [Thu, 1 Nov 2018 16:52:30 +0000 (16:52 +0000)]
Merge "Fixes context for tiles without longClick"

5 years agoRevert "Need to check empty not null for String"
Chen Xu [Thu, 1 Nov 2018 16:40:42 +0000 (16:40 +0000)]
Revert "Need to check empty not null for String"

This reverts commit 77680bd4dbf69fe22a41b73c479096bd418aac8a.

Reason for revert: this change caused no wcdma signal bar because "" is a valid default value from carrier config

Bug: 118800169
Change-Id: I0285827c84edda88f7f0d287d254ba89c9931382

5 years agoFixes context for tiles without longClick
Fabian Kozynski [Mon, 29 Oct 2018 16:27:42 +0000 (12:27 -0400)]
Fixes context for tiles without longClick

QSTile can declare whether it doesn't support (has no effect) long click
and then TalkBack will not report it as an available option.

Test: manual & atest
Change-Id: Iec21181f4308c7c8c4962f191fa0787e053ae944
Merged-In: Iec21181f4308c7c8c4962f191fa0787e053ae944
Fixes: 117921787

5 years agoMerge "Add a more flexible queryRecentDocuments"
Treehugger Robot [Thu, 1 Nov 2018 13:11:09 +0000 (13:11 +0000)]
Merge "Add a more flexible queryRecentDocuments"

5 years agoMerge "Remove java.... libcore classes from light grey/vendor lists"
Paul Duffin [Thu, 1 Nov 2018 10:22:53 +0000 (10:22 +0000)]
Merge "Remove java.... libcore classes from light grey/vendor lists"

5 years agoMerge "Support backward compatibility for restricted network permission"
Paul Hu [Thu, 1 Nov 2018 07:20:05 +0000 (07:20 +0000)]
Merge "Support backward compatibility for restricted network permission"

5 years agoMerge "interface-related commands porting"
Luke Huang [Thu, 1 Nov 2018 07:09:54 +0000 (07:09 +0000)]
Merge "interface-related commands porting"

5 years agoSupport backward compatibility for restricted network permission
paulhu [Thu, 1 Nov 2018 02:38:11 +0000 (10:38 +0800)]
Support backward compatibility for restricted network permission

Some native daemons legacy design work with SYSTEM_UID. If none of
SYSTEM_UID apps declare the restricted network permission, it will
result in permission denial in daemons. Allow SYSTEM_UID in the
devices shipped before Q to support backward compatibility.

Bug:114245686
Test: 1. runtest frameworks-net
      2. atest FrameworksNetTests
      3. Native daemons with SYSTEM_UID can work normally

Change-Id: I6f3f0d83bcae74ef5389535b528af3baf649fa48

5 years agoMerge "Add a new carrier config to support emergency dialer shortcut feature."
Chuck Liao [Wed, 31 Oct 2018 23:58:21 +0000 (23:58 +0000)]
Merge "Add a new carrier config to support emergency dialer shortcut feature."

5 years agoAdd a more flexible queryRecentDocuments
Risan [Tue, 30 Oct 2018 23:57:56 +0000 (17:57 -0600)]
Add a more flexible queryRecentDocuments

The existing queryRecentDocuments have a hard limit 64. However, case
like ARC++ wishes to have a more flexible limit that can be passed as an
extra parameter. This new API will gracefully degrade to the old API to
maintain backward compatibility with old providers.

Bug: 111288304
Test: manual test (patched the MediaDocumentsProvider, and test calling
the new API):
1. Test that passing Bundle with QUERY_ARG_LIMIT=5 is honored and
returned is limited to 5.
2. Test that passing null will release the limit to default 64.
3. Test that removing MediaProvider implementation for new method and
implement the old method will automatically redirect the call to old
method (backward compatible with old providers).

Change-Id: I37b1785b94f3e9cf09128fbf1e8779a4447fe7a9

5 years agoMerge "Allow zygote to keep socket to heapprofd."
Florian Mayer [Wed, 31 Oct 2018 21:21:58 +0000 (21:21 +0000)]
Merge "Allow zygote to keep socket to heapprofd."

5 years agoAdd a new carrier config to support emergency dialer shortcut feature.
Chuck Liao [Tue, 30 Oct 2018 03:39:56 +0000 (11:39 +0800)]
Add a new carrier config to support emergency dialer shortcut feature.

Test: manual
Bug: 117865402
Change-Id: I5d008af8d4dc73adc76630d7b6f47724544f068c

5 years agoMerge "Convert statsd and incidentd to Android.bp"
Colin Cross [Wed, 31 Oct 2018 17:45:53 +0000 (17:45 +0000)]
Merge "Convert statsd and incidentd to Android.bp"

5 years agoMerge "isReservedSupported=true when running as container"
Treehugger Robot [Wed, 31 Oct 2018 17:39:41 +0000 (17:39 +0000)]
Merge "isReservedSupported=true when running as container"

5 years agoMerge "new system API getRadioAccessFamily"
Chen Xu [Wed, 31 Oct 2018 17:12:23 +0000 (17:12 +0000)]
Merge "new system API getRadioAccessFamily"

5 years agoConvert statsd and incidentd to Android.bp
Colin Cross [Sat, 27 Oct 2018 05:34:06 +0000 (22:34 -0700)]
Convert statsd and incidentd to Android.bp

See build/soong/README.md for more information.

Test: m checkbuild
Merged-In: I8c80878cec46c9299234c6f4c1e0e19efc0a221e
Change-Id: I8c80878cec46c9299234c6f4c1e0e19efc0a221e

5 years agoMerge "Add post fork hook for System Server"
Orion Hodson [Wed, 31 Oct 2018 14:20:42 +0000 (14:20 +0000)]
Merge "Add post fork hook for System Server"

5 years agoRemove java.... libcore classes from light grey/vendor lists
Paul Duffin [Tue, 23 Oct 2018 12:14:30 +0000 (13:14 +0100)]
Remove java.... libcore classes from light grey/vendor lists

Removes all the java... libcore classes from the light grey/vendor
lists as they are now using UnsupportedAppUsage annotation.

This was tested by making and then manually checking that the generated
out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt was the
same (after sorting) before and after this change.

Test: see above
Bug: 117818301
Change-Id: I3ada072845b311fc89d864c45e40995f4d92dfef

5 years agoAllow zygote to keep socket to heapprofd.
Florian Mayer [Tue, 16 Oct 2018 13:30:02 +0000 (14:30 +0100)]
Allow zygote to keep socket to heapprofd.

This allows users to target zygote for heap profiling without
causing it to crash on ForkCommon.

This also allows us to profile zygote in benchmark runs where we want to
profile as many processes as possible.

Bug: 117821125

Test: m
Test: flashed walleye

Change-Id: I3f41b64e0a64e362eafd02cd4e86cb77e434d94c

5 years agoAdd post fork hook for System Server
Orion Hodson [Fri, 19 Oct 2018 12:05:33 +0000 (13:05 +0100)]
Add post fork hook for System Server

Adds a post fork hook for System Server that is used to enable JIT.

Bug: 62356545
Bug: 66095511
Test: device boots, no permission errors
Change-Id: I963e8c4903fb20fd0b5a207fdc6746035b69c569

5 years agoMerge "Fix negative uid stats caused by 464xlat adjust when eBPF is on."
Junyu Lai [Wed, 31 Oct 2018 02:20:57 +0000 (02:20 +0000)]
Merge "Fix negative uid stats caused by 464xlat adjust when eBPF is on."

5 years agoMerge "Add CarrierConfig to hide "Network default" option in Caller ID setting"
Youming Ye [Wed, 31 Oct 2018 00:44:04 +0000 (00:44 +0000)]
Merge "Add CarrierConfig to hide "Network default" option in Caller ID setting"

5 years agoMerge "Change package to component for Setting's default call redirection service"
Treehugger Robot [Tue, 30 Oct 2018 19:06:55 +0000 (19:06 +0000)]
Merge "Change package to component for Setting's default call redirection service"

5 years agoMerge "Define CellInfo.UNAVAILABLE for Unreported Fields"
Treehugger Robot [Tue, 30 Oct 2018 17:53:24 +0000 (17:53 +0000)]
Merge "Define CellInfo.UNAVAILABLE for Unreported Fields"

5 years agoFix negative uid stats caused by 464xlat adjust when eBPF is on.
junyulai [Fri, 19 Oct 2018 13:14:30 +0000 (21:14 +0800)]
Fix negative uid stats caused by 464xlat adjust when eBPF is on.

When using xt_qtaguid to count per uid stats,
NetworkStatsService needs to adjust the 464xlat traffic since
iptables module would double count for ipv4 and ipv6 packet.
But for eBPF, the per uid stats is collected in a different
hook, so the adjustment on root uid would only be needed in tx
direction.

Bug: 112226716
Test: 1. Make ipv4 traffic in ipv6-only network and check data
         usage.
      2. Make ipv4 traffic in a client which connect to
         ipv6-only hotspot.
      3. runtest frameworks-net
      4. cts-tradefed run cts -m CtsNetTestCases -t \
                 android.net.cts.TrafficStatsTest
      5. cts-tradefed run cts -m CtsUsageStatsTestCases

Change-Id: Ic9a84f5446eddc943c255d5f3b89dad171f53cac

5 years agoMerge changes from topic "icu63"
vichang [Tue, 30 Oct 2018 12:04:05 +0000 (12:04 +0000)]
Merge changes from topic "icu63"

* changes:
  API updated for ICU4J 63.1
  Fix FormatterTest#testFormatShortElapsedTime due to CLDR 34 change

5 years agoMerge "Add CACHED_NAME into call history database when the add call."
Treehugger Robot [Tue, 30 Oct 2018 04:44:35 +0000 (04:44 +0000)]
Merge "Add CACHED_NAME into call history database when the add call."

5 years agoChange package to component for Setting's default call redirection service
sqian [Tue, 30 Oct 2018 01:35:42 +0000 (18:35 -0700)]
Change package to component for Setting's default call redirection service

Bug: 64959558
Test: Compile
Change-Id: I503b34812869e2b5897033ca765c85fcd4474101

5 years agoMerge "[Call Screening]Default call screening app setting storage."
Tony Zhu [Tue, 30 Oct 2018 02:43:52 +0000 (02:43 +0000)]
Merge "[Call Screening]Default call screening app setting storage."

5 years agoisReservedSupported=true when running as container
Risan [Tue, 30 Oct 2018 02:43:43 +0000 (20:43 -0600)]
isReservedSupported=true when running as container

Test: Remove first_sdk_check from StorageHostTest#testVerify, log
Build.IS_CONTAINER inside isReservedSupported function, run on sailfish.
It shows that Build.IS_CONTAINER=false and the test still passes (i.e.,
isReservedSupported is correctly true).
Also checked that Build.IS_CONTAINER in isReservedSupported is true in
ARC++.
Bug: 111287848

Change-Id: I9af1f6cce5bab75ef941989bf279cf40c52e62b0

5 years agoMerge "Synchronize mPermissions to void NullPointerException."
Philip P. Moltmann [Mon, 29 Oct 2018 23:15:47 +0000 (23:15 +0000)]
Merge "Synchronize mPermissions to void NullPointerException."

5 years agoMerge "Add new test module for system service with static / final mocking"
Ian Kasprzak [Mon, 29 Oct 2018 22:57:06 +0000 (22:57 +0000)]
Merge "Add new test module for system service with static / final mocking"

5 years agoAdd new test module for system service with static / final mocking
Makoto Onuki [Wed, 5 Sep 2018 20:45:40 +0000 (13:45 -0700)]
Add new test module for system service with static / final mocking

And move AppStateTrackerTest for starter.

Bug: 114096820
Bug: 118510622
Test: atest FrameworksMockingServicesTests
Change-Id: Ie5bf44322f29e9971358a706cf44bc5c8a325c30
Merged-In: Ie5bf44322f29e9971358a706cf44bc5c8a325c30
(cherry picked from commit 5f732365c6a33c2115bfd159b8b9729b834c8568)

5 years agoMerge "Import translations. DO NOT MERGE"
Treehugger Robot [Mon, 29 Oct 2018 19:48:34 +0000 (19:48 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Adjust to new androidx.test beta02 rules."
Treehugger Robot [Mon, 29 Oct 2018 19:17:14 +0000 (19:17 +0000)]
Merge "Adjust to new androidx.test beta02 rules."

5 years agonew system API getRadioAccessFamily
chen xu [Thu, 25 Oct 2018 00:12:28 +0000 (17:12 -0700)]
new system API getRadioAccessFamily

1. new API in telephonyManager to getRadioAccessFamily
2. define bitmask for radioAccessFamily based on NetworkType because
we don't want to expose two sets of definition RIL_RADIO and Network
type together in public API surface
3. convert definition to NetworkType

Bug: 118351153
Test: telehony unit test
Change-Id: I4a71c61929d9df8ec13c157e0452c6f30d8e4b9c
Merged-in: I4a71c61929d9df8ec13c157e0452c6f30d8e4b9c

5 years agoMerge "Revert "Revert "Telephony light grey list clean up for Q"""
Chen Xu [Mon, 29 Oct 2018 17:20:48 +0000 (17:20 +0000)]
Merge "Revert "Revert "Telephony light grey list clean up for Q"""

5 years agoMerge "Add statsdprotolite in Android.bp"
Gopinath Elanchezhian [Mon, 29 Oct 2018 17:14:46 +0000 (17:14 +0000)]
Merge "Add statsdprotolite in Android.bp"

5 years agoMerge "Refactor UidRange by using stable aidl structure"
Treehugger Robot [Mon, 29 Oct 2018 00:17:34 +0000 (00:17 +0000)]
Merge "Refactor UidRange by using stable aidl structure"

5 years agoMerge "Refine firewall-related commands"
Luke Huang [Mon, 29 Oct 2018 00:16:30 +0000 (00:16 +0000)]
Merge "Refine firewall-related commands"

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 28 Oct 2018 04:44:04 +0000 (21:44 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ie1dfa01427b8ab87208789b65055be3175f8a7e3
Auto-generated-cl: translation import

5 years agoMerge "allow statsd pull based on event trigger."
Treehugger Robot [Sat, 27 Oct 2018 03:51:31 +0000 (03:51 +0000)]
Merge "allow statsd pull based on event trigger."

5 years agoRevert "Revert "Telephony light grey list clean up for Q""
Chen Xu [Mon, 22 Oct 2018 16:54:39 +0000 (16:54 +0000)]
Revert "Revert "Telephony light grey list clean up for Q""

This reverts commit bab59cb9db0fe98550d12f03e210e3bc0efc775d.

Reason for revert: Put maxTargetSdk=P now will move APIs onto light greylist
because per-SDK versioned dark greylist is not yet supported by ART. We can
keep doing annotation work without breaking existing apps targeting on P.

Bug:117934933
Bug:112477300

Change-Id: I5e0e693dde49fac3044cd73fd6360c4485f312ec
Merged-in: I5e0e693dde49fac3044cd73fd6360c4485f312ec

5 years agoAdd statsdprotolite in Android.bp
gopinath [Fri, 26 Oct 2018 23:00:34 +0000 (16:00 -0700)]
Add statsdprotolite in Android.bp

Bug: b/118482428

Test: make statsdprotolite
Change-Id: I5c27f3017be043b6809699158a94b32155163535
Merged-In: I857957e816506162496192fe0ad1da4dbdfd4efd

5 years agoallow statsd pull based on event trigger.
gopinath [Fri, 26 Oct 2018 22:20:18 +0000 (15:20 -0700)]
allow statsd pull based on event trigger.

Bug: b/118482428

Test: make statsdprotolite
Change-Id: I5a40d5e6a409b65ca1639029d5da83c327ed1798
Merged-In: Ia15b1f209945f022edffb9ec5d673317d55d9e4f

5 years ago[Call Screening]Default call screening app setting storage.
tonyzhu [Thu, 25 Oct 2018 08:13:14 +0000 (16:13 +0800)]
[Call Screening]Default call screening app setting storage.

Add new string in Settings. To indicate which app is default
call screening, similar to default dialer application setting,
store this in the system settings provider.

Bug: 118416082
Test: atest SettingsBackupTest pass.
Change-Id: I39f81b31a68ee2dbb056ff935f8dea0f51720017

5 years agoMerge "ConnectivityService: make log configurable"
Chalard Jean [Fri, 26 Oct 2018 06:06:19 +0000 (06:06 +0000)]
Merge "ConnectivityService: make log configurable"

5 years agoMerge "No-op refactoring of VPN lockdown status check."
Junyu Lai [Fri, 26 Oct 2018 05:35:28 +0000 (05:35 +0000)]
Merge "No-op refactoring of VPN lockdown status check."

5 years agoMerge "Update test cases for HarfBuzz 2.0.2"
Treehugger Robot [Fri, 26 Oct 2018 05:19:41 +0000 (05:19 +0000)]
Merge "Update test cases for HarfBuzz 2.0.2"

5 years agoMerge "Move Binder.clearCallingIdentity"
Hall Liu [Fri, 26 Oct 2018 01:35:24 +0000 (01:35 +0000)]
Merge "Move Binder.clearCallingIdentity"

5 years agoMerge "Add @NonNull in SubMgr#getOpportunisticSubscriptions return value."
Xiangyu/Malcolm Chen [Fri, 26 Oct 2018 01:30:21 +0000 (01:30 +0000)]
Merge "Add @NonNull in SubMgr#getOpportunisticSubscriptions return value."

5 years agoMake SignalStrength#INVALID public
sqian [Fri, 19 Oct 2018 23:47:52 +0000 (16:47 -0700)]
Make SignalStrength#INVALID public

Bug: 113074174
Bug: 118460482
Test: Treehugger; compile
Change-Id: I088f2f46c0adfbedc0fd53838add57078d6aac56

5 years agoDefine CellInfo.UNAVAILABLE for Unreported Fields
Nathan Harold [Wed, 24 Oct 2018 18:35:53 +0000 (11:35 -0700)]
Define CellInfo.UNAVAILABLE for Unreported Fields

For all CellInfo classes, there is a common value for
fields that are unreported by the modem: Integer.MAX_VALUE.
To better document this value, this CL defines it as a
constant "UNAVAILABLE" to indicate that for whatever reason
the framework is not reporting this value to the caller.

Bug: 28171234
Test: make; make offline-sdk-docs
Change-Id: I0aa692e3f1b5478284d262ef97fd65b90bce8293

5 years agoUpdate test cases for HarfBuzz 2.0.2
Seigo Nonaka [Thu, 25 Oct 2018 21:55:12 +0000 (21:55 +0000)]
Update test cases for HarfBuzz 2.0.2

Now HarfBuzz combines chars with ZWJ into single cluster

This is 2nd attempt of Ic642c469aab90a2ecd3874cf0dec82625ea21c1b

Bug: 117953171
Test: TreeHugger
Change-Id: I7e731500e71c1973c254ede0f316fc36e3c22576
Merged-In: I531b7a5f5727540d6d11db619eeba6eb23fb113d

5 years agoMerge "Set default value to false for show4GForLte"
Pengquan Meng [Thu, 25 Oct 2018 20:47:41 +0000 (20:47 +0000)]
Merge "Set default value to false for show4GForLte"

5 years agoMerge "Revert "Update test cases for HarfBuzz 2.0.2 DO NOT MERGE""
Seigo Nonaka [Thu, 25 Oct 2018 18:26:33 +0000 (18:26 +0000)]
Merge "Revert "Update test cases for HarfBuzz 2.0.2 DO NOT MERGE""

5 years agoRevert "Update test cases for HarfBuzz 2.0.2 DO NOT MERGE"
Seigo Nonaka [Thu, 25 Oct 2018 18:23:32 +0000 (18:23 +0000)]
Revert "Update test cases for HarfBuzz 2.0.2 DO NOT MERGE"

This reverts commit 155951f2f6080d87e6cca6698e63ecb58641442d.

Reason for revert: broke test in pi-dev/stage-aosp-master

Change-Id: I917e170b570b89ba2e8a26cec0bf0a8adf577b80

5 years agoAdjust to new androidx.test beta02 rules.
Brett Chabot [Thu, 18 Oct 2018 17:49:53 +0000 (10:49 -0700)]
Adjust to new androidx.test beta02 rules.

Test: m -j checkbuild
Change-Id: I704324a8880c5948369ae4fa6814fd8b258d7d33
Merged-In: I6482ff8afbae39ffd0296aeac7b29ba019daf3a6

5 years agoMerge "Update test cases for HarfBuzz 2.0.2 DO NOT MERGE"
Treehugger Robot [Thu, 25 Oct 2018 16:42:11 +0000 (16:42 +0000)]
Merge "Update test cases for HarfBuzz 2.0.2 DO NOT MERGE"

5 years agoMerge "Import translations. DO NOT MERGE"
Treehugger Robot [Thu, 25 Oct 2018 10:36:36 +0000 (10:36 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Add more debug log when onBlockedStatusChanged was called."
Junyu Lai [Thu, 25 Oct 2018 08:57:56 +0000 (08:57 +0000)]
Merge "Add more debug log when onBlockedStatusChanged was called."

5 years agoNo-op refactoring of VPN lockdown status check.
junyulai [Thu, 25 Oct 2018 02:56:17 +0000 (10:56 +0800)]
No-op refactoring of VPN lockdown status check.

Currently, if VPN lockdown is disabled, the blocking judgement
inside VPN will return false immediately. It will make
ConnectivityService hard to check blocked status by a given
VPN lockdown status.

Thus, move this check into ConnectivityService and check it
externally.

Bug: 117814902
Test: 1. manual test with 3rd-party vpn app
      2. runtest frameworks-net

Change-Id: Ia8319b1a1a12f1058c24badf2431f2ec69bc78e7

5 years agointerface-related commands porting
Luke Huang [Wed, 15 Aug 2018 11:22:54 +0000 (19:22 +0800)]
interface-related commands porting

Test: runtest frameworks-net passes
Test: manual testing of interface related function works(tethering)
Change-Id: Ie1a1ac00c28ef914d62e7d75b0db8c2434c810d2

5 years agoAdd more debug log when onBlockedStatusChanged was called.
junyulai [Wed, 24 Oct 2018 14:38:06 +0000 (22:38 +0800)]
Add more debug log when onBlockedStatusChanged was called.

Bug: 118355916
Test: 1. runtest frameworks-net
      2. enable/disable battery saver

Change-Id: I6d5f9b49be0defd531fc7ea824668bec7863c4b7

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 25 Oct 2018 06:18:42 +0000 (23:18 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ie2e07cbd6d038a83b2f05b315b647a35872f6daf
Auto-generated-cl: translation import

5 years agoRefine firewall-related commands
Luke Huang [Thu, 25 Oct 2018 02:54:05 +0000 (11:54 +0900)]
Refine firewall-related commands

Test: runtest frameworks-net passes
Test: manual testing of firewall works
Change-Id: I272bb54ffcde72d04cbcf550e31dafeeb00f1ce2

5 years agoMerge "Add keys to retrieve color aspects from metadata"
Chong Zhang [Thu, 25 Oct 2018 02:04:48 +0000 (02:04 +0000)]
Merge "Add keys to retrieve color aspects from metadata"

5 years agoMerge "Color aspects keys information stored database"
Chong Zhang [Thu, 25 Oct 2018 02:04:48 +0000 (02:04 +0000)]
Merge "Color aspects keys information stored database"

5 years agoMerge "Define RIL_REQUEST_SET_PREFERRED_DATA_MODEM."
Xiangyu/Malcolm Chen [Thu, 25 Oct 2018 01:37:34 +0000 (01:37 +0000)]
Merge "Define RIL_REQUEST_SET_PREFERRED_DATA_MODEM."

5 years agoMerge "Firewall-related commands porting"
Luke Huang [Thu, 25 Oct 2018 00:20:12 +0000 (00:20 +0000)]
Merge "Firewall-related commands porting"

5 years agoSet default value to false for show4GForLte
Pengquan Meng [Wed, 24 Oct 2018 22:43:44 +0000 (15:43 -0700)]
Set default value to false for show4GForLte

Bug: 118375031
Test: build
Change-Id: I542bfcbf5e88748321f75bdf3bdd5faa214360ea

5 years agoDefine RIL_REQUEST_SET_PREFERRED_DATA_MODEM.
Malcolm Chen [Mon, 8 Oct 2018 21:18:30 +0000 (14:18 -0700)]
Define RIL_REQUEST_SET_PREFERRED_DATA_MODEM.

Bug: 80268699
Test: unittest
Change-Id: Ifda606784f97c1bfa03fb424fd488bb0b5e6ebec
Merged-In: Ifda606784f97c1bfa03fb424fd488bb0b5e6ebec

5 years agoAdd CarrierConfig to hide "Network default" option in Caller ID setting
Youming Ye [Wed, 24 Oct 2018 21:54:39 +0000 (14:54 -0700)]
Add CarrierConfig to hide "Network default" option in Caller ID setting

Add a key to hide "Network default". When value is false,
"Network default" shouldn't be displayed for options in Caller ID
setting.

Test: manual - check options in Caller ID setting
Bug: 111809829
Change-Id: Ic9bab7e819bc5b0164508f9d2709a35950fdc797

5 years agoMerge pie-platform-release to aosp-master - DO NOT MERGE
Bill Yi [Wed, 24 Oct 2018 21:48:44 +0000 (14:48 -0700)]
Merge pie-platform-release to aosp-master - DO NOT MERGE

Change-Id: I695db52f5e22509401258e8b083e7650d401d993

5 years agoMerge "Remove obsolete @VisibleForTesting Annotation"
Brad Ebinger [Wed, 24 Oct 2018 20:15:35 +0000 (20:15 +0000)]
Merge "Remove obsolete @VisibleForTesting Annotation"

5 years agoMerge "ImsSsData needs a public constructor for vendors to use"
Brad Ebinger [Wed, 24 Oct 2018 17:08:39 +0000 (17:08 +0000)]
Merge "ImsSsData needs a public constructor for vendors to use"

5 years agoMerge "Revert "Add CarrierConfig to hide "Network default" option in Caller ID setting""
Youming Ye [Wed, 24 Oct 2018 16:26:21 +0000 (16:26 +0000)]
Merge "Revert "Add CarrierConfig to hide "Network default" option in Caller ID setting""

5 years agoMerge "[Call Screening]Support for carrier call screening app"
Tony Zhu [Wed, 24 Oct 2018 15:51:48 +0000 (15:51 +0000)]
Merge "[Call Screening]Support for carrier call screening app"

5 years agoRefactor UidRange by using stable aidl structure
Luke Huang [Fri, 19 Oct 2018 06:57:05 +0000 (15:57 +0900)]
Refactor UidRange by using stable aidl structure

Use stable aidl generated structure instead of UidRange

Test: runtest frameworks-net passes
Test: manual testing of UidRange related function works
Change-Id: Iaf1c10777dc1e71df2be2a57533a10257b12626b

5 years agoMerge "To support skip464xlat per Network"
Chalard Jean [Wed, 24 Oct 2018 07:15:20 +0000 (07:15 +0000)]
Merge "To support skip464xlat per Network"

5 years agoSynchronize mPermissions to void NullPointerException.
xiaobing.sun [Fri, 12 Oct 2018 09:04:29 +0000 (17:04 +0800)]
Synchronize mPermissions to void NullPointerException.

When we run mokey test on App permissions activity of a APK for example Contacts(Settings -> Apps & notifications ->See all ** apps -> Contacts ->Permissions),if we grant and revoke some permission frequently,NullPointerException may happen.

As granting runtime perimssion leads to writting new state of runtime permissions on disk via BackgroundThread. To write new state of runtime permissions, system will get the permissionData stored in mPermissions(assume that this permissionData is stored at the last location ).If we revoke this permison,permissionData will be removed from mPermissions on another thread. So in function getPermissionStatesInternal,mPermissions.valueAt(i) may return null by chance so that crash will happen. So we should synchronize mPermissions to void NullPointerException.

Bug:115697209

Test: Make services.jar,push it into phone and reboot.Run monkey test on App permissions activity and no NullPointerException happens.

Change-Id: I61151fa7df7a2c3830cff2eac9cc8284bd28c448

5 years agoUpdate test cases for HarfBuzz 2.0.2 DO NOT MERGE
Seigo Nonaka [Wed, 24 Oct 2018 00:39:53 +0000 (17:39 -0700)]
Update test cases for HarfBuzz 2.0.2 DO NOT MERGE

Now HarfBuzz combines chars with ZWJ into single cluster

Bug: 117953171
Test: TreeHugger
Change-Id: Ic642c469aab90a2ecd3874cf0dec82625ea21c1b
Merged-In: I531b7a5f5727540d6d11db619eeba6eb23fb113d

5 years agoFirewall-related commands porting
Luke Huang [Tue, 31 Jul 2018 12:15:24 +0000 (20:15 +0800)]
Firewall-related commands porting

Test: runtest frameworks-net passes
Test: manual testing of firewall works
Change-Id: Ic19c3872988a2b5dd315feb57e0757797d00a6ac

5 years agoMerge "Refine network-related commands porting"
Treehugger Robot [Wed, 24 Oct 2018 03:15:41 +0000 (03:15 +0000)]
Merge "Refine network-related commands porting"

5 years agoMerge "Move captive portal detection to another thread"
Chiachang Wang [Wed, 24 Oct 2018 03:02:58 +0000 (03:02 +0000)]
Merge "Move captive portal detection to another thread"

5 years agoMerge "Add test API to override carrier config"
Hall Liu [Wed, 24 Oct 2018 00:00:22 +0000 (00:00 +0000)]
Merge "Add test API to override carrier config"

5 years agoAdd keys to retrieve color aspects from metadata
Toshikazu Saito [Wed, 29 Aug 2018 06:00:22 +0000 (15:00 +0900)]
Add keys to retrieve color aspects from metadata

Add keys to retrieve color standard, color transfer and color range from
MediaMetadataRetriever.

Bug: 114329709
Test: put hdr/non-hdr contents and check media db

Change-Id: Ifa90f12a572b330f87acd6ef06e1e83ddceb8483

5 years agoMerge "Add getMobileNetworkOperator to CellIdentityTdscdma"
Nathan Harold [Tue, 23 Oct 2018 23:34:26 +0000 (23:34 +0000)]
Merge "Add getMobileNetworkOperator to CellIdentityTdscdma"

5 years agoRemove obsolete @VisibleForTesting Annotation
Brad Ebinger [Tue, 23 Oct 2018 22:46:59 +0000 (15:46 -0700)]
Remove obsolete @VisibleForTesting Annotation

Bug: 118296374
Test: atest FrameworksTelephonyTests
Change-Id: I5156db7d199f89307ca7c602bfc855dbc6ae236e

5 years agoMerge "Fix for android.hardware.radio.Utils.createIntSet"
Treehugger Robot [Tue, 23 Oct 2018 22:18:55 +0000 (22:18 +0000)]
Merge "Fix for android.hardware.radio.Utils.createIntSet"

5 years agoColor aspects keys information stored database
nobuhiko saitou [Mon, 3 Sep 2018 08:26:54 +0000 (17:26 +0900)]
Color aspects keys information stored database

Add keys for color aspects to VideoColumns in MediaStore.
And standard, transfer and range is stored to database.

Bug: 114329709
Test: put hdr/non-hdr contents and check media db

Change-Id: Id4bf27a35720f5cf5a60f08eb3f30314e1a1a167

5 years agoMerge "Remove Hidden TimestampType From CellInfo"
Nathan Harold [Tue, 23 Oct 2018 22:02:15 +0000 (22:02 +0000)]
Merge "Remove Hidden TimestampType From CellInfo"

5 years agoImsSsData needs a public constructor for vendors to use
Brad Ebinger [Thu, 11 Oct 2018 23:21:22 +0000 (16:21 -0700)]
ImsSsData needs a public constructor for vendors to use

Expose Builder for IMS Supp Service APIs as well as clean
up some of the ambiguous int[] usage.

Bug: 117555643
Test: Manual
Change-Id: I5cad08e0a032f4e38a62ac033c01111319cf9fd5

5 years agoMerge "Move some members to the "Q blacklist"."
Nathan Harold [Tue, 23 Oct 2018 21:53:51 +0000 (21:53 +0000)]
Merge "Move some members to the "Q blacklist"."

5 years agoMerge "Re-add removed APIs per API council feedback."
Tyler Gunn [Tue, 23 Oct 2018 20:49:43 +0000 (20:49 +0000)]
Merge "Re-add removed APIs per API council feedback."

5 years agoFix for android.hardware.radio.Utils.createIntSet
Jan Kowal [Thu, 27 Sep 2018 07:54:39 +0000 (09:54 +0200)]
Fix for android.hardware.radio.Utils.createIntSet

Previous solution was assymetric: writeInt vs readTypedObject.

Also, specify the initial capacity to avoid unnecessary reallocations.

Bug: 117113131
Test: atest BroadcastRadioTests
Change-Id: Ib33b97d482422b1acac8e9420a0c974bcd59355b