OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Move appName inside Downloadrequest." am: 142a392b75
Robert Greenwalt [Thu, 1 Jun 2017 17:11:56 +0000 (17:11 +0000)]
Merge "Move appName inside Downloadrequest." am: 142a392b75
am: 196cb3dff6

Change-Id: I79e1beb5c211a8ff0f90a2f473f85b0068abe61a

7 years agoMerge "Move appName inside Downloadrequest."
Robert Greenwalt [Thu, 1 Jun 2017 17:05:40 +0000 (17:05 +0000)]
Merge "Move appName inside Downloadrequest."
am: 142a392b75

Change-Id: I6512d4bc2406f23571c1d4e6425353930fb9b847

7 years agoMerge "Move appName inside Downloadrequest."
Robert Greenwalt [Thu, 1 Jun 2017 16:52:32 +0000 (16:52 +0000)]
Merge "Move appName inside Downloadrequest."

7 years agoMerge "Prettify the captive portal sign-in activity" am: 5dbdffbf81
Hugo Benichi [Thu, 1 Jun 2017 13:52:16 +0000 (13:52 +0000)]
Merge "Prettify the captive portal sign-in activity" am: 5dbdffbf81
am: 6e145ffb0e

Change-Id: I183a1c4e9b38b88c541eb3acf3412eb29744bd69

7 years agoMerge "Prettify the captive portal sign-in activity"
Hugo Benichi [Thu, 1 Jun 2017 13:44:19 +0000 (13:44 +0000)]
Merge "Prettify the captive portal sign-in activity"
am: 5dbdffbf81

Change-Id: I71b55fc8869471c02f470980d013951b285b3ebb

7 years agoMerge "Prettify the captive portal sign-in activity"
Treehugger Robot [Thu, 1 Jun 2017 13:34:14 +0000 (13:34 +0000)]
Merge "Prettify the captive portal sign-in activity"

7 years agoMerge "Add tests on MultiDex.installInstrumentation" am: f547c4045f
Yohann Roussel [Thu, 1 Jun 2017 09:40:00 +0000 (09:40 +0000)]
Merge "Add tests on MultiDex.installInstrumentation" am: f547c4045f
am: 56b36c092b

Change-Id: I1aebb84f762c990430f52f7b6312fdd3b61a0be4

7 years agoPrettify the captive portal sign-in activity
Hugo Benichi [Wed, 17 May 2017 00:26:30 +0000 (09:26 +0900)]
Prettify the captive portal sign-in activity

- fuses url bar with activity header: url is now the subtitle
- url appears as text and not as editable content
- url only shows host name
- header style is the device default for Settings
- Material progress bar
- progress bar disappears at page load finished
- webview does not jump at page load finished

Bug: 62107381
Bug: 38197949
Test: tested by manually triggering the sign-in activity
Merged-In: Id75023acad04f444dbfc41de56814a09e70cc6f9

(cherry pick from commit a206649a6f66f16cc56db2f4e32b846d9b03501c)

Change-Id: I5c3e5ebac18fef6611c215d04d88ffef67b2b640

7 years agoMerge "Add tests on MultiDex.installInstrumentation"
Yohann Roussel [Thu, 1 Jun 2017 09:31:07 +0000 (09:31 +0000)]
Merge "Add tests on MultiDex.installInstrumentation"
am: f547c4045f

Change-Id: I022a89d1fdacca4a96ea493841609c48a538370b

7 years agoMerge "Add tests on MultiDex.installInstrumentation"
Yohann Roussel [Thu, 1 Jun 2017 09:23:13 +0000 (09:23 +0000)]
Merge "Add tests on MultiDex.installInstrumentation"

7 years agoMerge "Add a tethering offload settings kill switch" am: 7cf3086f37
Erik Kline [Thu, 1 Jun 2017 08:04:20 +0000 (08:04 +0000)]
Merge "Add a tethering offload settings kill switch" am: 7cf3086f37
am: 503a6952b2

Change-Id: I6be567bb315a5797bbc71f5f48efc522b947f678

7 years agoMerge "Add a tethering offload settings kill switch"
Erik Kline [Thu, 1 Jun 2017 07:59:11 +0000 (07:59 +0000)]
Merge "Add a tethering offload settings kill switch"
am: 7cf3086f37

Change-Id: I13264b4ae23c8754b61ff46cafbb1b5f31bd14a3

7 years agoMerge "Add a tethering offload settings kill switch"
Treehugger Robot [Thu, 1 Jun 2017 07:50:35 +0000 (07:50 +0000)]
Merge "Add a tethering offload settings kill switch"

7 years agoMerge "HFP: Allow SCO audio to be forcibly connected" am: 93d7c84726
Jack He [Thu, 1 Jun 2017 07:08:40 +0000 (07:08 +0000)]
Merge "HFP: Allow SCO audio to be forcibly connected" am: 93d7c84726
am: 10cb6f3b4c

Change-Id: I9bd2db9f92866c1e4f62b09fcfd5ad02edcd4e8e

7 years agoMerge "HFP: Allow SCO audio to be forcibly connected"
Jack He [Thu, 1 Jun 2017 07:00:47 +0000 (07:00 +0000)]
Merge "HFP: Allow SCO audio to be forcibly connected"
am: 93d7c84726

Change-Id: I5f0ad1581dd76a8c95dcc52702b0462adc786528

7 years agoMerge "HFP: Allow SCO audio to be forcibly connected"
Treehugger Robot [Thu, 1 Jun 2017 06:53:25 +0000 (06:53 +0000)]
Merge "HFP: Allow SCO audio to be forcibly connected"

7 years agoMove appName inside Downloadrequest.
Robert Greenwalt [Fri, 19 May 2017 19:30:22 +0000 (12:30 -0700)]
Move appName inside Downloadrequest.

Simplifies vendor API.

Test: builds
Change-Id: I1e59e8014aa0fe1c0d46bca3347f428347fa0365

7 years agoHFP: Allow SCO audio to be forcibly connected
Jack He [Wed, 10 May 2017 00:16:01 +0000 (17:16 -0700)]
HFP: Allow SCO audio to be forcibly connected

* Normally, Android only allows SCO audio to be connected in several
  allowed cases (e.g. in call, in ringing, in virtual call state, etc)
* Sometimes, it is necessary to force a SCO audio connection (e.g.
  during PTS test)
* This change adds setForceScoAudio(boolean) hidden, system only method
  to allow such behaviour

Bug: 38040125
Test: PTS HFP tests
Change-Id: I28f295c98da5bebb837c2a5423c7acde81af73f7

7 years agoMerge "Added video calling data usage per-uid support" am: 36fdb346f2
Jack Yu [Wed, 31 May 2017 21:52:05 +0000 (21:52 +0000)]
Merge "Added video calling data usage per-uid support" am: 36fdb346f2
am: 2f74c02826

Change-Id: Ia81f03a076901d545972fc3cbe7a18d20ea6df2a

7 years agoMerge "Added video calling data usage per-uid support"
Jack Yu [Wed, 31 May 2017 21:44:13 +0000 (21:44 +0000)]
Merge "Added video calling data usage per-uid support"
am: 36fdb346f2

Change-Id: I3901efbfafcfab7e076b669f0313dce860e97072

7 years agoMerge "Added video calling data usage per-uid support"
Treehugger Robot [Wed, 31 May 2017 21:33:55 +0000 (21:33 +0000)]
Merge "Added video calling data usage per-uid support"

7 years agoAdded video calling data usage per-uid support
Jack Yu [Fri, 26 May 2017 23:08:22 +0000 (16:08 -0700)]
Added video calling data usage per-uid support

Now the VT call data usage will be counted under
current dialer's data usage as well as the total
device data usage.

Test: Manual
bug: 37671326

Merged-In: I8351e9ae17c84210f7ca6c319d3bddcbb0043341
Change-Id: I8351e9ae17c84210f7ca6c319d3bddcbb0043341

7 years agoMerge "Fix race condition in NsdManagerTest" am: f2383db747
Hugo Benichi [Wed, 31 May 2017 13:16:43 +0000 (13:16 +0000)]
Merge "Fix race condition in NsdManagerTest" am: f2383db747
am: 2dfb494827

Change-Id: Id2036620f3780aca340470d03b3c579ed3e1e9b7

7 years agoMerge "Fix race condition in NsdManagerTest"
Hugo Benichi [Wed, 31 May 2017 13:08:37 +0000 (13:08 +0000)]
Merge "Fix race condition in NsdManagerTest"
am: f2383db747

Change-Id: Ifd731767608e738a271bd5793a462675c2a93123

7 years agoMerge "Fix race condition in NsdManagerTest"
Treehugger Robot [Wed, 31 May 2017 12:56:55 +0000 (12:56 +0000)]
Merge "Fix race condition in NsdManagerTest"

7 years agoMerge "Fix TaskRecord wrong dump element firstActiveTime" am: 30895c5e1e
daqi [Wed, 31 May 2017 12:42:12 +0000 (12:42 +0000)]
Merge "Fix TaskRecord wrong dump element firstActiveTime" am: 30895c5e1e
am: 6bc2199774

Change-Id: Idf798414b9d7d4c41d59c4b57c313e1030cba119

7 years agoMerge "Fix TaskRecord wrong dump element firstActiveTime"
daqi [Wed, 31 May 2017 12:34:10 +0000 (12:34 +0000)]
Merge "Fix TaskRecord wrong dump element firstActiveTime"
am: 30895c5e1e

Change-Id: I5bdbbee36116fd18aa373fd666581eb274b488cb

7 years agoMerge "Fix TaskRecord wrong dump element firstActiveTime"
Treehugger Robot [Wed, 31 May 2017 12:25:38 +0000 (12:25 +0000)]
Merge "Fix TaskRecord wrong dump element firstActiveTime"

7 years agoMerge "jni: Track debuggerd API changes." am: d29f144836
Narayan Kamath [Wed, 31 May 2017 12:16:10 +0000 (12:16 +0000)]
Merge "jni: Track debuggerd API changes." am: d29f144836
am: d82212700e

Change-Id: I3022cc84acaff4a416eb070d98a2d972a0833f08

7 years agoMerge "jni: Track debuggerd API changes."
Narayan Kamath [Wed, 31 May 2017 12:06:35 +0000 (12:06 +0000)]
Merge "jni: Track debuggerd API changes."
am: d29f144836

Change-Id: I0a538cdcb94c2f79c371df0c60af1e1234279f5b

7 years agoMerge "AndroidRuntime: Add flag to support tombstoned aided stack dumps." am: 41f23d645c
Narayan Kamath [Wed, 31 May 2017 12:01:07 +0000 (12:01 +0000)]
Merge "AndroidRuntime: Add flag to support tombstoned aided stack dumps." am: 41f23d645c
am: 9765d78f69

Change-Id: I6b5830ad5a5eda8ad2b84a1c5fa71f2beab27a88

7 years agoMerge "jni: Track debuggerd API changes."
Narayan Kamath [Wed, 31 May 2017 11:55:47 +0000 (11:55 +0000)]
Merge "jni: Track debuggerd API changes."

7 years agoMerge "AndroidRuntime: Add flag to support tombstoned aided stack dumps."
Narayan Kamath [Wed, 31 May 2017 11:52:39 +0000 (11:52 +0000)]
Merge "AndroidRuntime: Add flag to support tombstoned aided stack dumps."
am: 41f23d645c

Change-Id: I900bf1adcb6bf449f6db49a34ce5a9bb26af6001

7 years agoMerge "AndroidRuntime: Add flag to support tombstoned aided stack dumps."
Treehugger Robot [Wed, 31 May 2017 11:42:26 +0000 (11:42 +0000)]
Merge "AndroidRuntime: Add flag to support tombstoned aided stack dumps."

7 years agoAdd a tethering offload settings kill switch
Erik Kline [Wed, 31 May 2017 01:21:32 +0000 (10:21 +0900)]
Add a tethering offload settings kill switch

Check for tether_offload_disabled (defaulting to false if not present)
before starting the OffloadController.

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 29337859
Bug: 32163131
Bug: 34361337
Change-Id: Ifcc0eb1a41f09ad9e717c9252d2d55e69789669b

7 years agojni: Track debuggerd API changes.
Narayan Kamath [Thu, 25 May 2017 14:44:51 +0000 (15:44 +0100)]
jni: Track debuggerd API changes.

android_os_Debug calls dump_backtrace_to_file_timeout which
now needs an additional argument that specifies the dump type.

Bug: 32064548
Test: make

Change-Id: Ic4047f4117fee0829d4cb8b1d47ad688b33001dc

7 years agoAndroidRuntime: Add flag to support tombstoned aided stack dumps.
Narayan Kamath [Wed, 10 May 2017 17:56:12 +0000 (18:56 +0100)]
AndroidRuntime: Add flag to support tombstoned aided stack dumps.

We introduce a new property dalvik.vm.stack-trace-dir that indicates
that we're using one trace file per dump. The runtime does not need
to know what the directory is, since it will communicate with
tombstoned in order to obtain a file descriptor to which it will write
its traces. In this change, we set the -Xtombstonedtraces flag whenever
dalvik.vm.stack-trace-dir is set.

Test: Manual
Bug: 32064548
Change-Id: I05984e91658250ad8379b821ca31649f13868580

7 years agoFix race condition in NsdManagerTest
Hugo Benichi [Wed, 31 May 2017 06:31:59 +0000 (15:31 +0900)]
Fix race condition in NsdManagerTest

NsdManagerTest relies on the lastMessage variable to assert the
connection of a client to the service. The asserts in test are done on a
different thread, although the variable was not qualified volatile,
which creates the chance to read a stale value. This patch fixes this
race by marking the variable volatile.

Bug: 32561414
Bug: 62044295
Test: NsdManagerTest works
Change-Id: I0bc2cd8059c6ff8b78a2dda0ba8d6bc7e13ef951

7 years agoMerge "ConnectivityServiceTest: more tweaks to testRequestBenchmark" am: 76efbb30f5
Hugo Benichi [Wed, 31 May 2017 03:59:41 +0000 (03:59 +0000)]
Merge "ConnectivityServiceTest: more tweaks to testRequestBenchmark" am: 76efbb30f5
am: 5f046cb614

Change-Id: I4bf83bb6b874a6ab82a6dd54228758d204120acc

7 years agoMerge "ConnectivityServiceTest: more tweaks to testRequestBenchmark"
Hugo Benichi [Wed, 31 May 2017 03:52:05 +0000 (03:52 +0000)]
Merge "ConnectivityServiceTest: more tweaks to testRequestBenchmark"
am: 76efbb30f5

Change-Id: I2c7e714af44c31a101fd58be6ebcc540fffd65a1

7 years agoMerge "ConnectivityServiceTest: more tweaks to testRequestBenchmark"
Treehugger Robot [Wed, 31 May 2017 03:43:37 +0000 (03:43 +0000)]
Merge "ConnectivityServiceTest: more tweaks to testRequestBenchmark"

7 years agoMerge "Use LOCAL_ADDITIONAL_DEPENDENCIES instead of build system internals" am: a4982...
Colin Cross [Wed, 31 May 2017 01:29:57 +0000 (01:29 +0000)]
Merge "Use LOCAL_ADDITIONAL_DEPENDENCIES instead of build system internals" am: a4982eb5dd
am: aa92f80288

Change-Id: I73efdce859b040eb7e74fa50a96102b5b8a2c3f7

7 years agoConnectivityServiceTest: more tweaks to testRequestBenchmark
Hugo Benichi [Mon, 29 May 2017 04:13:52 +0000 (13:13 +0900)]
ConnectivityServiceTest: more tweaks to testRequestBenchmark

Recent continuous testing runs indicates that commit 849b81b7 did not
completely fixed the issue with testRequestBenchmark.

This patch changes the name of the test to not include "test" and
removes @SmallTest annotation, which should do the job of @Ignore while
ConnectivityServiceTest still extends AndroidTestCase.

In addition timeouts are adjusted to take into account recent failures
observed.

This is the last pending action before turning on FrameworksNetTests on
presubmits.

Bug: 32561414
Test: no functional change
Change-Id: I56ef334e19e99e5a3483418330e5f0ccd6eb31bb

7 years agoMerge "Use LOCAL_ADDITIONAL_DEPENDENCIES instead of build system internals"
Colin Cross [Wed, 31 May 2017 01:22:00 +0000 (01:22 +0000)]
Merge "Use LOCAL_ADDITIONAL_DEPENDENCIES instead of build system internals"
am: a4982eb5dd

Change-Id: Ic7700b1974d2d3aa3df0c55003ee6c16c1ba6ece

7 years agoMerge "Use LOCAL_ADDITIONAL_DEPENDENCIES instead of build system internals"
Treehugger Robot [Wed, 31 May 2017 01:13:05 +0000 (01:13 +0000)]
Merge "Use LOCAL_ADDITIONAL_DEPENDENCIES instead of build system internals"

7 years agoMerge "Allow ManagedProvisioning to silently uninstall apps" am: cfc68b6661
insight.lee [Tue, 30 May 2017 22:41:56 +0000 (22:41 +0000)]
Merge "Allow ManagedProvisioning to silently uninstall apps" am: cfc68b6661
am: 6683494c94

Change-Id: I9f0092630e3b89f708b3f157e1c36052297458db

7 years agoMerge "Allow ManagedProvisioning to silently uninstall apps"
insight.lee [Tue, 30 May 2017 22:34:47 +0000 (22:34 +0000)]
Merge "Allow ManagedProvisioning to silently uninstall apps"
am: cfc68b6661

Change-Id: I2fed72cf026733b8976b4b8a113d1eb0db27fcaa

7 years agoMerge "Allow ManagedProvisioning to silently uninstall apps"
Treehugger Robot [Tue, 30 May 2017 22:21:12 +0000 (22:21 +0000)]
Merge "Allow ManagedProvisioning to silently uninstall apps"

7 years agoMerge "use FgThread.class instead of UiThread.class for lock object" am: e2fddf56a4
yangbingqian [Tue, 30 May 2017 21:56:43 +0000 (21:56 +0000)]
Merge "use FgThread.class instead of UiThread.class for lock object" am: e2fddf56a4
am: a7d45cf3f0

Change-Id: If9a509ff24e5ea52602f50eb977ac94652bf2978

7 years agoMerge "use FgThread.class instead of UiThread.class for lock object"
yangbingqian [Tue, 30 May 2017 21:48:15 +0000 (21:48 +0000)]
Merge "use FgThread.class instead of UiThread.class for lock object"
am: e2fddf56a4

Change-Id: Ia6d2154bf46d61ea55ef7e41abd538b1c71972b5

7 years agoMerge "use FgThread.class instead of UiThread.class for lock object"
Treehugger Robot [Tue, 30 May 2017 21:35:11 +0000 (21:35 +0000)]
Merge "use FgThread.class instead of UiThread.class for lock object"

7 years agoUse LOCAL_ADDITIONAL_DEPENDENCIES instead of build system internals
Colin Cross [Tue, 30 May 2017 17:57:34 +0000 (10:57 -0700)]
Use LOCAL_ADDITIONAL_DEPENDENCIES instead of build system internals

Instead of directly adding dependencies to full_classes_compiled_jar
and full_classes_jack, just use LOCAL_ADDITIONAL_DEPENDENCIES and
let the build system take care of where the dependencies are needed.

Test: builds
Change-Id: Ia3078fe0aa54b2d69821a9879cfe43414e1e9c4f

7 years agoFix TaskRecord wrong dump element firstActiveTime
daqi [Tue, 30 May 2017 07:37:23 +0000 (15:37 +0800)]
Fix TaskRecord wrong dump element firstActiveTime

[Cause of Defect]
Used wrong class field.

Test: manual - adb shell dumpsys activity a

Change-Id: I6f54e374709b6ae60f8adabd5c29a1f100941c42
Signed-off-by: daqi <daqi@xiaomi.com>
7 years agoMerge "Support "dumpsys connectivity tethering"" am: 6cdcba7b48
Erik Kline [Mon, 29 May 2017 08:48:38 +0000 (08:48 +0000)]
Merge "Support "dumpsys connectivity tethering"" am: 6cdcba7b48
am: 06e6033327

Change-Id: Ib88b17502c344314cb81d9c0167c2610e55d8313

7 years agoMerge "Support "dumpsys connectivity tethering""
Erik Kline [Mon, 29 May 2017 08:42:04 +0000 (08:42 +0000)]
Merge "Support "dumpsys connectivity tethering""
am: 6cdcba7b48

Change-Id: I91ef704d3fda346a50016841f40fecce2e23d215

7 years agoMerge "Support "dumpsys connectivity tethering""
Erik Kline [Mon, 29 May 2017 08:33:09 +0000 (08:33 +0000)]
Merge "Support "dumpsys connectivity tethering""

7 years agoMerge "Support requesting and receiving wakeup events" am: bf152b14c4
Joel Scherpelz [Mon, 29 May 2017 03:41:23 +0000 (03:41 +0000)]
Merge "Support requesting and receiving wakeup events" am: bf152b14c4
am: 4971745cf4

Change-Id: I1212c64e90572b7f45ca106c36ea89f37fb086ae

7 years agoMerge "Support requesting and receiving wakeup events"
Joel Scherpelz [Mon, 29 May 2017 03:33:08 +0000 (03:33 +0000)]
Merge "Support requesting and receiving wakeup events"
am: bf152b14c4

Change-Id: I594d4b5921ec6f0f8f73b88fd4d0e06278838553

7 years agoMerge "Support requesting and receiving wakeup events"
Joel Scherpelz [Mon, 29 May 2017 03:28:00 +0000 (03:28 +0000)]
Merge "Support requesting and receiving wakeup events"

7 years agoSupport "dumpsys connectivity tethering"
Erik Kline [Mon, 29 May 2017 00:11:03 +0000 (09:11 +0900)]
Support "dumpsys connectivity tethering"

Also print current upstream interface in tethering dump output.

Test: as follows
    - build
    - flashed
    - booted
    - runtest frameworks-net passes
    - "dumpsys connectivity tethering" shows just tethering info
Bug: 32163131
Bug: 36504926
Bug: 36988090
Bug: 38152109
Bug: 38186915
Bug: 38218697
Change-Id: I7f185fd71946a032e7f815207016294892df135d

7 years agoSupport requesting and receiving wakeup events
Joel Scherpelz [Mon, 22 May 2017 04:47:41 +0000 (13:47 +0900)]
Support requesting and receiving wakeup events

Test: as follows
    - built
    - flashed
    - booted
    - ConnectivityServiceTest passes
Bug: 28806131

Change-Id: Ifc45260d5315479393da2c859ba4afed4e0e8c85

7 years agoMerge "Minor improvement in logging in TetheringConfiguration" am: 39ce589f0b
Erik Kline [Sun, 28 May 2017 11:25:29 +0000 (11:25 +0000)]
Merge "Minor improvement in logging in TetheringConfiguration" am: 39ce589f0b
am: 8211c36db9

Change-Id: Icf1f42b76998a3c7f4fd4285beb89e1310e5413d

7 years agoMerge "Minor improvement in logging in TetheringConfiguration"
Erik Kline [Sun, 28 May 2017 11:16:32 +0000 (11:16 +0000)]
Merge "Minor improvement in logging in TetheringConfiguration"
am: 39ce589f0b

Change-Id: I1d61308cf21f3c4ebcc37f78bdd102f96a676462

7 years agoMerge "Minor improvement in logging in TetheringConfiguration"
Erik Kline [Sun, 28 May 2017 11:06:39 +0000 (11:06 +0000)]
Merge "Minor improvement in logging in TetheringConfiguration"

7 years agoMinor improvement in logging in TetheringConfiguration
Erik Kline [Fri, 19 May 2017 01:10:41 +0000 (10:10 +0900)]
Minor improvement in logging in TetheringConfiguration

Test: as follows
    - built
    - booted
    - flashed
    - runtest frameworks-net passes
    - dumpsys connectivity shows expected output
Bug: 32163131
Bug: 36504926
Bug: 36988090
Bug: 38152109
Bug: 38186915
Bug: 38218697
Change-Id: I4a2129d780dfec7bca693486a100ea3c78465430

7 years agoAllow ManagedProvisioning to silently uninstall apps
insight.lee [Mon, 8 May 2017 07:10:12 +0000 (16:10 +0900)]
Allow ManagedProvisioning to silently uninstall apps

1. During device owner provisioning, ManagedProvisioning uninstalls
non-required apps. Apps to remove are all system apps in the reference
device. On the other hand, OEM devices have several non system apps,
so ManagedProvisioning can not uninstall them and can not complete
device owner provisioning permarnently.

2. This commit allows ManagedProvisioning having
MANAGE_PROFILE_AND_DEVICE_OWNERS permission to uninstall non-required
apps silently.

Bug: 37681141
Test: manual
Signed-off-by : Sungmin Lee <insight.lee@lge.com>
Merged-In: I201b070f4bcf453a2ffb391600853c7e595aec5d
Change-Id: I201b070f4bcf453a2ffb391600853c7e595aec5d

7 years agoMerge "Add new error codes in MbmsException" am: 8e7057ccf3
Hall Liu [Sat, 27 May 2017 01:25:28 +0000 (01:25 +0000)]
Merge "Add new error codes in MbmsException" am: 8e7057ccf3
am: 20d98578f2

Change-Id: If10d6d2df336be4e52a5b0c4d1bab6455de0f1ce

7 years agoMerge "Add new error codes in MbmsException"
Hall Liu [Sat, 27 May 2017 01:18:33 +0000 (01:18 +0000)]
Merge "Add new error codes in MbmsException"
am: 8e7057ccf3

Change-Id: Ie8bf825d1fe7c40c94abd0245e69d597afb2f9bc

7 years agoMerge "Add new error codes in MbmsException"
Hall Liu [Sat, 27 May 2017 01:08:29 +0000 (01:08 +0000)]
Merge "Add new error codes in MbmsException"

7 years agoMerge "Merge "Add 32 and 128 bit Service Data parsing." am: 725e212de3 am: 2acc8e28dd...
Android Build Merger (Role) [Fri, 26 May 2017 23:17:28 +0000 (23:17 +0000)]
Merge "Merge "Add 32 and 128 bit Service Data parsing." am: 725e212de3 am: 2acc8e28dd" into nyc-mr2-dev-plus-aosp

7 years agoMerge "Add 32 and 128 bit Service Data parsing." am: 725e212de3
Jakub Pawlowski [Fri, 26 May 2017 23:16:35 +0000 (23:16 +0000)]
Merge "Add 32 and 128 bit Service Data parsing." am: 725e212de3
am: 2acc8e28dd

Change-Id: I3fe5c7c0baf273c9960a56640cd659abd990b858

7 years agoMerge "Add 32 and 128 bit Service Data parsing." am: 725e212de3
Jakub Pawlowski [Fri, 26 May 2017 23:09:23 +0000 (23:09 +0000)]
Merge "Add 32 and 128 bit Service Data parsing." am: 725e212de3
am: 2acc8e28dd

Change-Id: I54a5717690a43e03b2390e1413e06e9c35554e28

7 years agoMerge "Add 32 and 128 bit Service Data parsing."
Jakub Pawlowski [Fri, 26 May 2017 23:02:45 +0000 (23:02 +0000)]
Merge "Add 32 and 128 bit Service Data parsing."
am: 725e212de3

Change-Id: I5a5010651b07f2a9c5d1fb25f55602ed5e741d56

7 years agoMerge "Add 32 and 128 bit Service Data parsing."
Treehugger Robot [Fri, 26 May 2017 22:53:27 +0000 (22:53 +0000)]
Merge "Add 32 and 128 bit Service Data parsing."

7 years agoAdd new error codes in MbmsException
Hall Liu [Fri, 26 May 2017 22:49:32 +0000 (15:49 -0700)]
Add new error codes in MbmsException

Test: builds
Change-Id: I523961f588ef5ada97e06f5a910875c123f97989

7 years agoMerge "Make NFC AIDL callbacks oneway" am: 99c805b319
Ruchi Kandoi [Fri, 26 May 2017 22:37:26 +0000 (22:37 +0000)]
Merge "Make NFC AIDL callbacks oneway" am: 99c805b319
am: a50b393781

Change-Id: I510c06bb3c3fc74ec31baa6b5d3e3c2888067da6

7 years agoMerge "Make NFC AIDL callbacks oneway"
Ruchi Kandoi [Fri, 26 May 2017 22:30:16 +0000 (22:30 +0000)]
Merge "Make NFC AIDL callbacks oneway"
am: 99c805b319

Change-Id: I964420fc36c67b9f96e286e1a8b9b54eda074189

7 years agoMerge "Add ID_LENGTH field for Empty type record" am: b1f0bb6f83
Yuka Anami [Fri, 26 May 2017 22:23:53 +0000 (22:23 +0000)]
Merge "Add ID_LENGTH field for Empty type record" am: b1f0bb6f83
am: 0d9dfc4314

Change-Id: I8e3caa6df525879b820f0611ec751d18df3eb94f

7 years agoMerge "Make NFC AIDL callbacks oneway"
Treehugger Robot [Fri, 26 May 2017 22:20:56 +0000 (22:20 +0000)]
Merge "Make NFC AIDL callbacks oneway"

7 years agoMerge "Add ID_LENGTH field for Empty type record"
Yuka Anami [Fri, 26 May 2017 22:17:15 +0000 (22:17 +0000)]
Merge "Add ID_LENGTH field for Empty type record"
am: b1f0bb6f83

Change-Id: Ib63ba83f912f2047ec5bd795b57da423c1e78f59

7 years agoMerge "Add ID_LENGTH field for Empty type record"
Treehugger Robot [Fri, 26 May 2017 22:07:37 +0000 (22:07 +0000)]
Merge "Add ID_LENGTH field for Empty type record"

7 years agoAdd 32 and 128 bit Service Data parsing.
Jakub Pawlowski [Fri, 26 May 2017 20:59:55 +0000 (13:59 -0700)]
Add 32 and 128 bit Service Data parsing.

Bug: 62078132
Change-Id: I79ff75cd5ccbe346dca79693b074ff3cd09112dd

7 years agoMake NFC AIDL callbacks oneway
Ruchi Kandoi [Fri, 28 Apr 2017 22:48:02 +0000 (15:48 -0700)]
Make NFC AIDL callbacks oneway

Test: Read NFC tags, Android Beam
Bug: 32288773
Change-Id: I6294ec29be2af8feb578e9bfd5e0770ad9c09cc0
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
7 years agoAdd ID_LENGTH field for Empty type record
Yuka Anami [Mon, 15 May 2017 04:53:04 +0000 (13:53 +0900)]
Add ID_LENGTH field for Empty type record

If ID_LENGTH field is omitted from Empty Type record, it cannot be
detected as Ndef since the data is strictly checked by e3fc7d9954.
But it is not possible to create raw bytes of Empty Type record
which can meet this condition by using NdefRecord/NdefMessage.
To fix this issue, added ID_LENGTH field to Empty type record.

Bug: 38299566
Test: Write and read NDEF tag with empty type record
Change-Id: Idb58c80cf8562a8b314f4ddeccdc627dc0c6f5b4

7 years agoMerge "WifiManager: add iface name and mode labels" am: 21cc4bcd01
Rebecca Silberstein [Fri, 26 May 2017 16:45:19 +0000 (16:45 +0000)]
Merge "WifiManager: add iface name and mode labels" am: 21cc4bcd01
am: 78deb691cc

Change-Id: Ie5364ed53119969bd8750a86cb3d5be244ed591d

7 years agoMerge "WifiManager: add iface name and mode labels"
Rebecca Silberstein [Fri, 26 May 2017 16:37:21 +0000 (16:37 +0000)]
Merge "WifiManager: add iface name and mode labels"
am: 21cc4bcd01

Change-Id: Ia715be047c0e1c3ef5ea5d38d013276cf5a3eacc

7 years agoMerge "WifiManager: add iface name and mode labels"
Treehugger Robot [Fri, 26 May 2017 16:26:36 +0000 (16:26 +0000)]
Merge "WifiManager: add iface name and mode labels"

7 years agoMerge "Support registration of offload control callbacks." am: 7ee96625c2
Erik Kline [Fri, 26 May 2017 10:22:33 +0000 (10:22 +0000)]
Merge "Support registration of offload control callbacks." am: 7ee96625c2
am: 66cc06c2c7

Change-Id: Ieab0ae324ccf8ddfea02adfe647407df6c12b945

7 years agoWifiManager: add iface name and mode labels
Rebecca Silberstein [Thu, 25 May 2017 08:53:08 +0000 (01:53 -0700)]
WifiManager: add iface name and mode labels

Connectivity service needs to get the interface name and intended ip
configuration mode for softap.
This CL adds the interface name and softap target mode variables to
use to insert the extra info into the wifi ap state change broadcast.

Note: additional CLs are needed to verify the iface name and mode.  The
mode tracking is still in progress.

Bug: 62076211
Test: frameworks/base/wifi/tests/runtests.sh
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: manually verified the name in the broadcast
Merged-In: I67f82525b5c0fa5b81235311988c9b186d16077a
Merged-In: Ieff7af7c1ac2113b8044c16a01cad0f96cb70158
Change-Id: I64e1d13a9e422945fe9c4c268c206da365d0a3eb
(cherry picked from commit 4ac2cab8fd8cb6ef877f4e5c37f554f1a09b79dc)

7 years agoMerge "Support registration of offload control callbacks."
Erik Kline [Fri, 26 May 2017 10:16:26 +0000 (10:16 +0000)]
Merge "Support registration of offload control callbacks."
am: 7ee96625c2

Change-Id: Ica4f51762b577e3868e87622df3963cd89daacae

7 years agoMerge "Support registration of offload control callbacks."
Treehugger Robot [Fri, 26 May 2017 10:07:25 +0000 (10:07 +0000)]
Merge "Support registration of offload control callbacks."

7 years agoMerge "Pass bootComplete to dexopt." am: 18c3201986
Nicolas Geoffray [Fri, 26 May 2017 08:13:49 +0000 (08:13 +0000)]
Merge "Pass bootComplete to dexopt." am: 18c3201986
am: 1e35b7b5bc

Change-Id: Id4633d3729c8532d901b33bb6720d8f34df1e6e9

7 years agoMerge "Pass bootComplete to dexopt."
Nicolas Geoffray [Fri, 26 May 2017 08:07:58 +0000 (08:07 +0000)]
Merge "Pass bootComplete to dexopt."
am: 18c3201986

Change-Id: I5d73692a887ef8f3fff888c310f9969d79ada970

7 years agoMerge "Pass bootComplete to dexopt."
Nicolas Geoffray [Fri, 26 May 2017 08:00:40 +0000 (08:00 +0000)]
Merge "Pass bootComplete to dexopt."

7 years agoSupport registration of offload control callbacks.
Erik Kline [Tue, 25 Apr 2017 10:19:59 +0000 (19:19 +0900)]
Support registration of offload control callbacks.

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 29337859
Bug: 32163131
Bug: 34361337
Change-Id: I054cdf6a277c77e4cbf5c81145446a9be1c5fe39

7 years agoMerge changes If4deb106,Ib25d7658 am: 0388f0e47b
Hugo Benichi [Fri, 26 May 2017 00:51:23 +0000 (00:51 +0000)]
Merge changes If4deb106,Ib25d7658 am: 0388f0e47b
am: 41a57af66a

Change-Id: Ieea1398319d8235e823464239d233bf6f528126d

7 years agoMerge changes If4deb106,Ib25d7658
Hugo Benichi [Fri, 26 May 2017 00:43:06 +0000 (00:43 +0000)]
Merge changes If4deb106,Ib25d7658
am: 0388f0e47b

Change-Id: Id10b2a80388aff2307cefd95ffb5f2b4df5fbdc3

7 years agoMerge changes If4deb106,Ib25d7658
Hugo Benichi [Fri, 26 May 2017 00:34:03 +0000 (00:34 +0000)]
Merge changes If4deb106,Ib25d7658

* changes:
  NsdService: do not use ContentResolver directly
  @Ignore ConnectivityServiceTest#testRequestBenchmark

7 years agoMerge "Add IMEI_NOT_ACCEPTED error code for IMS" am: 25ce41cf4c
Brad Ebinger [Thu, 25 May 2017 23:00:29 +0000 (23:00 +0000)]
Merge "Add IMEI_NOT_ACCEPTED error code for IMS" am: 25ce41cf4c
am: be34238840

Change-Id: Ie399093e992c7b15c72927080b5c20d378738785

7 years agoMerge "Add IMEI_NOT_ACCEPTED error code for IMS"
Brad Ebinger [Thu, 25 May 2017 22:51:11 +0000 (22:51 +0000)]
Merge "Add IMEI_NOT_ACCEPTED error code for IMS"
am: 25ce41cf4c

Change-Id: Ic24b93e215995a18e1a2ecbb647af0cc8e1f67cb