use of android.content.pm.IPackageInstallerSession in project platform_frameworks_base by android.
the class PackageInstallerService method openSessionInternal.
private IPackageInstallerSession openSessionInternal(int sessionId) throws IOException {
synchronized (mSessions) {
final PackageInstallerSession session = mSessions.get(sessionId);
if (session == null || !isCallingUidOwner(session)) {
throw new SecurityException("Caller has no access to session " + sessionId);
}
session.open();
return session;
}
}
use of android.content.pm.IPackageInstallerSession in project android_frameworks_base by DirtyUnicorns.
the class PackageInstallerService method openSessionInternal.
private IPackageInstallerSession openSessionInternal(int sessionId) throws IOException {
synchronized (mSessions) {
final PackageInstallerSession session = mSessions.get(sessionId);
if (session == null || !isCallingUidOwner(session)) {
throw new SecurityException("Caller has no access to session " + sessionId);
}
session.open();
return session;
}
}
use of android.content.pm.IPackageInstallerSession in project UnityModManager by xausky.
the class VPackageInstallerService method openSessionInternal.
private IPackageInstallerSession openSessionInternal(int sessionId) throws IOException {
synchronized (mSessions) {
final PackageInstallerSession session = mSessions.get(sessionId);
if (session == null || !isCallingUidOwner(session)) {
throw new SecurityException("Caller has no access to session " + sessionId);
}
session.open();
return session;
}
}
use of android.content.pm.IPackageInstallerSession in project android_frameworks_base by AOSPA.
the class PackageInstallerService method openSessionInternal.
private IPackageInstallerSession openSessionInternal(int sessionId) throws IOException {
synchronized (mSessions) {
final PackageInstallerSession session = mSessions.get(sessionId);
if (session == null || !isCallingUidOwner(session)) {
throw new SecurityException("Caller has no access to session " + sessionId);
}
session.open();
return session;
}
}
use of android.content.pm.IPackageInstallerSession in project android_frameworks_base by ResurrectionRemix.
the class PackageInstallerService method openSessionInternal.
private IPackageInstallerSession openSessionInternal(int sessionId) throws IOException {
synchronized (mSessions) {
final PackageInstallerSession session = mSessions.get(sessionId);
if (session == null || !isCallingUidOwner(session)) {
throw new SecurityException("Caller has no access to session " + sessionId);
}
session.open();
return session;
}
}
Aggregations