Home
last modified time | relevance | path

Searched refs:getInstallSourceInfo (Results 1 – 20 of 20) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/v34/
DLightInstallSourceInfoLiveData.kt75 val installSourceInfo = getInstallSourceInfo(packageName) in loadDataAndPostValue()
90 private fun getInstallSourceInfo(packageName: String): InstallSourceInfo { in getInstallSourceInfo() method
97 return userContext.packageManager.getInstallSourceInfo(packageName) in getInstallSourceInfo()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/sideloaded/
DSideLoadedAppDetectorTest.java124 when(mPackageManager.getInstallSourceInfo(APP_PACKAGE_NAME)).thenReturn(sourceInfo); in isSafe_nonSystemApp_withSafeSource_returnsTrue()
143 when(mPackageManager.getInstallSourceInfo(APP_PACKAGE_NAME)).thenReturn(sourceInfo); in isSafe_nonSystemApp_withUnsafeSource_returnsFalse()
162 when(mPackageManager.getInstallSourceInfo(APP_PACKAGE_NAME)).thenReturn(sourceInfo); in isSafe_nonSystemApp_withoutSource_returnsFalse()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/v31/
DInstallerPackagesLiveData.kt53 packageManager.getInstallSourceInfo(pkgInfo.packageName).installingPackageName in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DAppStoreUtils.kt34 val source = packageManager.getInstallSourceInfo(packageName) in getInstallerPackageName()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/
DIntentsUtil.java45 context.getPackageManager().getInstallSourceInfo(packageName); in getInstallerPackageName()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStoreUtilTest.java62 when(mPackageManager.getInstallSourceInfo(anyString())).thenReturn(mInstallSourceInfo); in setUp()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/sideloaded/
DSideLoadedAppDetector.java124 InstallSourceInfo sourceInfo = mPackageManager.getInstallSourceInfo(packageName); in isSafe()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStoreUtil.java58 source = context.getPackageManager().getInstallSourceInfo(packageName); in getInstallerPackageNameAndInstallSourceInfo()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigrationUtils.java145 .getInstallSourceInfo(packageName) in isPackageStub()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java404 when(mPackageManager.getInstallSourceInfo(anyString())).thenReturn(mInstallSourceInfo); in onPause_optimizationModeChanged_logPreference()
430 when(mPackageManager.getInstallSourceInfo(anyString())).thenReturn(mInstallSourceInfo); in onPause_optimizationModeIsNotChanged_notInvokeLogging()
DPowerBackgroundUsageDetailTest.java131 when(mPackageManager.getInstallSourceInfo(anyString())).thenReturn(mInstallSourceInfo); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppInstallerInfoPreferenceControllerTest.java76 when(mPackageManager.getInstallSourceInfo(anyString())).thenReturn(mInstallSourceInfo); in setUp()
DInstantAppButtonsPreferenceControllerTest.java116 when(mPackageManager.getInstallSourceInfo(TEST_AIA_PACKAGE_NAME)) in setUp()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPackageManagerHelper.java159 return mPm.getInstallSourceInfo(packageName).getInstallingPackageName(); in getAppInstallerPackage()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DMigrationStateManagerTest.java956 when(mPackageManager.getInstallSourceInfo(any())).thenReturn(installSourceInfo); in configureMigrationUnAwarePackage()
977 when(mPackageManager.getInstallSourceInfo(any())).thenReturn(installSourceInfo); in configureStubMigratorPackage()
/packages/modules/Permission/service/java/com/android/ecm/
DEnhancedConfirmationService.java260 .getInstallSourceInfo(packageName); in isPackageEcmGuarded()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java576 installSourceInfo = context.getPackageManager().getInstallSourceInfo(packageName); in isAppInstalledFromGooglePlayStore()
/packages/apps/Settings/tests/robotests/src/com/android/settings/localepicker/
DAppLocalePickerActivityTest.java558 protected Object getInstallSourceInfo(String packageName) { in getInstallSourceInfo() method in AppLocalePickerActivityTest.ShadowApplicationPackageManager
/packages/modules/StatsD/service/java/com/android/server/stats/
DStatsCompanionService.java153 installSourceInfo = pm.getInstallSourceInfo(name); in getInstallerPackageName()
/packages/providers/MediaProvider/src/com/android/providers/media/
DTranscodeHelperImpl.java424 InstallSourceInfo installInfo = mPackageManager.getInstallSourceInfo(name); in getMetricsSafeNameForUid()