Home
last modified time | relevance | path

Searched refs:ModuleInfo (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/java/android/content/pm/
DModuleInfo.java33 public final class ModuleInfo implements Parcelable { class
66 public ModuleInfo() { in ModuleInfo() method in ModuleInfo
70 public ModuleInfo(ModuleInfo orig) { in ModuleInfo() method in ModuleInfo
81 public ModuleInfo setName(CharSequence name) { in setName()
92 public ModuleInfo setPackageName(String packageName) { in setPackageName()
103 public ModuleInfo setHidden(boolean hidden) { in setHidden()
114 public ModuleInfo setApexModuleName(@Nullable String apexModuleName) { in setApexModuleName()
125 public ModuleInfo setApkInApexPackageNames(@NonNull Collection<String> apkInApexPackageNames) { in setApkInApexPackageNames()
165 if (!(obj instanceof ModuleInfo)) { in equals()
168 final ModuleInfo other = (ModuleInfo) obj; in equals()
[all …]
DModuleInfo.aidl19 parcelable ModuleInfo;
DIPackageManager.aidl42 import android.content.pm.ModuleInfo;
749 List<ModuleInfo> getInstalledModules(int flags); in getInstalledModules()
751 ModuleInfo getModuleInfo(String packageName, int flags); in getModuleInfo()
DPackageManager.java6339 public ModuleInfo getModuleInfo(@NonNull String packageName, @ModuleInfoFlags int flags) in getModuleInfo()
6354 public List<ModuleInfo> getInstalledModules(@InstalledModulesFlags int flags) { in getInstalledModules()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DModuleInfoTest.java43 ModuleInfo info = new ModuleInfo(); in testSimple()
49 ModuleInfo oldInfo = new ModuleInfo(); in testDefaultCopy()
50 ModuleInfo newInfo = new ModuleInfo(oldInfo); in testDefaultCopy()
57 ModuleInfo info = new ModuleInfo(); in testCopy()
64 ModuleInfo newInfo = new ModuleInfo(info); in testCopy()
70 ModuleInfo info = new ModuleInfo(); in testGetApkInApexPackageNamesReturnEmptyListInDefault()
78 ModuleInfo info = new ModuleInfo(); in testModuleInfoParcelizeDeparcelize()
89 final ModuleInfo targetInfo = ModuleInfo.CREATOR.createFromParcel(p); in testModuleInfoParcelizeDeparcelize()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DModuleInfoProviderTest.java22 import android.content.pm.ModuleInfo;
51 List<ModuleInfo> mi = provider.getInstalledModules(PackageManager.MATCH_ALL); in testSuccessfulParse()
54 Collections.sort(mi, (ModuleInfo m1, ModuleInfo m2) -> in testSuccessfulParse()
59 ModuleInfo mi1 = provider.getModuleInfo("com.android.module1", 0); in testSuccessfulParse()
65 ModuleInfo mi2 = provider.getModuleInfo("com.android.module2", 0); in testSuccessfulParse()
85 List<ModuleInfo> mi = provider.getInstalledModules(PackageManager.MATCH_ALL); in testParse_unknownAttributesIgnored()
88 ModuleInfo mi1 = provider.getModuleInfo("com.android.module1", 0); in testParse_unknownAttributesIgnored()
/frameworks/base/services/core/java/com/android/server/pm/
DModuleInfoProvider.java23 import android.content.pm.ModuleInfo;
66 private final Map<String, ModuleInfo> mModuleInfo;
162 ModuleInfo mi = new ModuleInfo(); in loadModuleMetadata()
189 List<ModuleInfo> getInstalledModules(@PackageManager.InstalledModulesFlags int flags) { in getInstalledModules()
207 ArrayList<ModuleInfo> installedModules = new ArrayList<>(allPackages.size()); in getInstalledModules()
209 ModuleInfo m = mModuleInfo.get(p.packageName); in getInstalledModules()
217 ModuleInfo getModuleInfo(String name, @PackageManager.ModuleInfoFlags int flags) { in getModuleInfo()
222 for (ModuleInfo moduleInfo : mModuleInfo.values()) { in getModuleInfo()
DIPackageManagerBase.java42 import android.content.pm.ModuleInfo;
480 public final List<ModuleInfo> getInstalledModules(int flags) { in getInstalledModules()
556 public final ModuleInfo getModuleInfo(String packageName, in getModuleInfo()
DPackageManagerShellCommand.java54 import android.content.pm.ModuleInfo;
461 ModuleInfo m = mInterface.getModuleInfo(moduleName, flags); in runGetModuleInfo()
465 List<ModuleInfo> modules = mInterface.getInstalledModules(flags); in runGetModuleInfo()
466 for (ModuleInfo m: modules) { in runGetModuleInfo()
DPackageManagerService.java98 import android.content.pm.ModuleInfo;
2931 public ModuleInfo getModuleInfo(String packageName, @PackageManager.ModuleInfoFlags int flags) {
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/
DPackageManagerExtTest.kt22 import android.content.pm.ModuleInfo
57 whenever(packageManager.getModuleInfo(PACKAGE_NAME, 0)).thenReturn(ModuleInfo()) in isSystemModule_whenSystemModule_returnTrue()
DAppListRepositoryTest.kt24 import android.content.pm.ModuleInfo
467 val HIDDEN_MODULE = ModuleInfo().apply { in getShowSystemPredicate()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java49 import android.content.pm.ModuleInfo;
164 private final List<ModuleInfo> mInstalledModules = new ArrayList<>();
177 public List<ModuleInfo> getInstalledModules(int flags) { in getInstalledModules()
201 private ModuleInfo createModuleInfo(String packageName, String apexPackageName) { in createModuleInfo()
202 final ModuleInfo info = new ModuleInfo(); in createModuleInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOverlayPackagesProviderTest.java38 import android.content.pm.ModuleInfo;
524 public ModuleInfo getModuleInfo(@NonNull String packageName, int flags) in getModuleInfo()
529 return new ModuleInfo().setName(packageName); in getModuleInfo()
/frameworks/base/services/core/java/com/android/server/
DBinaryTransparencyService.java41 import android.content.pm.ModuleInfo;
705 private void printModuleDetails(ModuleInfo moduleInfo, final PrintWriter pw) { in onShellCommand()
846 ModuleInfo moduleInfo; in onShellCommand()
897 for (ModuleInfo module : pm.getInstalledModules(PackageManager.MATCH_ALL)) { in onShellCommand()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackManagerServiceImpl.java32 import android.content.pm.ModuleInfo;
1106 final ModuleInfo moduleInfo;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java33 import android.content.pm.ModuleInfo;
229 final List<ModuleInfo> moduleInfos = mPm.getInstalledModules(0 /* flags */); in ApplicationsState()
230 for (ModuleInfo info : moduleInfos) { in ApplicationsState()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java67 import android.content.pm.ModuleInfo;
1196 public List<ModuleInfo> getInstalledModules(int flags) { in getInstalledModules()
1205 public ModuleInfo getModuleInfo(String packageName, int flags) throws NameNotFoundException { in getModuleInfo()
1207 ModuleInfo mi = mPM.getModuleInfo(packageName, flags); in getModuleInfo()
/frameworks/base/services/core/java/com/android/server/am/
DAppRestrictionController.java124 import android.content.pm.ModuleInfo;
1602 final List<ModuleInfo> moduleInfos = pm.getInstalledModules(0 /* flags */); in initSystemModuleNames()
1607 for (ModuleInfo info : moduleInfos) { in initSystemModuleNames()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java227 import android.content.pm.ModuleInfo;
750 private ModuleInfo mAdservicesModuleInfo;
2944 List<ModuleInfo> moduleInfoList =
2948 for (ModuleInfo mi : moduleInfoList) {
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java210 import android.content.pm.ModuleInfo;
762 ModuleInfo moduleInfo = new ModuleInfo(); in initNMS()
/frameworks/base/boot/
Dpreloaded-classes1744 android.content.pm.ModuleInfo$1
1745 android.content.pm.ModuleInfo-IA
1746 android.content.pm.ModuleInfo
Dboot-image-profile.txt1268 …d/app/ApplicationPackageManager;->getModuleInfo(Ljava/lang/String;I)Landroid/content/pm/ModuleInfo;
4492 HSPLandroid/content/pm/ModuleInfo$1;->createFromParcel(Landroid/os/Parcel;)Landroid/content/pm/Modu…
4493 HSPLandroid/content/pm/ModuleInfo$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
4494 HSPLandroid/content/pm/ModuleInfo;-><init>(Landroid/os/Parcel;)V
4495 HSPLandroid/content/pm/ModuleInfo;->getPackageName()Ljava/lang/String;
24123 Landroid/content/pm/ModuleInfo$1;
24124 Landroid/content/pm/ModuleInfo-IA;
24125 Landroid/content/pm/ModuleInfo;
/frameworks/base/config/
Dpreloaded-classes1748 android.content.pm.ModuleInfo$1
1749 android.content.pm.ModuleInfo-IA
1750 android.content.pm.ModuleInfo
Dboot-image-profile.txt1268 …d/app/ApplicationPackageManager;->getModuleInfo(Ljava/lang/String;I)Landroid/content/pm/ModuleInfo;
4495 HSPLandroid/content/pm/ModuleInfo$1;->createFromParcel(Landroid/os/Parcel;)Landroid/content/pm/Modu…
4496 HSPLandroid/content/pm/ModuleInfo$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
4497 HSPLandroid/content/pm/ModuleInfo;-><init>(Landroid/os/Parcel;)V
4498 HSPLandroid/content/pm/ModuleInfo;->getPackageName()Ljava/lang/String;
34257 Landroid/content/pm/ModuleInfo$1;
34258 Landroid/content/pm/ModuleInfo-IA;
34259 Landroid/content/pm/ModuleInfo;

12