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 ofDisplayHashManager
.
-
-
Constructor Summary
Constructors Constructor Description ShadowDisplayHashManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<String>
getSupportedHashAlgorithms()
static void
setVerifyDisplayHashResult(VerifiedDisplayHash verifyDisplayHashResult)
Sets theVerifiedDisplayHash
that's going to be returned by following {DisplayHashManager#verifyDisplayHash} calls.protected VerifiedDisplayHash
verifyDisplayHash(DisplayHash displayHash)
-
-
-
Method Detail
-
setVerifyDisplayHashResult
public static void setVerifyDisplayHashResult(VerifiedDisplayHash verifyDisplayHashResult)
Sets theVerifiedDisplayHash
that's going to be returned by following {DisplayHashManager#verifyDisplayHash} calls.
-
getSupportedHashAlgorithms
@Implementation(minSdk=31) protected Set<String> getSupportedHashAlgorithms()
-
verifyDisplayHash
@Implementation(minSdk=31) protected VerifiedDisplayHash verifyDisplayHash(DisplayHash displayHash)
-
-