Package org.robolectric.shadows
Class ShadowDisplayHashManager
java.lang.Object
org.robolectric.shadows.ShadowDisplayHashManager
@Implements(value=android.view.displayhash.DisplayHashManager.class,
isInAndroidSdk=false)
public class ShadowDisplayHashManager
extends Object
Shadow of
DisplayHashManager
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
setSupportedHashAlgorithms
(Collection<String> supportedHashAlgorithms) Sets the return value of #getSupportedHashAlgorithms.static void
setVerifyDisplayHashResult
(VerifiedDisplayHash verifyDisplayHashResult) Sets theVerifiedDisplayHash
that's going to be returned by following {DisplayHashManager#verifyDisplayHash} calls.protected VerifiedDisplayHash
verifyDisplayHash
(DisplayHash displayHash)
-
Constructor Details
-
ShadowDisplayHashManager
public ShadowDisplayHashManager()
-
-
Method Details
-
setVerifyDisplayHashResult
Sets theVerifiedDisplayHash
that's going to be returned by following {DisplayHashManager#verifyDisplayHash} calls. -
setSupportedHashAlgorithms
Sets the return value of #getSupportedHashAlgorithms.If null is provided, getSupportedHashAlgorithms will throw a RuntimeException.
-
getSupportedHashAlgorithms
-
verifyDisplayHash
-