Home
last modified time | relevance | path

Searched refs:buildInfo (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DInstalledAppListerTest.java19 import static com.android.settings.testutils.ApplicationTestUtils.buildInfo;
113 buildInfo(MAIN_USER_APP_UID, APP_1, in testCountInstalledAppsAcrossAllUsers()
115 buildInfo(MAIN_USER_APP_UID, APP_2, 0 /* flags */, in testCountInstalledAppsAcrossAllUsers()
117 buildInfo(MAIN_USER_APP_UID, APP_3, ApplicationInfo.FLAG_SYSTEM, in testCountInstalledAppsAcrossAllUsers()
119 buildInfo(MAIN_USER_APP_UID, APP_4, ApplicationInfo.FLAG_SYSTEM, in testCountInstalledAppsAcrossAllUsers()
143 buildInfo(MANAGED_PROFILE_APP_UID, APP_5, 0 /* flags */, in testCountInstalledAppsAcrossAllUsers()
145 buildInfo(MANAGED_PROFILE_APP_UID, APP_6, ApplicationInfo.FLAG_SYSTEM, in testCountInstalledAppsAcrossAllUsers()
DAppWithAdminGrantedPermissionsListerTest.java19 import static com.android.settings.testutils.ApplicationTestUtils.buildInfo;
123 buildInfo(APP_1_UID, APP_1, 0 /* flags */, Build.VERSION_CODES.M), in verifyListInstalledApps()
124 buildInfo(APP_2_UID, APP_2, 0 /* flags */, Build.VERSION_CODES.M), in verifyListInstalledApps()
125 buildInfo(APP_3_UID, APP_3, 0 /* flags */, Build.VERSION_CODES.LOLLIPOP), in verifyListInstalledApps()
126 buildInfo(APP_4_UID, APP_4, 0 /* flags */, Build.VERSION_CODES.LOLLIPOP), in verifyListInstalledApps()
127 buildInfo(APP_5_UID, APP_5, 0 /* flags */, Build.VERSION_CODES.LOLLIPOP))); in verifyListInstalledApps()
177 buildInfo(APP_6_UID, APP_6, 0 /* flags */, Build.VERSION_CODES.M))); in verifyListInstalledApps()
DInstalledAppCounterTest.java19 import static com.android.settings.testutils.ApplicationTestUtils.buildInfo;
112 mApp1 = buildInfo(MAIN_USER_APP_UID, APP_1, in setUp()
114 mApp2 = buildInfo(MAIN_USER_APP_UID, APP_2, 0 /* flags */, in setUp()
116 mApp3 = buildInfo(MAIN_USER_APP_UID, APP_3, ApplicationInfo.FLAG_SYSTEM, in setUp()
118 mApp4 = buildInfo(MAIN_USER_APP_UID, APP_4, ApplicationInfo.FLAG_SYSTEM, in setUp()
120 mApp5 = buildInfo(MANAGED_PROFILE_APP_UID, APP_5, 0 /* flags */, in setUp()
122 mApp6 = buildInfo(MANAGED_PROFILE_APP_UID, APP_6, ApplicationInfo.FLAG_SYSTEM, in setUp()
124 mApp7 = buildInfo(MAIN_USER_APP_UID, APP_7, 0 /* flags */, in setUp()
DAppWithAdminGrantedPermissionsCounterTest.java19 import static com.android.settings.testutils.ApplicationTestUtils.buildInfo;
107 mApp1 = buildInfo(APP_1_UID, APP_1, 0 /* flags */, Build.VERSION_CODES.M); in setUp()
108 mApp2 = buildInfo(APP_2_UID, APP_2, 0 /* flags */, Build.VERSION_CODES.M); in setUp()
109 mApp3 = buildInfo(APP_3_UID, APP_3, 0 /* flags */, Build.VERSION_CODES.LOLLIPOP); in setUp()
110 mApp4 = buildInfo(APP_4_UID, APP_4, 0 /* flags */, Build.VERSION_CODES.LOLLIPOP); in setUp()
111 mApp5 = buildInfo(APP_5_UID, APP_5, 0 /* flags */, Build.VERSION_CODES.LOLLIPOP); in setUp()
112 mApp6 = buildInfo(APP_6_UID, APP_6, 0 /* flags */, Build.VERSION_CODES.M); in setUp()
DApplicationFeatureProviderImplTest.java436 ApplicationTestUtils.buildInfo(APP_1_UID, APP_1, 0 /* flags */, in setUpUsersAndInstalledApps()
441 ApplicationTestUtils.buildInfo(APP_2_UID, APP_2, 0 /* flags */, in setUpUsersAndInstalledApps()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DApplicationListPreferenceControllerTest.java19 import static com.android.settings.testutils.ApplicationTestUtils.buildInfo;
131 apps.add(new UserAppInfo(user, buildInfo(MAIN_USER_APP_UID, APP_1, 0, 0))); in buildApplicationList()
132 apps.add(new UserAppInfo(user, buildInfo(MAIN_USER_APP_UID, APP_2, 0, 0))); in buildApplicationList()
133 apps.add(new UserAppInfo(user, buildInfo(MANAGED_PROFILE_APP_UID, APP_3, 0, 0))); in buildApplicationList()
DApplicationListFragmentTest.java19 import static com.android.settings.testutils.ApplicationTestUtils.buildInfo;
122 apps.add(new UserAppInfo(user, buildInfo(USER_APP_UID, APP, 0, 0))); in buildApplicationList()
DEnterpriseSetDefaultAppsListPreferenceControllerTest.java117 final ApplicationInfo appInfo1 = ApplicationTestUtils.buildInfo(APP_UID, APP_1, 0, 0); in testMultipleAppsForOneTypeOfDefault()
118 final ApplicationInfo appInfo2 = ApplicationTestUtils.buildInfo(APP_UID, APP_2, 0, 0); in testMultipleAppsForOneTypeOfDefault()
/packages/modules/StatsD/tests/src/android/cts/statsd/restricted/
DReadRestrictedStatsPermissionTest.java36 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument
37 mCtsBuild = buildInfo; in setBuild()
/packages/modules/StatsD/tests/src/android/cts/statsd/validation/
DStatsFrameworkInitializerTest.java49 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument
50 mCtsBuild = buildInfo; in setBuild()
DDirectoryValidationTest.java36 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument
37 mCtsBuild = buildInfo; in setBuild()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/dailyjob/
DDailyDeleteAccessLogTest.java63 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument
64 mCtsBuild = buildInfo; in setBuild()
/packages/modules/StatsD/tests/src/android/cts/statsd/atom/
DProcStateTestCase.java90 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument
91 mCtsBuild = buildInfo; in setBuild()
/packages/modules/StatsD/tests/src/android/cts/statsd/metadata/
DMetadataTestCase.java85 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument
86 mCtsBuild = buildInfo; in setBuild()
/packages/modules/StatsD/tests/src/android/cts/statsd/alarm/
DAlarmTests.java78 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument
79 mCtsBuild = buildInfo; in setBuild()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/graphicsdriver/
DGraphicsDriverAppPreferenceControllerTest.java23 import static com.android.settings.testutils.ApplicationTestUtils.buildInfo;
316 final ApplicationInfo app1 = buildInfo(uid, APP_1, 0 /* flags */, 0 /* targetSdkVersion */); in mockPackageManager()
318 buildInfo(uid, APP_2, ApplicationInfo.FLAG_SYSTEM, 0 /* targetSdkVersion */); in mockPackageManager()
319 final ApplicationInfo app3 = buildInfo(uid, APP_3, 0 /* flags */, 0 /* targetSdkVersion */); in mockPackageManager()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/logging/
DHealthConnectUiLogsTests.kt83 override fun setBuild(buildInfo: IBuildInfo) { in setBuild()
84 mCtsBuild = buildInfo in setBuild()
DHealthConnectDailyLogsStatsTests.java93 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument
94 mCtsBuild = buildInfo; in setBuild()
DHealthConnectServiceStatsTests.java71 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument
72 mCtsBuild = buildInfo; in setBuild()
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/
DApplicationTestUtils.java36 public static ApplicationInfo buildInfo(int uid, String packageName, int flags, in buildInfo() method in ApplicationTestUtils
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DApplicationTestUtils.java35 public static ApplicationInfo buildInfo(int uid, String packageName, int flags, in buildInfo() method in ApplicationTestUtils
/packages/modules/StatsD/tests/src/android/cts/statsd/uidmap/
DUidMapTests.java68 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument
69 mCtsBuild = buildInfo; in setBuild()
/packages/modules/Virtualization/authfs/tests/common/src/java/com/android/fs/common/
DAuthFsTestRule.java215 public static File findTestFile(IBuildInfo buildInfo, String fileName) {
217 return (new CompatibilityBuildHelper(buildInfo)).getTestFile(fileName);
/packages/modules/Virtualization/tests/hostside/helper/java/com/android/microdroid/test/host/
DMicrodroidHostTestCaseBase.java177 IBuildInfo buildInfo = getBuild(); in findTestFile() local
178 CompatibilityBuildHelper helper = new CompatibilityBuildHelper(buildInfo); in findTestFile()
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
DCountMetricsTests.java74 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument
75 mCtsBuild = buildInfo; in setBuild()

12