/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | InstalledAppListerTest.java | 19 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()
|
D | AppWithAdminGrantedPermissionsListerTest.java | 19 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()
|
D | InstalledAppCounterTest.java | 19 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()
|
D | AppWithAdminGrantedPermissionsCounterTest.java | 19 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()
|
D | ApplicationFeatureProviderImplTest.java | 436 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/ |
D | ApplicationListPreferenceControllerTest.java | 19 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()
|
D | ApplicationListFragmentTest.java | 19 import static com.android.settings.testutils.ApplicationTestUtils.buildInfo; 122 apps.add(new UserAppInfo(user, buildInfo(USER_APP_UID, APP, 0, 0))); in buildApplicationList()
|
D | EnterpriseSetDefaultAppsListPreferenceControllerTest.java | 117 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/ |
D | ReadRestrictedStatsPermissionTest.java | 36 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument 37 mCtsBuild = buildInfo; in setBuild()
|
/packages/modules/StatsD/tests/src/android/cts/statsd/validation/ |
D | StatsFrameworkInitializerTest.java | 49 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument 50 mCtsBuild = buildInfo; in setBuild()
|
D | DirectoryValidationTest.java | 36 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/ |
D | DailyDeleteAccessLogTest.java | 63 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument 64 mCtsBuild = buildInfo; in setBuild()
|
/packages/modules/StatsD/tests/src/android/cts/statsd/atom/ |
D | ProcStateTestCase.java | 90 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument 91 mCtsBuild = buildInfo; in setBuild()
|
/packages/modules/StatsD/tests/src/android/cts/statsd/metadata/ |
D | MetadataTestCase.java | 85 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument 86 mCtsBuild = buildInfo; in setBuild()
|
/packages/modules/StatsD/tests/src/android/cts/statsd/alarm/ |
D | AlarmTests.java | 78 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument 79 mCtsBuild = buildInfo; in setBuild()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/graphicsdriver/ |
D | GraphicsDriverAppPreferenceControllerTest.java | 23 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/ |
D | HealthConnectUiLogsTests.kt | 83 override fun setBuild(buildInfo: IBuildInfo) { in setBuild() 84 mCtsBuild = buildInfo in setBuild()
|
D | HealthConnectDailyLogsStatsTests.java | 93 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument 94 mCtsBuild = buildInfo; in setBuild()
|
D | HealthConnectServiceStatsTests.java | 71 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument 72 mCtsBuild = buildInfo; in setBuild()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/ |
D | ApplicationTestUtils.java | 36 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/ |
D | ApplicationTestUtils.java | 35 public static ApplicationInfo buildInfo(int uid, String packageName, int flags, in buildInfo() method in ApplicationTestUtils
|
/packages/modules/StatsD/tests/src/android/cts/statsd/uidmap/ |
D | UidMapTests.java | 68 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/ |
D | AuthFsTestRule.java | 215 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/ |
D | MicrodroidHostTestCaseBase.java | 177 IBuildInfo buildInfo = getBuild(); in findTestFile() local 178 CompatibilityBuildHelper helper = new CompatibilityBuildHelper(buildInfo); in findTestFile()
|
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/ |
D | CountMetricsTests.java | 74 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument 75 mCtsBuild = buildInfo; in setBuild()
|