Home
last modified time | relevance | path

Searched refs:NotFoundException (Results 1 – 25 of 107) sorted by relevance

12345

/aosp14/frameworks/base/test-mock/src/android/test/mock/
H A DMockResources.java56 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 DResources.java250 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 DResourcesImpl.java229 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 DCompatResources.java45 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 DAnimationUtils.java25 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 DWallpaperInfo.java30 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 DTestableResourcesTest.java56 } 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 DAnimatorInflater.java26 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 DTestableResources.java105 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 DFeatureFlagsDebugTest.kt23 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 DSafetyWarningDialog.java24 import android.content.res.Resources.NotFoundException;
53 } catch (NotFoundException e) { in SafetyWarningDialog()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DSuspendedAppActivity.java125 } 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 DActionButtonsPreference.java263 } 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 DUsbDescriptorParserTests.java26 import android.content.res.Resources.NotFoundException;
54 } catch (NotFoundException e) { in loadParser()
/aosp14/frameworks/base/core/java/android/util/
H A DSafetyProtectionUtils.java53 } catch (Resources.NotFoundException e) { in shouldShowSafetyProtectionResources()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/graphics/
H A DImageLoader.kt27 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 DAppEntitiesHeaderController.java235 } catch (Resources.NotFoundException e) { in bindHeaderTitleView()
248 } catch (Resources.NotFoundException e) { in bindHeaderDetailsView()
/aosp14/frameworks/base/core/java/android/app/admin/
H A DDeviceAdminInfo.java29 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 DAuthenticatorHelper.java114 } 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 DThresholdSensorImpl.java267 } catch (Resources.NotFoundException e) { in setThresholdResourceId()
276 } catch (Resources.NotFoundException e) { in setThresholdLatchResourceId()
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DPackageUtil.java198 } catch (Resources.NotFoundException e) { in getAppSnippet()
212 } catch (Resources.NotFoundException e) { in getAppSnippet()
/aosp14/frameworks/base/core/java/android/content/pm/
H A DLauncherActivityInfo.java109 } catch (NameNotFoundException | Resources.NotFoundException exc) { in getIcon()
/aosp14/frameworks/base/rs/java/android/renderscript/
H A DScriptC.java118 throw new Resources.NotFoundException(); in internalCreate()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DLocalImageResolver.java136 } 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 DFalsingModule.java101 } catch (Resources.NotFoundException e) { in providesIsFoldableDevice()

12345