Package org.robolectric.shadows
Class ShadowActivityManager.ApplicationExitInfoBuilder
java.lang.Object
org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
- Enclosing class:
- ShadowActivityManager
@RequiresApi(api=30)
public static class ShadowActivityManager.ApplicationExitInfoBuilder
extends Object
Builder class for
ApplicationExitInfo
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setDefiningUid
(int uid) setDescription
(String description) setImportance
(int importance) setPackageUid
(int packageUid) setPid
(int pid) setProcessName
(String processName) setProcessStateSummary
(byte[] processStateSummary) setPss
(long pss) setRealUid
(int realUid) setReason
(int reason) setRss
(long rss) setStatus
(int status) setTimestamp
(long timestamp)
-
Method Details
-
newBuilder
-
setDefiningUid
@CanIgnoreReturnValue public ShadowActivityManager.ApplicationExitInfoBuilder setDefiningUid(int uid) -
setDescription
@CanIgnoreReturnValue public ShadowActivityManager.ApplicationExitInfoBuilder setDescription(String description) -
setImportance
@CanIgnoreReturnValue public ShadowActivityManager.ApplicationExitInfoBuilder setImportance(int importance) -
setPackageUid
@CanIgnoreReturnValue public ShadowActivityManager.ApplicationExitInfoBuilder setPackageUid(int packageUid) -
setPid
-
setProcessName
@CanIgnoreReturnValue public ShadowActivityManager.ApplicationExitInfoBuilder setProcessName(String processName) -
setProcessStateSummary
@CanIgnoreReturnValue public ShadowActivityManager.ApplicationExitInfoBuilder setProcessStateSummary(byte[] processStateSummary) -
setPss
-
setRealUid
@CanIgnoreReturnValue public ShadowActivityManager.ApplicationExitInfoBuilder setRealUid(int realUid) -
setReason
-
setRss
-
setStatus
-
setTimestamp
@CanIgnoreReturnValue public ShadowActivityManager.ApplicationExitInfoBuilder setTimestamp(long timestamp) -
setTraceInputStream
@CanIgnoreReturnValue public ShadowActivityManager.ApplicationExitInfoBuilder setTraceInputStream(InputStream in) -
build
-