/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/ |
D | PackageManagerStub.java | 50 throws NameNotFoundException { in getPackageInfo() 56 throws NameNotFoundException { in getPackageInfo() 62 throws NameNotFoundException { in getPackageInfoAsUser() 64 throw new NameNotFoundException(); in getPackageInfoAsUser() 96 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids() 102 throws NameNotFoundException { in getPackageGids() 108 throws NameNotFoundException { in getPackageUid() 114 throws NameNotFoundException { in getPackageUidAsUser() 120 throws NameNotFoundException { in getPackageUidAsUser() 126 throws NameNotFoundException { in getPermissionInfo() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 66 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo() 72 throws NameNotFoundException { in getPackageInfoAsUser() 78 @PackageInfoFlags int flags) throws NameNotFoundException { in getPackageInfo() 119 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids() 124 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException { in getPackageGids() 129 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid() 134 … public int getPackageUidAsUser(String packageName, int userHandle) throws NameNotFoundException { in getPackageUidAsUser() 139 …t getPackageUidAsUser(String packageName, int flags, int userHandle) throws NameNotFoundException { in getPackageUidAsUser() 144 public PermissionInfo getPermissionInfo(String name, int flags) throws NameNotFoundException { in getPermissionInfo() 150 throws NameNotFoundException { in queryPermissionsByGroup() [all …]
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockPackageManager.java | 74 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo() 80 int flags) throws NameNotFoundException { in getPackageInfo() 87 throws NameNotFoundException { in getPackageInfoAsUser() 118 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids() 123 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException { in getPackageGids() 128 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid() 135 throws NameNotFoundException { in getPackageUidAsUser() 142 throws NameNotFoundException { in getPackageUidAsUser() 148 throws NameNotFoundException { in getPermissionInfo() 154 throws NameNotFoundException { in queryPermissionsByGroup() [all …]
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | PackageManagerHelper.java | 30 throws PackageManager.NameNotFoundException; in getInstalledPackageVersion() 32 boolean isPrivilegedApp(String packageName) throws PackageManager.NameNotFoundException; in isPrivilegedApp() 35 throws PackageManager.NameNotFoundException; in usesPermission() 40 throws PackageManager.NameNotFoundException; in receiverRegistered()
|
D | PackageTrackerHelperImpl.java | 77 throws PackageManager.NameNotFoundException { in getInstalledPackageVersion() 84 public boolean isPrivilegedApp(String packageName) throws PackageManager.NameNotFoundException { in isPrivilegedApp() 92 throws PackageManager.NameNotFoundException { in usesPermission() 129 throws PackageManager.NameNotFoundException { in receiverRegistered()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
D | TestSystemImpl.java | 21 import android.content.pm.PackageManager.NameNotFoundException; 112 NameNotFoundException { in getPackageInfoForProvider() 114 if (userPackages == null) throw new NameNotFoundException(info.packageName); in getPackageInfoForProvider() 116 if (ret == null) throw new NameNotFoundException(info.packageName); in getPackageInfoForProvider() 162 public long getFactoryPackageVersion(String packageName) throws NameNotFoundException { in getFactoryPackageVersion() 165 if (userPackages == null) throw new NameNotFoundException(); in getFactoryPackageVersion() 171 throw new NameNotFoundException(); in getFactoryPackageVersion()
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | ShadowApplicationPackageManager.java | 19 import static android.content.pm.PackageManager.NameNotFoundException; 81 throws NameNotFoundException { in getPackageInfoAsUser() 83 throw new NameNotFoundException(packageName); in getPackageInfoAsUser() 95 throws NameNotFoundException { in getPackageUidAsUser() 101 throw new NameNotFoundException(packageName); in getPackageUidAsUser()
|
/frameworks/base/startop/apps/test/src/ |
D | SystemServerBenchmarks.java | 28 import android.content.pm.PackageManager.NameNotFoundException; 72 } catch (NameNotFoundException e) { in initializeBenchmarks() 80 } catch (NameNotFoundException e) { in initializeBenchmarks() 90 } catch (NameNotFoundException e) { in initializeBenchmarks() 98 } catch (NameNotFoundException e) { in initializeBenchmarks() 106 } catch (NameNotFoundException e) { in initializeBenchmarks() 118 } catch (NameNotFoundException e) { in initializeBenchmarks()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 177 throws NameNotFoundException { in getPackageInfo() 183 throws NameNotFoundException { in getPackageInfo() 194 throw new NameNotFoundException(versionedPackage.toString()); in getPackageInfo() 199 throws NameNotFoundException { in getPackageInfoAsUser() 206 throw new NameNotFoundException(packageName); in getPackageInfoAsUser() 285 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids() 291 throws NameNotFoundException { in getPackageGids() 303 throw new NameNotFoundException(packageName); in getPackageGids() 307 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid() 312 public int getPackageUidAsUser(String packageName, int userId) throws NameNotFoundException { in getPackageUidAsUser() [all …]
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | FontsContractTest.java | 32 import android.content.pm.PackageManager.NameNotFoundException; 242 } catch (NameNotFoundException e) { in testGetProvider_providerNotFound() 247 public void testGetProvider_providerIsSystemApp() throws PackageManager.NameNotFoundException { in testGetProvider_providerIsSystemApp() 257 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsSystemAppWrongPackage() 267 } catch (NameNotFoundException e) { in testGetProvider_providerIsSystemAppWrongPackage() 274 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsNonSystemAppNoCerts() 281 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsNonSystemAppWrongCerts() 293 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsNonSystemAppCorrectCerts() 306 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsNonSystemAppMoreCerts() 317 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsNonSystemAppDuplicateCerts() [all …]
|
D | FontsContractE2ETest.java | 29 import android.content.pm.PackageManager.NameNotFoundException; 69 } catch (PackageManager.NameNotFoundException e) { 115 public void typefaceCacheTest() throws NameNotFoundException { in typefaceCacheTest() 154 public void typefaceNotCacheTest() throws NameNotFoundException { in typefaceNotCacheTest() 177 public void typefaceNullFdTest() throws NameNotFoundException { in typefaceNullFdTest()
|
/frameworks/base/core/java/android/app/usage/ |
D | StorageStatsManager.java | 211 throws PackageManager.NameNotFoundException, IOException { in queryStatsForPackage() 216 e.maybeRethrow(PackageManager.NameNotFoundException.class); in queryStatsForPackage() 227 UserHandle user) throws PackageManager.NameNotFoundException, IOException { in queryStatsForPackage() 372 int uid) throws IOException, PackageManager.NameNotFoundException { in queryCratesForUid() 379 e.maybeRethrow(PackageManager.NameNotFoundException.class); in queryCratesForUid() 405 throws PackageManager.NameNotFoundException, IOException { in queryCratesForPackage() 412 e.maybeRethrow(PackageManager.NameNotFoundException.class); in queryCratesForPackage() 437 @NonNull UserHandle user) throws PackageManager.NameNotFoundException, IOException { in queryCratesForUser() 444 e.maybeRethrow(PackageManager.NameNotFoundException.class); in queryCratesForUser()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | SystemInterface.java | 21 import android.content.pm.PackageManager.NameNotFoundException; 38 public long getFactoryPackageVersion(String packageName) throws NameNotFoundException; in getFactoryPackageVersion() 51 throws NameNotFoundException; in getPackageInfoForProvider()
|
/frameworks/base/core/java/android/service/contentcapture/ |
D | ContentCaptureServiceInfo.java | 27 import android.content.pm.PackageManager.NameNotFoundException; 57 @UserIdInt int userId) throws PackageManager.NameNotFoundException { in getServiceInfoOrThrow() 69 throw new NameNotFoundException("Could not get serviceInfo for " in getServiceInfoOrThrow() 84 throws PackageManager.NameNotFoundException { in ContentCaptureServiceInfo() 135 } catch (PackageManager.NameNotFoundException | IOException | XmlPullParserException e) { in ContentCaptureServiceInfo()
|
/frameworks/base/test-mock/api/ |
D | current.txt | 46 …ntext createContextForSplit(String) throws android.content.pm.PackageManager.NameNotFoundException; 49 …t createPackageContext(String, int) throws android.content.pm.PackageManager.NameNotFoundException; 206 …nner(android.content.ComponentName) throws android.content.pm.PackageManager.NameNotFoundException; 207 …ivityBanner(android.content.Intent) throws android.content.pm.PackageManager.NameNotFoundException; 208 …Icon(android.content.ComponentName) throws android.content.pm.PackageManager.NameNotFoundException; 209 …ctivityIcon(android.content.Intent) throws android.content.pm.PackageManager.NameNotFoundException; 210 …android.content.ComponentName, int) throws android.content.pm.PackageManager.NameNotFoundException; 211 …Logo(android.content.ComponentName) throws android.content.pm.PackageManager.NameNotFoundException; 212 …ctivityLogo(android.content.Intent) throws android.content.pm.PackageManager.NameNotFoundException; 216 …awable getApplicationBanner(String) throws android.content.pm.PackageManager.NameNotFoundException; [all …]
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | AndroidPackageInfoFetcher.java | 23 import android.content.pm.PackageManager.NameNotFoundException; 65 public List<String> getCertFingerprints(String packageName) throws NameNotFoundException { in getCertFingerprints() 74 public List<String> getStatements(String packageName) throws NameNotFoundException { in getStatements()
|
/frameworks/base/core/java/android/service/voice/ |
D | VoiceInteractionServiceInfo.java | 51 throws PackageManager.NameNotFoundException { in VoiceInteractionServiceInfo() 56 throws PackageManager.NameNotFoundException { in VoiceInteractionServiceInfo() 61 throws PackageManager.NameNotFoundException { in getServiceInfoOrThrow() 74 throw new PackageManager.NameNotFoundException(comp.toString()); in getServiceInfoOrThrow() 145 } catch (PackageManager.NameNotFoundException e) { in VoiceInteractionServiceInfo()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManager.java | 106 public static class NameNotFoundException extends AndroidException { class in PackageManager 107 public NameNotFoundException() { in NameNotFoundException() method in PackageManager.NameNotFoundException 110 public NameNotFoundException(String name) { in NameNotFoundException() method in PackageManager.NameNotFoundException 3762 throws NameNotFoundException; in getPackageInfo() 3787 @PackageInfoFlags int flags) throws NameNotFoundException; in getPackageInfo() 3811 @PackageInfoFlags int flags, @UserIdInt int userId) throws NameNotFoundException; in getPackageInfoAsUser() 3891 throws NameNotFoundException; in getPackageGids() 3908 throws NameNotFoundException; in getPackageGids() 3923 throws NameNotFoundException; in getPackageUid() 3941 throws NameNotFoundException; in getPackageUidAsUser() [all …]
|
D | LauncherActivityInfo.java | 22 import android.content.pm.PackageManager.NameNotFoundException; 114 } catch (NameNotFoundException | Resources.NotFoundException exc) { in getIcon() 152 } catch (NameNotFoundException nnfe) { in getFirstInstallTime()
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/ |
D | PartnerConfigHelper.java | 100 } catch (PackageManager.NameNotFoundException exception) { in getColor() 147 } catch (PackageManager.NameNotFoundException exception) { in getColorStateList() 190 } catch (PackageManager.NameNotFoundException | NotFoundException exception) { in getDrawable() 225 } catch (PackageManager.NameNotFoundException exception) { in getString() 271 } catch (PackageManager.NameNotFoundException exception) { in getDimension() 307 } catch (PackageManager.NameNotFoundException exception) { in getBoolean() 335 throws PackageManager.NameNotFoundException { in getResourcesByPackageName()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | ShortcutParser.java | 22 import android.content.pm.PackageManager.NameNotFoundException; 51 public ShortcutParser(Context context, ComponentName component) throws NameNotFoundException { in ShortcutParser() 57 throws NameNotFoundException { in getResId() 146 } catch (NameNotFoundException e) { in create()
|
/frameworks/base/packages/overlays/tests/src/com/android/theme/icon/ |
D | IconPackOverlayTest.java | 155 } catch (PackageManager.NameNotFoundException e) { in containsAllOverlayedIcons() 164 } catch (PackageManager.NameNotFoundException e) { in containsAllOverlayedIcons() 187 } catch (PackageManager.NameNotFoundException e) { in hasEqualVectorDrawableAttributes() 197 } catch (PackageManager.NameNotFoundException e) { in hasEqualVectorDrawableAttributes() 204 } catch (PackageManager.NameNotFoundException e) { in hasEqualVectorDrawableAttributes()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | PackageManagerAdapter.java | 51 throws PackageManager.NameNotFoundException { in getServiceInfo() 56 throws PackageManager.NameNotFoundException { in getPackageInfoAsUser()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/ |
D | IntentFilterVerificationReceiver.java | 23 import android.content.pm.PackageManager.NameNotFoundException; 126 } catch (NameNotFoundException e) { in onReceive() 156 throws NameNotFoundException { in createAndroidAssetString() 158 throw new NameNotFoundException("Input package name is not valid."); in createAndroidAssetString()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | DefaultAppInfo.java | 86 } catch (PackageManager.NameNotFoundException e) { in loadLabel() 110 } catch (PackageManager.NameNotFoundException e) { in loadIcon() 119 } catch (PackageManager.NameNotFoundException e) { in loadIcon()
|