Searched refs:buildInfo (Results 1 – 11 of 11) sorted by relevance
19 import static com.android.settings.testutils.ApplicationTestUtils.buildInfo;109 buildInfo(MAIN_USER_APP_UID, APP_1, in testCountInstalledAppsAcrossAllUsers()111 buildInfo(MAIN_USER_APP_UID, APP_2, 0 /* flags */, in testCountInstalledAppsAcrossAllUsers()113 buildInfo(MAIN_USER_APP_UID, APP_3, ApplicationInfo.FLAG_SYSTEM, in testCountInstalledAppsAcrossAllUsers()115 buildInfo(MAIN_USER_APP_UID, APP_4, ApplicationInfo.FLAG_SYSTEM, in testCountInstalledAppsAcrossAllUsers()139 buildInfo(MANAGED_PROFILE_APP_UID, APP_5, 0 /* flags */, in testCountInstalledAppsAcrossAllUsers()141 buildInfo(MANAGED_PROFILE_APP_UID, APP_6, ApplicationInfo.FLAG_SYSTEM, in testCountInstalledAppsAcrossAllUsers()
19 import static com.android.settings.testutils.ApplicationTestUtils.buildInfo;114 buildInfo(APP_1_UID, APP_1, 0 /* flags */, Build.VERSION_CODES.M), in verifyListInstalledApps()115 buildInfo(APP_2_UID, APP_2, 0 /* flags */, Build.VERSION_CODES.M), in verifyListInstalledApps()116 buildInfo(APP_3_UID, APP_3, 0 /* flags */, Build.VERSION_CODES.LOLLIPOP), in verifyListInstalledApps()117 buildInfo(APP_4_UID, APP_4, 0 /* flags */, Build.VERSION_CODES.LOLLIPOP), in verifyListInstalledApps()118 buildInfo(APP_5_UID, APP_5, 0 /* flags */, Build.VERSION_CODES.LOLLIPOP))); in verifyListInstalledApps()168 buildInfo(APP_6_UID, APP_6, 0 /* flags */, Build.VERSION_CODES.M))); in verifyListInstalledApps()
19 import static com.android.settings.testutils.ApplicationTestUtils.buildInfo;92 mApp1 = buildInfo(MAIN_USER_APP_UID, APP_1, in setUp()94 mApp2 = buildInfo(MAIN_USER_APP_UID, APP_2, 0 /* flags */, in setUp()96 mApp3 = buildInfo(MAIN_USER_APP_UID, APP_3, ApplicationInfo.FLAG_SYSTEM, in setUp()98 mApp4 = buildInfo(MAIN_USER_APP_UID, APP_4, ApplicationInfo.FLAG_SYSTEM, in setUp()100 mApp5 = buildInfo(MANAGED_PROFILE_APP_UID, APP_5, 0 /* flags */, in setUp()102 mApp6 = buildInfo(MANAGED_PROFILE_APP_UID, APP_6, ApplicationInfo.FLAG_SYSTEM, in setUp()
19 import static com.android.settings.testutils.ApplicationTestUtils.buildInfo;102 mApp1 = buildInfo(APP_1_UID, APP_1, 0 /* flags */, Build.VERSION_CODES.M); in setUp()103 mApp2 = buildInfo(APP_2_UID, APP_2, 0 /* flags */, Build.VERSION_CODES.M); in setUp()104 mApp3 = buildInfo(APP_3_UID, APP_3, 0 /* flags */, Build.VERSION_CODES.LOLLIPOP); in setUp()105 mApp4 = buildInfo(APP_4_UID, APP_4, 0 /* flags */, Build.VERSION_CODES.LOLLIPOP); in setUp()106 mApp5 = buildInfo(APP_5_UID, APP_5, 0 /* flags */, Build.VERSION_CODES.LOLLIPOP); in setUp()107 mApp6 = buildInfo(APP_6_UID, APP_6, 0 /* flags */, Build.VERSION_CODES.M); in setUp()
338 ApplicationTestUtils.buildInfo(APP_1_UID, APP_1, 0 /* flags */, in setUpUsersAndInstalledApps()343 ApplicationTestUtils.buildInfo(APP_2_UID, APP_2, 0 /* flags */, in setUpUsersAndInstalledApps()
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()
19 import static com.android.settings.testutils.ApplicationTestUtils.buildInfo;122 apps.add(new UserAppInfo(user, buildInfo(USER_APP_UID, APP, 0, 0))); in buildApplicationList()
108 final ApplicationInfo appInfo1 = ApplicationTestUtils.buildInfo(APP_UID, APP_1, 0, 0); in testMultipleAppsForOneTypeOfDefault()109 final ApplicationInfo appInfo2 = ApplicationTestUtils.buildInfo(APP_UID, APP_2, 0, 0); in testMultipleAppsForOneTypeOfDefault()
23 import static com.android.settings.testutils.ApplicationTestUtils.buildInfo;281 final ApplicationInfo app1 = buildInfo(uid, APP_1, 0 /* flags */, 0 /* targetSdkVersion */); in mockPackageManager()283 buildInfo(uid, APP_2, ApplicationInfo.FLAG_SYSTEM, 0 /* targetSdkVersion */); in mockPackageManager()284 final ApplicationInfo app3 = buildInfo(uid, APP_3, 0 /* flags */, 0 /* targetSdkVersion */); in mockPackageManager()
99 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument100 mBuildInfo = buildInfo; in setBuild()
35 public static ApplicationInfo buildInfo(int uid, String packageName, int flags, in buildInfo() method in ApplicationTestUtils