OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ProvisioningParams
(Results
1 - 22
of
22
) sorted by null
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
ProvisioningDataParser.java
23
import com.android.managedprovisioning.model.
ProvisioningParams
;
30
ProvisioningParams
parse(Intent provisioningIntent, Context context)
ExtrasProvisioningDataParser.java
71
import com.android.managedprovisioning.model.
ProvisioningParams
;
106
public
ProvisioningParams
parse(Intent provisioningIntent, Context context)
145
private
ProvisioningParams
.Builder parseMinimalistSupportedProvisioningDataInternal(
183
boolean skipUserSetup =
ProvisioningParams
.DEFAULT_SKIP_USER_SETUP;
188
ProvisioningParams
.DEFAULT_SKIP_USER_SETUP);
194
Integer mainColor =
ProvisioningParams
.DEFAULT_MAIN_COLOR;
202
return
ProvisioningParams
.Builder.builder()
207
ProvisioningParams
.DEFAULT_EXTRA_PROVISIONING_SKIP_ENCRYPTION))
210
ProvisioningParams
.DEFAULT_LEAVE_ALL_SYSTEM_APPS_ENABLED))
229
* Parses an intent and return a corresponding {@link
ProvisioningParams
} object
[
all
...]
PropertiesProvisioningDataParser.java
60
import com.android.managedprovisioning.model.
ProvisioningParams
;
93
public
ProvisioningParams
parse(Intent nfcIntent, Context context)
110
ProvisioningParams
.Builder builder =
ProvisioningParams
.Builder.builder()
MessageParser.java
54
import com.android.managedprovisioning.model.
ProvisioningParams
;
61
* This class can initialize a {@link
ProvisioningParams
} object from an intent.
63
* <p>A {@link
ProvisioningParams
} object stores various parameters both for the device owner
79
* Converts {@link
ProvisioningParams
} to {@link Intent}.
81
* <p/>One of the use cases is to store {@link
ProvisioningParams
} before device-encryption
85
public Intent getIntentFromProvisioningParams(
ProvisioningParams
params) {
145
public
ProvisioningParams
parse(Intent provisioningIntent, Context context)
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/model/
ProvisioningParamsTest.java
36
/** Tests for {@link
ProvisioningParams
} */
95
// WHEN the
ProvisioningParams
is constructed by with neither a package name nor a component
98
ProvisioningParams
provisioningParams
=
ProvisioningParams
.Builder.builder()
103
// THEN the
ProvisioningParams
fails to construct.
109
// WHEN the
ProvisioningParams
is constructed by without a provisioning action.
111
ProvisioningParams
provisioningParams
=
ProvisioningParams
.Builder.builder(
[
all
...]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/uiflows/
EncryptDeviceActivity.java
29
import com.android.managedprovisioning.model.
ProvisioningParams
;
39
private
ProvisioningParams
mParams;
45
mParams = (
ProvisioningParams
) getIntent().getParcelableExtra(
46
ProvisioningParams
.EXTRA_PROVISIONING_PARAMS);
PreProvisioningActivity.java
44
import com.android.managedprovisioning.model.
ProvisioningParams
;
139
public void requestEncryption(
ProvisioningParams
params) {
141
encryptIntent.putExtra(
ProvisioningParams
.EXTRA_PROVISIONING_PARAMS, params);
181
public void startDeviceOwnerProvisioning(int userId,
ProvisioningParams
params) {
183
intent.putExtra(
ProvisioningParams
.EXTRA_PROVISIONING_PARAMS, params);
190
public void startProfileOwnerProvisioning(
ProvisioningParams
params) {
192
intent.putExtra(
ProvisioningParams
.EXTRA_PROVISIONING_PARAMS, params);
200
ProvisioningParams
params) {
244
public void showUserConsentDialog(
ProvisioningParams
params,
PreProvisioningController.java
45
import com.android.managedprovisioning.model.
ProvisioningParams
;
67
private
ProvisioningParams
mParams;
113
* @param params the {@link
ProvisioningParams
} object related to the ongoing provisioning
115
void requestEncryption(
ProvisioningParams
params);
129
* @param params the {@link
ProvisioningParams
} object related to the ongoing provisioning
132
ProvisioningParams
params);
138
* @param params the {@link
ProvisioningParams
} object related to the ongoing provisioning
140
void startDeviceOwnerProvisioning(int userId,
ProvisioningParams
params);
145
* @param params the {@link
ProvisioningParams
} object related to the ongoing provisioning
147
void startProfileOwnerProvisioning(
ProvisioningParams
params)
[
all
...]
EncryptionController.java
36
import com.android.managedprovisioning.model.
ProvisioningParams
;
105
public void setEncryptionReminder(
ProvisioningParams
params) {
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
ProvisioningParams.java
44
public final class
ProvisioningParams
implements Parcelable {
52
public static final String EXTRA_PROVISIONING_PARAMS = "
provisioningParams
";
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];
119
* <p>Note that {@link
ProvisioningParams
} is not immutable because this field is mutable.
138
// TODO (stevenckng): This shouldn't belong here. Remove this logic from
ProvisioningParams
[
all
...]
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/parser/
ExtrasProvisioningDataParserTest.java
69
import com.android.managedprovisioning.model.
ProvisioningParams
;
163
ProvisioningParams
params = mExtrasProvisioningDataParser.parse(intent, mContext);
167
ProvisioningParams
.Builder.builder()
177
.setMainColor(
ProvisioningParams
.DEFAULT_MAIN_COLOR)
208
ProvisioningParams
params = mExtrasProvisioningDataParser.parse(intent, mContext);
212
ProvisioningParams
.Builder.builder()
262
ProvisioningParams
params = mExtrasProvisioningDataParser.parse(intent, mContext);
266
ProvisioningParams
.Builder.builder()
299
ProvisioningParams
params = mExtrasProvisioningDataParser.parse(intent, mContext);
303
ProvisioningParams
.Builder.builder(
[
all
...]
MessageParserTest.java
35
import static com.android.managedprovisioning.model.
ProvisioningParams
.DEFAULT_LEAVE_ALL_SYSTEM_APPS_ENABLED;
36
import static com.android.managedprovisioning.model.
ProvisioningParams
.DEFAULT_STARTED_BY_TRUSTED_SOURCE;
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);
PropertiesProvisioningDataParserTest.java
63
import com.android.managedprovisioning.model.
ProvisioningParams
;
177
ProvisioningParams
params = mPropertiesProvisioningDataParser.parse(intent, mContext);
182
ProvisioningParams
.Builder.builder()
222
ProvisioningParams
params = mPropertiesProvisioningDataParser.parse(intent, mContext);
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
FinalizationActivity.java
33
import com.android.managedprovisioning.model.
ProvisioningParams
;
48
private
ProvisioningParams
mParams;
78
public static void storeProvisioningParams(Context context,
ProvisioningParams
params) {
154
private
ProvisioningParams
loadProvisioningParamsAndClearIntentStore() {
158
ProvisionLogger.loge("Fail to retrieve
ProvisioningParams
from intent store.");
DeviceOwnerProvisioningService.java
38
import com.android.managedprovisioning.model.
ProvisioningParams
;
111
private
ProvisioningParams
mParams;
139
// Load the
ProvisioningParams
(from message in Intent).
140
mParams = (
ProvisioningParams
) intent.getParcelableExtra(
141
ProvisioningParams
.EXTRA_PROVISIONING_PARAMS);
159
private void startDeviceOwnerProvisioning(final
ProvisioningParams
params) {
360
private void initializeProvisioningEnvironment(
ProvisioningParams
params) {
DeviceOwnerProvisioningActivity.java
33
import com.android.managedprovisioning.model.
ProvisioningParams
;
70
private
ProvisioningParams
mParams;
104
// Load the
ProvisioningParams
(from message in Intent).
105
mParams = (
ProvisioningParams
) getIntent().getParcelableExtra(
106
ProvisioningParams
.EXTRA_PROVISIONING_PARAMS);
ProfileOwnerProvisioningActivity.java
47
import com.android.managedprovisioning.model.
ProvisioningParams
;
90
private
ProvisioningParams
mParams;
111
mParams = (
ProvisioningParams
) getIntent().getParcelableExtra(
112
ProvisioningParams
.EXTRA_PROVISIONING_PARAMS);
ProfileOwnerProvisioningService.java
48
import com.android.managedprovisioning.model.
ProvisioningParams
;
106
private
ProvisioningParams
mParams;
227
// Load the
ProvisioningParams
(from message in Intent).
228
mParams = (
ProvisioningParams
) intent.getParcelableExtra(
229
ProvisioningParams
.EXTRA_PROVISIONING_PARAMS);
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/uiflows/
EncryptionControllerTest.java
43
import com.android.managedprovisioning.model.
ProvisioningParams
;
196
private
ProvisioningParams
createAndStoreProvisioningParams(String action) {
197
ProvisioningParams
params = new
ProvisioningParams
.Builder()
PreProvisioningControllerTest.java
49
import com.android.managedprovisioning.model.
ProvisioningParams
;
79
private
ProvisioningParams
mParams;
278
verify(mUi, never()).requestEncryption(any(
ProvisioningParams
.class));
329
verify(mUi, never()).requestEncryption(any(
ProvisioningParams
.class));
414
verify(mUi, never()).requestEncryption(any(
ProvisioningParams
.class));
476
verify(mUi, never()).requestEncryption(any(
ProvisioningParams
.class));
572
private
ProvisioningParams
createParams(boolean startedByTrustedSource, boolean skipEncryption,
574
ProvisioningParams
.Builder builder =
ProvisioningParams
.Builder.builder()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
InstallPackageTask.java
31
import com.android.managedprovisioning.model.
ProvisioningParams
;
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
Utils.java
81
import com.android.managedprovisioning.model.
ProvisioningParams
;
368
ProvisioningParams
params) {
429
ProvisioningParams
params) {
Completed in 291 milliseconds