History log of /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
79c79f058374479b7dd20c437f16cf4b2b1c9137 08-May-2018 Alex Chau <alexchau@google.com> Support EXTRA_PROVISIONING_USE_MOBILE_DATA

Bug: 78594515
Test: Manual, unit test will be in separate CL

Change-Id: Iacf3b02b93cdeef38cf44061e5bb61233a2d0fed
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java
96c9ca62891682bbd7eb0ff4ce0be456fd642b9b 08-Mar-2018 Tony Mak <tonymak@google.com> Lookup device admin component in specified user

The previous fix introduced an issue, NonRequiredAppsLogic is run
in OTA as well and the infer doesn't work if it is a work profile
and the DPC is no longer installed in user 0.

Two changes:
1. findDeviceAdmin now takes user id as the parameter, we should
explicitly specify which user we are looking for admin package.

2. Introduce inferDeviceAdminComponentName, so it is more
consistent to inferDeviceAdminPackageName, and we only do infer
if component name is missing in the param. We should only call
Utils.findDeviceAdmin directly if findDeviceAdmin if it is for
verification purpose.

Test: Try DO sync auth
Test: Try creating work profile
Test: Try OTA in work profile case, while DPC is not installed in user 0
Test: atest ManagedProvisioningTests
Test: afw-test-tradefed-ci run cts --module AeTestNfcProvisioningTestCases -l DEBUG

FIXES: 74107215

Change-Id: I601e391f6db710a1f59d33d7c2cc554d9a835fde
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java
bda54aa8613610866b17c3d6faa613bbc2b99d29 29-Dec-2017 Bartosz Fabianowski <bartfab@google.com> Support code for silent device owner provisioning

Introduce constants, permissions and entry points required to implement
silent DO provisioning. Without an actual implementation, this CL is
a no-op that does not change or extend any ManagedProvisioning flows.

Bug: 3404279
Test: runtest managed-provisioning
Change-Id: I49ad9d1a54d6ff7f49c16a357fc8395a963aaef2
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java
274161783d628baf88e19d665653d743aad2a2b4 12-Sep-2017 yuemingw <yuemingw@google.com> Fixing nfcprovisioning crashing problem when incorrect locale is entered.
Test: Reprooduced bug. Add a unitest, run with:
runtest --path instrumentation/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParserTest.java
Fix: 65475547

Change-Id: Ic10e52ed182d3081c021a8d2c880cc00918af8d6
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java
be58d7f7201dafa843e6d306dffd0a869f84a227 14-Mar-2017 Victor Chang <vichang@google.com> Don't pass EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED in PO

Change-Id: I088159da20c36c14327c3cb71ef9871b1acc8a9c
Fix: 36220151
Test: unit test added
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java
b0e275f0511cfe10c698d6a260fcfdb194e7c810 13-Feb-2017 Jakub Gielzak <jgielzak@google.com> Customization (icon and colors) bugfix / tests

* Fixed default color issue in the PreProvisioning screen on Managed Profile (b/35342403).
* Added tests for colors and logo (b/30491951).

Bug: 35342403, 30491951
Test: runtest managed-provisioning

Change-Id: I7114095478fa8cdf4ada08013d28b1ecf0ca606f
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java
21d7fee248eb5cc5465cc986683bfb88e71aea57 10-Jan-2017 Victor Chang <vichang@google.com> Receive zero-touch info from OobConfig

Bug: 32760855
Test: runtest managed-provisioning
Change-Id: I9e1236d8bc08ea8d2d35b988a9acd31053faaebb
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java
90f58ca887207a527c80d7e9ccea97e205c960d4 15-Dec-2016 Victor Chang <vichang@google.com> Support EXTRA_PROVISIONING_DISCLAIMERS in ManagedProvisioning

- Introducing provisioning id. An unique id across whole provisioning
- It's useful to idenify unique provisioning session
- Also, no re-parse the provisioning bundle after rotation

Bug: 32760305
Test: runtest managed-provisioning
Change-Id: I7e12e32b685e63cf9822d2a9295980aee1bcdd89
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java
80ae370242ebd15119d1a6e9e5026e036bfe1cf7 30-Nov-2016 Victor Chang <vichang@google.com> Extract skip consent logic into Utils and improve testing code

Improve the following testing code
- Remove TestProvisioningActivity. Move the code back to super class
- The Window params reduciing flakiness is moved into central place in instrumentation

Bug:32935050
Change-Id: I6fdc6956a8a1545f148b46ee4fac816c09097a2f
Test: runtest managed-provisioning
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java
e6b9e5f839a8a87282b250c36367ad578c1512b1 23-Nov-2016 Victor Chang <vichang@google.com> Support Extra EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATION

Note: NFC provisioning doesn't support extra as it can't contain account

Test: runtest managed-provisioning
Bug: 32299699

Change-Id: I344540702bc4243e5838adf1c6b3c85fc64fec62
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java
349f226ff616048752c693d42fd7ae4d74fbc97d 07-Nov-2016 Victor Chang <vichang@google.com> Support Extra EXTRA_PROVISIONING_SKIP_USER_CONSENT for COMP provisioning

Test: runtest managed-provisioning
Bug: 32299699
Fix: 32935050
Change-Id: I61d8cf7493f7740d549ae9303b2cc1e41723fdab
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java
f7a9eea8fe577f2f5edbbe6e73891a54351286c6 10-Oct-2016 Benjamin Franz <bfranz@google.com> Complete moves into subpackages

Test: runtest managed-provisioning
Change-Id: Ib67e1846c9bf84e2928f9ddb2c3f5417cc40e3b8
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java
9b26a5adee4f3d9f674c8b9dc1a185ea290dc624 27-Jul-2016 Benjamin Franz <bfranz@google.com> Small cleanups

Bug: 27495914
Change-Id: Iabd0d9ae256b9a3e2639b5dae0be1b0ebec89a38
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java
d2aa11e5484f3e56cea4ac328b2a0a58c28d4047 15-Jul-2016 Nicolas Prevot <nprevot@google.com> Explicitly store ProvisioningParams to xml.

Don't use the IntentStore any more.

BUG: 27365341
Change-Id: Ie2dbcbc00e5a3eddeb5638f0fe159cde719b452f
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java
90ebb8c38087dcdce28492869befa6d46cdd407b 31-Mar-2016 Benjamin Franz <bfranz@google.com> Support package name when parsing resume intent

Bug: 27807275
Change-Id: If87b29592ee9d4114e8fdc480053b83a6587d13a
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java
f9e7d3b02b4b660abf25ace7711f0c483e588388 22-Mar-2016 Steven Ng <stevenckng@google.com> Remove support for EXTRA_PROVISIONING_MAIN_COLOR for trusted source provisioning

Bug: 27563818
Change-Id: I10166588f8f06e63b154ff6bf8db279a998e0370
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java
a4d4f7e68706cff4420cdc846541eded95a2984e 21-Mar-2016 Benjamin Franz <bfranz@google.com> Do not support SKIP_USER_SETUP for trusted sources provisioning

During NFC provisioning or when provisioning is invoked by a trusted
source, it is not clear where SUW should continue from, so we should
not support this extra.

Bug: 27545742
Change-Id: Ide8ed8aedacf19eeeddb530b8726f64741f058bb
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java
7079df5a3fb155947004843ee8ec25b36127e3ed 17-Mar-2016 Steven Ng <stevenckng@google.com> Refactor MessageParser

+ Split MessageParser into two
+ ExtrasProvisioningDataParser which parses provisioning data from
extras.
+ PropertiesProvisioningDataParser which parses provisioning data
from NFC message.
+ Removed the confusing field isSelfOriginated as this can be derived
from the intent action.
+ Added unit tests for parsing.

Bug: 27356175
Change-Id: Ib3e001203cb0ed36f5ef3c59ba171b78288a30bf
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ExtrasProvisioningDataParser.java