Home
last modified time | relevance | path

Searched refs:NameNotFoundException (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java50 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/
DBridgePackageManager.java66 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/
DMockPackageManager.java74 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/
DPackageManagerHelper.java30 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()
DPackageTrackerHelperImpl.java77 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/
DShadowApplicationPackageManager.java19 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/
DTestSystemImpl.java21 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/
DFontsContractTest.java32 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 …]
DFontsContractE2ETest.java29 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/
DApplicationPackageManager.java158 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/
DPackageManager.java93 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 …]
DLauncherActivityInfo.java22 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/
Dcurrent.txt46 …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/
DSystemInterface.java21 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/
DContentCaptureServiceInfo.java27 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/
DAndroidPackageInfoFetcher.java23 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/
DVoiceInteractionServiceInfo.java51 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/
DPartnerConfigHelper.java96 } 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/
DShortcutParser.java22 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/
DIntentFilterVerificationReceiver.java23 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/
DPackageManagerAdapter.java51 throws PackageManager.NameNotFoundException { in getServiceInfo()
56 throws PackageManager.NameNotFoundException { in getPackageInfoAsUser()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DDefaultAppInfo.java86 } 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/
DRecentLocationAccessesTest.java15 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()
DRecentLocationAppsTest.java14 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/
DKeyAttestationApplicationIdProviderService.java23 import android.content.pm.PackageManager.NameNotFoundException;
70 } catch (NameNotFoundException nnfe) { in getKeyAttestationApplicationId()

12345678910>>...15