/frameworks/base/test-runner/src/android/test/mock/ |
MockResources.java | 51 public CharSequence getText(int id) throws NotFoundException { 56 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { 61 public String getString(int id) throws NotFoundException { 66 public String getString(int id, Object... formatArgs) throws NotFoundException { 72 throws NotFoundException { 77 public String getQuantityString(int id, int quantity) throws NotFoundException { 87 public CharSequence[] getTextArray(int id) throws NotFoundException { 92 public String[] getStringArray(int id) throws NotFoundException { 97 public int[] getIntArray(int id) throws NotFoundException { 102 public TypedArray obtainTypedArray(int id) throws NotFoundException { [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
Resources_NotFoundExceptionTest.java | 20 import android.content.res.Resources.NotFoundException; 27 @TestTargetClass(Resources.NotFoundException.class) 33 method = "Resources.NotFoundException", 38 method = "Resources.NotFoundException", 43 NotFoundException ne = null; 47 ne = new NotFoundException(); 49 } catch (NotFoundException e) { 55 fail("should throw out NotFoundException"); 65 ne = new NotFoundException(MESSAGE); 67 } catch (NotFoundException e) [all...] |
ResourcesTest.java | 38 import android.content.res.Resources.NotFoundException; 113 } catch (NotFoundException e) { 155 } catch (NotFoundException e) { 219 } catch (NotFoundException e) { 233 } catch (NotFoundException e) { 251 } catch (NotFoundException e) { 269 } catch (NotFoundException e) { 288 } catch (NotFoundException e) { 351 } catch (NotFoundException e) { 369 } catch (NotFoundException e) [all...] |
ColorStateListTest.java | 25 import android.content.res.Resources.NotFoundException; 91 public void testColorStateList() throws NotFoundException, XmlPullParserException, IOException {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
BridgeResources.java | 123 public Drawable getDrawable(int id) throws NotFoundException { 130 // id was not found or not resolved. Throw a NotFoundException. 138 public int getColor(int id) throws NotFoundException { 149 // id was not found or not resolved. Throw a NotFoundException. 157 public ColorStateList getColorStateList(int id) throws NotFoundException { 169 // id was not found or not resolved. Throw a NotFoundException. 177 public CharSequence getText(int id) throws NotFoundException { 184 // id was not found or not resolved. Throw a NotFoundException. 192 public XmlResourceParser getLayout(int id) throws NotFoundException { 216 // id was not found or not resolved. Throw a NotFoundException [all...] |
/frameworks/base/core/java/android/content/res/ |
Resources.java | 114 public static class NotFoundException extends RuntimeException { 115 public NotFoundException() { 118 public NotFoundException(String name) { 191 * @throws NotFoundException Throws NotFoundException if the given ID does not exist. 196 public CharSequence getText(int id) throws NotFoundException { 201 throw new NotFoundException("String resource ID #0x" 210 * @throws NotFoundException Throws NotFoundException if the given ID does not exist. 215 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { [all...] |
/frameworks/base/core/java/android/view/animation/ |
AnimationUtils.java | 24 import android.content.res.Resources.NotFoundException; 56 * @throws NotFoundException when the animation cannot be loaded 59 throws NotFoundException { 66 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + 71 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + 129 throws NotFoundException { 136 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
Util.java | 51 } catch (Resources.NotFoundException e) { 64 } catch (Resources.NotFoundException e) { 71 throws Resources.NotFoundException {
|
/cts/tests/tests/content/src/android/content/cts/ |
ContextTest.java | 26 import android.content.res.Resources.NotFoundException; 64 @ToBeFixed(bug = "1417734", explanation = "Unexpected NotFoundException") 79 } catch (NotFoundException e) { 86 } catch (NotFoundException e) { 96 @ToBeFixed(bug = "1417734", explanation = "Unexpected NotFoundException") 105 } catch (NotFoundException e) {
|
/packages/apps/Phone/src/com/android/phone/ |
HapticFeedback.java | 113 } catch (Resources.NotFoundException nfe) { 142 } catch (Resources.NotFoundException nfe) {
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
Config.java | 89 } catch (Resources.NotFoundException ex) { 119 } catch (Resources.NotFoundException ex) {
|
PackageIconLoader.java | 94 } catch (Resources.NotFoundException nfe) { 127 } catch (Resources.NotFoundException ex) {
|
/frameworks/base/core/java/android/app/ |
WallpaperInfo.java | 29 import android.content.res.Resources.NotFoundException; 221 public CharSequence loadAuthor(PackageManager pm) throws NotFoundException { 222 if (mAuthorResource <= 0) throw new NotFoundException(); 235 public CharSequence loadDescription(PackageManager pm) throws NotFoundException { 247 if (mDescriptionResource <= 0) throw new NotFoundException();
|
/cts/tests/tests/widget/src/android/widget/cts/ |
SpinnerTest.java | 30 import android.content.res.Resources.NotFoundException; 204 fail("Should throw NotFoundException"); 205 } catch (NotFoundException e) { 211 fail("Should throw NotFoundException"); 212 } catch (NotFoundException e) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AllApps2D.java | 133 if (mGrid == null) throw new Resources.NotFoundException(); 140 if (homeButton == null) throw new Resources.NotFoundException(); 147 } catch (Resources.NotFoundException e) {
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsActor.java | 186 public String[] getStringArray(int id) throws NotFoundException { 196 throws NotFoundException { 201 public String getString(int id) throws NotFoundException { 206 public String getString(int id, Object... formatArgs) throws NotFoundException { 211 public CharSequence getText(int id) throws NotFoundException {
|
/frameworks/base/core/java/android/app/admin/ |
DeviceAdminInfo.java | 33 import android.content.res.Resources.NotFoundException; 294 public CharSequence loadDescription(PackageManager pm) throws NotFoundException { 305 throw new NotFoundException();
|
/frameworks/base/services/java/com/android/server/ |
AttributeCache.java | 133 } catch (Resources.NotFoundException e) {
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
PackageUtil.java | 167 } catch (Resources.NotFoundException e) { 180 } catch (Resources.NotFoundException e) {
|
/frameworks/base/graphics/java/android/renderscript/ |
ScriptC.java | 68 throw new Resources.NotFoundException();
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/telephonytest/unit/ |
CallerInfoUnitTest.java | 128 public String getString(int resId) throws Resources.NotFoundException {
|
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
ApplicationsProvider.java | 500 } catch (Resources.NotFoundException e) { 506 throws Resources.NotFoundException { 514 throws Resources.NotFoundException {
|
/cts/tests/SignatureTest/src/android/tests/sigtest/ |
SignatureTestActivity.java | 22 import android.content.res.Resources.NotFoundException;
|
/frameworks/base/core/java/android/widget/ |
Toast.java | 254 * @throws Resources.NotFoundException if the resource can't be found. 257 throws Resources.NotFoundException {
|
/frameworks/base/core/java/com/android/internal/widget/ |
PasswordEntryKeyboardHelper.java | 164 } catch (Resources.NotFoundException e) {
|