Home
last modified time | relevance | path

Searched refs:getModuleInfo (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DModuleInfoProviderTest.java59 ModuleInfo mi1 = provider.getModuleInfo("com.android.module1", 0); in testSuccessfulParse()
65 ModuleInfo mi2 = provider.getModuleInfo("com.android.module2", 0); in testSuccessfulParse()
88 ModuleInfo mi1 = provider.getModuleInfo("com.android.module1", 0); in testParse_unknownAttributesIgnored()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/rollback/
DRollbackPackageHealthObserverTest.java277 when(mMockPackageManager.getModuleInfo(any(), eq(0))).thenReturn(null); in healthCheckFailed_impactLevelLow_onePackage()
308 when(mMockPackageManager.getModuleInfo(any(), eq(0))).thenReturn(null); in healthCheckFailed_impactLevelHigh_onePackage()
339 when(mMockPackageManager.getModuleInfo(any(), eq(0))).thenReturn(null); in healthCheckFailed_impactLevelManualOnly_onePackage()
378 when(mMockPackageManager.getModuleInfo(any(), eq(0))).thenReturn(null); in healthCheckFailed_impactLevelLowAndHigh_onePackage()
409 when(mMockPackageManager.getModuleInfo(any(), eq(0))).thenReturn(null); in execute_impactLevelLow_nativeCrash_rollback()
453 when(mMockPackageManager.getModuleInfo(any(), eq(0))).thenReturn(null); in execute_impactLevelLow_rollbackFailedPackage()
498 when(mMockPackageManager.getModuleInfo(any(), eq(0))).thenReturn(null); in execute_impactLevelLow_rollbackAll()
544 when(mMockPackageManager.getModuleInfo(any(), eq(0))).thenReturn(null); in execute_impactLevelLowAndHigh_rollbackLow()
581 when(mMockPackageManager.getModuleInfo(any(), eq(0))).thenReturn(null); in execute_impactLevelHigh_rollbackHigh()
611 when(mMockPackageManager.getModuleInfo(any(), eq(0))).thenReturn(null); in onBootLoop_impactLevelLow_onePackage()
[all …]
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/
DPackageManagerExtTest.kt57 whenever(packageManager.getModuleInfo(PACKAGE_NAME, 0)).thenReturn(ModuleInfo()) in isSystemModule_whenSystemModule_returnTrue()
66 whenever(packageManager.getModuleInfo(PACKAGE_NAME, 0)).thenThrow(NameNotFoundException()) in isSystemModule_whenNotSystemModule_returnFalse()
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DPackageManagerExt.kt29 getModuleInfo(packageName, 0) in PackageManager()
/frameworks/base/services/core/java/com/android/server/crashrecovery/
DCrashRecoveryHelper.java72 return pm.getModuleInfo(packageName, 0) != null; in isModule()
/frameworks/base/services/core/java/com/android/server/pm/
DModuleInfoProvider.java217 ModuleInfo getModuleInfo(String name, @PackageManager.ModuleInfoFlags int flags) { in getModuleInfo() method in ModuleInfoProvider
DIPackageManagerBase.java556 public final ModuleInfo getModuleInfo(String packageName, in getModuleInfo() method in IPackageManagerBase
558 return mModuleInfoProvider.getModuleInfo(packageName, flags); in getModuleInfo()
DPackageSessionVerifier.java454 if (mPm.getModuleInfo(apexPackageName, 0) != null) { in isApexUpdateAllowed()
DPackageManagerService.java2931 public ModuleInfo getModuleInfo(String packageName, @PackageManager.ModuleInfoFlags int flags) {
2932 return mModuleInfoProvider.getModuleInfo(packageName, flags);
DPackageManagerShellCommand.java461 ModuleInfo m = mInterface.getModuleInfo(moduleName, flags); in runGetModuleInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DAppUtils.java160 pm.getModuleInfo(packageName, 0 /* flags */); in isMainlineModule()
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DStagedRollbackTest.java293 .getPackageManager().getModuleInfo(pkgName, 0) != null; in hasMainlineModule()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOverlayPackagesProvider.java235 mPm.getModuleInfo(packageName, /* flags= */ 0); in isRegularMainlineModule()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOverlayPackagesProviderTest.java524 public ModuleInfo getModuleInfo(@NonNull String packageName, int flags) in getModuleInfo() method in OverlayPackagesProviderTest.FakePackageManager
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackPackageHealthObserver.java489 return pm.getModuleInfo(packageName, 0) != null; in isModule()
DRollbackManagerServiceImpl.java1108 moduleInfo = pm.getModuleInfo(packageName, 0);
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl751 ModuleInfo getModuleInfo(String packageName, int flags); in getModuleInfo() method
DPackageManager.java6339 public ModuleInfo getModuleInfo(@NonNull String packageName, @ModuleInfoFlags int flags) in getModuleInfo() method in PackageManager
/frameworks/base/services/core/java/com/android/server/
DRescueParty.java880 if (pm.getModuleInfo(packageName, 0) != null) { in mayObservePackage()
DBinaryTransparencyService.java848 moduleInfo = pm.getModuleInfo(packageInfo.packageName, 0); in onShellCommand()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1205 public ModuleInfo getModuleInfo(String packageName, int flags) throws NameNotFoundException { in getModuleInfo() method in ApplicationPackageManager
1207 ModuleInfo mi = mPM.getModuleInfo(packageName, flags); in getModuleInfo()
/frameworks/base/services/core/java/com/android/server/am/
DAppRestrictionController.java1625 isSystemModule = pm.getModuleInfo(packageName, 0 /* flags */) != null; in isSystemModule()
/frameworks/base/services/
Dart-wear-profile18120 PLcom/android/server/pm/IPackageManagerBase;->getModuleInfo(Ljava/lang/String;I)Landroid/content/pm…
18384 PLcom/android/server/pm/ModuleInfoProvider;->getModuleInfo(Ljava/lang/String;I)Landroid/content/pm/…
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt1268 HSPLandroid/app/ApplicationPackageManager;->getModuleInfo(Ljava/lang/String;I)Landroid/content/pm/M…

12