/aosp14/frameworks/base/test-mock/src/android/test/mock/ |
H A D | MockResources.java | 56 public CharSequence getText(int id) throws NotFoundException { in getText() 66 public String getString(int id) throws NotFoundException { in getString() 77 throws NotFoundException { in getQuantityString() 102 public int[] getIntArray(int id) throws NotFoundException { in getIntArray() 112 public float getDimension(int id) throws NotFoundException { in getDimension() 127 public Drawable getDrawable(int id) throws NotFoundException { in getDrawable() 132 public Movie getMovie(int id) throws NotFoundException { in getMovie() 137 public int getColor(int id) throws NotFoundException { in getColor() 147 public int getInteger(int id) throws NotFoundException { in getInteger() 178 throws NotFoundException { in getValue() [all …]
|
/aosp14/frameworks/base/core/java/android/content/res/ |
H A D | Resources.java | 250 public NotFoundException() { in NotFoundException() method in Resources.NotFoundException 528 throws NotFoundException { in getQuantityText() 604 throws NotFoundException { in getQuantityString() 687 throws NotFoundException { in getStringArray() 932 throws NotFoundException { in getDrawable() 967 throws NotFoundException { in getDrawableForDensity() 1003 throws NotFoundException { in loadDrawable() 1136 throws NotFoundException { in getColorStateList() 1149 throws NotFoundException { in loadColorStateList() 1388 throws NotFoundException { in openRawResource() [all …]
|
H A D | ResourcesImpl.java | 229 throws NotFoundException { in getValue() 247 throws NotFoundException { in getValue() 337 throws NotFoundException { in openRawResourceFd() 355 NotFoundException rnf = new NotFoundException("File " in openRawResource() 609 throws NotFoundException { in loadDrawable() 730 final NotFoundException nfe = new NotFoundException("Drawable " + name in loadDrawable() 912 final NotFoundException rnf = new NotFoundException( 1064 final NotFoundException rnf = new NotFoundException( 1104 throw new NotFoundException( 1192 final NotFoundException rnf = new NotFoundException( [all …]
|
H A 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()
|
/aosp14/frameworks/base/core/java/android/view/animation/ |
H A D | AnimationUtils.java | 25 import android.content.res.Resources.NotFoundException; 135 throws NotFoundException { in loadAnimation() 142 throw new NotFoundException( in loadAnimation() 212 throws NotFoundException { in loadLayoutAnimation() 219 throw new NotFoundException( in loadLayoutAnimation() 330 throws NotFoundException { in loadInterpolator() 336 throw new NotFoundException( in loadInterpolator() 354 throws NotFoundException { in loadInterpolator() 360 throw new NotFoundException( in loadInterpolator()
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | WallpaperInfo.java | 30 import android.content.res.Resources.NotFoundException; 250 public CharSequence loadAuthor(PackageManager pm) throws NotFoundException { in loadAuthor() 251 if (mAuthorResource <= 0) throw new NotFoundException(); in loadAuthor() 264 public CharSequence loadDescription(PackageManager pm) throws NotFoundException { in loadDescription() 276 if (mDescriptionResource <= 0) throw new NotFoundException(); in loadDescription() 287 public Uri loadContextUri(PackageManager pm) throws NotFoundException { in loadContextUri() 288 if (mContextUriResource <= 0) throw new NotFoundException(); in loadContextUri() 309 public CharSequence loadContextDescription(PackageManager pm) throws NotFoundException { in loadContextDescription() 310 if (mContextDescriptionResource <= 0) throw new NotFoundException(); in loadContextDescription()
|
/aosp14/frameworks/base/tests/testables/tests/src/android/testing/ |
H A D | TestableResourcesTest.java | 56 } catch (Resources.NotFoundException e) { in testAddingResource() 73 } catch (Resources.NotFoundException e) { in testClearingResource() 87 @Test(expected = Resources.NotFoundException.class)
|
/aosp14/frameworks/base/core/java/android/animation/ |
H A D | AnimatorInflater.java | 26 import android.content.res.Resources.NotFoundException; 90 throws NotFoundException { in loadAnimator() 105 throws NotFoundException { in loadAnimator() 142 Resources.NotFoundException rnf = in loadAnimator() 148 Resources.NotFoundException rnf = in loadAnimator() 159 throws NotFoundException { in loadStateListAnimator() 186 Resources.NotFoundException rnf = in loadStateListAnimator() 187 new Resources.NotFoundException( in loadStateListAnimator() 194 Resources.NotFoundException rnf = in loadStateListAnimator() 195 new Resources.NotFoundException( in loadStateListAnimator() [all …]
|
/aosp14/frameworks/base/tests/testables/src/android/testing/ |
H A D | TestableResources.java | 105 if (value == null) throw new Resources.NotFoundException(); in answer() 108 } catch (Resources.NotFoundException e) { in answer()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/ |
H A D | FeatureFlagsDebugTest.kt | 23 import android.content.res.Resources.NotFoundException 329 whenever(resources.getInteger(1004)).thenThrow(NotFoundException("unknown resource")) 330 whenever(resources.getInteger(1005)).thenThrow(NotFoundException("unknown resource")) 331 whenever(resources.getInteger(1006)).thenThrow(NotFoundException("unknown resource")) 341 Assert.assertThrows(NotFoundException::class.java) { 346 Assert.assertThrows(NotFoundException::class.java) {
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | SafetyWarningDialog.java | 24 import android.content.res.Resources.NotFoundException; 53 } catch (NotFoundException e) { in SafetyWarningDialog()
|
/aosp14/frameworks/base/core/java/com/android/internal/app/ |
H A D | SuspendedAppActivity.java | 125 } catch (Resources.NotFoundException nfe) { in resolveIcon() 139 } catch (Resources.NotFoundException nfe) { in resolveTitle() 157 } catch (Resources.NotFoundException nfe) { in resolveDialogMessage() 196 } catch (Resources.NotFoundException nfe) { in resolveNeutralButtonText()
|
/aosp14/frameworks/base/packages/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/ |
H A D | ActionButtonsPreference.java | 263 } catch (Resources.NotFoundException exception) { in setButton1Icon() 328 } catch (Resources.NotFoundException exception) { in setButton2Icon() 393 } catch (Resources.NotFoundException exception) { in setButton3Icon() 458 } catch (Resources.NotFoundException exception) { in setButton4Icon()
|
/aosp14/frameworks/base/tests/UsbTests/src/com/android/server/usb/ |
H A D | UsbDescriptorParserTests.java | 26 import android.content.res.Resources.NotFoundException; 54 } catch (NotFoundException e) { in loadParser()
|
/aosp14/frameworks/base/core/java/android/util/ |
H A D | SafetyProtectionUtils.java | 53 } catch (Resources.NotFoundException e) { in shouldShowSafetyProtectionResources()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/graphics/ |
H A D | ImageLoader.kt | 27 import android.content.res.Resources.NotFoundException 138 } catch (e: NotFoundException) { 273 } catch (e: NotFoundException) {
|
/aosp14/frameworks/base/packages/SettingsLib/EntityHeaderWidgets/src/com/android/settingslib/widget/ |
H A D | AppEntitiesHeaderController.java | 235 } catch (Resources.NotFoundException e) { in bindHeaderTitleView() 248 } catch (Resources.NotFoundException e) { in bindHeaderDetailsView()
|
/aosp14/frameworks/base/core/java/android/app/admin/ |
H A D | DeviceAdminInfo.java | 29 import android.content.res.Resources.NotFoundException; 441 public CharSequence loadDescription(PackageManager pm) throws NotFoundException { in loadDescription() 446 throw new NotFoundException(); in loadDescription()
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/ |
H A D | AuthenticatorHelper.java | 114 } catch (PackageManager.NameNotFoundException|Resources.NotFoundException e) { in getDrawableForType() 139 } catch (Resources.NotFoundException e) { in getLabelForType()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/ |
H A D | ThresholdSensorImpl.java | 267 } catch (Resources.NotFoundException e) { in setThresholdResourceId() 276 } catch (Resources.NotFoundException e) { in setThresholdLatchResourceId()
|
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
H A D | PackageUtil.java | 198 } catch (Resources.NotFoundException e) { in getAppSnippet() 212 } catch (Resources.NotFoundException e) { in getAppSnippet()
|
/aosp14/frameworks/base/core/java/android/content/pm/ |
H A D | LauncherActivityInfo.java | 109 } catch (NameNotFoundException | Resources.NotFoundException exc) { in getIcon()
|
/aosp14/frameworks/base/rs/java/android/renderscript/ |
H A D | ScriptC.java | 118 throw new Resources.NotFoundException(); in internalCreate()
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LocalImageResolver.java | 136 } catch (Resources.NotFoundException e) { in resolveImage() 238 } catch (IOException | Resources.NotFoundException e) { in resolveImage()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | FalsingModule.java | 101 } catch (Resources.NotFoundException e) { in providesIsFoldableDevice()
|