Searched refs:StoreUtils (Results 1 – 18 of 18) sorted by relevance
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
D | ProvisioningParams.java | 43 import static com.android.managedprovisioning.common.StoreUtils.accountToPersistableBundle; 44 import static com.android.managedprovisioning.common.StoreUtils.getIntegerAttrFromPersistableBundle; 45 import static com.android.managedprovisioning.common.StoreUtils.getObjectAttrFromPersistableBundle; 46 import static com.android.managedprovisioning.common.StoreUtils.getStringAttrFromPersistableBundle; 47 import static com.android.managedprovisioning.common.StoreUtils.putIntegerIfNotNull; 48 import static com.android.managedprovisioning.common.StoreUtils.putPersistableBundlableIfNotNull; 66 import com.android.managedprovisioning.common.StoreUtils; 342 bundle.putString(EXTRA_PROVISIONING_LOCALE, StoreUtils.localeToString(locale)); in toPersistableBundle() 347 StoreUtils.componentNameToString(deviceAdminComponentName)); in toPersistableBundle() 386 EXTRA_PROVISIONING_LOCALE, StoreUtils::stringToLocale)); in createBuilderFromPersistableBundle() [all …]
|
D | PackageDownloadInfo.java | 33 import com.android.managedprovisioning.common.StoreUtils; 119 builder.setPackageChecksum(StoreUtils.stringToByteArray(bundle.getString( in createBuilderFromPersistableBundle() 121 builder.setSignatureChecksum(StoreUtils.stringToByteArray(bundle.getString( in createBuilderFromPersistableBundle() 135 StoreUtils.byteArrayToString(packageChecksum)); in toPersistableBundle() 137 StoreUtils.byteArrayToString(signatureChecksum)); in toPersistableBundle()
|
D | DisclaimersParam.java | 23 import com.android.managedprovisioning.common.StoreUtils;
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | VerifyPackageTask.java | 34 import com.android.managedprovisioning.common.StoreUtils; 166 + StoreUtils.byteArrayToString(signatureChecksum)); in doesASignatureHashMatch() 170 ProvisionLogger.loge(StoreUtils.byteArrayToString(sigHash)); in doesASignatureHashMatch() 192 + StoreUtils.byteArrayToString(packageChecksum)); in doesPackageHashMatch() 195 + StoreUtils.byteArrayToString(packageSha256Hash)); in doesPackageHashMatch()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ |
D | DeviceAdminIconParser.java | 18 import static com.android.managedprovisioning.common.StoreUtils.DIR_PROVISIONING_PARAMS_FILE_CACHE; 24 import com.android.managedprovisioning.common.StoreUtils; 52 boolean success = StoreUtils.copyUriIntoFile(mContext.getContentResolver(), uri, mFileIcon); in parse()
|
D | DisclaimersParser.java | 21 import static com.android.managedprovisioning.common.StoreUtils.DIR_PROVISIONING_PARAMS_FILE_CACHE; 31 import com.android.managedprovisioning.common.StoreUtils; 105 boolean success = StoreUtils.copyUriIntoFile(mContext.getContentResolver(), uri, in saveDisclaimerContentIntoFile()
|
D | PropertiesProvisioningDataParser.java | 70 import com.android.managedprovisioning.common.StoreUtils; 156 .setLocale(StoreUtils.stringToLocale( in parse() 268 builder.setPackageChecksum(StoreUtils.stringToByteArray(s)); in parsePackageDownloadInfoFromProperties() 272 builder.setSignatureChecksum(StoreUtils.stringToByteArray(s)); in parsePackageDownloadInfoFromProperties()
|
D | ExtrasProvisioningDataParser.java | 91 import com.android.managedprovisioning.common.StoreUtils; 685 .setLocale(StoreUtils.stringToLocale( in parseAllSupportedProvisioningData() 772 downloadInfoBuilder.setPackageChecksum(StoreUtils.stringToByteArray(packageHash)); in parsePackageDownloadInfoFromExtras() 777 downloadInfoBuilder.setSignatureChecksum(StoreUtils.stringToByteArray(sigHash)); in parsePackageDownloadInfoFromExtras()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/ |
D | DeviceAdminIconParserTest.java | 18 import static com.android.managedprovisioning.common.StoreUtils.DIR_PROVISIONING_PARAMS_FILE_CACHE; 32 import com.android.managedprovisioning.common.StoreUtils; 102 assertEquals(INPUT_CONTENT, StoreUtils.readString(OUTPUT_FILE)); in testUri()
|
D | DisclaimersParserTest.java | 21 import static com.android.managedprovisioning.common.StoreUtils.DIR_PROVISIONING_PARAMS_FILE_CACHE; 36 import com.android.managedprovisioning.common.StoreUtils; 177 return StoreUtils.readString(new File(disclaimer.mContentFilePath)); in getDisclaimerContentString()
|
D | PropertiesProvisioningDataParserTest.java | 127 import com.android.managedprovisioning.common.StoreUtils; 592 props.setProperty(EXTRA_PROVISIONING_LOCALE, StoreUtils.localeToString(TEST_LOCALE)); in setTestTimeTimeZoneAndLocale() 602 EXTRA_PROVISIONING_LOCALE_SHORT, StoreUtils.localeToString(TEST_LOCALE)); in setShortTestTimeTimeZoneAndLocale()
|
D | ExtrasProvisioningDataParserTest.java | 131 import com.android.managedprovisioning.common.StoreUtils; 888 return StoreUtils.localeToString(TEST_LOCALE); in buildTestLocaleString()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/ |
D | TermsActivity.java | 43 import com.android.managedprovisioning.common.StoreUtils; 64 this(StoreUtils::readString, null, new SettingsFacade()); in TermsActivity() 67 @VisibleForTesting TermsActivity(StoreUtils.TextFileReader textFileReader, in TermsActivity()
|
D | TermsProvider.java | 31 import com.android.managedprovisioning.common.StoreUtils; 54 private final StoreUtils.TextFileReader mTextFileReader; 65 public TermsProvider(Context context, StoreUtils.TextFileReader textFileReader, Utils utils) { in TermsProvider()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/testcommon/ |
D | TestUtils.java | 22 import com.android.managedprovisioning.common.StoreUtils; 39 StoreUtils.copyStream(in, out); in stringFromUri()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | LogoUtils.java | 38 StoreUtils.copyUriIntoFile(context.getContentResolver(), uri, logoFile); in saveOrganisationLogo()
|
D | StoreUtils.java | 41 public class StoreUtils { class
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningController.java | 78 import com.android.managedprovisioning.common.StoreUtils; 434 return new TermsProvider(mContext, StoreUtils::readString, mUtils) in getDisclaimerHeadings()
|