/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
H A D | ApplicationsStateRoboTest.java | 202 infos.add(createApplicationInfo("test.package.1")); in setUp() 204 infos.add(createApplicationInfo("test.package.3")); in setUp() 222 return createApplicationInfo(packageName, 0); in createApplicationInfo() 411 appInfo = createApplicationInfo(PKG_1, OWNER_UID_1); in removeAndInstall_noWorkprofile_doResumeIfNeededLocked_shouldClearEntries() 413 appInfo = createApplicationInfo(PKG_2, OWNER_UID_2); in removeAndInstall_noWorkprofile_doResumeIfNeededLocked_shouldClearEntries() 425 appInfo = createApplicationInfo(PKG_2, OWNER_UID_2); in removeAndInstall_noWorkprofile_doResumeIfNeededLocked_shouldClearEntries() 427 appInfo = createApplicationInfo(PKG_3, OWNER_UID_3); in removeAndInstall_noWorkprofile_doResumeIfNeededLocked_shouldClearEntries() 449 appInfo = createApplicationInfo(PKG_1, OWNER_UID_1); in noAppRemoved_noWorkprofile_doResumeIfNeededLocked_shouldNotClearEntries() 451 appInfo = createApplicationInfo(PKG_2, OWNER_UID_2); in noAppRemoved_noWorkprofile_doResumeIfNeededLocked_shouldNotClearEntries() 463 appInfo = createApplicationInfo(PKG_1, OWNER_UID_1); in noAppRemoved_noWorkprofile_doResumeIfNeededLocked_shouldNotClearEntries() [all …]
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/webview/ |
H A D | WebViewAppPickerTest.java | 148 createApplicationInfo(PACKAGE_NAME), "disabled"); in testDisabledPackageShownAsDisabled() 162 createApplicationInfo(PACKAGE_NAME), disabledReason); in testEnabledPackageShownAsEnabled() 176 createApplicationInfo(PACKAGE_NAME), disabledReason); in testDisabledPackageShowsDisabledReasonSummary() 190 createApplicationInfo(PACKAGE_NAME), null); in testEnabledPackageShowsEmptySummary() 315 createApplicationInfo(PACKAGE_NAME), "" /* disabledReason */); in testWebViewVersionAddedAfterLabel() 326 private static ApplicationInfo createApplicationInfo(String packageName) { in createApplicationInfo() method in WebViewAppPickerTest 339 .thenReturn(Collections.singletonList(createApplicationInfo(PACKAGE_NAME))); in testSuccessfulClickChangesProvider() 353 .thenReturn(Collections.singletonList(createApplicationInfo(PACKAGE_NAME))); in testFailingClickUpdatesSetting()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/bugreporthandler/ |
H A D | BugReportHandlerPickerTest.java | 128 private static ApplicationInfo createApplicationInfo(String packageName) { in createApplicationInfo() method in BugReportHandlerPickerTest 137 createApplicationInfo(PACKAGE_NAME), USER_ID))); in testClickingItemSuccess() 156 createApplicationInfo(PACKAGE_NAME), USER_ID))); in testClickingItemFail()
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
H A D | ResetAppPrefFragmentTest.java | 113 mAppInfoList.add(createApplicationInfo(ENABLED_PKG_NAME, true)); in setUp() 114 mAppInfoList.add(createApplicationInfo(DISABLED_PKG_NAME, false)); in setUp() 198 private ApplicationInfo createApplicationInfo(String pkgName, boolean enabled) { in createApplicationInfo() method in ResetAppPrefFragmentTest
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/managedomainurls/ |
H A D | DomainAppPreferenceControllerTest.java | 65 mContext, createApplicationInfo(mContext.getPackageName()), 0); in setUp() 84 private ApplicationInfo createApplicationInfo(String packageName) { in createApplicationInfo() method in DomainAppPreferenceControllerTest
|
/aosp12/packages/apps/Settings/tests/componenttests/src/com/android/settingslib/applications/ |
H A D | ApplicationStateComponentTest.java | 54 ApplicationInfo appInfo = createApplicationInfo(packageName, id); in createAppEntry() 62 private ApplicationInfo createApplicationInfo(String packageName, int uid) { in createApplicationInfo() method in ApplicationStateComponentTest
|
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
H A D | UtilsTest.java | 105 createApplicationInfo( in testGetCurrentSystemApps() 107 createApplicationInfo( in testGetCurrentSystemApps() 109 createApplicationInfo( in testGetCurrentSystemApps() 425 private ApplicationInfo createApplicationInfo( in createApplicationInfo() method in UtilsTest
|
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
H A D | ResolverDataProvider.java | 74 ai.applicationInfo = createApplicationInfo(); in createActivityInfo() 78 static ApplicationInfo createApplicationInfo() { in createApplicationInfo() method in ResolverDataProvider
|