/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/ |
D | ProfileSelectDialogTest.java | 60 NORMAL_USER.getIdentifier(), "test_user", UserInfo.FLAG_RESTRICTED); in setUp() 61 when(mUserManager.getUserInfo(NORMAL_USER.getIdentifier())).thenReturn(userInfo); in setUp() 75 assertThat(tile.userHandle.get(0).getIdentifier()).isEqualTo(NORMAL_USER.getIdentifier()); in updateUserHandlesIfNeeded_Normal() 76 verify(mUserManager, never()).getUserInfo(NORMAL_USER.getIdentifier()); in updateUserHandlesIfNeeded_Normal() 89 assertThat(tile.userHandle.get(0).getIdentifier()).isEqualTo(NORMAL_USER.getIdentifier()); in updateUserHandlesIfNeeded_Remove() 90 verify(mUserManager, times(1)).getUserInfo(NORMAL_USER.getIdentifier()); in updateUserHandlesIfNeeded_Remove() 91 verify(mUserManager, times(2)).getUserInfo(REMOVED_USER.getIdentifier()); in updateUserHandlesIfNeeded_Remove()
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/ |
D | OverlayThemeExtractor.java | 173 system.getIdentifier(ResourceConstants.CONFIG_ICON_MASK, in addSystemDefaultShape() 178 system.getIdentifier(ResourceConstants.CONFIG_CORNERRADIUS, in addSystemDefaultShape() 185 system.getIdentifier(ResourceConstants.ACCENT_COLOR_LIGHT_NAME, "color", in addSystemDefaultColor() 190 system.getIdentifier(ResourceConstants.ACCENT_COLOR_DARK_NAME, "color", in addSystemDefaultColor() 197 String headlineFontFamily = system.getString(system.getIdentifier( in addSystemDefaultFont() 200 String bodyFontFamily = system.getString(system.getIdentifier( in addSystemDefaultFont() 215 String fontFamily = overlayRes.getString(overlayRes.getIdentifier(configName, in loadTypeface() 225 return overlayRes.getColor(overlayRes.getIdentifier(colorName, "color", colorPackage), in loadColor() 235 return overlayRes.getString(overlayRes.getIdentifier(stringName, "string", packageName)); in loadString() 245 return overlayRes.getDimensionPixelOffset(overlayRes.getIdentifier( in loadDimen() [all …]
|
D | DefaultThemeProvider.java | 140 mStubApkResources.getIdentifier(TITLE_PREFIX + themeName, in loadAll() 190 int wallpaperResId = mStubApkResources.getIdentifier(wallpaperResName, in addWallpaper() 194 int wallpaperThumbnailResId = mStubApkResources.getIdentifier(wallpaperThumbnailResName, in addWallpaper() 199 mStubApkResources.getIdentifier(WALLPAPER_TITLE_PREFIX + themeName, in addWallpaper() 201 mStubApkResources.getIdentifier( in addWallpaper() 204 mStubApkResources.getIdentifier(WALLPAPER_ACTION_PREFIX + themeName, in addWallpaper() 211 wallpaperResId = mStubApkResources.getIdentifier(wallpaperResName, in addWallpaper() 216 int wallpaperOptionsResId = mStubApkResources.getIdentifier( in addWallpaper() 259 int titleId = mStubApkResources.getIdentifier(TITLE_PREFIX + DEFAULT_THEME_NAME, in addDefaultTheme() 482 int drawableResId = mStubApkResources.getIdentifier(prefix + themeName, in getDrawableResourceAsset()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Partner.java | 88 int defaultLayout = getResources().getIdentifier(Partner.RES_DEFAULT_LAYOUT, in hasDefaultLayout() 94 int folder = getResources().getIdentifier(Partner.RES_FOLDER, in hasFolder() 100 int resId = getResources().getIdentifier(RES_DEFAULT_WALLPAPER_HIDDEN, "bool", in hideDefaultWallpaper() 106 int resId = getResources().getIdentifier(RES_SYSTEM_WALLPAPER_DIR, "string", in getWallpaperDirectory() 112 int resId = getResources().getIdentifier(RES_REQUIRE_FIRST_RUN_FLOW, "bool", in requiresFirstRunFlow() 123 int resId = getResources().getIdentifier(RES_GRID_NUM_ROWS, in applyInvariantDeviceProfileOverrides() 129 resId = getResources().getIdentifier(RES_GRID_NUM_COLUMNS, in applyInvariantDeviceProfileOverrides() 135 resId = getResources().getIdentifier(RES_GRID_ICON_SIZE_DP, in applyInvariantDeviceProfileOverrides()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountSyncSettings.java | 137 UserInfo user = um.getUserInfo(mUserHandle.getIdentifier()); in setAccessibilityTitle() 174 authority, 0, mUserHandle.getIdentifier()); in addSyncStateSwitch() 209 mUserHandle.getIdentifier()).isEmpty(); in onPrepareOptionsMenu() 257 final int userId = mUserHandle.getIdentifier(); in onPreferenceTreeClick() 305 packageName, mUserHandle.getIdentifier()); in requestAccountAccessIfNeeded() 369 ContentResolver.requestSyncAsUser(account, authority, mUserHandle.getIdentifier(), in requestOrCancelSync() 372 ContentResolver.cancelSyncAsUser(account, authority, mUserHandle.getIdentifier()); in requestOrCancelSync() 398 final int userId = mUserHandle.getIdentifier(); in setFeedsState() 496 mUserHandle.getIdentifier()); in updateAccountSwitches() 525 mUserHandle.getIdentifier()); in updateAccountSwitches() [all …]
|
D | ContactSearchPreferenceController.java | 57 mContext, mManagedUser.getIdentifier()); in updateState() 68 MANAGED_PROFILE_CONTACT_REMOTE_SEARCH, 0, mManagedUser.getIdentifier()); in isChecked() 75 MANAGED_PROFILE_CONTACT_REMOTE_SEARCH, value, mManagedUser.getIdentifier()); in setChecked()
|
D | CrossProfileCalendarPreferenceController.java | 47 mContext, mManagedUser.getIdentifier())) { in getAvailabilityStatus() 61 mManagedUser.getIdentifier()) == 1; in isChecked() 71 CROSS_PROFILE_CALENDAR_ENABLED, value, mManagedUser.getIdentifier()); in setChecked()
|
D | ChooseAccountPreferenceController.java | 127 mUserHandle.getIdentifier()); in updateAuthDescriptions() 172 context, mProviderList.get(0).getType(), mUserHandle.getIdentifier()); in onAuthDescriptionsUpdated() 188 p.checkAccountManagementAndSetDisabled(mUserHandle.getIdentifier()); in onAuthDescriptionsUpdated() 209 mUserHandle.getIdentifier()); in getAuthoritiesForAccountType()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/ |
D | AccountSyncSettings.java | 137 UserInfo user = um.getUserInfo(mUserHandle.getIdentifier()); in setAccessibilityTitle() 174 authority, 0, mUserHandle.getIdentifier()); in addSyncStateSwitch() 209 mUserHandle.getIdentifier()).isEmpty(); in onPrepareOptionsMenu() 257 final int userId = mUserHandle.getIdentifier(); in onPreferenceTreeClick() 305 packageName, mUserHandle.getIdentifier()); in requestAccountAccessIfNeeded() 369 ContentResolver.requestSyncAsUser(account, authority, mUserHandle.getIdentifier(), in requestOrCancelSync() 372 ContentResolver.cancelSyncAsUser(account, authority, mUserHandle.getIdentifier()); in requestOrCancelSync() 398 final int userId = mUserHandle.getIdentifier(); in setFeedsState() 496 mUserHandle.getIdentifier()); in updateAccountSwitches() 525 mUserHandle.getIdentifier()); in updateAccountSwitches() [all …]
|
D | ContactSearchPreferenceController.java | 57 mContext, mManagedUser.getIdentifier()); in updateState() 68 MANAGED_PROFILE_CONTACT_REMOTE_SEARCH, 0, mManagedUser.getIdentifier()); in isChecked() 75 MANAGED_PROFILE_CONTACT_REMOTE_SEARCH, value, mManagedUser.getIdentifier()); in setChecked()
|
D | ChooseAccountPreferenceController.java | 127 mUserHandle.getIdentifier()); in updateAuthDescriptions() 172 context, mProviderList.get(0).getType(), mUserHandle.getIdentifier()); in onAuthDescriptionsUpdated() 188 p.checkAccountManagementAndSetDisabled(mUserHandle.getIdentifier()); in onAuthDescriptionsUpdated() 209 mUserHandle.getIdentifier()); in getAuthoritiesForAccountType()
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/ |
D | ColorOptionsProvider.java | 100 overlayRes.getIdentifier(ACCENT_COLOR_LIGHT_NAME, "color", overlayPackage), in loadOptions() 103 overlayRes.getIdentifier(ACCENT_COLOR_DARK_NAME, "color", overlayPackage), in loadOptions() 124 r.getIdentifier(ACCENT_COLOR_LIGHT_NAME, "color", mDefaultThemePackage), in addDefault() 127 r.getIdentifier(ACCENT_COLOR_DARK_NAME, "color", mDefaultThemePackage), in addDefault() 133 system.getIdentifier(ACCENT_COLOR_LIGHT_NAME, "color", ANDROID_PACKAGE), null); in addDefault() 136 system.getIdentifier(ACCENT_COLOR_DARK_NAME, "color", ANDROID_PACKAGE), null); in addDefault() 150 overlayRes.getIdentifier(drawableName, "drawable", packageName), null); in loadIconPreviewDrawable()
|
D | FontOptionsProvider.java | 72 Typeface headlineFont = Typeface.create(system.getString(system.getIdentifier( in addDefault() 75 Typeface bodyFont = Typeface.create(system.getString(system.getIdentifier( in addDefault() 84 return overlayRes.getString(overlayRes.getIdentifier(configName, "string", overlayPackage)); in getFontFamily()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | CrossProfileCalendarPreferenceControllerTest.java | 81 when(mManagedUser.getIdentifier()).thenReturn(MANAGED_USER_ID); in setUp() 121 CROSS_PROFILE_CALENDAR_ENABLED, 0, mManagedUser.getIdentifier()); in updateStateToDisabled_isNotChecked() 131 CROSS_PROFILE_CALENDAR_ENABLED, 0, mManagedUser.getIdentifier()); in updateStateToEnabled_isChecked() 134 CROSS_PROFILE_CALENDAR_ENABLED, 1, mManagedUser.getIdentifier()); in updateStateToEnabled_isChecked() 144 CROSS_PROFILE_CALENDAR_ENABLED, 1, mManagedUser.getIdentifier())) in onPreferenceChangeToFalse_shouldUpdateProviderValue() 155 CROSS_PROFILE_CALENDAR_ENABLED, 0, mManagedUser.getIdentifier())) in onPreferenceChangeToTrue_shouldUpdateProviderValue()
|
D | ContactSearchPreferenceControllerTest.java | 78 MANAGED_PROFILE_CONTACT_REMOTE_SEARCH, 0, mManagedUser.getIdentifier()); in updateState_shouldRefreshContent() 83 MANAGED_PROFILE_CONTACT_REMOTE_SEARCH, 1, mManagedUser.getIdentifier()); in updateState_shouldRefreshContent() 98 MANAGED_PROFILE_CONTACT_REMOTE_SEARCH, 1, mManagedUser.getIdentifier())) in onPreferenceChange_shouldUpdateProviderValue() 103 MANAGED_PROFILE_CONTACT_REMOTE_SEARCH, 0, mManagedUser.getIdentifier())) in onPreferenceChange_shouldUpdateProviderValue()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountSyncFragment.java | 157 final int userId = mUserHandle.getIdentifier(); in onPreferenceTreeClick() 178 mUserHandle.getIdentifier()).isEmpty(); in onPreferenceTreeClick() 232 ContentResolver.requestSyncAsUser(account, authority, mUserHandle.getIdentifier(), in requestOrCancelSync() 235 ContentResolver.cancelSyncAsUser(account, authority, mUserHandle.getIdentifier()); in requestOrCancelSync() 279 final int userId = mUserHandle.getIdentifier(); in onSyncStateUpdated() 347 mUserHandle.getIdentifier()); in updateAccountSwitches() 374 mUserHandle.getIdentifier()); in updateAccountSwitches() 397 authority, 0, mUserHandle.getIdentifier()); in createSyncStateSwitch()
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
D | MissedCallNotifierImpl.java | 186 .maybeAddUserId(Calls.CONTENT_URI, userHandle.getIdentifier()); in markMissedCallsAsRead() 209 userHandle.getIdentifier()); in getShowMissedCallIntentForDefaultDialer() 224 .queryBroadcastReceiversAsUser(intent, 0, userHandle.getIdentifier()); in shouldManageNotificationThroughDefaultDialer() 275 Log.i(this, "showMissedCallNotification: userHandle=%d", userHandle.getIdentifier()); in showMissedCallNotification() 543 Log.i(this, "reloadAfterBootComplete: user=%d", handle.getIdentifier()); in reloadAfterBootComplete() 557 Log.d(this, "reloadFromDatabase: user=%d", userHandle.getIdentifier()); in reloadFromDatabase() 561 userHandle.getIdentifier()); in reloadFromDatabase() 638 ContentProvider.maybeAddUserId(Calls.CONTENT_URI, userHandle.getIdentifier()); in reloadFromDatabase()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | PartnerWallpaperInfo.java | 82 final int resId = partnerRes.getIdentifier(PartnerProvider.WALLPAPER_RES_ID, "array", in getAll() 92 int wpResId = partnerRes.getIdentifier(extra, "drawable", packageName); in getAll() 94 … final int thumbRes = partnerRes.getIdentifier(extra + "_small", "drawable", packageName); in getAll() 97 final int fullRes = partnerRes.getIdentifier(extra, "drawable", packageName); in getAll()
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | AccountSyncHelper.java | 62 userHandle.getIdentifier()); in getSyncableSyncAdaptersForAccount() 73 userHandle.getIdentifier()) > 0; in getSyncableSyncAdaptersForAccount() 109 authority, /* flags= */ 0, userHandle.getIdentifier()); in getTitle() 163 userHandle.getIdentifier()); in isVisible()
|
D | AccountSyncDetailsFragment.java | 131 userHandle.getIdentifier()).isEmpty(); in updateSyncButton() 149 int userId = userHandle.getIdentifier(); in requestSyncForEnabledProviders() 161 int userId = userHandle.getIdentifier(); in cancelSyncForEnabledProviders()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/defaultapps/ |
D | DefaultWorkAutofillPreferenceController.java | 56 mUserHandle.getIdentifier()); in getDefaultAppInfo() 61 mUserHandle.getIdentifier(), in getDefaultAppInfo() 75 mContext, mUserHandle.getIdentifier(), info.getKey()); in getSettingIntent()
|
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/ |
D | DefaultWorkAutofillPreferenceController.java | 56 mUserHandle.getIdentifier()); in getDefaultAppInfo() 61 mUserHandle.getIdentifier(), in getDefaultAppInfo() 75 mContext, mUserHandle.getIdentifier(), info.getKey()); in getSettingIntent()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SubtypeLocaleUtils.java | 110 final int resId = res.getIdentifier(resourceName, null, RESOURCE_PACKAGE_NAME); in initLocked() 114 final int noLanguageResId = res.getIdentifier( in initLocked() 125 final int resId = res.getIdentifier(resourceName, null, RESOURCE_PACKAGE_NAME); in initLocked() 134 final int resId = res.getIdentifier(resourceName, null, RESOURCE_PACKAGE_NAME); in initLocked() 138 final int resIdWithLayout = res.getIdentifier( in initLocked()
|
/packages/apps/ThemePicker/src/com/android/customization/model/ |
D | ResourcesApkProvider.java | 42 … int themesListResId = mStubApkResources.getIdentifier(arrayName, "array", mStubPackageName); in getItemsFromStub() 47 int resourceId = mStubApkResources.getIdentifier(String.format("%s%s", prefix, itemName), in getItemStringFromStub() 53 int resourceId = mStubApkResources.getIdentifier(String.format("%s%s", prefix, itemName), in getItemDrawableFromStub()
|
/packages/apps/Settings/src/com/android/settings/ |
D | RegulatoryInfoDisplayActivity.java | 125 int resId = getResources().getIdentifier( in getResourceId() 132 int id = getResources().getIdentifier( in getResourceId() 144 final int id = getResources().getIdentifier( in getResourceId()
|