/frameworks/base/test-mock/src/android/test/mock/ |
D | MockResources.java | 56 public CharSequence getText(int id) throws NotFoundException { in getText() 61 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { in getQuantityText() 66 public String getString(int id) throws NotFoundException { in getString() 71 public String getString(int id, Object... formatArgs) throws NotFoundException { in getString() 77 throws NotFoundException { in getQuantityString() 82 public String getQuantityString(int id, int quantity) throws NotFoundException { in getQuantityString() 92 public CharSequence[] getTextArray(int id) throws NotFoundException { in getTextArray() 97 public String[] getStringArray(int id) throws NotFoundException { in getStringArray() 102 public int[] getIntArray(int id) throws NotFoundException { in getIntArray() 107 public TypedArray obtainTypedArray(int id) throws NotFoundException { in obtainTypedArray() [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | Resources.java | 257 public static class NotFoundException extends RuntimeException { class in Resources 258 public NotFoundException() { in NotFoundException() method in Resources.NotFoundException 261 public NotFoundException(String name) { in NotFoundException() method in Resources.NotFoundException 265 public NotFoundException(String name, Exception cause) { in NotFoundException() method in Resources.NotFoundException 460 @NonNull public CharSequence getText(@StringRes int id) throws NotFoundException { in getText() 465 throw new NotFoundException("String resource ID #0x" in getText() 481 @NonNull public Typeface getFont(@FontRes int id) throws NotFoundException { in getFont() 493 throw new NotFoundException("Font resource ID #0x" in getFont() 498 Typeface getFont(@NonNull TypedValue value, @FontRes int id) throws NotFoundException { in getFont() 539 throws NotFoundException { in getQuantityText() [all …]
|
D | ResourcesImpl.java | 37 import android.content.res.Resources.NotFoundException; 261 throws NotFoundException { in getValue() 266 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id)); in getValue() 270 boolean resolveRefs) throws NotFoundException { in getValueForDensity() 275 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id)); in getValueForDensity() 279 throws NotFoundException { in getValue() 285 throw new NotFoundException("String resource name " + name); in getValue() 314 String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName() 317 throw new NotFoundException("Unable to find resource ID #0x" in getResourceName() 322 String getResourcePackageName(@AnyRes int resid) throws NotFoundException { in getResourcePackageName() [all …]
|
D | CompatResources.java | 45 public Drawable getDrawable(@DrawableRes int id) throws NotFoundException { in getDrawable() 51 throws NotFoundException { in getDrawableForDensity() 56 public int getColor(@ColorRes int id) throws NotFoundException { in getColor() 61 public ColorStateList getColorStateList(@ColorRes int id) throws NotFoundException { in getColorStateList()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 48 import android.content.res.Resources.NotFoundException; 217 static int getColor(Resources resources, int id, Theme theme) throws NotFoundException { in getColor() 241 static ColorStateList getColorStateList(Resources resources, int id) throws NotFoundException { in getColorStateList() 247 throws NotFoundException { in getColorStateList() 285 static CharSequence getText(Resources resources, int id) throws NotFoundException { in getText() 308 static CharSequence[] getTextArray(Resources resources, int id) throws NotFoundException { in getTextArray() 323 static String[] getStringArray(Resources resources, int id) throws NotFoundException { in getStringArray() 353 static int[] getIntArray(Resources resources, int id) throws NotFoundException { in getIntArray() 425 throws NotFoundException { in getArrayResourceValue() 478 static XmlResourceParser getLayout(Resources resources, int id) throws NotFoundException { in getLayout() [all …]
|
D | Resources_Theme_Delegate.java | 28 import android.content.res.Resources.NotFoundException; 70 throws NotFoundException { in obtainStyledAttributes()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperInfo.java | 30 import android.content.res.Resources.NotFoundException; 251 public CharSequence loadAuthor(PackageManager pm) throws NotFoundException { in loadAuthor() 252 if (mAuthorResource <= 0) throw new NotFoundException(); in loadAuthor() 265 public CharSequence loadDescription(PackageManager pm) throws NotFoundException { in loadDescription() 277 if (mDescriptionResource <= 0) throw new NotFoundException(); in loadDescription() 288 public Uri loadContextUri(PackageManager pm) throws NotFoundException { in loadContextUri() 289 if (mContextUriResource <= 0) throw new NotFoundException(); in loadContextUri() 310 public CharSequence loadContextDescription(PackageManager pm) throws NotFoundException { in loadContextDescription() 311 if (mContextDescriptionResource <= 0) throw new NotFoundException(); in loadContextDescription()
|
/frameworks/base/core/java/android/view/animation/ |
D | AnimationUtils.java | 29 import android.content.res.Resources.NotFoundException; 217 throws NotFoundException { in loadAnimation() 224 throw new NotFoundException( in loadAnimation() 294 throws NotFoundException { in loadLayoutAnimation() 301 throw new NotFoundException( in loadLayoutAnimation() 412 throws NotFoundException { in loadInterpolator() 418 throw new NotFoundException( in loadInterpolator() 436 throws NotFoundException { in loadInterpolator() 442 throw new NotFoundException( in loadInterpolator()
|
/frameworks/base/tests/testables/tests/src/android/testing/ |
D | TestableResourcesTest.java | 56 } catch (Resources.NotFoundException e) { in testAddingResource() 73 } catch (Resources.NotFoundException e) { in testClearingResource() 87 @Test(expected = Resources.NotFoundException.class)
|
/frameworks/base/core/java/android/animation/ |
D | AnimatorInflater.java | 26 import android.content.res.Resources.NotFoundException; 90 throws NotFoundException { in loadAnimator() 105 throws NotFoundException { in loadAnimator() 111 float pathErrorScale) throws NotFoundException { in loadAnimator() 142 Resources.NotFoundException rnf = in loadAnimator() 143 new Resources.NotFoundException("Can't load animation resource ID #0x" + in loadAnimator() 148 Resources.NotFoundException rnf = in loadAnimator() 149 new Resources.NotFoundException("Can't load animation resource ID #0x" + in loadAnimator() 159 throws NotFoundException { in loadStateListAnimator() 186 Resources.NotFoundException rnf = in loadStateListAnimator() [all …]
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableResources.java | 107 if (value == null) throw new Resources.NotFoundException(); in answer() 119 } catch (Resources.NotFoundException e) { in answer()
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/ |
D | ExternalResources.java | 89 throw new NotFoundException(); in getResourcePackageName() 114 throw new NotFoundException(); in getValue() 168 public ColorStateList getColorStateList(int id) throws NotFoundException { in getColorStateList() 259 throw new NotFoundException(); in get()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | SafetyWarningDialog.java | 24 import android.content.res.Resources.NotFoundException; 53 } catch (NotFoundException e) { in SafetyWarningDialog()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/ |
D | FeatureFlagsClassicDebugTest.kt | 23 import android.content.res.Resources.NotFoundException 269 whenever(resources.getInteger(1004)).thenThrow(NotFoundException("unknown resource")) in readResourceIntFlag() 270 whenever(resources.getInteger(1005)).thenThrow(NotFoundException("unknown resource")) in readResourceIntFlag() 271 whenever(resources.getInteger(1006)).thenThrow(NotFoundException("unknown resource")) in readResourceIntFlag() 284 Assert.assertThrows(NotFoundException::class.java) { in readResourceIntFlag() 289 Assert.assertThrows(NotFoundException::class.java) { in readResourceIntFlag()
|
/frameworks/base/core/java/android/util/ |
D | SafetyProtectionUtils.java | 53 } catch (Resources.NotFoundException e) { in shouldShowSafetyProtectionResources()
|
/frameworks/base/tests/UsbTests/src/com/android/server/usb/ |
D | UsbDescriptorParserTests.java | 26 import android.content.res.Resources.NotFoundException; 54 } catch (NotFoundException e) { in loadParser()
|
/frameworks/base/packages/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/ |
D | ActionButtonsPreference.java | 264 } catch (Resources.NotFoundException exception) { in setButton1Icon() 329 } catch (Resources.NotFoundException exception) { in setButton2Icon() 394 } catch (Resources.NotFoundException exception) { in setButton3Icon() 459 } catch (Resources.NotFoundException exception) { in setButton4Icon()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SuspendedAppActivity.java | 139 } catch (Resources.NotFoundException nfe) { in resolveIcon() 153 } catch (Resources.NotFoundException nfe) { in resolveTitle() 171 } catch (Resources.NotFoundException nfe) { in resolveDialogMessage() 210 } catch (Resources.NotFoundException nfe) { in resolveNeutralButtonText()
|
/frameworks/base/packages/SettingsLib/EntityHeaderWidgets/src/com/android/settingslib/widget/ |
D | AppEntitiesHeaderController.java | 237 } catch (Resources.NotFoundException e) { in bindHeaderTitleView() 250 } catch (Resources.NotFoundException e) { in bindHeaderDetailsView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/graphics/ |
D | ImageLoader.kt | 27 import android.content.res.Resources.NotFoundException in <lambda>() 138 } catch (e: NotFoundException) { in <lambda>() 273 } catch (e: NotFoundException) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/ |
D | ThresholdSensorImpl.java | 267 } catch (Resources.NotFoundException e) { in setThresholdResourceId() 276 } catch (Resources.NotFoundException e) { in setThresholdLatchResourceId()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/ |
D | AuthenticatorHelper.java | 113 } catch (PackageManager.NameNotFoundException|Resources.NotFoundException e) { in getDrawableForType() 138 } catch (Resources.NotFoundException e) { in getLabelForType()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | OneFingerPanningSettingsProvider.java | 99 } catch (Resources.NotFoundException e) { in isOneFingerPanningEnabledDefault()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | RecursiveStringArrayResourceResolver.java | 142 throw new Resources.NotFoundException( in resolveImport()
|
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminInfo.java | 33 import android.content.res.Resources.NotFoundException; 485 public CharSequence loadDescription(PackageManager pm) throws NotFoundException { in loadDescription() 490 throw new NotFoundException(); in loadDescription()
|