Home
last modified time | relevance | path

Searched refs:ApplicationInfo (Results 1 – 25 of 418) sorted by relevance

12345678910>>...17

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DStorageAsyncLoaderTest.java30 import android.content.pm.ApplicationInfo;
72 private List<ApplicationInfo> mInfo = new ArrayList<>();
100 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testLoadingApps()
101 addPackage(PACKAGE_NAME_2, 0, 100, 1000, ApplicationInfo.CATEGORY_UNDEFINED); in testLoadingApps()
112 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_GAME); in testGamesAreFiltered()
123 ApplicationInfo info = in testLegacyGamesAreFiltered()
124 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testLegacyGamesAreFiltered()
125 info.flags = ApplicationInfo.FLAG_IS_GAME; in testLegacyGamesAreFiltered()
136 addPackage(PACKAGE_NAME_1, 100, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testCacheIsNotIgnored()
162 ApplicationInfo systemApp = in testUpdatedSystemAppCodeSizeIsCounted()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoaderTest.java29 import android.content.pm.ApplicationInfo;
70 private List<ApplicationInfo> mInfo = new ArrayList<>();
92 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testLoadingApps()
93 addPackage(PACKAGE_NAME_2, 0, 100, 1000, ApplicationInfo.CATEGORY_UNDEFINED); in testLoadingApps()
104 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_GAME); in testGamesAreFiltered()
115 ApplicationInfo info = in testLegacyGamesAreFiltered()
116 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testLegacyGamesAreFiltered()
117 info.flags = ApplicationInfo.FLAG_IS_GAME; in testLegacyGamesAreFiltered()
128 addPackage(PACKAGE_NAME_1, 100, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testCacheIsNotIgnored()
155 ApplicationInfo systemApp = in testUpdatedSystemAppCodeSizeIsCounted()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/manageapplications/
DManageApplicationsUnitTest.java23 import android.content.pm.ApplicationInfo;
49 final ApplicationInfo info = new ApplicationInfo(); in getCompositeFilter_filtersVolumeForAudio()
51 info.category = ApplicationInfo.CATEGORY_AUDIO; in getCompositeFilter_filtersVolumeForAudio()
65 final ApplicationInfo info = new ApplicationInfo(); in getCompositeFilter_filtersVolumeForVideo()
67 info.category = ApplicationInfo.CATEGORY_VIDEO; in getCompositeFilter_filtersVolumeForVideo()
81 final ApplicationInfo info = new ApplicationInfo(); in getCompositeFilter_filtersVolumeForGames()
83 info.category = ApplicationInfo.CATEGORY_GAME; in getCompositeFilter_filtersVolumeForGames()
113 final ApplicationInfo info = new ApplicationInfo(); in getCompositeFilter_worksWithInstantApps()
115 info.category = ApplicationInfo.CATEGORY_AUDIO; in getCompositeFilter_worksWithInstantApps()
116 info.privateFlags = ApplicationInfo.PRIVATE_FLAG_INSTANT; in getCompositeFilter_worksWithInstantApps()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/managedomainurls/
DAppLinkStatePreferenceControllerTest.java30 import android.content.pm.ApplicationInfo;
94 ApplicationInfo info = new ApplicationInfo(); in refreshUi_isBrowserApp_isDisabled()
114 ApplicationInfo info = new ApplicationInfo(); in refreshUi_isNotBrowserApp_noDomainUrls_isDisabled()
135 ApplicationInfo info = new ApplicationInfo(); in refreshUi_isNotBrowserApp_hasDomainUrls_isEnabled()
139 info.privateFlags = ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS; in refreshUi_isNotBrowserApp_hasDomainUrls_isEnabled()
156 ApplicationInfo info = new ApplicationInfo(); in refreshUi_isNotBrowserApp_hasDomainUrls_defaultState_entrySetToAsk()
160 info.privateFlags = ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS; in refreshUi_isNotBrowserApp_hasDomainUrls_defaultState_entrySetToAsk()
178 ApplicationInfo info = new ApplicationInfo(); in refreshUi_isNotBrowserApp_hasDomainUrls_askState_entrySetToAsk()
182 info.privateFlags = ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS; in refreshUi_isNotBrowserApp_hasDomainUrls_askState_entrySetToAsk()
202 ApplicationInfo info = new ApplicationInfo(); in refreshUi_isNotBrowserApp_hasDomainUrls_alwaysState_entrySetToAlways()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppInfoDashboardFragmentTest.java39 import android.content.pm.ApplicationInfo;
120 final ApplicationInfo info = new ApplicationInfo(); in shouldShowUninstallForAll_installForOneOtherUserOnly_shouldReturnTrue()
135 final ApplicationInfo info = new ApplicationInfo(); in shouldShowUninstallForAll_installForSelfOnly_shouldReturnFalse()
136 info.flags = ApplicationInfo.FLAG_INSTALLED; in shouldShowUninstallForAll_installForSelfOnly_shouldReturnFalse()
172 final ApplicationInfo info = new ApplicationInfo(); in onPrepareOptionsMenuTestsSetup()
173 info.flags = ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in onPrepareOptionsMenuTestsSetup()
254 final ApplicationInfo info = new ApplicationInfo(); in instantApps_noUninstallForAllButton()
301 final ApplicationInfo appInfo = new ApplicationInfo(); in getNumberOfUserWithPackageInstalled_twoUsersInstalled_shouldReturnTwo()
302 appInfo.flags = ApplicationInfo.FLAG_INSTALLED; in getNumberOfUserWithPackageInstalled_twoUsersInstalled_shouldReturnTwo()
324 final ApplicationInfo appInfo = new ApplicationInfo(); in getNumberOfUserWithPackageInstalled_oneUserInstalled_shouldReturnOne()
[all …]
DAppOpenByDefaultPreferenceControllerTest.java29 import android.content.pm.ApplicationInfo;
96 appEntry.info = new ApplicationInfo(); in displayPreference_appNotInstalled_shouldDisablePreference()
107 appEntry.info = new ApplicationInfo(); in displayPreference_appDisabled_shouldDisablePreference()
108 appEntry.info.flags &= ApplicationInfo.FLAG_INSTALLED; in displayPreference_appDisabled_shouldDisablePreference()
120 appEntry.info = new ApplicationInfo(); in displayPreference_appEnabled_shouldNotDisablePreference()
121 appEntry.info.flags |= ApplicationInfo.FLAG_INSTALLED; in displayPreference_appEnabled_shouldNotDisablePreference()
152 appEntry.info = new ApplicationInfo(); in updateState_notInstantApp_shouldShowPreferenceAndSetSummary()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DRoleSortFunction.java20 import android.content.pm.ApplicationInfo;
38 public class RoleSortFunction implements Function<List<Pair<ApplicationInfo, Boolean>>,
39 List<Pair<ApplicationInfo, Boolean>>> {
42 private final Comparator<Pair<ApplicationInfo, Boolean>> mComparator;
47 Comparator<Pair<ApplicationInfo, Boolean>> labelComparator = Comparator.comparing(role -> in RoleSortFunction()
49 Comparator<Pair<ApplicationInfo, Boolean>> userIdComparator = Comparator.comparingInt(role in RoleSortFunction()
56 public List<Pair<ApplicationInfo, Boolean>> apply( in apply() argument
57 @NonNull List<Pair<ApplicationInfo, Boolean>> input) { in apply()
58 List<Pair<ApplicationInfo, Boolean>> sorted = new ArrayList<>(input); in apply()
DRequestRoleFragment.java26 import android.content.pm.ApplicationInfo;
135 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfo(mPackageName, context); in onCreateDialog()
266 @NonNull List<Pair<ApplicationInfo, Boolean>> qualifyingApplications) { in onRoleDataChanged()
392 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfo(packageName, in getApplicationUid()
406 Pair<ApplicationInfo, Boolean> qualifyingApplication = mAdapter.getItem(i); in getQualifyingApplicationUid()
411 ApplicationInfo qualifyingApplicationInfo = qualifyingApplication.first; in getQualifyingApplicationUid()
438 Pair<ApplicationInfo, Boolean> qualifyingApplication = mAdapter.getItem(i); in getHolderPackageName()
487 private final List<Pair<ApplicationInfo, Boolean>> mQualifyingApplications =
541 public void replace(@NonNull List<Pair<ApplicationInfo, Boolean>> qualifyingApplications) { in replace() argument
562 @NonNull List<Pair<ApplicationInfo, Boolean>> qualifyingApplications) { in hasHolderApplication()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DNotificationChannelSliceTest.java35 import android.content.pm.ApplicationInfo;
119 ApplicationInfo.FLAG_INSTALLED); in getSlice_hasSuggestedApp_shouldHaveNotificationChannelTitle()
134 ApplicationInfo.FLAG_INSTALLED); in getSlice_hasSuggestedApp_shouldSortByNotificationSentCount()
163 ApplicationInfo.FLAG_INSTALLED); in getSlice_noRecentlyInstalledApp_shouldHaveNoSuggestedAppTitle()
176 ApplicationInfo.FLAG_INSTALLED); in getSlice_noMultiChannelApp_shouldHaveNoSuggestedAppTitle()
190 ApplicationInfo.FLAG_INSTALLED); in getSlice_insufficientNotificationSentCount_shouldHaveNoSuggestedAppTitle()
202 addMockPackageToPackageManager(true /* isRecentlyInstalled */, ApplicationInfo.FLAG_SYSTEM); in getSlice_isSystemApp_shouldHaveNoSuggestedAppTitle()
215 ApplicationInfo.FLAG_INSTALLED); in getSlice_isNotificationBanned_shouldHaveNoSuggestedAppTitle()
229 ApplicationInfo.FLAG_INSTALLED); in getSlice_exceedDefaultRowCount_shouldOnlyShowDefaultRows()
246 ApplicationInfo.FLAG_INSTALLED); in getSlice_channelCountIsLessThanDefaultRows_subTitleShouldNotHaveTapToManagerAll()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DInstalledAppCounterTest.java34 import android.content.pm.ApplicationInfo;
80 private ApplicationInfo mApp1;
81 private ApplicationInfo mApp2;
82 private ApplicationInfo mApp3;
83 private ApplicationInfo mApp4;
84 private ApplicationInfo mApp5;
85 private ApplicationInfo mApp6;
93 ApplicationInfo.FLAG_UPDATED_SYSTEM_APP, 0 /* targetSdkVersion */); in setUp()
96 mApp3 = buildInfo(MAIN_USER_APP_UID, APP_3, ApplicationInfo.FLAG_SYSTEM, in setUp()
98 mApp4 = buildInfo(MAIN_USER_APP_UID, APP_4, ApplicationInfo.FLAG_SYSTEM, in setUp()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationListItemManagerTest.java25 import android.content.pm.ApplicationInfo;
88 ApplicationInfo appInfo = new ApplicationInfo(); in onRebuildComplete_shouldNotifyRegisteredListener()
110 ApplicationInfo appInfo = new ApplicationInfo(); in onRebuildComplete_unRegisterOneListener_shouldNotifyRegisteredListener()
133 ApplicationInfo appInfo = new ApplicationInfo(); in onRebuildComplete_calledAgainImmediately_shouldNotRunSecondCallImmediately()
155 ApplicationInfo appInfo = new ApplicationInfo(); in onRebuildComplete_calledAgainImmediately_shouldRunSecondCallAfterUpdateInterval()
DApplicationDetailsFragmentTest.java32 import android.content.pm.ApplicationInfo;
180 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_STOPPED; in onStart_packageExplicitlyStopped_queriesPackageRestart()
198 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_STOPPED; in onStart_packageExplicitlyStopped_success_enablesForceStopButton()
222 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_STOPPED; in onStart_packageExplicitlyStopped_failure_disablesForceStopButton()
243 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onStart_bundledApp_showsDisableButton()
256 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onStart_bundledApp_notEnabled_showsEnableButton()
270 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onStart_bundledApp_enabled_disableUntilUsed_showsEnableButton()
285 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onStart_bundledApp_homePackage_disablesDisableButton()
304 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onStart_bundledApp_systemPackage_disablesDisableButton()
323 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onStart_bundledApp_enabledApp_keepEnabledPackage_disablesDisableButton()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageAsyncLoader.java19 import static android.content.pm.ApplicationInfo.CATEGORY_AUDIO;
20 import static android.content.pm.ApplicationInfo.CATEGORY_GAME;
21 import static android.content.pm.ApplicationInfo.CATEGORY_IMAGE;
22 import static android.content.pm.ApplicationInfo.CATEGORY_VIDEO;
26 import android.content.pm.ApplicationInfo;
77 List<ApplicationInfo> applicationInfos = in getStorageResultForUser()
87 ApplicationInfo app = applicationInfos.get(i); in getStorageResultForUser()
132 if ((app.flags & ApplicationInfo.FLAG_IS_GAME) != 0) { in getStorageResultForUser()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/
DStorageAsyncLoader.java19 import static android.content.pm.ApplicationInfo.CATEGORY_AUDIO;
20 import static android.content.pm.ApplicationInfo.CATEGORY_GAME;
21 import static android.content.pm.ApplicationInfo.CATEGORY_IMAGE;
22 import static android.content.pm.ApplicationInfo.CATEGORY_VIDEO;
25 import android.content.pm.ApplicationInfo;
93 List<ApplicationInfo> applicationInfos = in getStorageResultForUser()
98 ApplicationInfo app = applicationInfos.get(i); in getStorageResultForUser()
143 if ((app.flags & ApplicationInfo.FLAG_IS_GAME) != 0) { in getStorageResultForUser()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoader.java19 import static android.content.pm.ApplicationInfo.CATEGORY_AUDIO;
20 import static android.content.pm.ApplicationInfo.CATEGORY_GAME;
21 import static android.content.pm.ApplicationInfo.CATEGORY_IMAGE;
22 import static android.content.pm.ApplicationInfo.CATEGORY_VIDEO;
25 import android.content.pm.ApplicationInfo;
93 List<ApplicationInfo> applicationInfos = in getStorageResultForUser()
98 ApplicationInfo app = applicationInfos.get(i); in getStorageResultForUser()
143 if ((app.flags & ApplicationInfo.FLAG_IS_GAME) != 0) { in getStorageResultForUser()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/pictureinpicture/
DPictureInPictureSettings.java24 import android.content.pm.ApplicationInfo;
69 static class AppComparator implements Comparator<Pair<ApplicationInfo, Integer>> {
78 public final int compare(Pair<ApplicationInfo, Integer> a, in compare() argument
79 Pair<ApplicationInfo, Integer> b) { in compare()
151 final ArrayList<Pair<ApplicationInfo, Integer>> pipApps = in onResume()
157 for (final Pair<ApplicationInfo, Integer> appData : pipApps) { in onResume()
158 final ApplicationInfo appInfo = appData.first; in onResume()
202 ArrayList<Pair<ApplicationInfo, Integer>> collectPipApps(int userId) { in collectPipApps()
203 final ArrayList<Pair<ApplicationInfo, Integer>> pipApps = new ArrayList<>(); in collectPipApps()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/
DPictureInPictureSettings.java24 import android.content.pm.ApplicationInfo;
69 static class AppComparator implements Comparator<Pair<ApplicationInfo, Integer>> {
78 public final int compare(Pair<ApplicationInfo, Integer> a, in compare() argument
79 Pair<ApplicationInfo, Integer> b) { in compare()
151 final ArrayList<Pair<ApplicationInfo, Integer>> pipApps = in onResume()
157 for (final Pair<ApplicationInfo, Integer> appData : pipApps) { in onResume()
158 final ApplicationInfo appInfo = appData.first; in onResume()
202 ArrayList<Pair<ApplicationInfo, Integer>> collectPipApps(int userId) { in collectPipApps()
203 final ArrayList<Pair<ApplicationInfo, Integer>> pipApps = new ArrayList<>(); in collectPipApps()
/packages/apps/Settings/tests/robotests/src/com/android/settings/shortcut/
DCreateShortcutPreferenceControllerTest.java35 import android.content.pm.ApplicationInfo;
113 ri1.activityInfo.applicationInfo = new ApplicationInfo(); in queryShortcuts_shouldOnlyIncludeSystemApp()
118 ri2.activityInfo.applicationInfo = new ApplicationInfo(); in queryShortcuts_shouldOnlyIncludeSystemApp()
119 ri2.activityInfo.applicationInfo.flags = ApplicationInfo.FLAG_SYSTEM; in queryShortcuts_shouldOnlyIncludeSystemApp()
136 ri1.activityInfo.applicationInfo = new ApplicationInfo(); in queryShortcuts_shouldSortBasedOnPriority()
137 ri1.activityInfo.applicationInfo.flags = ApplicationInfo.FLAG_SYSTEM; in queryShortcuts_shouldSortBasedOnPriority()
143 ri2.activityInfo.applicationInfo = new ApplicationInfo(); in queryShortcuts_shouldSortBasedOnPriority()
144 ri2.activityInfo.applicationInfo.flags = ApplicationInfo.FLAG_SYSTEM; in queryShortcuts_shouldSortBasedOnPriority()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppsAsyncLoaderTest.java23 import android.content.pm.ApplicationInfo;
72 private ArrayList<ApplicationInfo> mInfo;
192 app.flags = ApplicationInfo.FLAG_SYSTEM; in test_systemApps_areInvalid()
200 app.flags = ApplicationInfo.FLAG_SYSTEM; in test_noThresholdFilter_systemApps_areInvalid()
208 app.flags = ApplicationInfo.FLAG_PERSISTENT; in test_persistentProcessApps_areInvalid()
216 app.flags = ApplicationInfo.FLAG_PERSISTENT; in test_noThresholdFilter_persistentProcessApps_areInvalid()
243 systemApp.flags = ApplicationInfo.FLAG_SYSTEM; in test_multipleApps_processCorrectly()
249 persistentApp.flags = ApplicationInfo.FLAG_PERSISTENT; in test_multipleApps_processCorrectly()
281 systemApp.flags = ApplicationInfo.FLAG_SYSTEM; in test_noThresholdFilter_ignoresUsageForFiltering()
287 persistentApp.flags = ApplicationInfo.FLAG_PERSISTENT; in test_noThresholdFilter_ignoresUsageForFiltering()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/pictureinpicture/
DPictureInPictureSettingsTest.java26 import android.content.pm.ApplicationInfo;
94 List<Pair<ApplicationInfo, Integer>> apps = mFragment.collectPipApps(PRIMARY_USER_ID); in testCollectPipApps()
115 List<Pair<ApplicationInfo, Integer>> apps = mFragment.collectPipApps(PRIMARY_USER_ID); in testAppSort()
120 private boolean containsPackages(List<Pair<ApplicationInfo, Integer>> apps, in containsPackages() argument
124 for (Pair<ApplicationInfo, Integer> app : apps) { in containsPackages()
137 private boolean isOrdered(List<Pair<ApplicationInfo, Integer>> apps, PackageInfo... packages) { in isOrdered() argument
158 pi.applicationInfo = new ApplicationInfo(); in createPackage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DUtilsTest.java36 import android.content.pm.ApplicationInfo;
96 private ApplicationInfo mApplicationInfo;
149 assertThat(Utils.getInstallationStatus(new ApplicationInfo())) in getInstallationStatus_notInstalled_shouldReturnUninstalled()
155 final ApplicationInfo info = new ApplicationInfo(); in getInstallationStatus_enabled_shouldReturnInstalled()
156 info.flags = ApplicationInfo.FLAG_INSTALLED; in getInstallationStatus_enabled_shouldReturnInstalled()
164 final ApplicationInfo info = new ApplicationInfo(); in getInstallationStatus_disabled_shouldReturnDisabled()
165 info.flags = ApplicationInfo.FLAG_INSTALLED; in getInstallationStatus_disabled_shouldReturnDisabled()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/legal/
DLegalPreferenceControllerTest.java25 import android.content.pm.ApplicationInfo;
88 activityInfo.applicationInfo = new ApplicationInfo(); in refreshUi_intentResolvesToActivity_isVisible()
89 activityInfo.applicationInfo.flags = ApplicationInfo.FLAG_SYSTEM; in refreshUi_intentResolvesToActivity_isVisible()
117 activityInfo.applicationInfo = new ApplicationInfo(); in refreshUi_intentResolvesToActivity_updatesTitle()
118 activityInfo.applicationInfo.flags = ApplicationInfo.FLAG_SYSTEM; in refreshUi_intentResolvesToActivity_updatesTitle()
146 activityInfo.applicationInfo = new ApplicationInfo(); in refreshUi_intentResolvesToActivity_updatesIntentToSpecificActivity()
147 activityInfo.applicationInfo.flags = ApplicationInfo.FLAG_SYSTEM; in refreshUi_intentResolvesToActivity_updatesIntentToSpecificActivity()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPackageManagerHelper.java25 import android.content.pm.ApplicationInfo;
77 ApplicationInfo info = mLauncherApps.getApplicationInfo( in isAppOnSdcard()
79 return info != null && (info.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0; in isAppOnSdcard()
87 ApplicationInfo info = mLauncherApps.getApplicationInfo(packageName, 0, user); in isAppSuspended()
105 public static boolean isAppSuspended(ApplicationInfo info) { in isAppSuspended()
106 return (info.flags & ApplicationInfo.FLAG_SUSPENDED) != 0; in isAppSuspended()
246 ((info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0); in isSystemApp()
264 (info.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in findSystemApk()
/packages/apps/Settings/src/com/android/settings/applications/
DInstalledAppCounter.java19 import android.content.pm.ApplicationInfo;
42 protected boolean includeInCount(ApplicationInfo info) { in includeInCount()
47 ApplicationInfo info) { in includeInCount()
54 if ((info.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) { in includeInCount()
57 if ((info.flags & ApplicationInfo.FLAG_SYSTEM) == 0) { in includeInCount()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/managedomainurls/
DDomainAppPreferenceControllerTest.java22 import android.content.pm.ApplicationInfo;
59 private ApplicationInfo createApplicationInfo(String packageName) { in createApplicationInfo()
60 ApplicationInfo appInfo = new ApplicationInfo(); in createApplicationInfo()
62 appInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in createApplicationInfo()

12345678910>>...17