Searched refs:StoreUtils (Results 1 – 19 of 19) sorted by relevance
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
D | ProvisioningParams.java | 40 import static com.android.managedprovisioning.common.StoreUtils.accountToPersistableBundle; 41 import static com.android.managedprovisioning.common.StoreUtils.getIntegerAttrFromPersistableBundle; 42 import static com.android.managedprovisioning.common.StoreUtils.getObjectAttrFromPersistableBundle; 43 import static com.android.managedprovisioning.common.StoreUtils.getStringAttrFromPersistableBundle; 44 import static com.android.managedprovisioning.common.StoreUtils.putIntegerIfNotNull; 45 import static com.android.managedprovisioning.common.StoreUtils.putPersistableBundlableIfNotNull; 59 import com.android.managedprovisioning.common.StoreUtils; 254 bundle.putString(EXTRA_PROVISIONING_LOCALE, StoreUtils.localeToString(locale)); in toPersistableBundle() 258 StoreUtils.componentNameToString(deviceAdminComponentName)); in toPersistableBundle() 292 EXTRA_PROVISIONING_LOCALE, StoreUtils::stringToLocale)); in createBuilderFromPersistableBundle() [all …]
|
D | PackageDownloadInfo.java | 33 import com.android.managedprovisioning.common.StoreUtils; 129 builder.setPackageChecksum(StoreUtils.stringToByteArray(bundle.getString( in createBuilderFromPersistableBundle() 131 builder.setSignatureChecksum(StoreUtils.stringToByteArray(bundle.getString( in createBuilderFromPersistableBundle() 147 StoreUtils.byteArrayToString(packageChecksum)); in toPersistableBundle() 149 StoreUtils.byteArrayToString(signatureChecksum)); in toPersistableBundle()
|
D | DisclaimersParam.java | 23 import com.android.managedprovisioning.common.StoreUtils;
|
D | WifiInfo.java | 37 import com.android.managedprovisioning.common.StoreUtils;
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | VerifyPackageTask.java | 30 import com.android.managedprovisioning.common.StoreUtils; 159 + StoreUtils.byteArrayToString(signatureChecksum)); in doesASignatureHashMatch() 163 ProvisionLogger.loge(StoreUtils.byteArrayToString(sigHash)); in doesASignatureHashMatch() 196 + StoreUtils.byteArrayToString(packageChecksum)); in doesPackageHashMatch() 199 + StoreUtils.byteArrayToString(packageSha256Hash)); in doesPackageHashMatch() 203 + StoreUtils.byteArrayToString(packageSha1Hash)); 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 | PropertiesProvisioningDataParser.java | 58 import com.android.managedprovisioning.common.StoreUtils; 128 .setLocale(StoreUtils.stringToLocale( in parse() 221 builder.setPackageChecksum(StoreUtils.stringToByteArray(s)) in parsePackageDownloadInfoFromProperties() 226 builder.setSignatureChecksum(StoreUtils.stringToByteArray(s)); in parsePackageDownloadInfoFromProperties()
|
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 | ExtrasProvisioningDataParser.java | 73 import com.android.managedprovisioning.common.StoreUtils; 298 .setLocale(StoreUtils.stringToLocale( in parseAllSupportedProvisioningData() 362 downloadInfoBuilder.setPackageChecksum(StoreUtils.stringToByteArray(packageHash)); in parsePackageDownloadInfoFromExtras() 366 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; 30 import com.android.managedprovisioning.common.StoreUtils; 98 assertEquals(INPUT_CONTENT, StoreUtils.readString(OUTPUT_FILE)); in testUri()
|
D | DisclaimersParserTest.java | 20 import static com.android.managedprovisioning.common.StoreUtils.DIR_PROVISIONING_PARAMS_FILE_CACHE; 32 import com.android.managedprovisioning.common.StoreUtils; 171 return StoreUtils.readString(new File(disclaimer.mContentFilePath)); in getDisclaimerContentString()
|
D | PropertiesProvisioningDataParserTest.java | 58 import com.android.managedprovisioning.common.StoreUtils; 281 props.setProperty(EXTRA_PROVISIONING_LOCALE, StoreUtils.localeToString(TEST_LOCALE)); in setTestTimeTimeZoneAndLocale()
|
D | ExtrasProvisioningDataParserTest.java | 69 import com.android.managedprovisioning.common.StoreUtils; 538 EXTRA_PROVISIONING_LOCALE, StoreUtils.localeToString(TEST_LOCALE)); in getTestTimeTimeZoneAndLocaleExtras()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/ |
D | TermsActivity.java | 36 import com.android.managedprovisioning.common.StoreUtils; 55 this(StoreUtils::readString, null); in TermsActivity() 58 @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/preprovisioning/ |
D | PreProvisioningController.java | 65 import com.android.managedprovisioning.common.StoreUtils; 304 return new TermsProvider(mContext, StoreUtils::readString, mUtils) in getDisclaimerHeadings()
|
/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
|