Home
last modified time | relevance | path

Searched refs:ProvisioningParams (Results 1 – 22 of 22) sorted by relevance

/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/model/
DProvisioningParamsTest.java98 ProvisioningParams provisioningParams = ProvisioningParams.Builder.builder() in testFailToConstructProvisioningParamsWithoutPackageNameOrComponentName()
111 ProvisioningParams provisioningParams = ProvisioningParams.Builder.builder() in testFailToConstructProvisioningParamsWithoutProvisioningAction()
123 ProvisioningParams provisioningParams1 = ProvisioningParams.Builder.builder() in testEquals()
140 ProvisioningParams provisioningParams2 = ProvisioningParams.Builder.builder() in testEquals()
166 ProvisioningParams provisioningParams1 = ProvisioningParams.Builder.builder() in testNotEquals()
183 ProvisioningParams provisioningParams2 = ProvisioningParams.Builder.builder() in testNotEquals()
209 ProvisioningParams expectedProvisioningParams = ProvisioningParams.Builder.builder() in testParceable()
231 ProvisioningParams actualProvisioningParams = in testParceable()
232 ProvisioningParams.CREATOR.createFromParcel(parcel); in testParceable()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DProvisioningParams.java44 public final class ProvisioningParams implements Parcelable { class
54 public static final Parcelable.Creator<ProvisioningParams> CREATOR
55 = new Parcelable.Creator<ProvisioningParams>() {
57 public ProvisioningParams createFromParcel(Parcel in) {
58 return new ProvisioningParams(in);
62 public ProvisioningParams[] newArray(int size) {
63 return new ProvisioningParams[size];
160 private ProvisioningParams(Builder builder) { in ProvisioningParams() method in ProvisioningParams
185 private ProvisioningParams(Parcel in) { in ProvisioningParams() method in ProvisioningParams
262 ProvisioningParams that = (ProvisioningParams) o; in equals()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParser.java71 import com.android.managedprovisioning.model.ProvisioningParams;
106 public ProvisioningParams parse(Intent provisioningIntent, Context context) in parse()
145 private ProvisioningParams.Builder parseMinimalistSupportedProvisioningDataInternal( in parseMinimalistSupportedProvisioningDataInternal()
183 boolean skipUserSetup = ProvisioningParams.DEFAULT_SKIP_USER_SETUP; in parseMinimalistSupportedProvisioningDataInternal()
188 ProvisioningParams.DEFAULT_SKIP_USER_SETUP); in parseMinimalistSupportedProvisioningDataInternal()
194 Integer mainColor = ProvisioningParams.DEFAULT_MAIN_COLOR; in parseMinimalistSupportedProvisioningDataInternal()
202 return ProvisioningParams.Builder.builder() in parseMinimalistSupportedProvisioningDataInternal()
207 ProvisioningParams.DEFAULT_EXTRA_PROVISIONING_SKIP_ENCRYPTION)) in parseMinimalistSupportedProvisioningDataInternal()
210 ProvisioningParams.DEFAULT_LEAVE_ALL_SYSTEM_APPS_ENABLED)) in parseMinimalistSupportedProvisioningDataInternal()
234 private ProvisioningParams parseAllSupportedProvisioningData(Intent intent, Context context) in parseAllSupportedProvisioningData()
[all …]
DProvisioningDataParser.java23 import com.android.managedprovisioning.model.ProvisioningParams;
30 ProvisioningParams parse(Intent provisioningIntent, Context context) in parse()
DPropertiesProvisioningDataParser.java60 import com.android.managedprovisioning.model.ProvisioningParams;
93 public ProvisioningParams parse(Intent nfcIntent, Context context) in parse()
110 ProvisioningParams.Builder builder = ProvisioningParams.Builder.builder() in parse()
DMessageParser.java54 import com.android.managedprovisioning.model.ProvisioningParams;
85 public Intent getIntentFromProvisioningParams(ProvisioningParams params) { in getIntentFromProvisioningParams()
145 public ProvisioningParams parse(Intent provisioningIntent, Context context) in parse()
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParserTest.java69 import com.android.managedprovisioning.model.ProvisioningParams;
163 ProvisioningParams params = mExtrasProvisioningDataParser.parse(intent, mContext); in testParse_trustedSourceProvisioningIntent()
167 ProvisioningParams.Builder.builder() in testParse_trustedSourceProvisioningIntent()
177 .setMainColor(ProvisioningParams.DEFAULT_MAIN_COLOR) in testParse_trustedSourceProvisioningIntent()
208 ProvisioningParams params = mExtrasProvisioningDataParser.parse(intent, mContext); in testParse_resumeProvisioningIntent()
212 ProvisioningParams.Builder.builder() in testParse_resumeProvisioningIntent()
262 ProvisioningParams params = mExtrasProvisioningDataParser.parse(intent, mContext); in testParse_managedProfileIntent()
266 ProvisioningParams.Builder.builder() in testParse_managedProfileIntent()
299 ProvisioningParams params = mExtrasProvisioningDataParser.parse(intent, mContext); in testParse_managedUserIntent()
303 ProvisioningParams.Builder.builder() in testParse_managedUserIntent()
[all …]
DMessageParserTest.java35 import static com.android.managedprovisioning.model.ProvisioningParams.DEFAULT_LEAVE_ALL_SYSTEM_APP…
36 import static com.android.managedprovisioning.model.ProvisioningParams.DEFAULT_STARTED_BY_TRUSTED_S…
37 import static com.android.managedprovisioning.model.ProvisioningParams.DEFAULT_SKIP_USER_SETUP;
41 import static com.android.managedprovisioning.model.ProvisioningParams.DEFAULT_LOCAL_TIME;
60 import com.android.managedprovisioning.model.ProvisioningParams;
114 ProvisioningParams params = mMessageParser.parse(intent, mContext); in testParseAndRecoverIntent()
DPropertiesProvisioningDataParserTest.java63 import com.android.managedprovisioning.model.ProvisioningParams;
177 ProvisioningParams params = mPropertiesProvisioningDataParser.parse(intent, mContext); in testParse_nfcProvisioningIntent()
182 ProvisioningParams.Builder.builder() in testParse_nfcProvisioningIntent()
222 ProvisioningParams params = mPropertiesProvisioningDataParser.parse(intent, mContext); in testParse_OtherIntentsThrowsException()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/uiflows/
DPreProvisioningActivity.java44 import com.android.managedprovisioning.model.ProvisioningParams;
140 public void requestEncryption(ProvisioningParams params) { in requestEncryption()
142 encryptIntent.putExtra(ProvisioningParams.EXTRA_PROVISIONING_PARAMS, params); in requestEncryption()
182 public void startDeviceOwnerProvisioning(int userId, ProvisioningParams params) { in startDeviceOwnerProvisioning()
184 intent.putExtra(ProvisioningParams.EXTRA_PROVISIONING_PARAMS, params); in startDeviceOwnerProvisioning()
191 public void startProfileOwnerProvisioning(ProvisioningParams params) { in startProfileOwnerProvisioning()
193 intent.putExtra(ProvisioningParams.EXTRA_PROVISIONING_PARAMS, params); in startProfileOwnerProvisioning()
201 ProvisioningParams params) { in initiateUi()
239 public void showUserConsentDialog(ProvisioningParams params, in showUserConsentDialog()
DPreProvisioningController.java45 import com.android.managedprovisioning.model.ProvisioningParams;
67 private ProvisioningParams mParams;
115 void requestEncryption(ProvisioningParams params); in requestEncryption()
132 ProvisioningParams params); in initiateUi()
140 void startDeviceOwnerProvisioning(int userId, ProvisioningParams params); in startDeviceOwnerProvisioning()
147 void startProfileOwnerProvisioning(ProvisioningParams params); in startProfileOwnerProvisioning()
155 void showUserConsentDialog(ProvisioningParams params, boolean isProfileOwnerProvisioning); in showUserConsentDialog()
424 public ProvisioningParams getParams() { in getParams()
DEncryptDeviceActivity.java28 import com.android.managedprovisioning.model.ProvisioningParams;
38 private ProvisioningParams mParams;
44 mParams = (ProvisioningParams) getIntent().getParcelableExtra( in onCreate()
45 ProvisioningParams.EXTRA_PROVISIONING_PARAMS); in onCreate()
DEncryptionController.java36 import com.android.managedprovisioning.model.ProvisioningParams;
105 public void setEncryptionReminder(ProvisioningParams params) { in setEncryptionReminder()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DDeviceOwnerProvisioningService.java38 import com.android.managedprovisioning.model.ProvisioningParams;
111 private ProvisioningParams mParams;
140 mParams = (ProvisioningParams) intent.getParcelableExtra( in onStartCommand()
141 ProvisioningParams.EXTRA_PROVISIONING_PARAMS); in onStartCommand()
159 private void startDeviceOwnerProvisioning(final ProvisioningParams params) { in startDeviceOwnerProvisioning()
360 private void initializeProvisioningEnvironment(ProvisioningParams params) { in initializeProvisioningEnvironment()
DFinalizationActivity.java33 import com.android.managedprovisioning.model.ProvisioningParams;
48 private ProvisioningParams mParams;
78 public static void storeProvisioningParams(Context context, ProvisioningParams params) { in storeProvisioningParams()
154 private ProvisioningParams loadProvisioningParamsAndClearIntentStore() { in loadProvisioningParamsAndClearIntentStore()
DDeviceOwnerProvisioningActivity.java33 import com.android.managedprovisioning.model.ProvisioningParams;
70 private ProvisioningParams mParams;
106 mParams = (ProvisioningParams) getIntent().getParcelableExtra( in onCreate()
107 ProvisioningParams.EXTRA_PROVISIONING_PARAMS); in onCreate()
DProfileOwnerProvisioningActivity.java47 import com.android.managedprovisioning.model.ProvisioningParams;
90 private ProvisioningParams mParams;
115 mParams = (ProvisioningParams) getIntent().getParcelableExtra( in onCreate()
116 ProvisioningParams.EXTRA_PROVISIONING_PARAMS); in onCreate()
DProfileOwnerProvisioningService.java48 import com.android.managedprovisioning.model.ProvisioningParams;
106 private ProvisioningParams mParams;
228 mParams = (ProvisioningParams) intent.getParcelableExtra( in initialize()
229 ProvisioningParams.EXTRA_PROVISIONING_PARAMS); in initialize()
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/uiflows/
DPreProvisioningControllerTest.java49 import com.android.managedprovisioning.model.ProvisioningParams;
79 private ProvisioningParams mParams;
278 verify(mUi, never()).requestEncryption(any(ProvisioningParams.class)); in testManagedProfile_skipEncryption()
329 verify(mUi, never()).requestEncryption(any(ProvisioningParams.class)); in testNfc_skipEncryption()
414 verify(mUi, never()).requestEncryption(any(ProvisioningParams.class)); in testQr_skipEncryption()
476 verify(mUi, never()).requestEncryption(any(ProvisioningParams.class)); in testDeviceOwner_skipEncryption()
572 private ProvisioningParams createParams(boolean startedByTrustedSource, boolean skipEncryption, in createParams()
574 ProvisioningParams.Builder builder = ProvisioningParams.Builder.builder() in createParams()
DEncryptionControllerTest.java43 import com.android.managedprovisioning.model.ProvisioningParams;
196 private ProvisioningParams createAndStoreProvisioningParams(String action) { in createAndStoreProvisioningParams()
197 ProvisioningParams params = new ProvisioningParams.Builder() in createAndStoreProvisioningParams()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java81 import com.android.managedprovisioning.model.ProvisioningParams;
368 ProvisioningParams params) { in markUserProvisioningStateInitiallyDone()
429 ProvisioningParams params) { in markUserProvisioningStateFinalized()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DInstallPackageTask.java31 import com.android.managedprovisioning.model.ProvisioningParams;