Interface CDDCDataFeeder
-
public interface CDDCDataFeeder
TheCDDCDataFeeder
allows to set CDDC data values.
-
-
Field Summary
Fields Modifier and Type Field Description static int
ROOTING_PROBABILITY_MAX_VALUE
rooting probability max value when usingsetRootingProbability(int)
static int
ROOTING_PROBABILITY_MIN_VALUE
rooting probability min value when usingsetRootingProbability(int)
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setApplicationReleaseDate(long applicationReleaseDate)
Sets the value for the release date of the application (publication date).void
setApplicationRepackaged(boolean applicationRepackaged)
Sets the value for the repackaging status.void
setDebuggerAttached(boolean debuggerAttached)
Sets the value for the attached debugger status.void
setDeviceRooted(boolean deviceRooted)
Sets the value for device rooted.void
setHookingFrameworks(boolean hookingFrameworks)
Sets the value for the hooking frameworks status.void
setLibraryInjectionDetected(boolean libraryInjectionDetected)
Sets the value for library injection detected status.void
setNativeCodeHooks(boolean nativeCodeHooks)
Sets the value for the native code hooks status.void
setRaspProtected(boolean raspProtected)
Sets the value for the RASP protection statusvoid
setRootingProbability(int rootingProbability)
Sets the value in percent for the probability of the device to be rooted, using heuristics.void
setScreenshotDetected(boolean screenshotDetected)
Sets the value for the screenshot detected status.void
setUntrustedKeyboard(boolean untrustedKeyboard)
Sets the value for the untrusted keyboard status.void
setUntrustedScreenReaders(boolean screenReader)
Sets the value for the untrusted screen reader status.
-
-
-
Field Detail
-
ROOTING_PROBABILITY_MIN_VALUE
static final int ROOTING_PROBABILITY_MIN_VALUE
rooting probability min value when usingsetRootingProbability(int)
.- See Also:
- Constant Field Values
-
ROOTING_PROBABILITY_MAX_VALUE
static final int ROOTING_PROBABILITY_MAX_VALUE
rooting probability max value when usingsetRootingProbability(int)
- See Also:
- Constant Field Values
-
-
Method Detail
-
setApplicationReleaseDate
void setApplicationReleaseDate(long applicationReleaseDate)
Sets the value for the release date of the application (publication date).- Parameters:
applicationReleaseDate
- Release date of the application (publication date) in milliseconds since epoch.- Throws:
java.lang.IllegalArgumentException
- If the parameter is not within bounds.
-
setDeviceRooted
void setDeviceRooted(boolean deviceRooted)
Sets the value for device rooted.- Parameters:
deviceRooted
- Indicates if the device is rooted or jailbroken.
-
setRaspProtected
void setRaspProtected(boolean raspProtected)
Sets the value for the RASP protection status- Parameters:
raspProtected
- Indicates if the application is rasp protected.
-
setUntrustedKeyboard
void setUntrustedKeyboard(boolean untrustedKeyboard)
Sets the value for the untrusted keyboard status.- Parameters:
untrustedKeyboard
- Indicates if the application has an untrusted keyboard.
-
setUntrustedScreenReaders
void setUntrustedScreenReaders(boolean screenReader)
Sets the value for the untrusted screen reader status.- Parameters:
screenReader
- Indicates if the application is has an untrusted screen reader.
-
setHookingFrameworks
void setHookingFrameworks(boolean hookingFrameworks)
Sets the value for the hooking frameworks status.- Parameters:
hookingFrameworks
- Indicates if the application has hooking frameworks.
-
setNativeCodeHooks
void setNativeCodeHooks(boolean nativeCodeHooks)
Sets the value for the native code hooks status.- Parameters:
nativeCodeHooks
- Indicates if the application has native code hooks.
-
setDebuggerAttached
void setDebuggerAttached(boolean debuggerAttached)
Sets the value for the attached debugger status.- Parameters:
debuggerAttached
- Indicates if the application has an attached debugger.
-
setApplicationRepackaged
void setApplicationRepackaged(boolean applicationRepackaged)
Sets the value for the repackaging status.- Parameters:
applicationRepackaged
- Indicates if the application has been repackaged.
-
setScreenshotDetected
void setScreenshotDetected(boolean screenshotDetected)
Sets the value for the screenshot detected status.- Parameters:
screenshotDetected
- Indicates if a screenshot of the application has been taken.
-
setLibraryInjectionDetected
void setLibraryInjectionDetected(boolean libraryInjectionDetected)
Sets the value for library injection detected status.- Parameters:
libraryInjectionDetected
- Indicates if an untrusted library has tried to be injected into the application during runtime.
-
setRootingProbability
void setRootingProbability(int rootingProbability)
Sets the value in percent for the probability of the device to be rooted, using heuristics. A value ofROOTING_PROBABILITY_MIN_VALUE
indicates that the device is most likely not rooted while a value ofROOTING_PROBABILITY_MAX_VALUE
indicates that the device is most likely rooted.- Parameters:
rootingProbability
- Probability of the device to be rooted. Integer betweenROOTING_PROBABILITY_MIN_VALUE
andROOTING_PROBABILITY_MAX_VALUE
.- Throws:
java.lang.IllegalArgumentException
- If the parameter is not within bounds.
-
-