Searched refs:getInstallSourceInfo (Results 1 – 20 of 20) sorted by relevance
75 val installSourceInfo = getInstallSourceInfo(packageName) in loadDataAndPostValue()90 private fun getInstallSourceInfo(packageName: String): InstallSourceInfo { in getInstallSourceInfo() method97 return userContext.packageManager.getInstallSourceInfo(packageName) in getInstallSourceInfo()
124 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()
53 packageManager.getInstallSourceInfo(pkgInfo.packageName).installingPackageName in <lambda>()
34 val source = packageManager.getInstallSourceInfo(packageName) in getInstallerPackageName()
45 context.getPackageManager().getInstallSourceInfo(packageName); in getInstallerPackageName()
62 when(mPackageManager.getInstallSourceInfo(anyString())).thenReturn(mInstallSourceInfo); in setUp()
124 InstallSourceInfo sourceInfo = mPackageManager.getInstallSourceInfo(packageName); in isSafe()
58 source = context.getPackageManager().getInstallSourceInfo(packageName); in getInstallerPackageNameAndInstallSourceInfo()
145 .getInstallSourceInfo(packageName) in isPackageStub()
404 when(mPackageManager.getInstallSourceInfo(anyString())).thenReturn(mInstallSourceInfo); in onPause_optimizationModeChanged_logPreference()430 when(mPackageManager.getInstallSourceInfo(anyString())).thenReturn(mInstallSourceInfo); in onPause_optimizationModeIsNotChanged_notInvokeLogging()
131 when(mPackageManager.getInstallSourceInfo(anyString())).thenReturn(mInstallSourceInfo); in setUp()
76 when(mPackageManager.getInstallSourceInfo(anyString())).thenReturn(mInstallSourceInfo); in setUp()
116 when(mPackageManager.getInstallSourceInfo(TEST_AIA_PACKAGE_NAME)) in setUp()
159 return mPm.getInstallSourceInfo(packageName).getInstallingPackageName(); in getAppInstallerPackage()
956 when(mPackageManager.getInstallSourceInfo(any())).thenReturn(installSourceInfo); in configureMigrationUnAwarePackage()977 when(mPackageManager.getInstallSourceInfo(any())).thenReturn(installSourceInfo); in configureStubMigratorPackage()
260 .getInstallSourceInfo(packageName); in isPackageEcmGuarded()
576 installSourceInfo = context.getPackageManager().getInstallSourceInfo(packageName); in isAppInstalledFromGooglePlayStore()
558 protected Object getInstallSourceInfo(String packageName) { in getInstallSourceInfo() method in AppLocalePickerActivityTest.ShadowApplicationPackageManager
153 installSourceInfo = pm.getInstallSourceInfo(name); in getInstallerPackageName()
424 InstallSourceInfo installInfo = mPackageManager.getInstallSourceInfo(name); in getMetricsSafeNameForUid()