/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/interactacrossprofiles/ |
D | InteractAcrossProfilesPreferenceControllerTest.java | 52 private static final int PROFILE_ID = 0; field in InteractAcrossProfilesPreferenceControllerTest 70 PROFILE_ID, ImmutableList.of(CROSS_PROFILE_PACKAGE_NAME)); in getAvailabilityStatus_requestedCrossProfilePermission_returnsAvailable() 88 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/ |
D | LocationServicesPreferenceControllerTest.java | 61 private static final int PROFILE_ID = UserHandle.USER_CURRENT; field in LocationServicesPreferenceControllerTest 128 assertThat(mPreference.getPreferenceCount()).isEqualTo(samplePrefs.get(PROFILE_ID).size()); in updateState_addsInjectedSettingsToPreferenceCategory() 139 samplePrefs.get(PROFILE_ID).get(0).setSummary(summary); in updateState_updatesPreferenceSummary() 166 preferences.put(PROFILE_ID, in getSamplePreferences()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | AccountDashboardFragmentTest.java | 49 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/src/com/android/launcher3/provider/ |
D | RestoreDbTask.java | 356 values.put(Favorites.PROFILE_ID, newProfileId); in migrateProfileId() 380 ids.put(c.getLong(c.getColumnIndex(Favorites.PROFILE_ID)), null); in getManagedProfileIds() 402 if (Favorites.PROFILE_ID.equals(c.getString(nameIndex))) { in getDefaultProfileId() 532 new String[]{Favorites.APPWIDGET_ID, Favorites.RESTORED, Favorites.PROFILE_ID}, in logDatabaseWidgetInfo() argument 542 final int widgetProfileIdIndex = cursor.getColumnIndex(Favorites.PROFILE_ID); in logDatabaseWidgetInfo() 583 String.format("%s=? AND %s=? AND ( %s )", Favorites.ITEM_TYPE, Favorites.PROFILE_ID, in maybeOverrideShortcuts() argument 595 values.put(Favorites.PROFILE_ID, in maybeOverrideShortcuts()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherSettings.java | 259 public static final String PROFILE_ID = "profileId"; field in LauncherSettings.Favorites 328 columnsToTypes.put(PROFILE_ID, "INTEGER DEFAULT " + profileId); in getColumnsToTypes()
|
D | AutoInstallsLayout.java | 310 mValues.put(Favorites.PROFILE_ID, profileId); in parseAndAddNode() 332 && !mValues.containsKey(Favorites.PROFILE_ID)) { in addShortcut() 335 mValues.put(Favorites.PROFILE_ID, UserCache.INSTANCE.get(mContext) in addShortcut()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | LoaderCursorTest.java | 35 import static com.android.launcher3.LauncherSettings.Favorites.PROFILE_ID; 100 PROFILE_ID, SCREEN, CELLX, CELLY, RESTORED, in setup() 118 .add(PROFILE_ID, 0) in initCursor()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/ |
D | AutoInstallsLayoutTest.kt | 40 import com.android.launcher3.LauncherSettings.Favorites.PROFILE_ID 107 assertThat(callback.items[0].containsKey(PROFILE_ID)).isFalse() in pending_icon_added_on_home() 191 assertThat(callback.items[0][PROFILE_ID]).isEqualTo(20) in work_item_added_to_home()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/ |
D | ModelTestExtensions.kt | 16 import com.android.launcher3.LauncherSettings.Favorites.PROFILE_ID in <lambda>() 81 values[PROFILE_ID] = profileId in <lambda>()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | PersistedItemArray.java | 95 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/ |
D | TelephonyProvider.java | 59 import static android.provider.Telephony.Carriers.PROFILE_ID; 404 CARRIERS_UNIQUE_FIELDS_DEFAULTS.put(PROFILE_ID, "0"); in CARRIERS_UNIQUE_FIELDS_DEFAULTS.put() argument 521 PROFILE_ID + " INTEGER DEFAULT 0," + in getStringForCarrierTableCreation() 2349 queryValOrNull(PROFILE_ID) + in deleteRow() 2405 whereArgs[i++] = values.containsKey(PROFILE_ID) ? in deleteRow() 2406 values.getAsString(PROFILE_ID) : "0"; in deleteRow() 2501 getIntValueFromCursor(cv, c, PROFILE_ID); in copyApnValuesV17() 2539 getIntValueFromCursor(cv, c, PROFILE_ID); in copyAllApnValues() 2767 addIntAttribute(parser, "profile_id", map, PROFILE_ID); in getRow() 2956 PROFILE_ID)) + " newRow " + newRow); in mergeFieldsAndUpdateDb() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | DatabaseHelper.java | 199 if (!addIntegerColumn(db, Favorites.PROFILE_ID, getDefaultUserSerial())) { in onUpgrade()
|
D | LoaderCursor.java | 141 mProfileIdIndex = getColumnIndexOrThrow(Favorites.PROFILE_ID); in LoaderCursor()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
D | ItemInfo.java | 283 writer.put(LauncherSettings.Favorites.PROFILE_ID, user); in onAddToDatabase()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/provider/ |
D | RestoreDbTaskTest.java | 314 values.put(LauncherSettings.Favorites.PROFILE_ID, profileId); in addIconsBulk()
|