Searched refs:StoreUtils (Results 1 – 16 of 16) sorted by relevance
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
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 | ProvisioningParams.java | 42 import static com.android.managedprovisioning.common.StoreUtils.accountToPersistableBundle; 43 import static com.android.managedprovisioning.common.StoreUtils.getObjectAttrFromPersistableBundle; 44 import static com.android.managedprovisioning.common.StoreUtils.getStringAttrFromPersistableBundle; 45 import static com.android.managedprovisioning.common.StoreUtils.putPersistableBundlableIfNotNull; 64 import com.android.managedprovisioning.common.StoreUtils; 406 bundle.putString(EXTRA_PROVISIONING_LOCALE, StoreUtils.localeToString(locale)); in toPersistableBundle() 411 StoreUtils.componentNameToString(deviceAdminComponentName)); in toPersistableBundle() 457 EXTRA_PROVISIONING_LOCALE, StoreUtils::stringToLocale)); in createBuilderFromPersistableBundle() 464 EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME, StoreUtils::stringToComponentName)); in createBuilderFromPersistableBundle() 468 EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE, StoreUtils::persistableBundleToAccount)); in createBuilderFromPersistableBundle()
|
D | DisclaimersParam.java | 23 import com.android.managedprovisioning.common.StoreUtils;
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | VerifyPackageTask.java | 33 import com.android.managedprovisioning.common.StoreUtils; 165 + StoreUtils.byteArrayToString(signatureChecksum)); in doesASignatureHashMatch() 169 ProvisionLogger.loge(StoreUtils.byteArrayToString(sigHash)); in doesASignatureHashMatch() 191 + StoreUtils.byteArrayToString(packageChecksum)); in doesPackageHashMatch() 194 + StoreUtils.byteArrayToString(packageSha256Hash)); in doesPackageHashMatch()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ |
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 | 72 import com.android.managedprovisioning.common.StoreUtils; 162 .setLocale(StoreUtils.stringToLocale( in parse() 279 builder.setPackageChecksum(StoreUtils.stringToByteArray(s)); in parsePackageDownloadInfoFromProperties() 283 builder.setSignatureChecksum(StoreUtils.stringToByteArray(s)); in parsePackageDownloadInfoFromProperties()
|
D | ExtrasProvisioningDataParser.java | 92 import com.android.managedprovisioning.common.StoreUtils; 682 .setLocale(StoreUtils.stringToLocale( in parseAllSupportedProvisioningData() 769 downloadInfoBuilder.setPackageChecksum(StoreUtils.stringToByteArray(packageHash)); in parsePackageDownloadInfoFromExtras() 774 downloadInfoBuilder.setSignatureChecksum(StoreUtils.stringToByteArray(sigHash)); in parsePackageDownloadInfoFromExtras()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/ |
D | TermsProvider.java | 31 import com.android.managedprovisioning.common.StoreUtils; 55 private final StoreUtils.TextFileReader mTextFileReader; 68 public TermsProvider(Context context, StoreUtils.TextFileReader textFileReader, in TermsProvider()
|
D | TermsViewModel.java | 30 import com.android.managedprovisioning.common.StoreUtils; 110 StoreUtils::readString, in create()
|
/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/tests/instrumentation/src/com/android/managedprovisioning/parser/ |
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 | 122 import com.android.managedprovisioning.common.StoreUtils; 593 props.setProperty(EXTRA_PROVISIONING_LOCALE, StoreUtils.localeToString(TEST_LOCALE)); in setTestTimeTimeZoneAndLocale() 603 EXTRA_PROVISIONING_LOCALE_SHORT, StoreUtils.localeToString(TEST_LOCALE)); in setShortTestTimeTimeZoneAndLocale()
|
D | ExtrasProvisioningDataParserTest.java | 142 import com.android.managedprovisioning.common.StoreUtils; 1155 return StoreUtils.localeToString(TEST_LOCALE); in buildTestLocaleString()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/ |
D | TermsViewModelTest.java | 34 import com.android.managedprovisioning.common.StoreUtils; 82 private final StoreUtils.TextFileReader mTextFileReader = file -> "terms content";
|
/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
|