/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/ |
D | ExerciseCompletionGoalInternalTest.java | 42 DistanceGoalInternal original = new DistanceGoalInternal(Length.fromMeters(800)); in distanceGoal_writeToParcelThenRestore_objectsAreIdentical() local 44 Parcel parcel = writeToParcel(original); in distanceGoal_writeToParcelThenRestore_objectsAreIdentical() 49 assertThat(restored.getDistance()).isEqualTo(original.getDistance()); in distanceGoal_writeToParcelThenRestore_objectsAreIdentical() 55 DistanceGoalInternal original = new DistanceGoalInternal(Length.fromMeters(800)); in distanceGoal_convertToExternalAndBack_objectsAreIdentical() local 60 original.toExternalObject())) in distanceGoal_convertToExternalAndBack_objectsAreIdentical() 62 .isEqualTo(original.getDistance()); in distanceGoal_convertToExternalAndBack_objectsAreIdentical() 67 StepsGoalInternal original = new StepsGoalInternal(500); in stepsGoal_writeToParcelThenRestore_objectsAreIdentical() local 69 Parcel parcel = writeToParcel(original); in stepsGoal_writeToParcelThenRestore_objectsAreIdentical() 74 assertThat(restored.getSteps()).isEqualTo(original.getSteps()); in stepsGoal_writeToParcelThenRestore_objectsAreIdentical() 80 StepsGoalInternal original = new StepsGoalInternal(100); in stepsGoal_convertToExternalAndBack_objectsAreIdentical() local [all …]
|
D | ExercisePerformanceGoalInternalTest.java | 43 PowerGoalInternal original = in powerGoal_writeToParcelThenRestore_objectsAreIdentical() local 46 Parcel parcel = writeToParcel(original); in powerGoal_writeToParcelThenRestore_objectsAreIdentical() 52 assertThat(restored.getMinPower()).isEqualTo(original.getMinPower()); in powerGoal_writeToParcelThenRestore_objectsAreIdentical() 53 assertThat(restored.getMaxPower()).isEqualTo(original.getMaxPower()); in powerGoal_writeToParcelThenRestore_objectsAreIdentical() 59 ExercisePerformanceGoalInternal.PowerGoalInternal original = in powerGoal_convertToExternalAndBack_objectsAreIdentical() local 66 original.toExternalObject())) in powerGoal_convertToExternalAndBack_objectsAreIdentical() 68 .isEqualTo(original.getMinPower()); in powerGoal_convertToExternalAndBack_objectsAreIdentical() 72 original.toExternalObject())) in powerGoal_convertToExternalAndBack_objectsAreIdentical() 74 .isEqualTo(original.getMaxPower()); in powerGoal_convertToExternalAndBack_objectsAreIdentical() 79 SpeedGoalInternal original = in speedGoal_writeToParcelThenRestore_objectsAreIdentical() local [all …]
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | SoftApConfigurationTest.java | 104 SoftApConfiguration original = new SoftApConfiguration.Builder() in testBasicSettings() local 107 assertThat(original.getSsid()).isEqualTo(utf8Ssid); in testBasicSettings() 108 assertThat(original.getWifiSsid()).isEqualTo(WifiSsid.fromUtf8Text(utf8Ssid)); in testBasicSettings() 109 assertThat(original.getPassphrase()).isNull(); in testBasicSettings() 110 assertThat(original.getSecurityType()).isEqualTo(SoftApConfiguration.SECURITY_TYPE_OPEN); in testBasicSettings() 111 assertThat(original.getBand()).isEqualTo(SoftApConfiguration.BAND_2GHZ); in testBasicSettings() 112 assertThat(original.getChannel()).isEqualTo(0); in testBasicSettings() 113 assertThat(original.isHiddenSsid()).isEqualTo(false); in testBasicSettings() 114 assertThat(original.getMaxNumberOfClients()).isEqualTo(0); in testBasicSettings() 115 assertThat(original.getPersistentRandomizedMacAddress()).isNull(); in testBasicSettings() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | UpdateHelper.java | 24 public int update(int original, int update) { in update() argument 25 if (original != update) { in update() 27 original = update; in update() 29 return original; in update() 32 public long update(long original, long update) { in update() argument 33 if (original != update) { in update() 35 original = update; in update() 37 return original; in update() 40 public double update(double original, double update) { in update() argument 41 if (original != update) { in update() [all …]
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | GlideFilmstripManager.java | 130 public final DrawableRequestBuilder<Uri> loadFull(Uri uri, Key key, Size original) { in loadFull() argument 131 Size size = clampSize(original, MAXIMUM_FULL_RES_PIXELS, getMaxImageDisplaySize()); in loadFull() 145 public DrawableRequestBuilder<Uri> loadScreen(Uri uri, Key key, Size original) { in loadScreen() argument 146 Size size = clampSize(original, MAXIMUM_SMOOTH_PIXELS, getMaxImageDisplaySize()); in loadScreen() 191 private static Size clampSize(Size original, double maxArea, Size maxSize) { in clampSize() argument 192 if (original.getWidth() * original.getHeight() < maxArea && in clampSize() 193 original.getWidth() < maxSize.getWidth() && in clampSize() 194 original.getHeight() < maxSize.getHeight()) { in clampSize() 197 return original; in clampSize() 202 double ratio = Math.min(Math.sqrt(maxArea / original.area()), 1.0f); in clampSize() [all …]
|
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/ |
D | ProvisionedKeyTest.java | 58 private static <T> T clone(T original) { in clone() argument 59 if (original == null) { in clone() 61 } else if (original instanceof byte[]) { in clone() 62 return (T) ((byte[]) original).clone(); in clone() 63 } else if (original instanceof String) { in clone() 64 return (T) new String((String) original); in clone() 65 } else if (original instanceof Instant) { in clone() 66 Instant originalInstant = (Instant) original; in clone() 69 } else if (original instanceof Integer) { in clone() 70 return (T) Integer.valueOf(((Integer) original).intValue()); in clone() [all …]
|
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/ |
D | SetSchemaResponseInternalTest.java | 47 SetSchemaResponse original = in testRebuild() local 54 assertThat(original.getDeletedTypes()).containsExactly("delete1"); in testRebuild() 55 assertThat(original.getIncompatibleTypes()).containsExactly("incompatible1"); in testRebuild() 56 assertThat(original.getMigratedTypes()).containsExactly("migrated1"); in testRebuild() 57 assertThat(original.getMigrationFailures()).containsExactly(failure1); in testRebuild() 60 new SetSchemaResponse.Builder(original) in testRebuild() 68 assertThat(original.getDeletedTypes()).containsExactly("delete1"); in testRebuild() 69 assertThat(original.getIncompatibleTypes()).containsExactly("incompatible1"); in testRebuild() 70 assertThat(original.getMigratedTypes()).containsExactly("migrated1"); in testRebuild() 71 assertThat(original.getMigrationFailures()).containsExactly(failure1); in testRebuild()
|
/packages/modules/Permission/PermissionController/tests/permissionui/src/com/android/permissioncontroller/permissionui/ui/handheld/ |
D | ManageStandardPermissionsFragmentTest.kt | 111 val original = getUsageCountsFromUi(LOCATION_GROUP_LABEL) in groupSummaryGetsUpdatedWhenAppGetsInstalled() constant 117 assertThat(afterInstall.granted).isEqualTo(original.granted) in groupSummaryGetsUpdatedWhenAppGetsInstalled() 118 assertThat(afterInstall.total).isEqualTo(original.total + 1) in groupSummaryGetsUpdatedWhenAppGetsInstalled() 126 val original = getUsageCountsFromUi(LOCATION_GROUP_LABEL) in groupSummaryGetsUpdatedWhenAppGetsUninstalled() constant 129 { assertThat(getUsageCountsFromUi(LOCATION_GROUP_LABEL)).isNotEqualTo(original) }, in groupSummaryGetsUpdatedWhenAppGetsUninstalled() 135 { assertThat(getUsageCountsFromUi(LOCATION_GROUP_LABEL)).isEqualTo(original) }, in groupSummaryGetsUpdatedWhenAppGetsUninstalled() 142 val original = getUsageCountsFromUi(LOCATION_GROUP_LABEL) in groupSummaryGetsUpdatedWhenPermissionGetsGranted() constant 148 .isEqualTo(original.total + 1) in groupSummaryGetsUpdatedWhenPermissionGetsGranted() 156 .isEqualTo(original.granted + 1) in groupSummaryGetsUpdatedWhenPermissionGetsGranted() 162 val original = getUsageCountsFromUi(LOCATION_GROUP_LABEL) in groupSummaryGetsUpdatedWhenPermissionGetsRevoked() constant [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/ |
D | DBAdDataTest.java | 120 AdData original = AdDataFixture.getValidFilterAdDataByBuyer(CommonFixture.VALID_BUYER_1, 1); in testFromServiceObjectBothFilteringDisabled() local 123 .fromServiceObject(original) in testFromServiceObjectBothFilteringDisabled() 127 .setRenderUri(original.getRenderUri()) in testFromServiceObjectBothFilteringDisabled() 128 .setMetadata(original.getMetadata()) in testFromServiceObjectBothFilteringDisabled() 135 AdData original = AdDataFixture.getValidFilterAdDataByBuyer(CommonFixture.VALID_BUYER_1, 1); in testFromServiceObjectAppInstallFilteringDisabledFrequencyCapEnabled() local 138 .fromServiceObject(original) in testFromServiceObjectAppInstallFilteringDisabledFrequencyCapEnabled() 141 .isEqualTo(original.getAdFilters().getFrequencyCapFilters()); in testFromServiceObjectAppInstallFilteringDisabledFrequencyCapEnabled() 147 AdData original = AdDataFixture.getValidFilterAdDataByBuyer(CommonFixture.VALID_BUYER_1, 1); in testFromServiceObjectFrequencyCapFilteringDisabledAppInstallEnabled() local 150 .fromServiceObject(original) in testFromServiceObjectFrequencyCapFilteringDisabledAppInstallEnabled() 154 .isEqualTo(original.getAdFilters().getAppInstallFilters()); in testFromServiceObjectFrequencyCapFilteringDisabledAppInstallEnabled() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAppUtils.java | 46 private static Drawable getSafeDrawable(Drawable original, int maxDimension) { in getSafeDrawable() argument 47 int actualWidth = original.getMinimumWidth(); in getSafeDrawable() 48 int actualHeight = original.getMinimumHeight(); in getSafeDrawable() 51 return original; in getSafeDrawable() 61 if (original instanceof BitmapDrawable) { in getSafeDrawable() 62 Bitmap originalBitmap = ((BitmapDrawable) original).getBitmap(); in getSafeDrawable() 74 original.setBounds(0, 0, canvas.getWidth(), canvas.getHeight()); in getSafeDrawable() 75 original.draw(canvas); in getSafeDrawable()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | MedicalDataSource.java | 187 public Builder(@NonNull Builder original) { in Builder() argument 188 requireNonNull(original); in Builder() 189 mId = original.mId; in Builder() 190 mPackageName = original.mPackageName; in Builder() 191 mFhirBaseUri = original.mFhirBaseUri; in Builder() 192 mDisplayName = original.mDisplayName; in Builder() 195 public Builder(@NonNull MedicalDataSource original) { in Builder() argument 196 requireNonNull(original); in Builder() 197 mId = original.getId(); in Builder() 198 mPackageName = original.getPackageName(); in Builder() [all …]
|
D | MedicalResource.java | 226 public Builder(@NonNull Builder original) { in Builder() argument 227 requireNonNull(original); in Builder() 228 mId = original.mId; in Builder() 229 mType = original.mType; in Builder() 230 mDataSourceId = original.mDataSourceId; in Builder() 231 mData = original.mData; in Builder() 234 public Builder(@NonNull MedicalResource original) { in Builder() argument 235 requireNonNull(original); in Builder() 236 mId = original.getId(); in Builder() 237 mType = original.getType(); in Builder() [all …]
|
/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | ReadMedicalResourcesRequest.java | 169 public Builder(@NonNull Builder original) { in Builder() argument 170 requireNonNull(original); in Builder() 171 mMedicalResourceType = original.mMedicalResourceType; in Builder() 172 mPageSize = original.mPageSize; in Builder() 173 mPageToken = original.mPageToken; in Builder() 180 public Builder(@NonNull ReadMedicalResourcesRequest original) { in Builder() argument 181 requireNonNull(original); in Builder() 182 mMedicalResourceType = original.getMedicalResourceType(); in Builder() 183 mPageSize = original.getPageSize(); in Builder() 184 mPageToken = original.getPageToken(); in Builder()
|
D | UpsertMedicalResourceRequest.java | 125 public Builder(@NonNull Builder original) { in Builder() argument 126 requireNonNull(original); in Builder() 127 mDataSourceId = original.mDataSourceId; in Builder() 128 mData = original.mData; in Builder() 131 public Builder(@NonNull UpsertMedicalResourceRequest original) { in Builder() argument 132 requireNonNull(original); in Builder() 133 mDataSourceId = original.getDataSourceId(); in Builder() 134 mData = original.getData(); in Builder()
|
D | CreateMedicalDataSourceRequest.java | 134 public Builder(@NonNull Builder original) { in Builder() argument 135 requireNonNull(original); in Builder() 136 mFhirBaseUri = original.mFhirBaseUri; in Builder() 137 mDisplayName = original.mDisplayName; in Builder() 140 public Builder(@NonNull CreateMedicalDataSourceRequest original) { in Builder() argument 141 requireNonNull(original); in Builder() 142 mFhirBaseUri = original.getFhirBaseUri(); in Builder() 143 mDisplayName = original.getDisplayName(); in Builder()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | PstnIncomingCallNotifier.java | 451 Connection original = telephonyConnection.getOriginalConnection(); in maybeSwapWithUnknownConnection() local 452 if (original != null && !original.isIncoming() in maybeSwapWithUnknownConnection() 453 && Objects.equals(original.getAddress(), unknown.getAddress())) { in maybeSwapWithUnknownConnection() 465 Log.i(this, "maybeSwapWithUnknownConnection: swapping %s with %s", original, unknown); in maybeSwapWithUnknownConnection() 470 if (original instanceof ImsExternalConnection) { in maybeSwapWithUnknownConnection() 476 if (original.getCall() != null && original.getCall().getPhone() != null && in maybeSwapWithUnknownConnection() 477 original.getCall().getPhone() instanceof GsmCdmaPhone) { in maybeSwapWithUnknownConnection() 479 GsmCdmaPhone phone = (GsmCdmaPhone) original.getCall().getPhone(); in maybeSwapWithUnknownConnection() 482 + "for connection: " + original); in maybeSwapWithUnknownConnection() 483 } else if (original.getCall() != null && original.getCall().getPhone() != null in maybeSwapWithUnknownConnection() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhotoProcessor.java | 113 public PhotoProcessor(Bitmap original, int maxDisplayPhotoDim, int maxThumbnailPhotoDim) in PhotoProcessor() argument 115 this(original, maxDisplayPhotoDim, maxThumbnailPhotoDim, false); in PhotoProcessor() 142 public PhotoProcessor(Bitmap original, int maxDisplayPhotoDim, int maxThumbnailPhotoDim, in PhotoProcessor() argument 144 mOriginal = original; in PhotoProcessor() 195 static Bitmap getNormalizedBitmap(Bitmap original, int maxDim, boolean forceCropToSquare) in getNormalizedBitmap() argument 197 final boolean originalHasAlpha = original.hasAlpha(); in getNormalizedBitmap() 200 int cropWidth = original.getWidth(); in getNormalizedBitmap() 201 int cropHeight = original.getHeight(); in getNormalizedBitmap() 235 c.drawBitmap(original, src, dst, null); in getNormalizedBitmap() 238 return original; in getNormalizedBitmap()
|
/packages/modules/Connectivity/tests/common/java/android/net/nsd/ |
D | NsdServiceInfoTest.java | 177 private static void checkParcelable(NsdServiceInfo original) { in checkParcelable() argument 181 writer.putParcelable("test_info", original); in checkParcelable() 191 assertEquals(original.getServiceName(), result.getServiceName()); in checkParcelable() 192 assertEquals(original.getServiceType(), result.getServiceType()); in checkParcelable() 193 assertEquals(original.getHost(), result.getHost()); in checkParcelable() 194 assertEquals(original.getHostname(), result.getHostname()); in checkParcelable() 195 assertArrayEquals(original.getPublicKey(), result.getPublicKey()); in checkParcelable() 196 assertTrue(original.getPort() == result.getPort()); in checkParcelable() 197 assertEquals(original.getNetwork(), result.getNetwork()); in checkParcelable() 198 assertEquals(original.getInterfaceIndex(), result.getInterfaceIndex()); in checkParcelable() [all …]
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | CreateMedicalDataSourceRequestTest.java | 73 CreateMedicalDataSourceRequest.Builder original = in testCreateMedicalDataSourceRequestBuilder_fromExistingBuilder() local 77 new CreateMedicalDataSourceRequest.Builder(original).build(); in testCreateMedicalDataSourceRequestBuilder_fromExistingBuilder() 79 assertThat(request).isEqualTo(original.build()); in testCreateMedicalDataSourceRequestBuilder_fromExistingBuilder() 84 CreateMedicalDataSourceRequest original = getCreateMedicalDataSourceRequest(); in testCreateMedicalDataSourceRequestBuilder_fromExistingInstance() local 87 new CreateMedicalDataSourceRequest.Builder(original).build(); in testCreateMedicalDataSourceRequestBuilder_fromExistingInstance() 89 assertThat(request).isEqualTo(original); in testCreateMedicalDataSourceRequestBuilder_fromExistingInstance() 138 CreateMedicalDataSourceRequest original = getCreateMedicalDataSourceRequest(); in testWriteToParcelThenRestore_objectsAreIdentical() local 141 original.writeToParcel(parcel, 0); in testWriteToParcelThenRestore_objectsAreIdentical() 146 assertThat(restored).isEqualTo(original); in testWriteToParcelThenRestore_objectsAreIdentical()
|
D | ReadMedicalResourcesRequestTest.java | 63 ReadMedicalResourcesRequest.Builder original = in testRequestBuilder_fromExistingBuilder() local 66 new ReadMedicalResourcesRequest.Builder(original).build(); in testRequestBuilder_fromExistingBuilder() 68 assertThat(request).isEqualTo(original.build()); in testRequestBuilder_fromExistingBuilder() 73 ReadMedicalResourcesRequest original = in testRequestBuilder_fromExistingInstance() local 76 new ReadMedicalResourcesRequest.Builder(original).build(); in testRequestBuilder_fromExistingInstance() 78 assertThat(request).isEqualTo(original); in testRequestBuilder_fromExistingInstance() 162 ReadMedicalResourcesRequest original = in testWriteToParcelThenRestore_objectsAreIdentical() local 166 original.writeToParcel(parcel, 0); in testWriteToParcelThenRestore_objectsAreIdentical() 171 assertThat(restored).isEqualTo(original); in testWriteToParcelThenRestore_objectsAreIdentical()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothLeBroadcastMetadata.java | 541 public Builder(@NonNull BluetoothLeBroadcastMetadata original) { in Builder() argument 542 mSourceAddressType = original.getSourceAddressType(); in Builder() 543 mSourceDevice = original.getSourceDevice(); in Builder() 544 mSourceAdvertisingSid = original.getSourceAdvertisingSid(); in Builder() 545 mBroadcastId = original.getBroadcastId(); in Builder() 546 mPaSyncInterval = original.getPaSyncInterval(); in Builder() 547 mIsEncrypted = original.isEncrypted(); in Builder() 548 mIsPublicBroadcast = original.isPublicBroadcast(); in Builder() 549 mBroadcastName = original.getBroadcastName(); in Builder() 550 mBroadcastCode = original.getBroadcastCode(); in Builder() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/bhttp/ |
D | BinaryHttpMessageTest.java | 211 BinaryHttpMessage original = in testRequestNotEqual() local 236 assertNotEquals(original, differentControlData); in testRequestNotEqual() 250 assertNotEquals(original, differentHeader); in testRequestNotEqual() 263 assertNotEquals(original, noHeader); in testRequestNotEqual() 277 assertNotEquals(original, differentBody); in testRequestNotEqual() 290 assertNotEquals(original, noBody); in testRequestNotEqual() 480 BinaryHttpMessage original = in testResponseNotEqual() local 509 assertNotEquals(original, differentStatus); in testResponseNotEqual() 525 assertNotEquals(original, differentHeader); in testResponseNotEqual() 541 assertNotEquals(original, noHeader); in testResponseNotEqual() [all …]
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | MedicalDataSourceTest.java | 86 MedicalDataSource.Builder original = getMedicalDataSourceBuilder(); in testMedicalDataSourceBuilder_fromExistingBuilder() local 88 MedicalDataSource dataSource = new MedicalDataSource.Builder(original).build(); in testMedicalDataSourceBuilder_fromExistingBuilder() 90 assertThat(dataSource).isEqualTo(original.build()); in testMedicalDataSourceBuilder_fromExistingBuilder() 95 MedicalDataSource original = getMedicalDataSource(); in testMedicalDataSourceBuilder_fromExistingInstance() local 97 MedicalDataSource dataSource = new MedicalDataSource.Builder(original).build(); in testMedicalDataSourceBuilder_fromExistingInstance() 99 assertThat(dataSource).isEqualTo(original); in testMedicalDataSourceBuilder_fromExistingInstance() 162 MedicalDataSource original = getMedicalDataSource(); in testWriteToParcelThenRestore_objectsAreIdentical() local 165 original.writeToParcel(parcel, 0); in testWriteToParcelThenRestore_objectsAreIdentical() 169 assertThat(restored).isEqualTo(original); in testWriteToParcelThenRestore_objectsAreIdentical()
|
D | MedicalResourceTest.java | 86 MedicalResource.Builder original = getMedicalResourceBuilder(); in testMedicalResourceBuilder_fromExistingBuilder() local 87 MedicalResource resource = new MedicalResource.Builder(original).build(); in testMedicalResourceBuilder_fromExistingBuilder() 89 assertThat(resource).isEqualTo(original.build()); in testMedicalResourceBuilder_fromExistingBuilder() 94 MedicalResource original = getMedicalResource(); in testMedicalResourceBuilder_fromExistingInstance() local 95 MedicalResource resource = new MedicalResource.Builder(original).build(); in testMedicalResourceBuilder_fromExistingInstance() 97 assertThat(resource).isEqualTo(original); in testMedicalResourceBuilder_fromExistingInstance() 158 MedicalResource original = getMedicalResource(); in testWriteToParcelThenRestore_objectsAreIdentical() local 161 original.writeToParcel(parcel, 0); in testWriteToParcelThenRestore_objectsAreIdentical() 165 assertThat(restored).isEqualTo(original); in testWriteToParcelThenRestore_objectsAreIdentical()
|
/packages/modules/Virtualization/apkdmverity/src/ |
D | main.rs | 242 let original = fs::read(&ctx.result.data_device).unwrap(); in correct_inputs() localVariable 243 assert_eq!(verity.len(), original.len()); // fail fast in correct_inputs() 244 assert_eq!(verity.as_slice(), original.as_slice()); in correct_inputs() 325 let original = fs::read(&ctx.result.data_device).unwrap(); in tampered_idsig() localVariable 326 assert_eq!(verity.len(), original.len()); in tampered_idsig() 327 assert_eq!(verity.as_slice(), original.as_slice()); in tampered_idsig() 377 let original = fs::read(&apk_path).unwrap(); in inputs_are_block_devices() localVariable 378 assert_eq!(verity.len(), original.len()); // fail fast in inputs_are_block_devices() 379 assert_eq!(verity.as_slice(), original.as_slice()); in inputs_are_block_devices() 399 let original = fs::read(&ctx.result.data_device).unwrap(); in correct_custom_roothash() localVariable [all …]
|