Home
last modified time | relevance | path

Searched refs:TEST_PACKAGE_CHECKSUM (Results 1 – 8 of 8) sorted by relevance

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DPackageDownloadInfoTest.java36 private static final byte[] TEST_PACKAGE_CHECKSUM = new byte[] { '1', '2', '3', '4', '5' }; field in PackageDownloadInfoTest
46 .setPackageChecksum(TEST_PACKAGE_CHECKSUM) in testBuilderWriteAndReadBack()
53 assertEquals(TEST_PACKAGE_CHECKSUM, downloadInfo.packageChecksum); in testBuilderWriteAndReadBack()
77 .setPackageChecksum(TEST_PACKAGE_CHECKSUM) in testFailToConstructPackageInfoWithoutDownloadLocation()
91 .setPackageChecksum(TEST_PACKAGE_CHECKSUM) in testConstructPackageInfoWithDownloadLocationAndPackageChecksum()
95 assertEquals(TEST_PACKAGE_CHECKSUM, downloadInfo.packageChecksum); in testConstructPackageInfoWithDownloadLocationAndPackageChecksum()
117 .setPackageChecksum(TEST_PACKAGE_CHECKSUM) in testEquals()
124 .setPackageChecksum(TEST_PACKAGE_CHECKSUM) in testEquals()
139 .setPackageChecksum(TEST_PACKAGE_CHECKSUM) in testNotEquals()
146 .setPackageChecksum(TEST_PACKAGE_CHECKSUM) in testNotEquals()
[all …]
DProvisioningParamsTest.java91 private static final byte[] TEST_PACKAGE_CHECKSUM = new byte[] { '1', '2', '3', '4', '5' }; field in ProvisioningParamsTest
98 .setPackageChecksum(TEST_PACKAGE_CHECKSUM)
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/provisioning/
DAdminIntegratedFlowPrepareActivityTest.java47 private static final byte[] TEST_PACKAGE_CHECKSUM = new byte[]{1}; field in AdminIntegratedFlowPrepareActivityTest
98 .setPackageChecksum(TEST_PACKAGE_CHECKSUM) in shouldRunPrepareActivity_download_notSideloaded_returnsTrue()
116 .setPackageChecksum(TEST_PACKAGE_CHECKSUM) in shouldRunPrepareActivity_download_noMinimum_sideloaded_returnsTrue()
136 .setPackageChecksum(TEST_PACKAGE_CHECKSUM) in shouldRunPrepareActivity_download_minimum_sideloaded_meetsMinimum_returnsFalse()
155 .setPackageChecksum(TEST_PACKAGE_CHECKSUM) in shouldRunPrepareActivity_download_minimum_sideloaded_doesNotMeetMinimum_returnsFalse()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/task/
DDownloadPackageTaskRoboTest.java49 private static final byte[] TEST_PACKAGE_CHECKSUM = new byte[]{1}; field in DownloadPackageTaskRoboTest
76 .setPackageChecksum(TEST_PACKAGE_CHECKSUM) in run_alreadyInstalled_doesNotSetManagedProvisioningDpcDownloaded()
95 .setPackageChecksum(TEST_PACKAGE_CHECKSUM) in run_installsUpdate_doesSetManagedProvisioningDpcDownloaded()
144 .setPackageChecksum(TEST_PACKAGE_CHECKSUM) in createDefaultProvisioningParamsBuilder()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DFinancedDeviceProvisioningControllerTest.java49 private static final byte[] TEST_PACKAGE_CHECKSUM = new byte[] { '1', '2', '3', '4', '5' }; field in FinancedDeviceProvisioningControllerTest
52 .setSignatureChecksum(TEST_PACKAGE_CHECKSUM)
DDeviceOwnerProvisioningControllerTest.java61 private static final byte[] TEST_PACKAGE_CHECKSUM = new byte[] { '1', '2', '3', '4', '5' }; field in DeviceOwnerProvisioningControllerTest
64 .setSignatureChecksum(TEST_PACKAGE_CHECKSUM)
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParserTest.java194 private static final byte[] TEST_PACKAGE_CHECKSUM = new byte[] { '1', '2', '3', '4', '5' }; field in PropertiesProvisioningDataParserTest
201 .setPackageChecksum(TEST_PACKAGE_CHECKSUM)
272 .setPackageChecksum(TEST_PACKAGE_CHECKSUM) in testParse_nfcProvisioningIntent()
702 return Base64.encodeToString(TEST_PACKAGE_CHECKSUM, in buildTestPackageChecksum()
DExtrasProvisioningDataParserTest.java208 private static final byte[] TEST_PACKAGE_CHECKSUM = new byte[] { '1', '2', '3', '4', '5' }; field in ExtrasProvisioningDataParserTest
215 .setPackageChecksum(TEST_PACKAGE_CHECKSUM)
986 return Base64.encodeToString(TEST_PACKAGE_CHECKSUM, in buildTestPackageChecksum()