public class TrustArchive extends Object
Constructor and Description |
---|
TrustArchive() |
Modifier and Type | Method and Description |
---|---|
void |
dump(PrintWriter writer,
int limit,
int userId,
String linePrefix,
boolean duplicateSimpleNames) |
static String |
formatDuration(long duration) |
void |
logAgentConnected(int userId,
ComponentName agent) |
void |
logAgentDied(int userId,
ComponentName agent) |
void |
logAgentStopped(int userId,
ComponentName agent) |
void |
logDevicePolicyChanged() |
void |
logGrantTrust(int userId,
ComponentName agent,
String message,
long duration,
int flags) |
void |
logManagingTrust(int userId,
ComponentName agent,
boolean managing) |
void |
logRevokeTrust(int userId,
ComponentName agent) |
void |
logTrustTimeout(int userId,
ComponentName agent) |
public void logGrantTrust(int userId, ComponentName agent, String message, long duration, int flags)
public void logRevokeTrust(int userId, ComponentName agent)
public void logTrustTimeout(int userId, ComponentName agent)
public void logAgentDied(int userId, ComponentName agent)
public void logAgentConnected(int userId, ComponentName agent)
public void logAgentStopped(int userId, ComponentName agent)
public void logManagingTrust(int userId, ComponentName agent, boolean managing)
public void logDevicePolicyChanged()
public void dump(PrintWriter writer, int limit, int userId, String linePrefix, boolean duplicateSimpleNames)
public static String formatDuration(long duration)