OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Track ZygoteHooks API changes in libcore"
Neil Fuller [Wed, 30 Jan 2019 11:10:21 +0000 (03:10 -0800)]
Merge "Track ZygoteHooks API changes in libcore"
am: 20bca262f5

Change-Id: I9245629f0a5ba6fed9695f591396747eb1ae911c

5 years agoMerge "Track ZygoteHooks API changes in libcore"
Neil Fuller [Wed, 30 Jan 2019 10:53:55 +0000 (10:53 +0000)]
Merge "Track ZygoteHooks API changes in libcore"

5 years agoMerge "API: Fix missing @NonNull annotations"
Adrian Roos [Wed, 30 Jan 2019 09:55:30 +0000 (01:55 -0800)]
Merge "API: Fix missing @NonNull annotations"
am: b852f6636f

Change-Id: Id6451f9cd18debf51137a81159ead79064fbafca

5 years agoMerge "API: Add missing nullability annotations"
Adrian Roos [Wed, 30 Jan 2019 09:51:31 +0000 (01:51 -0800)]
Merge "API: Add missing nullability annotations"
am: e148fbcf03

Change-Id: I6b092f370a8b2eba20d19c6e43b4e5f5b217af16

5 years agoMerge "API: Fix missing @NonNull annotations"
Adrian Roos [Wed, 30 Jan 2019 09:31:58 +0000 (09:31 +0000)]
Merge "API: Fix missing @NonNull annotations"

5 years agoMerge "API: Add missing nullability annotations"
Adrian Roos [Wed, 30 Jan 2019 09:31:58 +0000 (09:31 +0000)]
Merge "API: Add missing nullability annotations"

5 years agoMerge "move ServiceState.getDataRegState to greylist"
Chen Xu [Wed, 30 Jan 2019 06:37:01 +0000 (22:37 -0800)]
Merge "move ServiceState.getDataRegState to greylist"
am: 607e797932

Change-Id: I7d63f204bb34e462039d3889d1876b3264d0f567

5 years agoMerge "Add APIs to get/set if usage of multiple SIMs is restricted."
Michele Berionne [Wed, 30 Jan 2019 06:31:18 +0000 (22:31 -0800)]
Merge "Add APIs to get/set if usage of multiple SIMs is restricted."
am: 59133875e7

Change-Id: Ie9c2a17b65f21862502056957ff5603b62f7d4dd

5 years agoMerge "move ServiceState.getDataRegState to greylist"
Chen Xu [Wed, 30 Jan 2019 06:20:01 +0000 (06:20 +0000)]
Merge "move ServiceState.getDataRegState to greylist"

5 years agoMerge "Add APIs to get/set if usage of multiple SIMs is restricted."
Michele Berionne [Wed, 30 Jan 2019 06:18:19 +0000 (06:18 +0000)]
Merge "Add APIs to get/set if usage of multiple SIMs is restricted."

5 years agoMerge "Compile NetworkStack as system_current"
Remi NGUYEN VAN [Wed, 30 Jan 2019 05:18:39 +0000 (21:18 -0800)]
Merge "Compile NetworkStack as system_current"
am: 17c303b79d

Change-Id: If74cbb1e9f59373636350c24aa07831d1705db49

5 years agoMerge "Remove last NetworkStack usage of hidden APIs"
Remi NGUYEN VAN [Wed, 30 Jan 2019 05:13:46 +0000 (21:13 -0800)]
Merge "Remove last NetworkStack usage of hidden APIs"
am: 16ec5d038c

Change-Id: I27c78d09938f672a4428a17436d5ed0541170d0d

5 years agoMerge "Compile NetworkStack as system_current"
Remi NGUYEN VAN [Wed, 30 Jan 2019 04:56:15 +0000 (04:56 +0000)]
Merge "Compile NetworkStack as system_current"

5 years agoMerge "Remove last NetworkStack usage of hidden APIs"
Remi NGUYEN VAN [Wed, 30 Jan 2019 04:55:21 +0000 (04:55 +0000)]
Merge "Remove last NetworkStack usage of hidden APIs"

5 years agoMerge "Whitelist packages from VPN lockdown: DPM API."
Pavel Grafov [Wed, 30 Jan 2019 01:41:49 +0000 (17:41 -0800)]
Merge "Whitelist packages from VPN lockdown: DPM API."
am: c9d834e3f5

Change-Id: I5723a0970a0e37995c9db6e42ae527b8692bc48a

5 years agoAdd APIs to get/set if usage of multiple SIMs is restricted.
Michele [Fri, 21 Dec 2018 22:51:01 +0000 (14:51 -0800)]
Add APIs to get/set if usage of multiple SIMs is restricted.

Add API that indicates if the usage of multiple SIMs at the same time is
allowed or restricted in order to support requirements from carriers for
dual SIM devices

Bug: 123537730
Test: Verified with test application.
Change-Id: I5e3e5ff41927e43ead4a30988630cf9125d5a048
Merged-In: I5e3e5ff41927e43ead4a30988630cf9125d5a048
(cherry picked from commit 398d5d91136d6e2146bf56ad3bdbb326a835c8ef)

5 years agoMerge "Whitelist packages from VPN lockdown: DPM API."
Treehugger Robot [Wed, 30 Jan 2019 01:29:45 +0000 (01:29 +0000)]
Merge "Whitelist packages from VPN lockdown: DPM API."

5 years agoCompile NetworkStack as system_current
Remi NGUYEN VAN [Tue, 29 Jan 2019 12:32:48 +0000 (21:32 +0900)]
Compile NetworkStack as system_current

Test: make NetworkStack
Test: flashed, WiFi and tethering working
Bug: 112869080
Change-Id: I2d805c0fefe271199f4f0e0d49d91e03f41a7eef

5 years agoRemove last NetworkStack usage of hidden APIs
Remi NGUYEN VAN [Tue, 29 Jan 2019 06:38:52 +0000 (15:38 +0900)]
Remove last NetworkStack usage of hidden APIs

Includes various small changes to stop using hidden APIs

Test: make NetworkStack
Test: flashed, booted, WiFi and tethering working
Bug: 112869080
Change-Id: Id2830795a444f484b377ed6437435a1cd833697a

5 years agoMerge "Add IntRange and FloatRange annotations"
Chen Xu [Wed, 30 Jan 2019 00:32:21 +0000 (16:32 -0800)]
Merge "Add IntRange and FloatRange annotations"
am: 94a9377222

Change-Id: Iab472ad2c0ffe875069ea7b71ce10a14e9ef70f5

5 years agoMerge "Add IntRange and FloatRange annotations"
Chen Xu [Wed, 30 Jan 2019 00:06:23 +0000 (00:06 +0000)]
Merge "Add IntRange and FloatRange annotations"

5 years agomove ServiceState.getDataRegState to greylist
chen xu [Tue, 29 Jan 2019 23:56:40 +0000 (15:56 -0800)]
move ServiceState.getDataRegState to greylist

given we don't have a public alternatives for dataregstate for Q,
thus we shouldn't move this API to app-compat dark list.

Bug: 123099466
Test: Build
Change-Id: I67531ce536e004e1bc0f764824a261fb51cd27fa

5 years agoMerge "Merge "Card ID APIs are public" am: bd4a4dc889" into stage-aosp-master
Android Build Merger (Role) [Tue, 29 Jan 2019 23:14:51 +0000 (23:14 +0000)]
Merge "Merge "Card ID APIs are public" am: bd4a4dc889" into stage-aosp-master

5 years agoMerge "Card ID APIs are public"
Jordan Liu [Tue, 29 Jan 2019 23:13:25 +0000 (15:13 -0800)]
Merge "Card ID APIs are public"
am: bd4a4dc889

Change-Id: Ie436f74a0501d46ac12ea641ab71741fc6cbf3ba

5 years agoMerge "Card ID APIs are public"
Jordan Liu [Tue, 29 Jan 2019 23:06:01 +0000 (15:06 -0800)]
Merge "Card ID APIs are public"
am: bd4a4dc889

Change-Id: I2cf670328f7b2f35d6009eecb0e3741311d6e2df

5 years agoMerge "Card ID APIs are public"
Jordan Liu [Tue, 29 Jan 2019 22:43:47 +0000 (22:43 +0000)]
Merge "Card ID APIs are public"

5 years agoAdd IntRange and FloatRange annotations
chen xu [Tue, 29 Jan 2019 21:58:29 +0000 (13:58 -0800)]
Add IntRange and FloatRange annotations

Bug: 123223163
Test: Build
Change-Id: I17f27075007df642ec93e5b762b0717da4a1e927

5 years agoWhitelist packages from VPN lockdown: DPM API.
Pavel Grafov [Fri, 25 Jan 2019 08:50:06 +0000 (08:50 +0000)]
Whitelist packages from VPN lockdown: DPM API.

Bug: 77468593
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpn
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpnAcrossReboot
Change-Id: I7508070f828fb7150df5d9e34846535d57c6a7c3
Merged-In: I7508070f828fb7150df5d9e34846535d57c6a7c3

5 years agoMerge "Define more thresholds for opportunistic data"
Sooraj Sasindran [Tue, 29 Jan 2019 20:09:58 +0000 (12:09 -0800)]
Merge "Define more thresholds for opportunistic data"
am: cf2e069962

Change-Id: I8426e90c7f8a6b251e3bfdf0e2f3f0cf819fa777

5 years agoMerge changes I94d15307,I7deb8556,I755b3140
Jack He [Tue, 29 Jan 2019 19:53:43 +0000 (11:53 -0800)]
Merge changes I94d15307,I7deb8556,I755b3140
am: 5aef5c6508

Change-Id: I2e38b52aeff244bdec199907f5cf90ce23ecbbfe

5 years agoTrack ZygoteHooks API changes in libcore
Neil Fuller [Mon, 28 Jan 2019 18:29:20 +0000 (18:29 +0000)]
Track ZygoteHooks API changes in libcore

Track ZygoteHooks API changes in libcore to make
the ZygoteHooks API more consistent.

Bug: 111742291
Test: build / boot / treehugger
Merged-In: Ie65aac6539cffc90663807791511b95a6cd61ab4
Change-Id: Ie65aac6539cffc90663807791511b95a6cd61ab4

5 years agoMerge "Define more thresholds for opportunistic data"
Sooraj Sasindran [Tue, 29 Jan 2019 19:43:26 +0000 (19:43 +0000)]
Merge "Define more thresholds for opportunistic data"

5 years agoMerge changes I94d15307,I7deb8556,I755b3140
Treehugger Robot [Tue, 29 Jan 2019 19:27:53 +0000 (19:27 +0000)]
Merge changes I94d15307,I7deb8556,I755b3140

* changes:
  Atom: Add more Bluetooth atoms
  Atom: Add A2DP playback related atoms to StatsLog
  Fix typo in hci/enums.proto: OCCURED -> OCCURRED

5 years agoCard ID APIs are public
Jordan Liu [Fri, 18 Jan 2019 18:29:56 +0000 (10:29 -0800)]
Card ID APIs are public

These were system API but we should expose them for apps with carrier
privileges.

Test: manual
Bug: 122974656
Change-Id: Ie60e4c580dfa9dd0d7d6fb6b94226661d0620dad

5 years agoMerge "Add check for slot index value"
Michele Berionne [Tue, 29 Jan 2019 17:34:53 +0000 (09:34 -0800)]
Merge "Add check for slot index value"
am: d8148b6c8c

Change-Id: I33be18a2fb8b3e35e521bdea28354ba1b7daa5b9

5 years agoMerge "Add check for slot index value"
Michele Berionne [Tue, 29 Jan 2019 17:25:17 +0000 (17:25 +0000)]
Merge "Add check for slot index value"

5 years agoMerge "apilint: Allow parsing 3.0 signature files"
Adrian Roos [Tue, 29 Jan 2019 16:23:14 +0000 (08:23 -0800)]
Merge "apilint: Allow parsing 3.0 signature files"
am: 34b11c92b3

Change-Id: I0cc45b11f079c7a0d383b49e74d55658a8915d71

5 years agoMerge "apilint: Allow parsing 3.0 signature files"
Adrian Roos [Tue, 29 Jan 2019 16:05:21 +0000 (16:05 +0000)]
Merge "apilint: Allow parsing 3.0 signature files"

5 years agoMerge "Revert "Extract network observer code from NetworkManagementService.""
Remi NGUYEN VAN [Tue, 29 Jan 2019 14:47:16 +0000 (06:47 -0800)]
Merge "Revert "Extract network observer code from NetworkManagementService.""
am: 9fdc6d2963

Change-Id: Ib4a7b32a143b3c8f029ccd92191494cd9579e8bd

5 years agoMerge "Revert "Extract network observer code from NetworkManagementService.""
Remi NGUYEN VAN [Tue, 29 Jan 2019 14:30:56 +0000 (14:30 +0000)]
Merge "Revert "Extract network observer code from NetworkManagementService.""

5 years agoapilint: Allow parsing 3.0 signature files
Adrian Roos [Tue, 29 Jan 2019 14:01:28 +0000 (15:01 +0100)]
apilint: Allow parsing 3.0 signature files

Test: python apilint_test.py
Change-Id: I59df950229c05329afde93f94efc13adb4640ad7

5 years agoMerge "Move FdEventsReader to the shared area."
Chalard Jean [Tue, 29 Jan 2019 12:11:44 +0000 (04:11 -0800)]
Merge "Move FdEventsReader to the shared area."
am: 4a838a68d6

Change-Id: I27ecc795228c7bd91c8443a9ba3dad19d8010cf8

5 years agoMerge "Move FdEventsReader to the shared area."
Treehugger Robot [Tue, 29 Jan 2019 11:45:15 +0000 (11:45 +0000)]
Merge "Move FdEventsReader to the shared area."

5 years agoMerge "Run IpClientLinkObserver on Binder thread"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:25:26 +0000 (03:25 -0800)]
Merge "Run IpClientLinkObserver on Binder thread"
am: f89a1cfd21

Change-Id: I13c2a2c9c03c26777eb9c57e0ec62eab3d2df7da

5 years agoMerge "Add utils connect, setsockopt, bind, sendTo"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:21:22 +0000 (03:21 -0800)]
Merge "Add utils connect, setsockopt, bind, sendTo"
am: 1e002eede3

Change-Id: Ida2a99f35affe3cb9213f71ba622ace51c4d6f57

5 years agoMerge "Add NetworkUtils utilities to SystemApi"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:17:41 +0000 (03:17 -0800)]
Merge "Add NetworkUtils utilities to SystemApi"
am: 9cc31061fe

Change-Id: I82f20718d86b08cd0916ee33300ca0ee734305a6

5 years agoMerge "Run IpClientLinkObserver on Binder thread"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:07:42 +0000 (11:07 +0000)]
Merge "Run IpClientLinkObserver on Binder thread"

5 years agoMerge "Add utils connect, setsockopt, bind, sendTo"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:07:20 +0000 (11:07 +0000)]
Merge "Add utils connect, setsockopt, bind, sendTo"

5 years agoMerge "Add NetworkUtils utilities to SystemApi"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:07:04 +0000 (11:07 +0000)]
Merge "Add NetworkUtils utilities to SystemApi"

5 years agoRevert "Extract network observer code from NetworkManagementService."
Remi NGUYEN VAN [Tue, 29 Jan 2019 04:03:38 +0000 (04:03 +0000)]
Revert "Extract network observer code from NetworkManagementService."

This reverts commit d8bc829a85c9c9bb390e18b59ef1455b6d0b94ec.

Reason for revert: Refactoring was unnecessary

Merged-In: Ib4e7da3274e49f25676505a08e6ce7e7b0dfdb8d
Change-Id: Iff332c680315b560f0b762c1d7311ec83d539115

5 years agoMove FdEventsReader to the shared area.
Chalard Jean [Tue, 29 Jan 2019 09:30:03 +0000 (18:30 +0900)]
Move FdEventsReader to the shared area.

This is necessary both in the network stack app and the
framework.

Test: FrameworksNetTests
Change-Id: I48af0ab29405501f0581a6c0c9ce6e5d4a32c8b4

5 years agoMerge "Remove IpClient usage of NetworkManagementService"
Remi NGUYEN VAN [Tue, 29 Jan 2019 09:16:21 +0000 (01:16 -0800)]
Merge "Remove IpClient usage of NetworkManagementService"
am: 9fe79edfd2

Change-Id: Ia66a457d3cb73c92c97de025348724fa3f5cbc55

5 years agoMerge "Remove IpClient usage of NetworkManagementService"
Remi NGUYEN VAN [Tue, 29 Jan 2019 08:58:32 +0000 (08:58 +0000)]
Merge "Remove IpClient usage of NetworkManagementService"

5 years agoAdd utils connect, setsockopt, bind, sendTo
Remi NGUYEN VAN [Tue, 29 Jan 2019 06:17:00 +0000 (15:17 +0900)]
Add utils connect, setsockopt, bind, sendTo

The utilities are not supported as public API but required as SystemApi
for the NetworkStack.

Test: flashed, boots, WiFi works
Bug: 112869080
Change-Id: Ia64b3bf9c6c33cf61bed76469ea9963b550bed2b

5 years agoAdd NetworkUtils utilities to SystemApi
Remi NGUYEN VAN [Tue, 29 Jan 2019 03:08:43 +0000 (12:08 +0900)]
Add NetworkUtils utilities to SystemApi

attach*Filter and addArpEntry are necessary for the NetworkStack but are
only usable for apps that have system permissions.
Also includes system API for IpPrefix, LinkAddress, LinkProperties,
Network, and static modifier in ApfCapabilities that were missed in
previous CLs.

Test: Builds, flashed, WiFi works
Bug: 112869080
Change-Id: If141ae6a2f9145f5af64ba002ca44938f39b90a9

5 years agoRun IpClientLinkObserver on Binder thread
Remi NGUYEN VAN [Tue, 29 Jan 2019 07:46:48 +0000 (16:46 +0900)]
Run IpClientLinkObserver on Binder thread

This restores previous behavior, where callbacks would not be called on
the IpClient handler thread.

Test: atest FrameworksNetTests NetworkStackTests
Test: flashed, WiFi works
Bug: 123062477
Change-Id: I3015566b0922d76ac7cf70579a1de3e033bf7b4a

5 years agoMerge "uce: Updating UCE API to accept ICC-ID."
Gnaneshwar Gatla [Tue, 29 Jan 2019 06:04:32 +0000 (22:04 -0800)]
Merge "uce: Updating UCE API to accept ICC-ID."
am: d20bdb915a

Change-Id: I09c1bb2f89d2fe456c3547671d1d81731b130d28

5 years agoMerge "Disable view compilation for privileged apps"
Mathieu Chartier [Tue, 29 Jan 2019 06:00:08 +0000 (22:00 -0800)]
Merge "Disable view compilation for privileged apps"
am: 3c496729de

Change-Id: Ice8a1710b04f93036dcdc831402d8975528f3fc2

5 years agoMerge "Fix for CTS testAllowWhileIdleJobInTempwhitelist"
Kulwinder Singh [Tue, 29 Jan 2019 05:50:20 +0000 (21:50 -0800)]
Merge "Fix for CTS testAllowWhileIdleJobInTempwhitelist"
am: 23b144eb40

Change-Id: Ifce8f15e876694a35c0e0a31b05d8ea47c462628

5 years agoMerge "new SystemAPI to getSimLocale"
Pengquan Meng [Tue, 29 Jan 2019 05:24:15 +0000 (21:24 -0800)]
Merge "new SystemAPI to getSimLocale"
am: 5cf41e47fe

Change-Id: I61c7c147efc223000a58ae003231f97756783076

5 years agoMerge "Add SocketUtils for NetworkStack"
Remi NGUYEN VAN [Tue, 29 Jan 2019 05:19:36 +0000 (21:19 -0800)]
Merge "Add SocketUtils for NetworkStack"
am: cec60fa56a

Change-Id: I0db40afbf2de55d77d9d5493e556f499d2383f59

5 years agoMerge "clang-format ManifestFixer_test.cpp"
Colin Cross [Tue, 29 Jan 2019 05:16:13 +0000 (21:16 -0800)]
Merge "clang-format ManifestFixer_test.cpp"
am: 171c9cdc6a

Change-Id: Ia252884dd1ddb2d1aad7b9b881e1107aa8160122

5 years agoMerge "Add Secure NFC functionality"
Ruchi Kandoi [Tue, 29 Jan 2019 04:48:08 +0000 (20:48 -0800)]
Merge "Add Secure NFC functionality"
am: 3ffdb26aa8

Change-Id: Ic3131f8763d0e04e50a81652f6b0e08e48bd0f1e

5 years agoMerge "uce: Updating UCE API to accept ICC-ID."
Treehugger Robot [Tue, 29 Jan 2019 04:43:32 +0000 (04:43 +0000)]
Merge "uce: Updating UCE API to accept ICC-ID."

5 years agoMerge "Data profile refactoring"
Jack Yu [Tue, 29 Jan 2019 04:43:20 +0000 (20:43 -0800)]
Merge "Data profile refactoring"
am: b551d0d6d3

Change-Id: Ibb6374fab2282a5db6d4f931c53ce8a1a0811988

5 years agoMerge "Add Emergency Number Test Mode"
Amit Mahajan [Tue, 29 Jan 2019 04:36:15 +0000 (20:36 -0800)]
Merge "Add Emergency Number Test Mode"
am: 783400c390

Change-Id: I5c831c92ef0a24496f7aabc1d0a50a5ee493cb26

5 years agoMerge "jni: more O_CLOEXECs"
Nick Kralevich [Tue, 29 Jan 2019 04:31:59 +0000 (20:31 -0800)]
Merge "jni: more O_CLOEXECs"
am: 0bd511611e

Change-Id: Id9eabfa92a488dbf7a27108aff8101d602e1adc9

5 years agoMerge "Disable view compilation for privileged apps"
Mathieu Chartier [Tue, 29 Jan 2019 04:24:10 +0000 (04:24 +0000)]
Merge "Disable view compilation for privileged apps"

5 years agoMerge "Whitelist packages from VPN lockdown."
Pavel Grafov [Tue, 29 Jan 2019 04:18:23 +0000 (20:18 -0800)]
Merge "Whitelist packages from VPN lockdown."
am: 774c3ce152

Change-Id: I3332e495ba0c903dff3dbb9c53c5c4784ea519f4

5 years agoMerge "CallQuality is set to empty instead of null"
Jordan Liu [Tue, 29 Jan 2019 04:14:51 +0000 (20:14 -0800)]
Merge "CallQuality is set to empty instead of null"
am: b3f282daa1

Change-Id: I57b228b8d8b2c42c8a23e33d4c1c18a94c838907

5 years agoMerge "Add Emergency Uniform Resource Number (URN)"
Amit Mahajan [Tue, 29 Jan 2019 03:57:11 +0000 (19:57 -0800)]
Merge "Add Emergency Uniform Resource Number (URN)"
am: e01a358b5b

Change-Id: I0c9f4182f8255ba0a6eeac501834ff26837cd357

5 years agoMerge "Remove DumpstateOptions"
Nandana Dutt [Tue, 29 Jan 2019 03:51:36 +0000 (19:51 -0800)]
Merge "Remove DumpstateOptions"
am: 706b2d0e16

Change-Id: I4134f2cd095e8d91a7f4444030a4c1523adb5483

5 years agoMerge "Fix for CTS testAllowWhileIdleJobInTempwhitelist"
Treehugger Robot [Tue, 29 Jan 2019 03:51:11 +0000 (03:51 +0000)]
Merge "Fix for CTS testAllowWhileIdleJobInTempwhitelist"

5 years agoMerge "startop: use static_lib dependency on libdexfile."
Orion Hodson [Tue, 29 Jan 2019 03:48:13 +0000 (19:48 -0800)]
Merge "startop: use static_lib dependency on libdexfile."
am: ff1aa4e49a

Change-Id: I943a8bbf6945cb156ecb202b4537dc75ba2f5cf5

5 years agoMerge "framework.jar: Include all radio HIDL libs."
Steven Moreland [Tue, 29 Jan 2019 03:44:18 +0000 (19:44 -0800)]
Merge "framework.jar: Include all radio HIDL libs."
am: 3c7ac4e991

Change-Id: Ib45dc36987acd944f0abe9496b62701557d18e2e

5 years agoMerge "Expose bugreporting API as system API."
Nandana Dutt [Tue, 29 Jan 2019 03:40:54 +0000 (19:40 -0800)]
Merge "Expose bugreporting API as system API."
am: 6ac57c669a

Change-Id: I98b7d492e8b800670a3127224d152b8fe75e758f

5 years agoRemove IpClient usage of NetworkManagementService
Remi NGUYEN VAN [Mon, 28 Jan 2019 06:15:59 +0000 (15:15 +0900)]
Remove IpClient usage of NetworkManagementService

Use the new NetworkObserverRegistry instead.

Test: atest FrameworksNetTests NetworkStackTests
Test: flashed, WiFi working fine
Bug: 112869080
Change-Id: If16ecfd6489f86afec67c22b4c3692cd68f4edbf

5 years agoAtom: Add more Bluetooth atoms
Jack He [Mon, 21 Jan 2019 05:22:46 +0000 (21:22 -0800)]
Atom: Add more Bluetooth atoms

* BluetoothHciTimeoutReported is logged when Bluetooth controller
  failed to respond to an HCI command in time
* BluetoothQualityReportReported is logged when Bluetooth controller
  sends a link quality report event to Android host due to bad link
  quality
* BluetoothManufacturerInfoReported is logged when we learn about
  manufactuer defined metadata for a device such as manufactuer name
  model number, software version, and hardware version
* BluetoothRemoteVersionInfoReported is logged when we learn about
  the manufactuer and Bluetooth version of remote Bluetooth controller
  and stack
* BluetoothSdpAttributeReported is logged when we learn about services
  provided by the remote device and their metdata such as protocol
  version and feature bitmask. Only profiles that use 16-bit UUIDs are
  logged
* BluetoothBondStateChanged is logged when Bluetooth bonding state is
  changed a a macro level such as none -> bonding, bonding -> bonded,
  and user interaction events such as passkey confirmation
* BluetoothClassicPairingEventReported is logged from native layer
  when Bluetooth classic pairing state changed due to HCI command
  or events. This is a more verbose level logging compared to
  BluetoothBondStateChanged
* BluetoothSmpPairingEventReported is logged from native layer when
  Bluetooth Security Manager Protocol based pairing state changed due to
  SMP command sent or received. Pairing failure reason code is also
  logged as a pre-defined enum

Bug: 112969790
Test: test drive with statsd
Change-Id: I94d1530758f79ce6d5f119426b1379c76517afec
Merged-In: I94d1530758f79ce6d5f119426b1379c76517afec
(cherry picked from commit 1021a6108132bf0d98676cae1afe98a1960f1375)

5 years agoAtom: Add A2DP playback related atoms to StatsLog
Jack He [Thu, 10 Jan 2019 04:54:41 +0000 (20:54 -0800)]
Atom: Add A2DP playback related atoms to StatsLog

* BluetoothA2dpPlaybackStateChanged:
  - Logged when A2DP playback state changed for individual devices
* BluetoothA2dpCodecConfigChanged
  - Logged when A2DP codec configuration changed for individual devices
* BluetoothA2dpCodecCapabilityChanged
  - Logged when A2DP codec capability changed for individual devices
* BluetoothActiveDeviceChanged
  - Logged when A2DP/HFP/HEARNING_AID active device changed
* BluetoothA2dpAudioOverrunReported
  - Logs when A2DP failed send encoded data to the remote device fast
    enough such that the transmit buffer queue is full and we have to
    drop data
* BluetoothA2dpAudioUnderrunReported
  - Logs when A2DP failed to read from PCM source
* BluetoothDeviceRssiReported
  - Logged when remote device's RSSI level is reported by the controller
* BluetoothDeviceFailedContactCounterReported
  - Logged when ACL transmit queue was flushed by the controller
  - This is normally disabled unless we set automatic flush timeout was
    set to a non-zero value
  - However, when this event is reported, the connection quality must
    be very bad
* BluetoothDeviceTxPowerLevelReported
  - Logged when transmit power level is reported for a particular
    connection

Bug: 112969790
Test: make, testdrive with statsd
Change-Id: I7deb85567630fae75be733df21b45f9c6bcf9e17
Merged-In: I7deb85567630fae75be733df21b45f9c6bcf9e17
(cherry picked from commit c27040aea7775482f5a2e2d8d2c075b61c6c1ad8)

5 years agoFix typo in hci/enums.proto: OCCURED -> OCCURRED
Muhammad Qureshi [Fri, 25 Jan 2019 23:28:02 +0000 (15:28 -0800)]
Fix typo in hci/enums.proto: OCCURED -> OCCURRED

Test: none

Change-Id: I755b3140b550ade5078c946c1d4ee910bd47b5ad
Merged-In: I755b3140b550ade5078c946c1d4ee910bd47b5ad
(cherry picked from commit a664734a031091083885e43140b1dd747cd52a25)

5 years agoDisable view compilation for privileged apps
Mathieu Chartier [Fri, 25 Jan 2019 21:05:34 +0000 (13:05 -0800)]
Disable view compilation for privileged apps

Bug: 111895153
Test: look that there are no selinux denials

Change-Id: Id759171654888f8172d46fd05094f58842442a81

5 years agoDefine more thresholds for opportunistic data
Sooraj Sasindran [Wed, 9 Jan 2019 19:09:22 +0000 (11:09 -0800)]
Define more thresholds for opportunistic data

Define entry bandwidth threshold for opportunistic data
Define entry and hysteresis time for opportunistic data

Bug: 120847469
Test: make
Change-Id: Ie7c35e10aeaf791dba49d9f5e881d292068f81f3
Merged-In: Ie7c35e10aeaf791dba49d9f5e881d292068f81f3

5 years agoMerge "new SystemAPI to getSimLocale"
Pengquan Meng [Tue, 29 Jan 2019 00:21:49 +0000 (00:21 +0000)]
Merge "new SystemAPI to getSimLocale"

5 years agoMerge "Add SocketUtils for NetworkStack"
Remi NGUYEN VAN [Mon, 28 Jan 2019 23:14:08 +0000 (23:14 +0000)]
Merge "Add SocketUtils for NetworkStack"

5 years agoMerge "clang-format ManifestFixer_test.cpp"
Treehugger Robot [Mon, 28 Jan 2019 22:15:35 +0000 (22:15 +0000)]
Merge "clang-format ManifestFixer_test.cpp"

5 years agoMerge "Add Secure NFC functionality"
Ruchi Kandoi [Mon, 28 Jan 2019 22:11:32 +0000 (22:11 +0000)]
Merge "Add Secure NFC functionality"

5 years agoMerge "Data profile refactoring"
Jack Yu [Mon, 28 Jan 2019 21:29:27 +0000 (21:29 +0000)]
Merge "Data profile refactoring"

5 years agoAdd check for slot index value
Michele [Mon, 28 Jan 2019 21:07:30 +0000 (13:07 -0800)]
Add check for slot index value

Verify that slot index passed in setAllowedCarrier() and in
getAllowedCarrier() has a valid value or return error code.

Bug: 123097251
Test: compilation
Change-Id: I322ecd11c49301a7d5bf5edb75d32a72a9f813c3

5 years agoMerge "Add Emergency Number Test Mode"
Amit Mahajan [Mon, 28 Jan 2019 20:51:25 +0000 (20:51 +0000)]
Merge "Add Emergency Number Test Mode"

5 years agoMerge "jni: more O_CLOEXECs"
Treehugger Robot [Mon, 28 Jan 2019 20:40:43 +0000 (20:40 +0000)]
Merge "jni: more O_CLOEXECs"

5 years agoMerge "Whitelist packages from VPN lockdown."
Pavel Grafov [Mon, 28 Jan 2019 20:15:49 +0000 (20:15 +0000)]
Merge "Whitelist packages from VPN lockdown."

5 years agoMerge "CallQuality is set to empty instead of null"
Jordan Liu [Mon, 28 Jan 2019 19:16:06 +0000 (19:16 +0000)]
Merge "CallQuality is set to empty instead of null"

5 years agoAdd Emergency Number Test Mode
sqian [Wed, 16 Jan 2019 02:26:35 +0000 (18:26 -0800)]
Add Emergency Number Test Mode

Add EMERGENCY_NUMBER_SOURCE_TEST_MODE

This also does not allow to send the service categories from database when
dialing.

Bug: 122840137
Test: Manual; Treehugger
Merged-in: I4ea3539e3b814b71e03e956d4a857ec20141fa8c
Change-Id: I4ea3539e3b814b71e03e956d4a857ec20141fa8c
(cherry picked from commit cb4bd3a30f40611bc91f1f7f8289a4dd61b8251b)

5 years agoMerge "Add Emergency Uniform Resource Number (URN)"
Amit Mahajan [Mon, 28 Jan 2019 18:50:55 +0000 (18:50 +0000)]
Merge "Add Emergency Uniform Resource Number (URN)"

5 years agojni: more O_CLOEXECs
Nick Kralevich [Mon, 28 Jan 2019 18:39:10 +0000 (10:39 -0800)]
jni: more O_CLOEXECs

Prevent FDs from leaking across an execve() boundary.

Test: compiles and boots
Change-Id: I5f91046917b55b6abead0a5c6e939f82814e6f18

5 years agoAdd Emergency Uniform Resource Number (URN)
sqian [Thu, 10 Jan 2019 03:10:58 +0000 (19:10 -0800)]
Add Emergency Uniform Resource Number (URN)

Test: Treehugger
Bug: 112657134
Change-Id: I87537f7123910e9843207428eb3167a90a15b6df
Merged-In: I87537f7123910e9843207428eb3167a90a15b6df
(cherry picked from commit 03bde886e5cfe06fcbced55b45d2b3d6fc5746ae)

5 years agoData profile refactoring
Jack Yu [Tue, 18 Dec 2018 00:09:03 +0000 (16:09 -0800)]
Data profile refactoring

Data profile should use the public defined types
instead of the internal defined data types.

1. Using integer instead of string for protocol type.
2. Using TelephonyManager.NetworkTypeBitMask instead of
   the internal ServiceState.RIL_RADIO_TECHNOLOGY_XXX
   in data profile.

Test: Telephony sanity tests
Bug: 73659459
Merged-In: I04b910f8e349e8b7819ff058bf37ad06c3fd9adc
Change-Id: I04b910f8e349e8b7819ff058bf37ad06c3fd9adc
(cherry picked from commit af6b47af54e35a665fb18bd6d63fa945c333b6a9)

5 years agoMerge "Remove DumpstateOptions"
Nandana Dutt [Mon, 28 Jan 2019 17:20:45 +0000 (17:20 +0000)]
Merge "Remove DumpstateOptions"

5 years agoMerge "startop: use static_lib dependency on libdexfile."
Treehugger Robot [Mon, 28 Jan 2019 16:46:41 +0000 (16:46 +0000)]
Merge "startop: use static_lib dependency on libdexfile."

5 years agoMerge "framework.jar: Include all radio HIDL libs."
Steven Moreland [Mon, 28 Jan 2019 16:30:36 +0000 (16:30 +0000)]
Merge "framework.jar: Include all radio HIDL libs."