Home
last modified time | relevance | path

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

12345678910>>...33

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/
DStorageAsyncLoaderTest.java29 import android.content.pm.ApplicationInfo;
91 ApplicationInfo appInfo1 = createAppInfo(PACKAGE_NAME_1, 0, 1, 10, in testLoadingApps()
92 ApplicationInfo.CATEGORY_UNDEFINED); in testLoadingApps()
93 ApplicationInfo appInfo2 = createAppInfo(PACKAGE_NAME_2, 0, 100, 1000, in testLoadingApps()
94 ApplicationInfo.CATEGORY_UNDEFINED); in testLoadingApps()
108 ApplicationInfo appInfo = createAppInfo(PACKAGE_NAME_1, 0, 1, 10, in testGamesAreFiltered()
109 ApplicationInfo.CATEGORY_GAME); in testGamesAreFiltered()
123 ApplicationInfo appInfo = createAppInfo(PACKAGE_NAME_1, 0, 1, 10, in testLegacyGamesAreFiltered()
124 ApplicationInfo.CATEGORY_UNDEFINED); in testLegacyGamesAreFiltered()
125 appInfo.flags = ApplicationInfo.FLAG_IS_GAME; in testLegacyGamesAreFiltered()
[all …]
/packages/apps/Settings/tests/legacy_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/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoaderTest.java31 import android.content.pm.ApplicationInfo;
75 private List<ApplicationInfo> mInfo = new ArrayList<>();
102 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testLoadingApps()
103 addPackage(PACKAGE_NAME_2, 0, 100, 1000, ApplicationInfo.CATEGORY_UNDEFINED); in testLoadingApps()
114 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_GAME); in testGamesAreFiltered()
125 ApplicationInfo info = in testLegacyGamesAreFiltered()
126 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testLegacyGamesAreFiltered()
127 info.flags = ApplicationInfo.FLAG_IS_GAME; in testLegacyGamesAreFiltered()
138 addPackage(PACKAGE_NAME_1, 100, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testCacheIsNotIgnored()
165 ApplicationInfo systemApp = in testUpdatedSystemAppCodeSizeIsCounted()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/
DCleanupUtilsTest.java28 import android.content.pm.ApplicationInfo;
81 ApplicationInfo installedPackage1 = new ApplicationInfo(); in testCleanupNotUninstalled()
83 ApplicationInfo installedPackage2 = new ApplicationInfo(); in testCleanupNotUninstalled()
104 ApplicationInfo installedPackage2 = new ApplicationInfo(); in testCleanupNotAllowed()
123 ApplicationInfo installedPackage1 = new ApplicationInfo(); in testCleanupMultipleAllowLists()
125 ApplicationInfo installedPackage2 = new ApplicationInfo(); in testCleanupMultipleAllowLists()
147 ApplicationInfo installedPackage1 = new ApplicationInfo(); in testCleanupMultipleAllowListsWildCard()
149 ApplicationInfo installedPackage2 = new ApplicationInfo(); in testCleanupMultipleAllowListsWildCard()
170 ApplicationInfo installedPackage1 = new ApplicationInfo(); in testCleanupMultipleAllowListsRedundant()
172 ApplicationInfo installedPackage2 = new ApplicationInfo(); in testCleanupMultipleAllowListsRedundant()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/content/pm/
DPackageManagerHelper.java27 import android.content.pm.ApplicationInfo;
130 public static boolean isOemApp(@NonNull ApplicationInfo appInfo) { in isOemApp()
131 return (appInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_OEM) != 0; in isOemApp()
135 public static boolean isOdmApp(@NonNull ApplicationInfo appInfo) { in isOdmApp()
136 return (appInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_ODM) != 0; in isOdmApp()
140 public static boolean isVendorApp(@NonNull ApplicationInfo appInfo) { in isVendorApp()
141 return (appInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_VENDOR) != 0; in isVendorApp()
145 public static boolean isSystemApp(@NonNull ApplicationInfo appInfo) { in isSystemApp()
146 return (appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystemApp()
150 public static boolean isUpdatedSystemApp(@NonNull ApplicationInfo appInfo) { in isUpdatedSystemApp()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/managedomainurls/
DAppLinkStatePreferenceControllerTest.java33 import android.content.pm.ApplicationInfo;
92 ApplicationInfo info = new ApplicationInfo(); in onCreate_isBrowserApp_isDisabled()
109 ApplicationInfo info = new ApplicationInfo(); in onCreate_isNotBrowserApp_noDomainUrls_isDisabled()
127 ApplicationInfo info = new ApplicationInfo(); in onCreate_isNotBrowserApp_hasDomainUrls_isEnabled()
131 info.privateFlags = ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS; in onCreate_isNotBrowserApp_hasDomainUrls_isEnabled()
145 ApplicationInfo info = new ApplicationInfo(); in onCreate_isNotBrowserApp_hasDomainUrls_defaultState_entrySetToAsk()
149 info.privateFlags = ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS; in onCreate_isNotBrowserApp_hasDomainUrls_defaultState_entrySetToAsk()
166 ApplicationInfo info = new ApplicationInfo(); in onCreate_isNotBrowserApp_hasDomainUrls_askState_entrySetToAsk()
170 info.privateFlags = ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS; in onCreate_isNotBrowserApp_hasDomainUrls_askState_entrySetToAsk()
187 ApplicationInfo info = new ApplicationInfo(); in onCreate_isNotBrowserApp_hasDomainUrls_alwaysState_entrySetToAlways()
[all …]
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DApplicationInfoCompat.java17 import android.content.pm.ApplicationInfo;
20 private final ApplicationInfo mInfo;
22 public ApplicationInfoCompat(ApplicationInfo info) { in ApplicationInfoCompat()
41 public static final int PRIVATE_FLAG_OEM = ApplicationInfo.PRIVATE_FLAG_OEM;
43 public static final int PRIVATE_FLAG_HIDDEN = ApplicationInfo.PRIVATE_FLAG_HIDDEN;
49 public static final int PRIVATE_FLAG_VENDOR = ApplicationInfo.PRIVATE_FLAG_VENDOR;
55 public static final int PRIVATE_FLAG_PRODUCT = ApplicationInfo.PRIVATE_FLAG_PRODUCT;
57 public @ApplicationInfo.ApplicationInfoPrivateFlags
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DRoleSortFunction.java20 import android.content.pm.ApplicationInfo;
39 public class RoleSortFunction implements Function1<List<Pair<ApplicationInfo, Boolean>>,
40 List<Pair<ApplicationInfo, Boolean>>> {
43 private final Comparator<Pair<ApplicationInfo, Boolean>> mComparator;
48 Comparator<Pair<ApplicationInfo, Boolean>> labelComparator = Comparator.comparing(role -> in RoleSortFunction()
50 Comparator<Pair<ApplicationInfo, Boolean>> userIdComparator = Comparator.comparingInt(role in RoleSortFunction()
56 public List<Pair<ApplicationInfo, Boolean>> invoke(List<Pair<ApplicationInfo, Boolean>> p1) { in invoke() argument
57 List<Pair<ApplicationInfo, Boolean>> sorted = new ArrayList<>(p1); in invoke()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/sideloaded/
DSideLoadedAppDetectorTest.java28 import android.content.pm.ApplicationInfo;
85 ApplicationInfo applicationInfo = new ApplicationInfo(); in isSafe_systemApp_returnsTrue()
87 applicationInfo.flags = ApplicationInfo.FLAG_SYSTEM; in isSafe_systemApp_returnsTrue()
100 ApplicationInfo applicationInfo = new ApplicationInfo(); in isSafe_updatedSystemApp_returnsTrue()
102 applicationInfo.flags = ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in isSafe_updatedSystemApp_returnsTrue()
119 ApplicationInfo applicationInfo = new ApplicationInfo(); in isSafe_nonSystemApp_withSafeSource_returnsTrue()
138 ApplicationInfo applicationInfo = new ApplicationInfo(); in isSafe_nonSystemApp_withUnsafeSource_returnsFalse()
157 ApplicationInfo applicationInfo = new ApplicationInfo(); in isSafe_nonSystemApp_withoutSource_returnsFalse()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetRecommendationCategoryProvider.java20 import android.content.pm.ApplicationInfo;
67 ApplicationInfo applicationInfo = pmHelper.getApplicationInfo( in getWidgetRecommendationCategory()
81 if (applicationCategory == ApplicationInfo.CATEGORY_PRODUCTIVITY) { in getCategoryFromApplicationCategory()
86 if (applicationCategory == ApplicationInfo.CATEGORY_NEWS) { in getCategoryFromApplicationCategory()
91 if (applicationCategory == ApplicationInfo.CATEGORY_SOCIAL) { in getCategoryFromApplicationCategory()
97 if (applicationCategory == ApplicationInfo.CATEGORY_AUDIO in getCategoryFromApplicationCategory()
98 || applicationCategory == ApplicationInfo.CATEGORY_VIDEO in getCategoryFromApplicationCategory()
99 || applicationCategory == ApplicationInfo.CATEGORY_IMAGE) { in getCategoryFromApplicationCategory()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/storage/
DStorageAppListTest.kt20 import android.content.pm.ApplicationInfo
127 val APP = ApplicationInfo().apply { in <lambda>()
129 flags = ApplicationInfo.FLAG_INSTALLED in <lambda>()
131 val APP2 = ApplicationInfo().apply { in <lambda>()
133 flags = ApplicationInfo.FLAG_INSTALLED in <lambda>()
135 val APP3 = ApplicationInfo().apply { in <lambda>()
137 flags = ApplicationInfo.FLAG_INSTALLED in <lambda>()
139 val GAME = ApplicationInfo().apply { in <lambda>()
141 flags = ApplicationInfo.FLAG_INSTALLED or ApplicationInfo.FLAG_IS_GAME in <lambda>()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxRestrictionManagerUnitTest.java23 import android.content.pm.ApplicationInfo;
106 ApplicationInfo applicationInfo = new ApplicationInfo(); in testGetEffectiveTargetSdkVersion_currentSdkVersionUsed()
123 ApplicationInfo applicationInfo1 = new ApplicationInfo(); in testGetEffectiveTargetSdkVersion_withDifferentTargetSdkVersionForSdk()
125 ApplicationInfo applicationInfo2 = new ApplicationInfo(); in testGetEffectiveTargetSdkVersion_withDifferentTargetSdkVersionForSdk()
181 ApplicationInfo applicationInfo1 = new ApplicationInfo(); in testGetEffectiveTargetSdkVersion_sharedUid()
183 ApplicationInfo applicationInfo2 = new ApplicationInfo(); in testGetEffectiveTargetSdkVersion_sharedUid()
DLoadSdkSessionUnitTest.java31 import android.content.pm.ApplicationInfo;
145 sdkSession.load(mSdkSandboxService, new ApplicationInfo(), mSandboxLatencyInfo); in testLoadSdkError()
168 sdkSession.load(mSdkSandboxService, new ApplicationInfo(), mSandboxLatencyInfo); in testSecondLoadFails_ErrorOnFirstLoad_SameSession()
179 new ApplicationInfo(), in testSecondLoadFails_ErrorOnFirstLoad_SameSession()
195 new ApplicationInfo(), in testLoadingSdkTwiceInSameSessionShouldFail()
218 sdkSession.load(mSdkSandboxService, new ApplicationInfo(), mSandboxLatencyInfo); in testSandboxDiedOnLoadSdkRequest()
248 sdkSession.load(mSdkSandboxService, new ApplicationInfo(), mSandboxLatencyInfo); in testLoadSdk_SandboxDiesBeforeCompletion()
272 final ApplicationInfo customizedInfo = new ApplicationInfo(); in testLoadSdk_CustomizedApplicationInfoIsPassedToService()
304 sdkSession.load(mSdkSandboxService, new ApplicationInfo(), mSandboxLatencyInfo); in testUnloadSdkThatIsBeingLoaded()
333 sdkSession.load(mSdkSandboxService, new ApplicationInfo(), mSandboxLatencyInfo); in testUnloadSdkAfterFailedLoading()
[all …]
/packages/apps/Settings/src/com/android/settings/spa/notification/
DAppNotificationRepository.kt28 import android.content.pm.ApplicationInfo in <lambda>()
58 fun getNotificationSummary(app: ApplicationInfo): String in <lambda>()
97 fun isEnabled(app: ApplicationInfo): Boolean = in isEnabled()
100 fun isChangeable(app: ApplicationInfo): Boolean { in isEnabled()
113 fun setEnabled(app: ApplicationInfo, enabled: Boolean): Boolean { in setEnabled()
138 override fun getNotificationSummary(app: ApplicationInfo): String { in getNotificationSummary()
159 private fun getSentCount(app: ApplicationInfo): Int { in getSentCount()
165 private fun queryEventsForPackageForUser(app: ApplicationInfo): UsageEvents? { in queryEventsForPackageForUser()
178 private fun getChannelCount(app: ApplicationInfo): Int = try { in getChannelCount()
185 private fun getBlockedChannelCount(app: ApplicationInfo): Int = try { in getBlockedChannelCount()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppInfoDashboardFragmentTest.java41 import android.content.pm.ApplicationInfo;
127 final ApplicationInfo info = new ApplicationInfo(); in shouldShowUninstallForAll_installForOneOtherUserOnly_shouldReturnTrue()
142 final ApplicationInfo info = new ApplicationInfo(); in shouldShowUninstallForAll_installForSelfOnly_shouldReturnFalse()
143 info.flags = ApplicationInfo.FLAG_INSTALLED; in shouldShowUninstallForAll_installForSelfOnly_shouldReturnFalse()
181 final ApplicationInfo info = new ApplicationInfo(); in onPrepareOptionsMenuTestsSetup()
182 info.flags = ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in onPrepareOptionsMenuTestsSetup()
263 final ApplicationInfo info = new ApplicationInfo(); in instantApps_noUninstallForAllButton()
310 final ApplicationInfo appInfo = new ApplicationInfo(); in getNumberOfUserWithPackageInstalled_twoUsersInstalled_shouldReturnTwo()
311 appInfo.flags = ApplicationInfo.FLAG_INSTALLED; in getNumberOfUserWithPackageInstalled_twoUsersInstalled_shouldReturnTwo()
333 final ApplicationInfo appInfo = new ApplicationInfo(); in getNumberOfUserWithPackageInstalled_oneUserInstalled_shouldReturnOne()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPackageManagerHelper.java27 import android.content.pm.ApplicationInfo;
97 final ApplicationInfo info = getApplicationInfo( in isAppOnSdcard()
99 return info != null && (info.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0; in isAppOnSdcard()
108 final ApplicationInfo info = getApplicationInfo(packageName, user, 0); in isAppSuspended()
117 final ApplicationInfo info = getApplicationInfo(packageName, user, 0); in isAppInstalled()
130 final ApplicationInfo info = getApplicationInfo( in isAppArchivedForUser()
142 final ApplicationInfo info; in isAppArchived()
170 public ApplicationInfo getApplicationInfo(@NonNull final String packageName, in getApplicationInfo()
173 ApplicationInfo info = mLauncherApps.getApplicationInfo(packageName, flags, user); in getApplicationInfo()
203 public static boolean isAppSuspended(ApplicationInfo info) { in isAppSuspended()
[all …]
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/picker/
DWidgetRecommendationCategoryProviderTest.java19 import static android.content.pm.ApplicationInfo.CATEGORY_AUDIO;
20 import static android.content.pm.ApplicationInfo.CATEGORY_IMAGE;
21 import static android.content.pm.ApplicationInfo.CATEGORY_NEWS;
22 import static android.content.pm.ApplicationInfo.CATEGORY_PRODUCTIVITY;
23 import static android.content.pm.ApplicationInfo.CATEGORY_SOCIAL;
24 import static android.content.pm.ApplicationInfo.CATEGORY_UNDEFINED;
25 import static android.content.pm.ApplicationInfo.CATEGORY_VIDEO;
26 import static android.content.pm.ApplicationInfo.FLAG_INSTALLED;
41 import android.content.pm.ApplicationInfo;
91 private final ApplicationInfo mTestAppInfo = ApplicationInfoBuilder.newBuilder().setPackageName(
/packages/modules/ExtServices/java/tests/src/android/ext/services/watchdog/
DExplicitHealthCheckServiceImplUnitTest.java31 import android.content.pm.ApplicationInfo;
107 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_DEBUGGABLE)); in testInitHealthCheckersWhileApplicationInfoFlagNotSystem()
118 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_SYSTEM)); in testInitHealthCheckersWhileHasResolveInfoAndFlagIsSystem()
131 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_SYSTEM)); in testOnRequestHealthCheck()
145 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_SYSTEM)); in testOnCancelHealthCheck()
158 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_SYSTEM)); in testOnGetSupportedPackages()
171 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_SYSTEM)); in testOnGetRequestedPackagesWhileNoRequest()
183 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_SYSTEM)); in testOnGetRequestedPackagesWhileHasRequest()
200 final ApplicationInfo applicationInfo = new ApplicationInfo(); in makeNewResolveInfo()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppOpenByDefaultPreferenceTest.kt21 import android.content.pm.ApplicationInfo
87 val instantApp = ApplicationInfo().apply { in instantApp_notDisplay()
89 privateFlags = ApplicationInfo.PRIVATE_FLAG_INSTANT in instantApp_notDisplay()
103 val browserApp = ApplicationInfo().apply { in browserApp_notDisplay()
105 privateFlags = ApplicationInfo.PRIVATE_FLAG_INSTANT in browserApp_notDisplay()
161 val notInstalledApp = ApplicationInfo().apply { in notInstalledApp_disabled()
177 val notEnabledApp = ApplicationInfo().apply { in notEnabledApp_disabled()
179 flags = ApplicationInfo.FLAG_INSTALLED in notEnabledApp_disabled()
196 val INSTALLED_ENABLED_APP = ApplicationInfo().apply { in <lambda>()
198 flags = ApplicationInfo.FLAG_INSTALLED in <lambda>()
DAppArchiveButtonTest.kt20 import android.content.pm.ApplicationInfo
74 val app = ApplicationInfo().apply { in appArchiveButton_whenIsArchived_isDisabled()
87 val app = ApplicationInfo().apply { in appArchiveButton_whenIsNotAppArchivable_isDisabled()
100 val app = ApplicationInfo().apply { in appArchiveButton_whenIsHibernationSwitchDisabled_isDisabled()
103 flags = ApplicationInfo.FLAG_INSTALLED in appArchiveButton_whenIsHibernationSwitchDisabled_isDisabled()
114 val app = ApplicationInfo().apply { in appArchiveButton_whenPackageIsNotFound_isDisabled()
127 val app = ApplicationInfo().apply { in appArchiveButton_displaysRightTextAndIcon()
141 val app = ApplicationInfo().apply { in appArchiveButton_clicked()
156 private fun setContent(app: ApplicationInfo): ActionButton { in setContent()
DAppStoragePreferenceTest.kt22 import android.content.pm.ApplicationInfo
73 val notInstalledApp = ApplicationInfo() in notInstalledApp_notDisplayed()
82 val internalApp = ApplicationInfo().apply { in internalApp_displayed()
84 flags = ApplicationInfo.FLAG_INSTALLED in internalApp_displayed()
97 val externalApp = ApplicationInfo().apply { in externalApp_displayed()
99 flags = ApplicationInfo.FLAG_INSTALLED or ApplicationInfo.FLAG_EXTERNAL_STORAGE in externalApp_displayed()
110 private fun setContent(app: ApplicationInfo) { in setContent()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/devapi/
DDevContextFilterTest.java28 import android.content.pm.ApplicationInfo;
170 private ApplicationInfo aNonDebuggableAppInfo() { in aNonDebuggableAppInfo()
171 return new ApplicationInfo(); in aNonDebuggableAppInfo()
174 private ApplicationInfo aDebuggableAppInfo() { in aDebuggableAppInfo()
175 ApplicationInfo result = new ApplicationInfo(); in aDebuggableAppInfo()
177 result.flags = ApplicationInfo.FLAG_DEBUGGABLE | ApplicationInfo.FLAG_INSTALLED; in aDebuggableAppInfo()
181 private void mockInstalledApplications(ApplicationInfo applicationInfo) in mockInstalledApplications()
/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()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DDebuggableTest.java19 import android.content.pm.ApplicationInfo;
36 List<ApplicationInfo> apps = getContext() in testNoDebuggable()
39 for (ApplicationInfo app : apps) { in testNoDebuggable()
44 if ((app.flags & ApplicationInfo.FLAG_DEBUGGABLE) == ApplicationInfo.FLAG_DEBUGGABLE) { in testNoDebuggable()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DInstalledAppCountItemManager.java21 import android.content.pm.ApplicationInfo;
60 List<ApplicationInfo> appList = mContext.getPackageManager() in startLoading()
65 for (ApplicationInfo applicationInfo : appList) { in startLoading()
79 boolean shouldCountApp(ApplicationInfo applicationInfo) { in shouldCountApp()
80 if ((applicationInfo.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) { in shouldCountApp()
83 if ((applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 0) { in shouldCountApp()

12345678910>>...33