Home
last modified time | relevance | path

Searched defs:resources (Results 1 – 25 of 428) sorted by relevance

12345678910>>...18

/packages/modules/Permission/SafetyCenter/Config/java/com/android/safetycenter/config/
DSafetyCenterConfigParser.java107 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/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAndroidManifestConfigParserTest.java48 Resources resources = in testGetAdServicesConfigResourceId_valid() local
61 Resources resources = in testGetAdServicesConfigResourceId_attrOrderChange_valid() local
75 Resources resources = in testGetAdServicesConfigResourceId_withPropertyNameRef_valid() local
88 Resources resources = in testGetAdServicesConfigResourceId_missingProperty() local
101 Resources resources = in testGetAdServicesConfigResourceId_missingPropertyInsideApplication() local
114 Resources resources = in testGetAdServicesConfigResourceId_missingPropertyDueToNoNameAttr() local
126 Resources resources = in testGetAdServicesConfigResourceId_missingPropertyDueToIncorrectName() local
139 Resources resources = in testGetAdServicesConfigResourceId_missingPropertyDueToIncorrectDepth() local
151 Resources resources = in testGetAdServicesConfigResourceId_invalidPropertyDueToMissingResourceAttr() local
166 Resources resources = in testGetAdServicesConfigResourceId_onSPlus_throwsException() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DResourcesUtil.java28 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/
DResourcesUtil.java28 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/
DNearbyShareModuleTest.kt53 val resources = in valueIsAbsent_whenUnset() constant
63 val resources = in defaultValue_readFromResources() constant
82 val resources = in secureSettings_overridesDefault() constant
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAndroidManifestConfigParser.java66 @NonNull XmlResourceParser parser, @NonNull Resources resources) in getAdServicesConfigResourceId()
106 @NonNull XmlResourceParser parser, @NonNull Resources resources) { in getResourceIdIfAdServicesProperty()
149 @Nullable String name, @NonNull Resources resources) { in isAdServicesPropertyName()
168 private static String resolvePropertyName(@NonNull String name, @NonNull Resources resources) { in resolvePropertyName()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DContactDataHandler.java58 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/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DCellularFallbackPreferenceControllerTest.java61 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/TV/tests/common/src/com/android/tv/testing/uihelper/
DByResource.java30 public static BySelector id(Resources resources, int resId) { in id()
40 public static BySelector text(Resources resources, int stringRes) { in text()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowUserIconProvider.java39 protected RoundedBitmapDrawable getRoundedGuestDefaultIcon(Resources resources) { in getRoundedGuestDefaultIcon()
45 UserManager userManager, Resources resources, UserInfo userInfo) { in assignDefaultIcon()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DTopLevelIconShapeDrawable.java42 public TopLevelIconShapeDrawable(Resources resources) { in TopLevelIconShapeDrawable()
54 private void init(Resources resources) { in init()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/preview/
DPreviewFeatureTest.kt392 val resources = getTestableContext().getResources() in testPreviewMediaToggleSelection() constant
476 val resources = getTestableContext().getResources() in testPreviewSelectionActions() constant
563 val resources = getTestableContext().getResources() in testPreviewEmitsMediaSelectionConfirmedEvent() constant
701 val resources = getTestableContext().getResources() in testVideoUiShowsAndHidesPlayerControls() constant
782 val resources = getTestableContext().getResources() in testVideoUiPlayPauseButtonOnClick() constant
852 val resources = getTestableContext().getResources() in testVideoUiMuteButtonOnClick() constant
922 val resources = getTestableContext().getResources() in testVideoUiRetriablePlaybackError() constant
994 val resources = getTestableContext().getResources() in testVideoUiPermanentPlaybackError() constant
/packages/modules/IntentResolver/java/src/com/android/intentresolver/inject/
DSingletonModule.kt37 fun resources(@ApplicationContext context: Context) = context.resources method
/packages/apps/TvSystemUI/src/com/android/systemui/tv/sensorprivacy/
DTvSensorPrivacyChangedActivity.java124 final Resources resources = getResources(); in updateUI() local
193 final Resources resources = getResources(); in setIconTint() local
210 final Resources resources = getResources(); in setIconSize() local
DTvUnblockSensorActivity.java178 final Resources resources = getResources(); in updateUiForHardwareToggle() local
294 final Resources resources = getResources(); in setIconTint() local
313 final Resources resources = getResources(); in setIconSize() local
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java380 private static List<Integer> getConfiguredChannelList(Resources resources, @BandType int band) { in getConfiguredChannelList()
400 @WifiScanner.WifiBand int scannerBand, WifiNative wifiNative, Resources resources, in addDfsChannelsIfNeeded()
420 @WifiScanner.WifiBand int scannerBand, WifiNative wifiNative, Resources resources, in getWifiCondAvailableChannelsForBand()
434 @WifiScanner.WifiBand int scannerBand, WifiNative wifiNative, Resources resources, in getHalAvailableChannelsForBand()
468 @BandType int band, WifiNative wifiNative, Resources resources, in getAvailableChannelFreqsForBand()
530 @NonNull Resources resources, SoftApCapability capability) { in chooseApChannel()
750 public static boolean canHALConvertRestrictedSecurityTypeFor6GHz(@NonNull Resources resources, in canHALConvertRestrictedSecurityTypeFor6GHz()
767 public static SoftApConfiguration remove6gBandForUnsupportedSecurity( in remove6gBandForUnsupportedSecurity()
879 Resources resources, in updateApChannelConfig()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DMediaView.java113 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/wifi/dpp/
DWifiDppQrCodeGeneratorFragmentTest.java130 Resources resources = mock(Resources.class); in createNearbyButtonFromSetting_notNull() local
153 Resources resources = mock(Resources.class); in createNearbyButtonFromConfig_notNull() local
/packages/services/Car/libs/car-helper-lib/src/com/android/car/internal/user/
DCarUserIconProvider.java63 Resources resources = context.getResources(); in getDefaultUserIcon() local
98 static Bitmap getGuestDefaultUserIcon(Resources resources) { in getGuestDefaultUserIcon()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/photogrid/
DPhotoGridFeatureTest.kt204 val resources = getTestableContext().getResources() in testPhotosCanBeSelected() constant
244 val resources = getTestableContext().getResources() in testPhotosAreDisplayed() constant
270 val resources = getTestableContext().getResources() in testSwipeLeftToNavigateToAlbumGrid() constant
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/
DModuleLicensesListPreferenceControllerTest.java63 Resources resources = mock(Resources.class); in getAvailabilityStatus_validLicenses_returnsAvailable() local
104 Resources resources = mock(Resources.class); in getAvailabilityStatus_noLicenses_returnsConditionallyUnavailable() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollIntroductionTest.java177 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
/packages/apps/Calendar/tests/src/com/android/calendar/
DDbTestUtils.java51 private Resources resources; field in DbTestUtils.FakeContext
54 FakeContext(ContentResolver contentResolver, Resources resources) { in FakeContext()
177 public DbTestUtils(Resources resources) { in DbTestUtils()
/packages/apps/Messaging/src/com/android/messaging/widget/
DWidgetConversationListService.java108 final Resources resources = mContext.getResources(); in getViewAt() local
219 Resources resources = mContext.getResources(); in getSnippetText() local
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/
DFileContentPreviewUi.java76 Resources resources, in display()
84 Resources resources, in displayInternal()

12345678910>>...18