/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 | 213 public static class NotFoundException extends RuntimeException { class in Resources 214 public NotFoundException() { in NotFoundException() method in Resources.NotFoundException 217 public NotFoundException(String name) { in NotFoundException() method in Resources.NotFoundException 221 public NotFoundException(String name, Exception cause) { in NotFoundException() method in Resources.NotFoundException 361 @NonNull public CharSequence getText(@StringRes int id) throws NotFoundException { in getText() 366 throw new NotFoundException("String resource ID #0x" in getText() 382 @NonNull public Typeface getFont(@FontRes int id) throws NotFoundException { in getFont() 394 throw new NotFoundException("Font resource ID #0x" in getFont() 399 Typeface getFont(@NonNull TypedValue value, @FontRes int id) throws NotFoundException { in getFont() 440 throws NotFoundException { in getQuantityText() [all …]
|
D | ResourcesImpl.java | 35 import android.content.res.Resources.NotFoundException; 232 throws NotFoundException { in getValue() 237 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id)); in getValue() 241 boolean resolveRefs) throws NotFoundException { in getValueForDensity() 246 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id)); in getValueForDensity() 250 throws NotFoundException { in getValue() 256 throw new NotFoundException("String resource name " + name); in getValue() 272 String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName() 275 throw new NotFoundException("Unable to find resource ID #0x" in getResourceName() 280 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/base/core/java/android/view/animation/ |
D | AnimationUtils.java | 25 import android.content.res.Resources.NotFoundException; 134 throws NotFoundException { in loadAnimation() 141 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadAnimation() 146 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadAnimation() 215 throws NotFoundException { in loadLayoutAnimation() 222 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadLayoutAnimation() 227 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadLayoutAnimation() 338 throws NotFoundException { in loadInterpolator() 344 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadInterpolator() 349 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadInterpolator() [all …]
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 52 import android.content.res.Resources.NotFoundException; 209 static int getColor(Resources resources, int id, Theme theme) throws NotFoundException { in getColor() 240 static ColorStateList getColorStateList(Resources resources, int id) throws NotFoundException { in getColorStateList() 246 throws NotFoundException { in getColorStateList() 284 static CharSequence getText(Resources resources, int id) throws NotFoundException { in getText() 307 static CharSequence[] getTextArray(Resources resources, int id) throws NotFoundException { in getTextArray() 322 static String[] getStringArray(Resources resources, int id) throws NotFoundException { in getStringArray() 352 static int[] getIntArray(Resources resources, int id) throws NotFoundException { in getIntArray() 424 throws NotFoundException { in getArrayResourceValue() 477 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/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | TestResources.java | 23 public String getString(int id) throws NotFoundException { in getString() 32 throw new NotFoundException(); in getString() 36 public String getString(int id, Object... formatArgs) throws NotFoundException { in getString()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperInfo.java | 30 import android.content.res.Resources.NotFoundException; 245 public CharSequence loadAuthor(PackageManager pm) throws NotFoundException { in loadAuthor() 246 if (mAuthorResource <= 0) throw new NotFoundException(); in loadAuthor() 259 public CharSequence loadDescription(PackageManager pm) throws NotFoundException { in loadDescription() 271 if (mDescriptionResource <= 0) throw new NotFoundException(); in loadDescription() 282 public Uri loadContextUri(PackageManager pm) throws NotFoundException { in loadContextUri() 283 if (mContextUriResource <= 0) throw new NotFoundException(); in loadContextUri() 304 public CharSequence loadContextDescription(PackageManager pm) throws NotFoundException { in loadContextDescription() 305 if (mContextDescriptionResource <= 0) throw new NotFoundException(); in loadContextDescription()
|
/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() 141 Resources.NotFoundException rnf = in loadAnimator() 142 new Resources.NotFoundException("Can't load animation resource ID #0x" + in loadAnimator() 147 Resources.NotFoundException rnf = in loadAnimator() 148 new Resources.NotFoundException("Can't load animation resource ID #0x" + in loadAnimator() 158 throws NotFoundException { in loadStateListAnimator() 183 Resources.NotFoundException rnf = in loadStateListAnimator() [all …]
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableResources.java | 89 if (value == null) throw new Resources.NotFoundException(); in answer() 92 } catch (Resources.NotFoundException e) { in answer()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SuspendedAppActivity.java | 83 } catch (Resources.NotFoundException nfe) { in resolveIcon() 96 } catch (Resources.NotFoundException nfe) { in resolveTitle() 111 } catch (Resources.NotFoundException nfe) { in resolveDialogMessage() 129 } catch (Resources.NotFoundException nfe) { in resolveNeutralButtonText()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | AndroidPackageInfoFetcher.java | 24 import android.content.res.Resources.NotFoundException; 89 } catch (NotFoundException e) { in getStatements()
|
/frameworks/base/packages/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/ |
D | ActionButtonsPreference.java | 136 } catch (Resources.NotFoundException exception) { in setButton1Icon() 201 } catch (Resources.NotFoundException exception) { in setButton2Icon() 266 } catch (Resources.NotFoundException exception) { in setButton3Icon() 331 } catch (Resources.NotFoundException exception) { in setButton4Icon()
|
/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/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/ |
D | ExternalResources.java | 88 throw new NotFoundException(); in getResourcePackageName() 113 throw new NotFoundException(); in getValue() 235 throw new NotFoundException(); in get()
|
/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/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageUtil.java | 140 } catch (Resources.NotFoundException e) { in getAppSnippet() 154 } catch (Resources.NotFoundException e) { in getAppSnippet()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringConfiguration.java | 358 } catch (Resources.NotFoundException e) { in getResourceString() 366 } catch (Resources.NotFoundException e404) { in getResourceBoolean() 375 } catch (Resources.NotFoundException e404) { in getResourceStringArray() 383 } catch (Resources.NotFoundException e404) { in getResourceInteger()
|
/frameworks/base/packages/SettingsLib/EntityHeaderWidgets/src/com/android/settingslib/widget/ |
D | AppEntitiesHeaderController.java | 235 } catch (Resources.NotFoundException e) { in bindHeaderTitleView() 248 } catch (Resources.NotFoundException e) { in bindHeaderDetailsView()
|
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminInfo.java | 28 import android.content.res.Resources.NotFoundException; 422 public CharSequence loadDescription(PackageManager pm) throws NotFoundException { in loadDescription() 427 throw new NotFoundException(); in loadDescription()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/ |
D | AuthenticatorHelper.java | 112 } catch (PackageManager.NameNotFoundException|Resources.NotFoundException e) { in getDrawableForType() 137 } catch (Resources.NotFoundException e) { in getLabelForType()
|
/frameworks/base/core/java/android/net/util/ |
D | KeepaliveUtils.java | 57 } catch (Resources.NotFoundException unused) { in getSupportedKeepalives()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ValueParser.java | 21 import android.content.res.Resources.NotFoundException; 309 } catch (NotFoundException e) { in retrieveAlphaId()
|