/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | InstalledAppListerTest.java | 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()
|
D | AppWithAdminGrantedPermissionsListerTest.java | 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()
|
D | InstalledAppCounterTest.java | 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()
|
D | AppWithAdminGrantedPermissionsCounterTest.java | 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()
|
D | ApplicationFeatureProviderImplTest.java | 368 ApplicationTestUtils.buildInfo(APP_1_UID, APP_1, 0 /* flags */, in setUpUsersAndInstalledApps() 373 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 | 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()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/graphicsdriver/ |
D | GraphicsDriverAppPreferenceControllerTest.java | 23 import static com.android.settings.testutils.ApplicationTestUtils.buildInfo; 314 final ApplicationInfo app1 = buildInfo(uid, APP_1, 0 /* flags */, 0 /* targetSdkVersion */); in mockPackageManager() 316 buildInfo(uid, APP_2, ApplicationInfo.FLAG_SYSTEM, 0 /* targetSdkVersion */); in mockPackageManager() 317 final ApplicationInfo app3 = buildInfo(uid, APP_3, 0 /* flags */, 0 /* targetSdkVersion */); in mockPackageManager()
|
/packages/modules/StatsD/tests/src/android/cts/statsd/atom/ |
D | BaseTestCase.java | 62 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument 63 mCtsBuild = buildInfo; in setBuild()
|
/packages/modules/Connectivity/tests/cts/hostside/src/com/android/cts/net/ |
D | HostsideNetworkTestCase.java | 57 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument 58 mCtsBuild = buildInfo; in setBuild()
|
/packages/apps/TimeZoneData/testing/xts/src/com/android/timezone/xts/ |
D | TimeZoneUpdateHostTest.java | 99 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument 100 mBuildInfo = 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
|