- Currently using keystore2 API. - TODO: Add support for keystore1. Signed-off-by: Dakkshesh <beakthoven@gmail.com>
31 lines
870 B
Java
31 lines
870 B
Java
/*
|
|
* Copyright 2025 Dakkshesh <beakthoven@gmail.com>
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
|
|
package android.content.pm;
|
|
|
|
import android.os.IBinder;
|
|
|
|
public interface IPackageManager {
|
|
String[] getPackagesForUid(int uid);
|
|
|
|
ApplicationInfo getApplicationInfo(String packageName, int flags, int userId);
|
|
|
|
ApplicationInfo getApplicationInfo(String packageName, long flags, int userId);
|
|
|
|
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);
|
|
|
|
class Stub {
|
|
public static IPackageManager asInterface(IBinder binder) {
|
|
throw new RuntimeException("");
|
|
}
|
|
}
|
|
}
|