Home
last modified time | relevance | path

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

123456789

/aosp12/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 …]
/aosp12/frameworks/base/core/java/android/content/res/
H A DResources.java240 public NotFoundException() { in NotFoundException() method in Resources.NotFoundException
517 throws NotFoundException { in getQuantityText()
593 throws NotFoundException { in getQuantityString()
676 throws NotFoundException { in getStringArray()
921 throws NotFoundException { in getDrawable()
956 throws NotFoundException { in getDrawableForDensity()
992 throws NotFoundException { in loadDrawable()
1125 throws NotFoundException { in getColorStateList()
1138 throws NotFoundException { in loadColorStateList()
1377 throws NotFoundException { in openRawResource()
[all …]
H A DResourcesImpl.java220 throws NotFoundException { in getValue()
238 throws NotFoundException { in getValue()
328 throws NotFoundException { in openRawResourceFd()
346 NotFoundException rnf = new NotFoundException("File " in openRawResource()
597 throws NotFoundException { in loadDrawable()
716 final NotFoundException nfe = new NotFoundException("Drawable " + name in loadDrawable()
873 final NotFoundException rnf = new NotFoundException( in loadDrawableForCookie()
1024 final NotFoundException rnf = new NotFoundException( in loadComplexColor()
1064 throw new NotFoundException( in loadColorStateList()
1152 final NotFoundException rnf = new NotFoundException( in loadComplexColorForCookie()
[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()
/aosp12/frameworks/base/core/java/android/view/animation/
H A DAnimationUtils.java134 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()
374 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadInterpolator()
[all …]
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsMockResources.java37 public String getResourceName(int resId) throws NotFoundException { in getResourceName()
39 throw new NotFoundException("Resource " + resId + " not found"); in getResourceName()
45 public String getResourcePackageName(int resId) throws NotFoundException { in getResourcePackageName()
47 throw new NotFoundException("Resource " + resId + " not found"); in getResourcePackageName()
53 public String getResourceTypeName(int resId) throws NotFoundException { in getResourceTypeName()
55 throw new NotFoundException("Resource " + resId + " not found"); in getResourceTypeName()
61 public String getResourceEntryName(int resId) throws NotFoundException { in getResourceEntryName()
63 throw new NotFoundException("Resource " + resId + " not found"); in getResourceEntryName()
/aosp12/frameworks/layoutlib/bridge/src/android/content/res/
H A DResources_Delegate.java246 throws NotFoundException { in getColorStateList()
424 throws NotFoundException { in getArrayResourceValue()
787 throws NotFoundException { in getString()
818 NotFoundException { in getQuantityString()
847 throws NotFoundException { in getQuantityString()
854 NotFoundException { in getQuantityText()
860 NotFoundException { in getFont()
874 NotFoundException { in getFont()
886 throws NotFoundException { in getValue()
988 NotFoundException newE = new NotFoundException(); in loadXmlResourceParser()
[all …]
/aosp12/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()
/aosp12/packages/services/Mtp/tests/src/com/android/mtp/
H A DTestResources.java23 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()
/aosp12/packages/apps/ThemePicker/src/com/android/customization/model/theme/
H A DDefaultThemeProvider.java33 import android.content.res.Resources.NotFoundException;
166 } catch (NameNotFoundException | NotFoundException e) { in loadAll()
194 } catch (NameNotFoundException | NotFoundException e) { in addDefaultTheme()
202 } catch (NameNotFoundException | NotFoundException e) { in addDefaultTheme()
210 } catch (NameNotFoundException | NotFoundException e) { in addDefaultTheme()
239 } catch (NameNotFoundException | NotFoundException e) { in addDefaultTheme()
248 } catch (NameNotFoundException | NotFoundException e) { in addDefaultTheme()
320 } catch (NameNotFoundException | NotFoundException e) { in addCustomThemes()
359 } catch (NameNotFoundException | NotFoundException e) { in parseThemeBundle()
373 } catch (NameNotFoundException | NotFoundException e) { in parseCustomTheme()
[all …]
H A DOverlayThemeExtractor.java14 import android.content.res.Resources.NotFoundException;
179 } catch (NameNotFoundException | NotFoundException e) { in addSystemDefaultIcons()
222 throws NameNotFoundException, NotFoundException { in loadTypeface()
235 throws NameNotFoundException, NotFoundException { in loadColor()
244 throws NameNotFoundException, NotFoundException { in loadString()
254 throws NameNotFoundException, NotFoundException { in loadDimen()
264 throws NameNotFoundException, NotFoundException { in loadBoolean()
274 boolean fromSystem) throws NameNotFoundException, NotFoundException { in loadIconPreviewDrawable()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpCodecConfig.java25 import android.content.res.Resources.NotFoundException;
186 } catch (NotFoundException e) { in assignCodecConfigPriorities()
196 } catch (NotFoundException e) { in assignCodecConfigPriorities()
206 } catch (NotFoundException e) { in assignCodecConfigPriorities()
216 } catch (NotFoundException e) { in assignCodecConfigPriorities()
226 } catch (NotFoundException e) { in assignCodecConfigPriorities()
/aosp12/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
H A DColorOptionsProvider.java32 import android.content.res.Resources.NotFoundException;
83 } catch (NameNotFoundException | NotFoundException e) { in loadOptions()
109 } catch (NameNotFoundException | NotFoundException e) { in loadOptions()
127 } catch (NotFoundException | NameNotFoundException e) { in addDefault()
144 throws NameNotFoundException, NotFoundException { in loadIconPreviewDrawable()
H A DIconOptionsProvider.java29 import android.content.res.Resources.NotFoundException;
82 } catch (NotFoundException | NameNotFoundException e) { in loadOptions()
127 throws NameNotFoundException, NotFoundException { in loadIconPreviewDrawable()
142 } catch (NameNotFoundException | NotFoundException e) { in addDefault()
H A DShapeOptionsProvider.java29 import android.content.res.Resources.NotFoundException;
81 } catch (NameNotFoundException | NotFoundException e) { in loadOptions()
146 throws NameNotFoundException, NotFoundException { in loadCornerRadius()
H A DFontOptionsProvider.java27 import android.content.res.Resources.NotFoundException;
63 } catch (NameNotFoundException | NotFoundException e) { in loadOptions()
/aosp12/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()
141 Resources.NotFoundException rnf = in loadAnimator()
147 Resources.NotFoundException rnf = in loadAnimator()
158 throws NotFoundException { in loadStateListAnimator()
183 Resources.NotFoundException rnf = in loadStateListAnimator()
184 new Resources.NotFoundException( in loadStateListAnimator()
191 Resources.NotFoundException rnf = in loadStateListAnimator()
192 new Resources.NotFoundException( in loadStateListAnimator()
[all …]
/aosp12/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)
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestResources.java74 public final boolean getBoolean(@BoolRes int id) throws NotFoundException { in getBoolean()
79 public final @Nullable String getString(@StringRes int id) throws NotFoundException { in getString()
86 @StringRes int id, Object... formatArgs) throws NotFoundException { in getString()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
H A DSettingsShadowResources.java7 import android.content.res.Resources.NotFoundException;
39 throw new Resources.NotFoundException("Cannot override \"" + name + "\""); in overrideResource()
50 protected int[] getIntArray(@ArrayRes int id) throws NotFoundException { in getIntArray()
/aosp12/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DUtil.java51 } catch (Resources.NotFoundException e) { in getResourceUri()
64 } catch (Resources.NotFoundException e) { in getResourceUri()
71 throws Resources.NotFoundException { in getResourceUri()
/aosp12/frameworks/base/tests/testables/src/android/testing/
H A DTestableResources.java89 if (value == null) throw new Resources.NotFoundException(); in answer()
92 } catch (Resources.NotFoundException e) { in answer()
/aosp12/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/
H A DExternalResources.java89 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()
/aosp12/frameworks/base/core/java/com/android/internal/app/
H A DSuspendedAppActivity.java124 } catch (Resources.NotFoundException nfe) { in resolveIcon()
138 } catch (Resources.NotFoundException nfe) { in resolveTitle()
156 } catch (Resources.NotFoundException nfe) { in resolveDialogMessage()
195 } catch (Resources.NotFoundException nfe) { in resolveNeutralButtonText()
/aosp12/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()

123456789