Commit Graph

396537 Commits

Author SHA1 Message Date
KOUSHIK PANUGANTI
d0d2bbfacd Migrate frameworks/base/core/tests/featureflagtests to androidx.test
See go/jetpack-test-android-migration

Test: make checkbuild
Change-Id: I75a79083fa9a8de8967b7c92dd1419069bd39127
2018-12-17 16:27:10 -08:00
Pengquan Meng
a96b863ace Merge "Add multiple esim support for SubscriptionManager" 2018-12-18 00:17:53 +00:00
TreeHugger Robot
745811ae8d Merge "FileUtils.java: Don't treat open access modes as flags" 2018-12-18 00:15:51 +00:00
John Reck
3a0041cf1d Merge "Add missing getter & improve docs" 2018-12-17 23:52:21 +00:00
TreeHugger Robot
97a58b4f8c Merge "Fix issue #121104681: Force stopping AGSA causes system to revert to its default impl" 2018-12-17 23:39:28 +00:00
TreeHugger Robot
b57794af28 Merge "Match current colors for device default car theme" 2018-12-17 23:33:02 +00:00
TreeHugger Robot
2ffad2ba3a Merge "Change platform Scene.getCurrentScene parameter from View to ViewGroup" 2018-12-17 22:53:33 +00:00
TreeHugger Robot
8462bc6234 Merge "Statsd atoms: Add comment about Wifi" 2018-12-17 22:51:26 +00:00
TreeHugger Robot
1e65287c50 Merge "Add TEST_MAPPING for androidfw to add presubmit tests." 2018-12-17 22:35:39 +00:00
Android Build Merger (Role)
a1d4a0002b Merge "Merge "Fix performance-for-range-copy warnings" am: bc29242288 am: 7adb73f332 am: 2296036a40" 2018-12-17 22:31:47 +00:00
Chih-Hung Hsieh
2491af24a8 Merge "Fix performance-for-range-copy warnings" am: bc29242288 am: 7adb73f332
am: 2296036a40

Change-Id: Ia99ea6c9633986e68340bc88983d06baa7a1c597
2018-12-17 14:31:14 -08:00
Lucas Dupin
3ca78699fd Merge "Initial sleep-lock-screen implementation" 2018-12-17 22:30:24 +00:00
TreeHugger Robot
73d3d815cd Merge "Read product property to set Vulkan as default render pipeline" 2018-12-17 22:26:25 +00:00
Chih-Hung Hsieh
2296036a40 Merge "Fix performance-for-range-copy warnings" am: bc29242288
am: 7adb73f332

Change-Id: I0ab1a28f5490f96bc8b08f073d364a01ff2f20df
2018-12-17 14:17:57 -08:00
Fabian Kozynski
009bd1bfe3 Merge "Use frameworks wifi icons instead of sysui" 2018-12-17 22:09:33 +00:00
Chih-Hung Hsieh
7adb73f332 Merge "Fix performance-for-range-copy warnings"
am: bc29242288

Change-Id: I96e7ca53f2878fd9f75ac14999a02a96a96bb93e
2018-12-17 14:08:29 -08:00
Eric Holk
d4cb8a148c Merge "[view-compiler] Add layout validation" am: ceea877ddd am: 1e41ae605d
am: 9020a7cd30

Change-Id: I62894502aa797466212ef3f91285ea0c5099f390
2018-12-17 14:07:44 -08:00
Android Build Merger (Role)
14f9c6e24c Merge "[automerger skipped] Merge "expose Carrier Id related APIs" am: 18b925a7af am: 0031ae8145 am: 31cf647396 -s ours" 2018-12-17 21:57:23 +00:00
Eric Holk
9020a7cd30 Merge "[view-compiler] Add layout validation" am: ceea877ddd
am: 1e41ae605d

Change-Id: I2bfe50dbb03c6cdcb7cde9b1c1a8f2cf932c41e0
2018-12-17 13:55:25 -08:00
Chen Xu
3ed8370f3b [automerger skipped] Merge "expose Carrier Id related APIs" am: 18b925a7af am: 0031ae8145
am: 31cf647396  -s ours

Change-Id: Id7d9376286fa9152532c9d967563d172e8601e8f
2018-12-17 13:54:57 -08:00
Treehugger Robot
bc29242288 Merge "Fix performance-for-range-copy warnings" 2018-12-17 21:54:31 +00:00
Shuo Qian
99da454209 Merge "Do not use default to get TelephonyManager" 2018-12-17 21:50:56 +00:00
TreeHugger Robot
74f1ce3fc1 Merge "Changed verbosity of log message shown when context is not autofillable." 2018-12-17 21:46:12 +00:00
Dario Freni
8aeec22e28 Merge "Implement ModuleInfoProvider" 2018-12-17 21:45:29 +00:00
TreeHugger Robot
d900848efa Merge "Fix checking if process name is whitelisted" 2018-12-17 21:41:50 +00:00
Chen Xu
31cf647396 Merge "expose Carrier Id related APIs" am: 18b925a7af
am: 0031ae8145

Change-Id: I6e9837cffdcac094557ea99cde0736abdfff0ff9
2018-12-17 13:39:23 -08:00
Eric Holk
1e41ae605d Merge "[view-compiler] Add layout validation"
am: ceea877ddd

Change-Id: Ia95ec8ccc77c4be60f018d99391067f3b8b02fd2
2018-12-17 13:38:46 -08:00
Treehugger Robot
ceea877ddd Merge "[view-compiler] Add layout validation" 2018-12-17 21:28:37 +00:00
TreeHugger Robot
7c11e2cfa8 Merge "Fix a race condition in DeviceIdleControllerTest." 2018-12-17 21:28:26 +00:00
Nick Kralevich
52671a787b FileUtils.java: Don't treat open access modes as flags
O_RDONLY, O_WRONLY, and O_RDWR are not flags. Rather, they are the
integer values 0, 1, and 2, respectively.

  #define O_RDONLY 00000000
  #define O_WRONLY 00000001
  #define O_RDWR 00000002

Quoting "man 2 open"

  * File access mode *

  Unlike  the  other  values  that  can  be  specified in flags,
  the access mode values O_RDONLY, O_WRONLY, and O_RDWR do not
  specify individual bits.  Rather, they define the low order
  two bits of flags, and are defined respectively as 0, 1, and
  2. In other words, the combination O_RDONLY | O_WRONLY is a
  logical error, and certainly does not have the same meaning
  as O_RDWR.

  Linux reserves the special, nonstandard access mode 3
  (binary 11) in flags to mean: check for read and write
  permission on the file and return a file descriptor that
  can't be used for reading or writing. This nonstandard access
  mode is used by some Linux drivers to return a file
  descriptor that is to be used only for device-specific
  ioctl(2) operations.

Rather than treat these values like flags, use O_ACCMODE to extract the
values and then perform the comparisons.

Introduced in 63280e06fc.

Test: android compiles and boots.
Change-Id: I4d3185e835615ffba3a7854d3d58351e124599d0
2018-12-17 13:24:46 -08:00
Chen Xu
0031ae8145 Merge "expose Carrier Id related APIs"
am: 18b925a7af

Change-Id: I517cd9638544ced0117a7222b21c92940b52885e
2018-12-17 13:20:03 -08:00
Julia Reynolds
feb504cb66 Merge "Deprecate ConditionProviderService." 2018-12-17 21:08:55 +00:00
Ecco Park
f2e2a8f108 Merge "passpoint-r2: define getMatchingPasspointConfigsForOsuProviders API" 2018-12-17 21:06:50 +00:00
Aurimas Liutikas
6c2a8b480f Add TEST_MAPPING for androidfw to add presubmit tests.
Test: atest --host libandroidfw_tests
Change-Id: Id893e720139791b499f2f38a25a057738a488c2b
2018-12-17 21:05:44 +00:00
Chen Xu
18b925a7af Merge "expose Carrier Id related APIs" 2018-12-17 20:56:54 +00:00
Ruslan Tkhakokhov
938e0f56a8 Merge "[Multi-user] Add -user param to adb backup/restore" 2018-12-17 20:33:50 +00:00
Bookatz
a0a1f8a861 Statsd atoms: Add comment about Wifi
Add comment explaining caveats about the Wifi atoms.

Bug: 115639456
Test: It is just a comment.
Change-Id: I0882ccbe21c59439c4a6a61fb665bc0bf4695006
2018-12-17 12:33:12 -08:00
Adam Bookatz
67fb3ca965 Merge "Statsd atom: Wifi on (enabled) and running" 2018-12-17 20:25:29 +00:00
Fabian Kozynski
04e4cdff7a Use frameworks wifi icons instead of sysui
ic_qs_wifi_full_x have been replaced by ic_wifi_signal_x in frameworks.
That way they can be overlaid with the whole system. Also,
ic_qs_wifi_disabled was identical to ic_qs_wifi_full_0, so it was
removed.

Test: Visual (using HotDog overlay)
Bug: 121040363
Change-Id: Ia36613e5c0b1f3a0c1eb5c687d795992e8660955
2018-12-17 15:05:29 -05:00
Chih-Hung Hsieh
a1b644e88c Fix performance-for-range-copy warnings
Bug: 30413223
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,performance*
Change-Id: Ie481e88025a7a1f3abde8ff63420d5ccd8577e52
2018-12-17 20:00:55 +00:00
Dianne Hackborn
3d7ab61b02 Fix issue #121104681: Force stopping AGSA causes system to revert to its default impl
If you have a legacy assist app (launched through ACTION_ASSIST, not
implementing a VoiceInteractionService) then we kept the Google app
as the current speech recognizer.  Thus if you force stopped the
Google app, we saw that as one of the active parts of the interactor
or recognizer and reset all of the state.

Now we handle the "only recognizer" case separately, only resettting
the recognizer state in that case.

Bug: 121104681
Test: manual
Change-Id: Icc007bdf2352548d58be997fae77d9e5aba842f3
2018-12-17 11:45:32 -08:00
Pengquan Meng
f98c2c41bd [automerger skipped] Merge "Add FrequencyRange comparator to ServiceState" am: d0c404cb21 am: 5cb84d7f23
am: b527f8a44c  -s ours

Change-Id: I384994f412f4c6a79cac99387e42c3c2e113c3e2
2018-12-17 11:37:43 -08:00
Robin Lee
54d44962be Fix a race condition in DeviceIdleControllerTest.
I noticed that the real ACTION_BATTERY_CHANGED races against the mocked
calls to update power state and cycle through idle states. This actually
works on a high-end phone or an emulator because the sticky broadcast
goes through before the test finishes setting up.

But on a slower device we sometimes beat the broadcast queue and wind up
getting our state reset halfway through the test. Flaky tests are bad so
let's not listen to broadcasts at all in the test.

May address issue 118639768 [DeviceIdleControllerTest is flaky].

Bug: 110756616
Bug: 118639768
Test: atest com.android.server.DeviceIdleControllerTest
Change-Id: Ie03ed10f2781ccaba4f39f4f34673a3e073e9f7f
2018-12-17 19:33:02 +00:00
Pengquan Meng
b527f8a44c Merge "Add FrequencyRange comparator to ServiceState" am: d0c404cb21
am: 5cb84d7f23

Change-Id: I5550790e9db3604bf35d4f01b6e7fef316e3809e
2018-12-17 11:28:32 -08:00
John Reck
470a919135 Add missing getter & improve docs
Also fix SkiaDisplayList::getUsedSize()

Bug: 120865963
Test: atest android.uirendering.cts.testclasses.RenderNodeTests
Change-Id: I3cdbd8d330da9a00367199087c9ae1e0a2cacf46
2018-12-17 11:25:34 -08:00
Andrey Kulikov
45e92aa281 Change platform Scene.getCurrentScene parameter from View to ViewGroup
API Review request to use ViewGroup here as Scene roots can only be ViewGroup

Bug: 120504681
Test: none
Change in AndroidX: aosp/841919
Change-Id: I6fb857bc68d2afca54fe7d366fe8490d03c947a9
2018-12-17 19:23:38 +00:00
Pengquan Meng
5cb84d7f23 Merge "Add FrequencyRange comparator to ServiceState"
am: d0c404cb21

Change-Id: I4b20c8a2d38a6f64530a281a3db9df18a593e845
2018-12-17 11:16:56 -08:00
Android Build Merger (Role)
1519a9a9a4 Merge "Merge "public API for VideoProfile.CameraCapability with zoom" am: 610673690c am: efac7fdbf7 am: fcd87384c4" 2018-12-17 19:10:22 +00:00
Pengquan Meng
9a3a1bd6ac Merge "Add 5G icon to System UI" 2018-12-17 19:07:57 +00:00
Pengquan Meng
d0c404cb21 Merge "Add FrequencyRange comparator to ServiceState" 2018-12-17 19:07:27 +00:00