/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsMockResources.java | 37 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()
|
/packages/services/Mtp/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()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/ |
D | A2dpCodecConfig.java | 25 import android.content.res.Resources.NotFoundException; 196 } catch (NotFoundException e) { in assignCodecConfigPriorities() 209 } catch (NotFoundException e) { in assignCodecConfigPriorities() 222 } catch (NotFoundException e) { in assignCodecConfigPriorities() 235 } catch (NotFoundException e) { in assignCodecConfigPriorities() 248 } catch (NotFoundException e) { in assignCodecConfigPriorities() 258 } catch (NotFoundException e) { in assignCodecConfigPriorities()
|
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/java/android/content/res/ |
D | Resources.java | 43 public static final class NotFoundException extends RuntimeException { class in Resources 44 public NotFoundException() {} in NotFoundException() method in Resources.NotFoundException 62 throw new NotFoundException(); in getString()
|
/packages/modules/Permission/SafetyCenter/ResourcesLib/tests/java/com/android/safetycenter/resources/ |
D | SafetyCenterResourcesApkTest.kt | 152 assertFailsWith(Resources.NotFoundException::class) { in getSafetyCenterConfig_invalidConfigNameWithoutFallback_throws() 221 assertFailsWith(Resources.NotFoundException::class) { in getStringByName_invalidStringWithoutFallback_throws() 254 assertFailsWith(Resources.NotFoundException::class) { in getStringByNameWithFormatArgs_invalidStringWithoutFallback_throws() 346 assertFailsWith(Resources.NotFoundException::class) { in getDrawableByName_invalidDrawableWithoutFallback_throws() 379 assertFailsWith(Resources.NotFoundException::class) { in getIconByDrawableName_invalidDrawableWithoutFallback_throws() 412 assertFailsWith(Resources.NotFoundException::class) { in getColorByName_invalidColorWithoutFallback_throws()
|
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/ |
D | SettingsShadowResources.java | 23 import android.content.res.Resources.NotFoundException; 55 throw new Resources.NotFoundException("Cannot override \"" + name + "\""); in overrideResource() 66 protected int[] getIntArray(@ArrayRes int id) throws NotFoundException { in getIntArray()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | Util.kt | 45 } catch (e: Resources.NotFoundException) { in getResourceUri() 59 } catch (e: Resources.NotFoundException) { in getResourceUri() 65 @Throws(Resources.NotFoundException::class)
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestResources.java | 74 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()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | StringUtils.java | 26 import android.content.res.Resources.NotFoundException; 60 } catch (NotFoundException e) { in getStringConfig() 91 } catch (NotFoundException e) { in getStringArrayConfig()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | DevicePolicyResourcesUtils.java | 370 } catch (Resources.NotFoundException e) { in isDevicePolicyResource() 381 } catch (Resources.NotFoundException e) { in isDevicePolicyResource() 394 } catch (Resources.NotFoundException e) { in getDevicePolicyResource() 410 } catch (Resources.NotFoundException e) { in getDevicePolicyResource()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/vpn2/ |
D | LegacyVpnPreferenceTest.java | 24 import android.content.res.Resources.NotFoundException; 54 } catch (NotFoundException exception) { in setUp()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ |
D | SafetyProtectionUtilsTest.java | 86 } catch (Resources.NotFoundException e) { } in testWhetherShouldUseSafetyProtectionResourcesWhenTOrAboveAndFeatureFlagOn() 111 } catch (Resources.NotFoundException e) { in isSafetyProtectionConfigEnabled()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | VCardResourceEntry.java | 20 import android.content.res.Resources.NotFoundException; 198 } catch (final NotFoundException ex) { 222 } catch (final NotFoundException ex) { 235 } catch (final NotFoundException ex) {
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/v31/ |
D | SubattributionUtils.java | 108 } catch (Resources.NotFoundException e) { in getAttributionLabelsInternal() 137 } catch (Resources.NotFoundException e) { in getAttributionLabels()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | LocalizedNameResolver.java | 25 import android.content.res.Resources.NotFoundException; 130 } catch (NotFoundException e) { in loadAllContactsNameFromXml()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | LiveWallpaperInfo.java | 374 } catch (Resources.NotFoundException e) { in getAttributions() 384 } catch (Resources.NotFoundException e) { in getAttributions() 396 } catch (Resources.NotFoundException e) { in getActionUrl() 408 } catch (Resources.NotFoundException e) { in getActionDescription()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | ContactDisplayUtils.java | 23 import android.content.res.Resources.NotFoundException; 317 } catch (NotFoundException e) { in getDrawable() 327 throws NotFoundException { in getResourceDrawable()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | PackageIconLoader.kt | 94 } catch (nfe: Resources.NotFoundException) { in getIcon() 129 } catch (ex: Resources.NotFoundException) { in getDrawable()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringConfiguration.java | 603 } catch (Resources.NotFoundException e) { in getResourceString() 611 } catch (Resources.NotFoundException e404) { in getResourceBoolean() 620 } catch (Resources.NotFoundException e404) { in getResourceStringArray() 628 } catch (Resources.NotFoundException e404) { in getResourceInteger()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/ |
D | ClassifierInputManager.java | 196 } catch (Resources.NotFoundException e) { in getEnglishAppResource() 208 } catch (Resources.NotFoundException e) { in getLocalAppResource()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AutoInstallsLayout.java | 34 import android.content.res.Resources.NotFoundException; 730 default XmlResourceParser getXml(@XmlRes int id) throws NotFoundException { in getXml() 731 throw new NotFoundException(); in getXml() 737 default String getString(@StringRes int id) throws NotFoundException { in getString() 738 throw new NotFoundException(); in getString()
|
/packages/apps/TV/common/src/com/android/tv/common/feature/ |
D | ResourceConfigFeature.java | 35 } catch (Resources.NotFoundException e) { in isEnabled()
|
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/ |
D | ResolverDataProvider.java | 202 public String getString(int id) throws NotFoundException { in createPackageManagerMockedInfo() 206 throw new NotFoundException(); in createPackageManagerMockedInfo()
|
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/data/ |
D | Utils.kt | 27 } catch (exc: Resources.NotFoundException) { in safeObtainTypedArray()
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/dashboard/ |
D | FirstIdViewMatcher.java | 41 } catch (Resources.NotFoundException e) { in withFirstId()
|