Commit Graph

345249 Commits

Author SHA1 Message Date
Adam Lesinski
8cdca1bd72 AAPT2: Cleanup proto classes/methods and add XML serialization
Test: make aapt2_tests
Change-Id: I01ac2285af6771a683533c033a59ae6cfe875d93
2017-09-28 20:43:22 -07:00
Adam Lesinski
d3ffa844f5 AAPT2: Cleanup Visitors for XML and Values
Test: make aapt2_tests
Change-Id: Ib61f64c155a380115610edeaf2d65e60258a2426
2017-09-28 14:08:50 -07:00
TreeHugger Robot
43ddc05bbd Merge "AAPT2: Convert binary ResTable_config to proto" 2017-09-27 18:37:39 +00:00
Tony Mantler
490a38bae5 Merge "Make ApplicationsState.Session lifecycle-aware" 2017-09-27 18:22:10 +00:00
Fyodor Kupolov
d1d969084b Merge "Use separate lock in UserController" 2017-09-27 17:39:17 +00:00
Jeffrey Huang
7c7a714be6 Merge "Add new methods to PkgMgrWrapper for testing" 2017-09-27 17:03:15 +00:00
Siyamed Sinir
287d730184 Merge "Refactor imports for text performance tests" 2017-09-27 16:52:51 +00:00
TreeHugger Robot
de893f3f0a Merge "use new SkFontMgr API" 2017-09-27 14:39:06 +00:00
Abodunrinwa Toki
7a8e64acf9 Fix crash due to TextView.getText() returning null. am: 8f22de0e7f
am: e6a5d22b42  -s ours

Change-Id: I95498146d6e7b4df48d5feb41e8c69150993d0dc
2017-09-27 14:25:28 +00:00
Abodunrinwa Toki
e6a5d22b42 Fix crash due to TextView.getText() returning null.
am: 8f22de0e7f

Change-Id: I0166041823ff6467762df45efd66bfa7d0be5bff
2017-09-27 14:17:57 +00:00
TreeHugger Robot
6e408b2ad1 Merge "Fix crash due to TextView.getText() returning null." 2017-09-27 11:54:12 +00:00
Abodunrinwa Toki
8f22de0e7f Fix crash due to TextView.getText() returning null.
This CL ensures that a null text is not passed to
TextClassificationHelper.reset(...)

This CL does not handle the issue of TextView.getText() being null.

Bug: 65682674
Test: none
Merged-In: Id8bdc062ecf21cc14810586580fef9052672cfd8
Change-Id: Id8bdc062ecf21cc14810586580fef9052672cfd8
2017-09-27 11:52:21 +00:00
Lorenzo Colitti
66c82b38d5 Declare support for Ethernet if the service is running. am: 8fa085e76f
am: 3248ac6493

Change-Id: I154263bb94259e84f262e50176adcadf9a1b8846
2017-09-27 11:28:55 +00:00
Lorenzo Colitti
3248ac6493 Declare support for Ethernet if the service is running.
am: 8fa085e76f

Change-Id: I5df25cfc5e5dfe5b04f206842b284011d0d4f8d5
2017-09-27 11:20:50 +00:00
Lorenzo Colitti
6fb1658fbb Merge "Delete the legacy framework code for manipulating ND offload." am: d1ae268081 am: 53eb9d359a am: bb21618a86
am: c34d05691d

Change-Id: Ie442b73e9130aaeb5b46d4e2789521a508df6221
2017-09-27 11:13:15 +00:00
Lorenzo Colitti
c34d05691d Merge "Delete the legacy framework code for manipulating ND offload." am: d1ae268081 am: 53eb9d359a
am: bb21618a86

Change-Id: I07d9753e214af311d3dcab6f8016442f60388700
2017-09-27 11:05:29 +00:00
Jean Chalard
406af00d34 Merge "Adds necessary permissions to system apis" am: b4a5933a62 am: f3b169c8e6 am: 19fc73f8dc -s ours
am: fa8af503a7

Change-Id: If7607e2a2f8043e2a4f5a57738c98bc7361f8a5e
2017-09-27 11:04:23 +00:00
Lorenzo Colitti
bb21618a86 Merge "Delete the legacy framework code for manipulating ND offload." am: d1ae268081
am: 53eb9d359a

Change-Id: If4b3dcf4c1bf03a1d105ad4dfdd007fa371f4472
2017-09-27 10:59:13 +00:00
Jean Chalard
fa8af503a7 Merge "Adds necessary permissions to system apis" am: b4a5933a62 am: f3b169c8e6
am: 19fc73f8dc  -s ours

Change-Id: If082278ab91e01852155afc1748474a937d7faae
2017-09-27 10:54:58 +00:00
Lorenzo Colitti
53eb9d359a Merge "Delete the legacy framework code for manipulating ND offload."
am: d1ae268081

Change-Id: I060bd7632b809d89224d250c697ac9d2e89d5c2d
2017-09-27 10:53:05 +00:00
Lorenzo Colitti
d1ae268081 Merge "Delete the legacy framework code for manipulating ND offload." 2017-09-27 10:46:36 +00:00
Jean Chalard
19fc73f8dc Merge "Adds necessary permissions to system apis" am: b4a5933a62
am: f3b169c8e6

Change-Id: If10e10963cedfe4b19e57d3b26a6c4113985757f
2017-09-27 10:06:52 +00:00
Jean Chalard
f3b169c8e6 Merge "Adds necessary permissions to system apis"
am: b4a5933a62

Change-Id: Ifa5d94cdd883c3e1b983c985c0c17fe61e864352
2017-09-27 09:58:51 +00:00
Jean Chalard
b4a5933a62 Merge "Adds necessary permissions to system apis" 2017-09-27 09:50:42 +00:00
Neil Fuller
36eaefa9cc Merge "Be more explicit about users" 2017-09-27 09:30:28 +00:00
Lorenzo Colitti
ed961bb82a Merge "Declare support for Ethernet if the service is running." am: 0d3d35b30b am: 5ada8e56f8 am: a6648cc90b
am: 85aa652492

Change-Id: I38791cf8b26a49dd8bd210ea3e0284dece9f0719
2017-09-27 09:08:08 +00:00
Lorenzo Colitti
85aa652492 Merge "Declare support for Ethernet if the service is running." am: 0d3d35b30b am: 5ada8e56f8
am: a6648cc90b

Change-Id: Iafd9807ab76ce4e4ab1fd506d7b0e2b2b7017751
2017-09-27 08:51:51 +00:00
Lorenzo Colitti
a6648cc90b Merge "Declare support for Ethernet if the service is running." am: 0d3d35b30b
am: 5ada8e56f8

Change-Id: I8cbd09623b419f14a52f722740580c6ae6de7613
2017-09-27 08:40:53 +00:00
Lorenzo Colitti
8fa085e76f Declare support for Ethernet if the service is running.
On some devices, support for TYPE_ETHERNET is not specified in
the networkAttributes config resource, even though the device is
capable of supporting Ethernet (e.g., via USB host adapters).
This leads to Ethernet working but various connectivity APIs
behaving as if it was not - for example, no CONNECTIVITY_ACTION
broadcasts will be issues when it connects or disconnects.

Ensure that ConnectivityService always treats Ethernet as
available if the service is running. Currently the service is
started if the device supports FEATURE_ETHERNET or
FEATURE_USB_HOST.

(cherry picked from commit 7bbe3eee52)

Bug: 37359230
Test: bullhead builds, boots
Test: ConnectivityServiceTest passes
Test: Ethernet is available even if removed from networkAttributes resource
Test: ConnectivityManagerTest CTS test passes
Change-Id: I9b6db4edeaf966ee6715011dd92770b9d25dd938
Merged-In: I9b6db4edeaf966ee6715011dd92770b9d25dd938
2017-09-27 17:35:06 +09:00
Lorenzo Colitti
5ada8e56f8 Merge "Declare support for Ethernet if the service is running."
am: 0d3d35b30b

Change-Id: Ie0a0190da53571c6f4b466840b7878eb54b5e136
2017-09-27 08:32:43 +00:00
Treehugger Robot
0d3d35b30b Merge "Declare support for Ethernet if the service is running." 2017-09-27 08:23:34 +00:00
Lorenzo Colitti
59da962b9f Delete the legacy framework code for manipulating ND offload.
This only worked on broadcom devices, and was superseded in
M by a wifi HAL call made by IpManager.

Test: bullhead builds, boots
Change-Id: I711cae7dafe171c2c8b4e84a229adbcad27f3d14
2017-09-27 16:47:36 +09:00
Siyamed Sinir
5f6eda577d Refactor imports for text performance tests
Test: None
Change-Id: I6c60cd2d3c634750db12ab17236867f0660fd828
2017-09-26 22:57:31 -07:00
Lorenzo Colitti
7bbe3eee52 Declare support for Ethernet if the service is running.
On some devices, support for TYPE_ETHERNET is not specified in
the networkAttributes config resource, even though the device is
capable of supporting Ethernet (e.g., via USB host adapters).
This leads to Ethernet working but various connectivity APIs
behaving as if it was not - for example, no CONNECTIVITY_ACTION
broadcasts will be issues when it connects or disconnects.

Ensure that ConnectivityService always treats Ethernet as
available if the service is running. Currently the service is
started if the device supports FEATURE_ETHERNET or
FEATURE_USB_HOST.

Bug: 37359230
Test: bullhead builds, boots
Test: ConnectivityServiceTest passes
Test: Ethernet is available even if removed from networkAttributes resource
Test: ConnectivityManagerTest CTS test passes
Change-Id: I58801bf4f0bbdc3ff6345ec6bfdc911ce045c8ab
2017-09-27 13:03:10 +09:00
TreeHugger Robot
7bccb79b04 Merge "cpp: use proper nativehelper headers" 2017-09-27 03:25:24 +00:00
Udam Saini
c3b640cf48 Adds necessary permissions to system apis
adds privileged permission for getCaptivePortalServerUrl
adds tether privileged permission for
startTethering,isTetheringSupported

bug:62348162

Test: make and manual testing
Change-Id: I8eb8e3c9dcd7201abe9ea303ee57fe99073d67eb
2017-09-27 12:14:37 +09:00
TreeHugger Robot
9c96802399 Merge "Extract tag ID from log_msg and fill in stats log proto Test: tested locally" 2017-09-27 02:57:40 +00:00
Kevin Chyn
9b1347caa7 Merge "Add metrics constant for fingerprint authenticate sidecar" 2017-09-27 02:56:10 +00:00
Chalard Jean
a11a4c7198 Merge "Do not throw on call to isTetheringSupported w/o permission" into oc-mr1-dev am: e545f00e10
am: 47cfcef09c

Change-Id: I9eb78b72bdf043e4917f6d0d7495b65cfa1114db
2017-09-27 02:21:11 +00:00
Chalard Jean
47cfcef09c Merge "Do not throw on call to isTetheringSupported w/o permission" into oc-mr1-dev
am: e545f00e10

Change-Id: Ib5b17a7f68c1327f47fe1f54c0454c51f4226907
2017-09-27 02:12:24 +00:00
Sharad Sangle
c8718c9629 Merge "AudioService: Don't honour SCO ON request if SCO is not connected" into oc-mr1-dev am: 44eac965d5
am: eb1e7bc82c

Change-Id: Id83b7194e848b00707d633b5e2a6c069e9c25a8a
2017-09-27 02:08:17 +00:00
Chalard Jean
e545f00e10 Merge "Do not throw on call to isTetheringSupported w/o permission" into oc-mr1-dev 2017-09-27 02:04:33 +00:00
Sharad Sangle
eb1e7bc82c Merge "AudioService: Don't honour SCO ON request if SCO is not connected" into oc-mr1-dev
am: 44eac965d5

Change-Id: I98cb618fdba2f1aa92fb8130d7caf075711d6cb9
2017-09-27 01:59:25 +00:00
TreeHugger Robot
44eac965d5 Merge "AudioService: Don't honour SCO ON request if SCO is not connected" into oc-mr1-dev 2017-09-27 01:52:54 +00:00
Calin Juravle
a0791db4d7 Merge "Fix spelling mistake in dumpsys output" into oc-mr1-dev am: 1198bec925
am: b22e7a2efd

Change-Id: I8a1019d737bf543c47473f91c97816918aa21ea7
2017-09-27 01:30:08 +00:00
Calin Juravle
b22e7a2efd Merge "Fix spelling mistake in dumpsys output" into oc-mr1-dev
am: 1198bec925

Change-Id: I21837cdcdc44c8bc8496ed699b3e8420534fd9c4
2017-09-27 01:22:06 +00:00
yro
0eee308138 Extract tag ID from log_msg and fill in stats log proto
Test: tested locally

Change-Id: Ic6b88995dc9eec367125d687e4af9277016a30cb
2017-09-26 18:20:19 -07:00
TreeHugger Robot
1198bec925 Merge "Fix spelling mistake in dumpsys output" into oc-mr1-dev 2017-09-27 01:14:35 +00:00
Fyodor Kupolov
fabb0f3d8c Merge "[DO NOT MERGE] Fix another AddAccountSettings memory leak" am: bff14ae56f -s ours am: 602aa57cb9 -s ours am: 6790df9a90
am: ebff6df06f  -s ours

Change-Id: Iffc1d8d600abcd161f715f74de7ba74cf8bdd616
2017-09-27 00:58:56 +00:00
Fyodor Kupolov
ebff6df06f Merge "[DO NOT MERGE] Fix another AddAccountSettings memory leak" am: bff14ae56f -s ours am: 602aa57cb9 -s ours
am: 6790df9a90

Change-Id: I0a579c43358eda1ef9e924bff52af12412f17568
2017-09-27 00:53:21 +00:00