/packages/modules/Permission/SafetyCenter/Config/java/com/android/safetycenter/config/ |
D | SafetyCenterConfigParser.java | 107 public static SafetyCenterConfig parseXmlResource(InputStream in, Resources resources) in parseXmlResource() 134 XmlPullParser parser, Resources resources) in parseSafetyCenterConfig() 158 XmlPullParser parser, Resources resources) in parseSafetySourcesGroup() 170 resources)); in parseSafetySourcesGroup() local 178 resources)); in parseSafetySourcesGroup() local 186 resources)); in parseSafetySourcesGroup() local 194 resources)); in parseSafetySourcesGroup() local 203 resources)); in parseSafetySourcesGroup() local 241 XmlPullParser parser, Resources resources, int safetySourceType, String name) in parseSafetySource() 252 resources)); in parseSafetySource() local [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | ResourcesUtil.java | 28 Resources resources = context.getPackageManager() in getString() local 42 Resources resources = context.getPackageManager() in getBoolean() local 58 Resources resources = context.getPackageManager() in getQuantityString() local 72 Resources resources = context.getPackageManager() in getString() local 87 Resources resources = context.getPackageManager() in getDrawable() local 101 Resources resources = context.getPackageManager() in getStringArray() local 115 Resources resources = context.getPackageManager() in getIntArray() local
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/ |
D | ResourcesUtil.java | 28 Resources resources = context.getPackageManager() in getString() local 42 Resources resources = context.getPackageManager() in getBoolean() local 58 Resources resources = context.getPackageManager() in getQuantityString() local 72 Resources resources = context.getPackageManager() in getString() local 87 Resources resources = context.getPackageManager() in getDrawable() local 101 Resources resources = context.getPackageManager() in getStringArray() local 115 Resources resources = context.getPackageManager() in getIntArray() local
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/platform/ |
D | NearbyShareModuleTest.kt | 53 val resources = in valueIsAbsent_whenUnset() constant 63 val resources = in defaultValue_readFromResources() constant 82 val resources = in secureSettings_overridesDefault() constant
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/search/ |
D | SearchFeatureTest.kt | 321 val resources = getTestableContext().getResources() in testSearchBar_whenFlagEnabled_isDisplayed() constant 349 val resources = getTestableContext().getResources() in testSearchBar_whenClicked_opensSearchViewWithBackAction() constant 395 val resources = getTestableContext().getResources() in testSearchBar_onBackAction_clearsQuery() constant 443 val resources = getTestableContext().getResources() in testSearchBar_mimetypeOnlyVideo_showsVideoPlaceHolderText() constant 477 val resources = getTestableContext().getResources() in testSearchBar_mimetypeOnlyImage_showsPhotosPlaceHolderText() constant 510 val resources = getTestableContext().getResources() in testSearchBar_mimetypeImageAndVideo_showsPhotosPlaceHolderText() constant 543 val resources = getTestableContext().getResources() in testSearchBar_mimeTypeAll_showsPhotosPlaceHolderText() constant
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/ |
D | ContactDataHandler.java | 58 public ContactDataHandler(Resources resources) { in ContactDataHandler() 179 public ContactPointDataHandler( in ContactPointDataHandler() 232 protected abstract String getTypeLabel(Resources resources, int type, String label); in getTypeLabel() 250 public EmailDataHandler(@NonNull Resources resources) { in EmailDataHandler() 279 protected String getTypeLabel( in getTypeLabel() 293 public PhoneHandler(@NonNull Resources resources) { in PhoneHandler() 345 protected String getTypeLabel( in getTypeLabel() 357 public StructuredPostalHandler(@NonNull Resources resources) { in StructuredPostalHandler() 387 protected String getTypeLabel( in getTypeLabel() 492 public RelationDataHandler(@NonNull Resources resources) { in RelationDataHandler()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/embedded/ |
D | EmbeddedFeaturesTest.kt | 283 val resources = getTestableContext().getResources() in testNavigationBarIsNotDisplayedInEmbeddedWhenCollapsed_searchFlagOff() constant 313 val resources = getTestableContext().getResources() in testNavigationBarIsDisplayedInEmbeddedWhenExpanded_searchFlagOff() constant 346 val resources = getTestableContext().getResources() in testNavigationBarIsDisplayedInEmbeddedWhenExpanded_searchFlagOn() constant 629 val resources = getTestableContext().getResources() in <lambda>() constant 657 val resources = getTestableContext().getResources() in <lambda>() constant 692 val resources = getTestableContext().getResources() in testSwipeUpInCollapseMode_emptyPhotosGrid_transferTouchToHost() constant 737 val resources = getTestableContext().getResources() in testSwipeUpInExpandedMode_emptyPhotosGrid_transferTouchToHost() constant 782 val resources = getTestableContext().getResources() in testSwipeDownInExpandedMode_emptyPhotosGrid_transferTouchToHost() constant 827 val resources = getTestableContext().getResources() in testSwipeRightInExpandedMode_emptyPhotosGrid_notTransferTouchToHost() constant 943 val resources = getTestableContext().getResources() in testCloudChooseProviderBannerIsNotVisibleInEmbedded() constant [all …]
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/preview/ |
D | PreviewFeatureTest.kt | 379 val resources = getTestableContext().getResources() in testNavigateBack() constant 499 val resources = getTestableContext().getResources() in testPreviewSelectionActions() constant 601 val resources = getTestableContext().getResources() in testPreviewSelectionActionsWithGrantsAwareSelection() constant 674 val resources = getTestableContext().getResources() in testPreviewSelectInSingleSelect() constant 733 val resources = getTestableContext().getResources() in testPreviewDoneNavigatesBack() constant 884 val resources = getTestableContext().getResources() in testVideoUiShowsAndHidesPlayerControls() constant 970 val resources = getTestableContext().getResources() in testVideoUiPlayPauseButtonOnClick() constant 1045 val resources = getTestableContext().getResources() in testVideoUiMuteButtonOnClick() constant 1120 val resources = getTestableContext().getResources() in testVideoUiRetriablePlaybackError() constant 1197 val resources = getTestableContext().getResources() in testVideoUiPermanentPlaybackError() constant
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | CellularFallbackPreferenceControllerTest.java | 61 final Resources resources = mock(Resources.class); in isAvailable_avoidBadWifiConfigIsFalse_shouldReturnTrue() local 75 final Resources resources = mock(Resources.class); in isAvailable_avoidBadWifiConfigIsTrue_shouldReturnFalse() local
|
/packages/apps/Car/Settings/tests/helpers/src/com/android/car/settings/testutils/ |
D | ShadowUserIconProvider.java | 39 protected RoundedBitmapDrawable getRoundedGuestDefaultIcon(Resources resources) { in getRoundedGuestDefaultIcon() 45 UserManager userManager, Resources resources, UserInfo userInfo) { in assignDefaultIcon()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/ |
D | ByResource.java | 30 public static BySelector id(Resources resources, int resId) { in id() 40 public static BySelector text(Resources resources, int stringRes) { in text()
|
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/aidl/ |
D | MedicalResourceListParcelTest.java | 51 List<MedicalResource> resources = in testMedicalResourceListParcel_successfulCreateAndGet() local 70 List<MedicalResource> resources = in testMedicalResourceListParcelWriteToParcelThenRestore_propertiesAreIdentical() local
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | TopLevelIconShapeDrawable.java | 42 public TopLevelIconShapeDrawable(Resources resources) { in TopLevelIconShapeDrawable() 54 private void init(Resources resources) { in init()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/cloudmedia/ |
D | CloudMediaFeatureTest.kt | 421 val resources = getTestableContext().getResources() in testCloudMediaAvailableBanner() constant 489 val resources = getTestableContext().getResources() in testCloudMediaAvailableBannerAsDismissed() constant 545 val resources = getTestableContext().getResources() in testCloudChooseAccountBanner() constant 613 val resources = getTestableContext().getResources() in testCloudChooseAccountBannerAsDismissed() constant 660 val resources = getTestableContext().getResources() in testCloudChooseProviderBanner() constant 717 val resources = getTestableContext().getResources() in testCloudChooseProviderBannerAsDismissed() constant
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/categorygrid/ |
D | CategoryGridFeatureTest.kt | 516 val resources = getTestableContext().getResources() in testAlbumMediaShowsEmptyStateWhenEmpty() constant 598 val resources = getTestableContext().getResources() in testEmptyStateContentForFavorites() constant 682 val resources = getTestableContext().getResources() in testEmptyStateContentForVideos() constant 760 val resources = getTestableContext().getResources() in testEmptyStateContentForCamera() constant 899 val resources = getTestableContext().getResources() in testEmptyStateContentForMediaSet() constant 986 val resources = getTestableContext().getResources() in testEmptyStateContentForPeoplePetsCategory() constant 1065 val resources = getTestableContext().getResources() in testEmptyStateContentForOtherCategory() constant
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/inject/ |
D | SingletonModule.kt | 37 fun resources(@ApplicationContext context: Context) = context.resources method
|
/packages/apps/TvSystemUI/src/com/android/systemui/tv/sensorprivacy/ |
D | TvSensorPrivacyChangedActivity.java | 124 final Resources resources = getResources(); in updateUI() local 193 final Resources resources = getResources(); in setIconTint() local 210 final Resources resources = getResources(); in setIconSize() local
|
D | TvUnblockSensorActivity.java | 178 final Resources resources = getResources(); in updateUiForHardwareToggle() local 295 final Resources resources = getResources(); in setIconTint() local 314 final Resources resources = getResources(); in setIconSize() local
|
/packages/modules/Nfc/NfcNci/tests/testcases/src/android/nfc/test/ |
D | NfcFeatureFlagTest.java | 82 Resources resources = mContext.getPackageManager().getResourcesForApplication( in getNfcResourceBooleanByName() local 93 Resources resources = mContext.getPackageManager().getResourcesForApplication( in getNfcResourceStringArrayByName() local
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | MediaView.java | 113 Resources resources, in showVideoData() 134 Resources resources, in showExifData() 194 Resources resources, in showCoordiantes() 286 private static void addDimensionsRow(TableDisplay table, Resources resources, Bundle tags) { in addDimensionsRow()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/ |
D | ModuleLicensesListPreferenceControllerTest.java | 63 Resources resources = mock(Resources.class); in getAvailabilityStatus_validLicenses_returnsAvailable() local 104 Resources resources = mock(Resources.class); in getAvailabilityStatus_noLicenses_returnsConditionallyUnavailable() local
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/ |
D | HealthConnectResourcesContext.java | 89 Resources resources = getResources(); in initialisePackageNames() local 205 Resources resources = getResources(); in getStringRes() local 240 Resources resources = getResources(); in getIconByDrawableName() local
|
/packages/services/Car/libs/car-helper-lib/src/com/android/car/internal/user/ |
D | CarUserIconProvider.java | 67 Resources resources = context.getResources(); in getDefaultUserIcon() local 108 static Bitmap getGuestDefaultUserIcon(Resources resources) { in getGuestDefaultUserIcon()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/ |
D | WifiDppQrCodeGeneratorFragmentTest.java | 138 Resources resources = mock(Resources.class); in createNearbyButtonFromSetting_notNull() local 161 Resources resources = mock(Resources.class); in createNearbyButtonFromConfig_notNull() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintEnrollIntroductionTest.java | 177 Resources resources = mock(Resources.class); in intro_CheckCanEnrollDuringSUW() local 192 Resources resources = mock(Resources.class); in intro_CheckMaxEnrolledDuringSUW() local 312 Resources resources = mock(Resources.class); in intro_CheckNoThanksButtonWhenCanEnroll() local 337 Resources resources = mock(Resources.class); in intro_CheckNoThanksButtonWhenMaxEnroll() local
|