Home
last modified time | relevance | path

Searched refs:createApplicationInfo (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/webview/
DWebViewAppPickerTest.java154 createApplicationInfo(PACKAGE_NAME), "disabled"); in testDisabledPackageShownAsDisabled()
168 createApplicationInfo(PACKAGE_NAME), disabledReason); in testEnabledPackageShownAsEnabled()
182 createApplicationInfo(PACKAGE_NAME), disabledReason); in testDisabledPackageShowsDisabledReasonSummary()
196 createApplicationInfo(PACKAGE_NAME), null); in testEnabledPackageShowsEmptySummary()
322 createApplicationInfo(PACKAGE_NAME), "" /* disabledReason */); in testWebViewVersionAddedAfterLabel()
334 private static ApplicationInfo createApplicationInfo(String packageName) { in createApplicationInfo() method in WebViewAppPickerTest
347 .thenReturn(Collections.singletonList(createApplicationInfo(PACKAGE_NAME))); in testSuccessfulClickChangesProvider()
361 .thenReturn(Collections.singletonList(createApplicationInfo(PACKAGE_NAME))); in testFailingClickUpdatesSetting()
/packages/modules/StatsD/statsd/tests/e2e/
DAttribution_e2e_test.cpp108 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 222, 1, "v1", "com.android.gmscore"); in TEST()
109 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 444, 1, "v1", "com.android.gmscore"); in TEST()
110 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 111, 2, "v2", "app1"); in TEST()
111 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 333, 2, "v2", "APP3"); in TEST()
218 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 222, 1, "v1", "com.android.gmscore"); in TEST()
219 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 444, 1, "v1", "com.android.gmscore"); in TEST()
220 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 111, 2, "v2", "app1"); in TEST()
221 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 333, 2, "v2", "APP3"); in TEST()
DPartialBucket_e2e_test.cpp141 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1, /*version*/ 1, "v1", kApp1); in TEST_F()
174 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1, /*version*/ 1, "v1", kApp1); in TEST_F()
236 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1, /*version*/ 1, "v1", kApp1); in TEST_F()
431 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1, /*version*/ 1, "v1", kApp1); in TEST_F()
DConfigUpdate_e2e_ab_test.cpp63 ApplicationInfo appInfo = createApplicationInfo(/*uid*/ 1000, /*version*/ 1, "v1", "app1"); in TEST_P()
105 ApplicationInfo appInfo = createApplicationInfo(/*uid*/ 1000, /*version*/ 1, "v1", "app1"); in TEST_P()
DRestrictedConfig_e2e_test.cpp112 *uidData.add_app_info() = createApplicationInfo(delegateUid, 1, "v2", delegatePackageName); in SetUp()
113 *uidData.add_app_info() = createApplicationInfo(kCallingUid, 1, "v2", configPackageName); in SetUp()
DAnomaly_duration_sum_e2e_test.cpp425 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1, /*version*/ 1, "v1", "randomApp"); in TEST_F()
/packages/modules/StatsD/statsd/tests/
DLogEntryMatcher_test.cpp239 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1111, /*version*/ 1, "v1", "pkg0"); in TEST()
240 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1111, /*version*/ 1, "v1", "pkg1"); in TEST()
241 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 2222, /*version*/ 2, "v2", "pkg1"); in TEST()
242 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 3333, /*version*/ 1, "v1", "Pkg2"); in TEST()
243 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 3333, /*version*/ 2, "v2", "PkG3"); in TEST()
393 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1111, /*version*/ 1, "v1", "pkg0"); in TEST()
394 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1111, /*version*/ 1, "v1", "pkg1"); in TEST()
395 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 2222, /*version*/ 2, "v2", "pkg1"); in TEST()
396 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 3333, /*version*/ 1, "v1", "Pkg2"); in TEST()
397 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 3333, /*version*/ 2, "v2", "PkG3"); in TEST()
[all …]
DUidMap_test.cpp343 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1000, /*version*/ 5, "v1", kApp2); in TEST()
370 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1000, /*version*/ 5, "v5", kApp2); in TEST()
397 *uidData.add_app_info() = createApplicationInfo(/*uid*/ j, /*version*/ j, "v", kApp1); in TEST()
436 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1000, /*version*/ 4, "v4", kApp1); in TEST()
437 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1000, /*version*/ 5, "v5", kApp2); in TEST()
507 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1000, /*version*/ 1, "v1", kApp1); in TEST()
537 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1, /*version*/ 1, "v1", buf); in TEST()
DStatsLogProcessor_test.cpp231 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1, /*version*/ 1, "v1", "p1"); in TEST()
232 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 2, /*version*/ 2, "v2", "p2"); in TEST()
274 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1, /*version*/ 1, "v1", "p1"); in TEST()
275 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 2, /*version*/ 2, "v2", "p2"); in TEST()
436 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1, /*version*/ 1, "v1", "p1"); in TEST()
437 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 2, /*version*/ 2, "v2", "p2"); in TEST()
2192 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 1, /*version*/ 1, "v1", "p1"); in TEST_F()
2193 *uidData.add_app_info() = createApplicationInfo(/*uid*/ 2, /*version*/ 2, "v2", "p2"); in TEST_F()
Dstatsd_test_util.h815 ApplicationInfo createApplicationInfo(int32_t uid, int64_t version, const string& versionString,
Dstatsd_test_util.cpp2258 ApplicationInfo createApplicationInfo(const int32_t uid, const int64_t version, in createApplicationInfo() function
/packages/apps/Settings/tests/robotests/src/com/android/settings/bugreporthandler/
DBugReportHandlerPickerTest.java132 private static ApplicationInfo createApplicationInfo(String packageName) { in createApplicationInfo() method in BugReportHandlerPickerTest
141 createApplicationInfo(PACKAGE_NAME), USER_ID))); in testClickingItemSuccess()
160 createApplicationInfo(PACKAGE_NAME), USER_ID))); in testClickingItemFail()
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/
DResolverDataProvider.java140 ai.applicationInfo = createApplicationInfo(); in createActivityInfo()
151 ai.applicationInfo = createApplicationInfo(); in createActivityInfo()
156 static ApplicationInfo createApplicationInfo() { in createApplicationInfo() method in ResolverDataProvider
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/managedomainurls/
DDomainAppPreferenceControllerTest.java59 mContext, createApplicationInfo(mContext.getPackageName()), 0); in setUp()
78 private ApplicationInfo createApplicationInfo(String packageName) { in createApplicationInfo() method in DomainAppPreferenceControllerTest
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DResetAppPrefFragmentTest.java121 mAppInfoList.add(createApplicationInfo(ENABLED_PKG_NAME, true)); in setUp()
122 mAppInfoList.add(createApplicationInfo(DISABLED_PKG_NAME, false)); in setUp()
220 private ApplicationInfo createApplicationInfo(String pkgName, boolean enabled) { in createApplicationInfo() method in ResetAppPrefFragmentTest
/packages/apps/Settings/tests/componenttests/src/com/android/settingslib/applications/
DApplicationStateComponentTest.java54 ApplicationInfo appInfo = createApplicationInfo(packageName, id); in createAppEntry()
62 private ApplicationInfo createApplicationInfo(String packageName, int uid) { in createApplicationInfo() method in ApplicationStateComponentTest
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java106 createApplicationInfo( in testGetCurrentSystemApps()
108 createApplicationInfo( in testGetCurrentSystemApps()
110 createApplicationInfo( in testGetCurrentSystemApps()
427 private ApplicationInfo createApplicationInfo( in createApplicationInfo() method in UtilsTest
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/notifications/
DNotificationAccessConfirmationActivityTest.java82 private static ApplicationInfo createApplicationInfo() { in createApplicationInfo() method in NotificationAccessConfirmationActivityTest
194 ApplicationInfo info = createApplicationInfo(); in getPackageManager()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ui/settings/
DSettingsCloudMediaViewModelTest.java368 providerInfo.applicationInfo = createApplicationInfo(authority); in createProviderInfo()
373 private static ApplicationInfo createApplicationInfo(@NonNull String authority) { in createApplicationInfo() method in SettingsCloudMediaViewModelTest