/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/robotests/src/com/android/server/testing/shadows/ |
D | ShadowApplicationPackageManager.java | 19 import static android.content.pm.PackageManager.NameNotFoundException; 63 throws NameNotFoundException { in getPackageInfoAsUser() 65 throw new NameNotFoundException(packageName); in getPackageInfoAsUser() 77 throws NameNotFoundException { in getPackageUidAsUser() 79 throw new NameNotFoundException(packageName); in getPackageUidAsUser()
|
/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/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/ |
D | ApplicationPackageManager.java | 158 throws NameNotFoundException { in getPackageInfo() 164 throws NameNotFoundException { in getPackageInfo() 175 throw new NameNotFoundException(versionedPackage.toString()); in getPackageInfo() 180 throws NameNotFoundException { in getPackageInfoAsUser() 190 throw new NameNotFoundException(packageName); in getPackageInfoAsUser() 267 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids() 273 throws NameNotFoundException { in getPackageGids() 285 throw new NameNotFoundException(packageName); in getPackageGids() 289 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid() 294 public int getPackageUidAsUser(String packageName, int userId) throws NameNotFoundException { in getPackageUidAsUser() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManager.java | 93 public static class NameNotFoundException extends AndroidException { class in PackageManager 94 public NameNotFoundException() { in NameNotFoundException() method in PackageManager.NameNotFoundException 97 public NameNotFoundException(String name) { in NameNotFoundException() method in PackageManager.NameNotFoundException 3428 throws NameNotFoundException; in getPackageInfo() 3453 @PackageInfoFlags int flags) throws NameNotFoundException; in getPackageInfo() 3477 @PackageInfoFlags int flags, @UserIdInt int userId) throws NameNotFoundException; in getPackageInfoAsUser() 3557 throws NameNotFoundException; in getPackageGids() 3574 throws NameNotFoundException; in getPackageGids() 3589 throws NameNotFoundException; in getPackageUid() 3607 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/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/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/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/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/ |
D | PartnerConfigHelper.java | 96 } catch (PackageManager.NameNotFoundException exception) { in getColor() 139 } catch (PackageManager.NameNotFoundException | NotFoundException exception) { in getDrawable() 174 } catch (PackageManager.NameNotFoundException exception) { in getString() 220 } catch (PackageManager.NameNotFoundException exception) { in getDimension() 256 } catch (PackageManager.NameNotFoundException exception) { in getBoolean() 284 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/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/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/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()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/ |
D | RecentLocationAccessesTest.java | 15 import android.content.pm.PackageManager.NameNotFoundException; 60 public void setUp() throws NameNotFoundException { in setUp() 101 public void testGetAppList_shouldNotShowAndroidOS() throws NameNotFoundException { in testGetAppList_shouldNotShowAndroidOS() 129 throws NameNotFoundException { in mockTestApplicationInfos()
|
D | RecentLocationAppsTest.java | 14 import android.content.pm.PackageManager.NameNotFoundException; 60 public void setUp() throws NameNotFoundException { in setUp() 98 public void testGetAppList_shouldNotShowAndroidOS() throws NameNotFoundException { in testGetAppList_shouldNotShowAndroidOS() 127 throws NameNotFoundException { in mockTestApplicationInfos()
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | KeyAttestationApplicationIdProviderService.java | 23 import android.content.pm.PackageManager.NameNotFoundException; 70 } catch (NameNotFoundException nnfe) { in getKeyAttestationApplicationId()
|