ConfigurationManager gains checkSELinuxPermission (reads /proc/pid/attr) and hasPermissionForUid (delegates to IPackageManager.checkPermission) for AOSP-compliant access control. TeeLatencySimulator provides log-normal distribution matching real QTEE/Trustonic hardware timing profiles. Module customize.sh now generates a device-unique hardware-bound key seed (32 bytes from /dev/random) and clears stale tee_status.txt on install.
24 lines
686 B
Java
24 lines
686 B
Java
package android.content.pm;
|
|
|
|
import android.os.IBinder;
|
|
|
|
public interface IPackageManager {
|
|
String[] getPackagesForUid(int uid);
|
|
|
|
PackageInfo getPackageInfo(String packageName, long flags, int userId);
|
|
|
|
PackageInfo getPackageInfo(String packageName, int flags, int userId);
|
|
|
|
ParceledListSlice<PackageInfo> getInstalledPackages(int flags, int userId);
|
|
|
|
ParceledListSlice<PackageInfo> getInstalledPackages(long flags, int userId);
|
|
|
|
int checkPermission(String permName, String pkgName, int userId);
|
|
|
|
class Stub {
|
|
public static IPackageManager asInterface(IBinder binder) {
|
|
throw new UnsupportedOperationException("STUB!");
|
|
}
|
|
}
|
|
}
|