public class InstallerConnection extends Object
installd
. Allows multiple connect and
disconnect cycles.Modifier and Type | Class and Description |
---|---|
static class |
InstallerConnection.InstallerException |
Constructor and Description |
---|
InstallerConnection() |
Modifier and Type | Method and Description |
---|---|
void |
dexopt(String apkPath,
int uid,
String instructionSet,
int dexoptNeeded,
int dexFlags,
String compilerFilter,
String volumeUuid,
String sharedLibraries) |
void |
dexopt(String apkPath,
int uid,
String pkgName,
String instructionSet,
int dexoptNeeded,
String outputPath,
int dexFlags,
String compilerFilter,
String volumeUuid,
String sharedLibraries) |
void |
disconnect() |
boolean |
dumpProfiles(String gid,
String packageName,
String codePaths) |
String[] |
execute(String cmd,
Object... args) |
boolean |
mergeProfiles(int uid,
String pkgName) |
void |
setWarnIfHeld(Object warnIfHeld)
Yell loudly if someone tries making future calls while holding a lock on
the given object.
|
String |
transact(String cmd) |
void |
waitForConnection() |
public void setWarnIfHeld(Object warnIfHeld)
public String[] execute(String cmd, Object... args) throws InstallerConnection.InstallerException
public void dexopt(String apkPath, int uid, String instructionSet, int dexoptNeeded, int dexFlags, String compilerFilter, String volumeUuid, String sharedLibraries) throws InstallerConnection.InstallerException
public void dexopt(String apkPath, int uid, String pkgName, String instructionSet, int dexoptNeeded, String outputPath, int dexFlags, String compilerFilter, String volumeUuid, String sharedLibraries) throws InstallerConnection.InstallerException
public boolean mergeProfiles(int uid, String pkgName) throws InstallerConnection.InstallerException
public boolean dumpProfiles(String gid, String packageName, String codePaths) throws InstallerConnection.InstallerException
public void disconnect()
public void waitForConnection()