/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | EnterpriseSetDefaultAppsListPreferenceControllerTest.java | 64 private static final int USER_ID = 0; field in EnterpriseSetDefaultAppsListPreferenceControllerTest 109 final UserInfo user = new UserInfo(USER_ID, "main", UserInfo.FLAG_ADMIN); in testMultipleAppsForOneTypeOfDefault() 114 .thenReturn(Arrays.asList(new UserHandle(USER_ID))); in testMultipleAppsForOneTypeOfDefault() 120 .findPersistentPreferredActivities(eq(USER_ID), in testMultipleAppsForOneTypeOfDefault() 124 .findPersistentPreferredActivities(eq(USER_ID), in testMultipleAppsForOneTypeOfDefault() 145 .thenReturn(Arrays.asList(new UserHandle(USER_ID))); in isAvailable() 158 .thenReturn(Arrays.asList(new UserHandle(USER_ID))); in getPreferenceKey()
|
D | ApplicationListFragmentTest.java | 53 private static final int USER_ID = 0; field in ApplicationListFragmentTest 123 final UserInfo user = new UserInfo(USER_ID, "main", UserInfo.FLAG_ADMIN); in buildApplicationList()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | DatabaseResultLoaderTest.java | 255 values.put(IndexDatabaseHelper.IndexColumns.USER_ID, 0); in insertSpecialCase() 286 values.put(IndexDatabaseHelper.IndexColumns.USER_ID, 0); in setUpDb() 313 values.put(IndexDatabaseHelper.IndexColumns.USER_ID, 0); in setUpDb() 339 values.put(IndexDatabaseHelper.IndexColumns.USER_ID, 0); in setUpDb() 369 values.put(IndexDatabaseHelper.IndexColumns.USER_ID, 0); in insertSameValueAllFieldsCase()
|
D | IntentSearchViewHolderTest.java | 66 private static final int USER_ID = 10; field in IntentSearchViewHolderTest 193 eq(new UserHandle(USER_ID)))).thenReturn(BADGED_LABEL); in testBindViewElements_appSearchResult() 196 TITLE, SUMMARY, mIcon, getApplicationInfo(USER_ID, TITLE, mIcon)); in testBindViewElements_appSearchResult() 208 any(Intent.class), eq(new UserHandle(USER_ID))); in testBindViewElements_appSearchResult()
|
D | DatabaseRowTest.java | 60 private static final int USER_ID = 1; field in DatabaseRowTest 97 assertThat(row.userId).isEqualTo(USER_ID); in testPrimitivesBuild_noDataLoss() 172 .setUserId(USER_ID); in createBuilder()
|
D | DatabaseIndexingManagerTest.java | 1175 values.put(IndexDatabaseHelper.IndexColumns.USER_ID, 0); in insertSpecialCase()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | PowerUsageAnomalyDetailsTest.java | 70 private static final int USER_ID = 1; field in PowerUsageAnomalyDetailsTest 208 mFragment.getBadgedIcon(PACKAGE_NAME_1, USER_ID); in testGetBadgedIcon_usePackageNameAndUserId() 211 verify(mIconDrawableFactory).getBadgedIcon(mApplicationInfo, USER_ID); in testGetBadgedIcon_usePackageNameAndUserId()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | IndexDatabaseHelper.java | 69 String USER_ID = "user_id"; field 130 IndexColumns.USER_ID +
|
D | DatabaseIndexingManager.java | 69 import static com.android.settings.search.IndexDatabaseHelper.IndexColumns.USER_ID; 994 values.put(USER_ID, row.userId); in updateOneRow()
|