Home
last modified time | relevance | path

Searched refs:USER_ID (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterpriseSetDefaultAppsListPreferenceControllerTest.java64 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()
DApplicationListFragmentTest.java53 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/
DDatabaseResultLoaderTest.java255 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()
DIntentSearchViewHolderTest.java66 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()
DDatabaseRowTest.java60 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()
DDatabaseIndexingManagerTest.java1175 values.put(IndexDatabaseHelper.IndexColumns.USER_ID, 0); in insertSpecialCase()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DPowerUsageAnomalyDetailsTest.java70 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/
DIndexDatabaseHelper.java69 String USER_ID = "user_id"; field
130 IndexColumns.USER_ID +
DDatabaseIndexingManager.java69 import static com.android.settings.search.IndexDatabaseHelper.IndexColumns.USER_ID;
994 values.put(USER_ID, row.userId); in updateOneRow()