Home
last modified time | relevance | path

Searched refs:PROFILE_ID (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/interactacrossprofiles/
DInteractAcrossProfilesPreferenceControllerTest.java44 private static final int PROFILE_ID = 0; field in InteractAcrossProfilesPreferenceControllerTest
55 PROFILE_ID, ImmutableList.of(CROSS_PROFILE_PACKAGE_NAME)); in getAvailabilityStatus_requestedCrossProfilePermission_returnsAvailable()
69 PROFILE_ID, ImmutableList.of(NOT_CROSS_PROFILE_PACKAGE_NAME)); in getAvailabilityStatus_notRequestedCrossProfilePermission_returnsDisabled()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/location/
DLocationServicesPreferenceControllerTest.java60 private static final int PROFILE_ID = UserHandle.USER_CURRENT; field in LocationServicesPreferenceControllerTest
125 assertThat(mPreference.getPreferenceCount()).isEqualTo(samplePrefs.get(PROFILE_ID).size()); in updateState_addsInjectedSettingsToPreferenceCategory()
136 samplePrefs.get(PROFILE_ID).get(0).setSummary(summary); in updateState_updatesPreferenceSummary()
163 preferences.put(PROFILE_ID, in getSamplePreferences()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAccountDashboardFragmentTest.java49 private static final int PROFILE_ID = 10; field in AccountDashboardFragmentTest
89 infos.add(new UserInfo(PROFILE_ID, PROFILE_NAME, UserInfo.FLAG_MANAGED_PROFILE)); in searchIndexProvider_hasManagedProfile_shouldNotIndex()
102 infos.add(new UserInfo(PROFILE_ID, PROFILE_NAME, UserInfo.FLAG_PRIMARY)); in searchIndexProvider_hasAccounts_shouldIndex()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DLoaderCursorTest.java31 import static com.android.launcher3.LauncherSettings.Favorites.PROFILE_ID;
91 _ID, CONTAINER, ITEM_TYPE, PROFILE_ID, in setup()
103 .add(PROFILE_ID, 0) in initCursor()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DRestoreDbTask.java224 values.put(Favorites.PROFILE_ID, newProfileId); in migrateProfileId()
248 ids.put(c.getLong(c.getColumnIndex(Favorites.PROFILE_ID)), null); in getManagedProfileIds()
273 if (Favorites.PROFILE_ID.equals(c.getString(nameIndex))) { in getDefaultProfileId()
DImportDataTask.java133 Favorites.PROFILE_ID + " = ?", new String[]{profileId}, in importWorkspaceItems() argument
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPersistedItemArray.java95 out.attribute(null, Favorites.PROFILE_ID, in write()
143 parser.getAttributeValue(null, Favorites.PROFILE_ID))); in read()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java54 import static android.provider.Telephony.Carriers.PROFILE_ID;
388 CARRIERS_UNIQUE_FIELDS_DEFAULTS.put(PROFILE_ID, "0"); in CARRIERS_UNIQUE_FIELDS_DEFAULTS.put() argument
476 PROFILE_ID + " INTEGER DEFAULT 0," + in getStringForCarrierTableCreation()
1931 queryValOrNull(PROFILE_ID) + in deleteRow()
1985 whereArgs[i++] = values.containsKey(PROFILE_ID) ? in deleteRow()
1986 values.getAsString(PROFILE_ID) : "0"; in deleteRow()
2077 getIntValueFromCursor(cv, c, PROFILE_ID); in copyApnValuesV17()
2115 getIntValueFromCursor(cv, c, PROFILE_ID); in copyAllApnValues()
2335 addIntAttribute(parser, "profile_id", map, PROFILE_ID); in getRow()
2503 PROFILE_ID)) + " newRow " + newRow); in mergeFieldsAndUpdateDb()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherSettings.java279 public static final String PROFILE_ID = "profileId"; field in LauncherSettings.Favorites
DLauncherProvider.java831 if (!addIntegerColumn(db, Favorites.PROFILE_ID, getDefaultUserSerial())) { in onUpgrade()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DItemInfo.java241 writer.put(LauncherSettings.Favorites.PROFILE_ID, user); in onAddToDatabase()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java132 profileIdIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.PROFILE_ID); in LoaderCursor()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/util/
DLauncherModelHelper.java283 values.put(LauncherSettings.Favorites.PROFILE_ID, profileId); in addItem()