Home
last modified time | relevance | path

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

1234567891011

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java67 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo()
73 throws NameNotFoundException { in getPackageInfoAsUser()
79 @PackageInfoFlags int flags) throws NameNotFoundException { in getPackageInfo()
115 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids()
120 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException { in getPackageGids()
125 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid()
130 … public int getPackageUidAsUser(String packageName, int userHandle) throws NameNotFoundException { in getPackageUidAsUser()
135 …t getPackageUidAsUser(String packageName, int flags, int userHandle) throws NameNotFoundException { in getPackageUidAsUser()
140 public PermissionInfo getPermissionInfo(String name, int flags) throws NameNotFoundException { in getPermissionInfo()
146 throws NameNotFoundException { in queryPermissionsByGroup()
[all …]
/frameworks/base/test-runner/src/android/test/mock/
DMockPackageManager.java73 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo()
79 int flags) throws NameNotFoundException { in getPackageInfo()
86 throws NameNotFoundException { in getPackageInfoAsUser()
111 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids()
116 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException { in getPackageGids()
121 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid()
128 throws NameNotFoundException { in getPackageUidAsUser()
135 throws NameNotFoundException { in getPackageUidAsUser()
141 throws NameNotFoundException { in getPermissionInfo()
147 throws NameNotFoundException { in queryPermissionsByGroup()
[all …]
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/
DFontRequestEmojiCompatConfigTest.java41 import android.content.pm.PackageManager.NameNotFoundException;
94 public void testLoad_whenGetFontThrowsException() throws NameNotFoundException { in testLoad_whenGetFontThrowsException()
108 public void testLoad_providerNotFound() throws NameNotFoundException { in testLoad_providerNotFound()
109 doThrow(new NameNotFoundException()).when(mFontsContract).fetchFonts( in testLoad_providerNotFound()
124 public void testLoad_wrongCertificate() throws NameNotFoundException { in testLoad_wrongCertificate()
130 public void testLoad_fontNotFound() throws NameNotFoundException { in testLoad_fontNotFound()
137 public void testLoad_fontUnavailable() throws NameNotFoundException { in testLoad_fontUnavailable()
144 public void testLoad_malformedQuery() throws NameNotFoundException { in testLoad_malformedQuery()
151 public void testLoad_resultNotFound() throws NameNotFoundException { in testLoad_resultNotFound()
157 public void testLoad_nullFontInfo() throws NameNotFoundException { in testLoad_nullFontInfo()
[all …]
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java138 throws NameNotFoundException { in getPackageInfo()
144 throws NameNotFoundException { in getPackageInfo()
154 throw new NameNotFoundException(versionedPackage.toString()); in getPackageInfo()
159 throws NameNotFoundException { in getPackageInfoAsUser()
168 throw new NameNotFoundException(packageName); in getPackageInfoAsUser()
236 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids()
242 throws NameNotFoundException { in getPackageGids()
252 throw new NameNotFoundException(packageName); in getPackageGids()
256 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid()
261 public int getPackageUidAsUser(String packageName, int userId) throws NameNotFoundException { in getPackageUidAsUser()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DTestSystemImpl.java21 import android.content.pm.PackageManager.NameNotFoundException;
118 NameNotFoundException { in getPackageInfoForProvider()
120 if (userPackages == null) throw new NameNotFoundException(info.packageName); in getPackageInfoForProvider()
122 if (ret == null) throw new NameNotFoundException(info.packageName); in getPackageInfoForProvider()
168 public int getFactoryPackageVersion(String packageName) throws NameNotFoundException { in getFactoryPackageVersion()
171 if (userPackages == null) throw new NameNotFoundException(); in getFactoryPackageVersion()
177 throw new NameNotFoundException(); in getFactoryPackageVersion()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java86 public static class NameNotFoundException extends AndroidException { class in PackageManager
87 public NameNotFoundException() { in NameNotFoundException() method in PackageManager.NameNotFoundException
90 public NameNotFoundException(String name) { in NameNotFoundException() method in PackageManager.NameNotFoundException
2845 throws NameNotFoundException; in getPackageInfo()
2870 @PackageInfoFlags int flags) throws NameNotFoundException; in getPackageInfo()
2893 @PackageInfoFlags int flags, @UserIdInt int userId) throws NameNotFoundException; in getPackageInfoAsUser()
2958 throws NameNotFoundException; in getPackageGids()
2975 throws NameNotFoundException; in getPackageGids()
2990 throws NameNotFoundException; in getPackageUid()
3007 throws NameNotFoundException; in getPackageUidAsUser()
[all …]
DLauncherActivityInfo.java21 import android.content.pm.PackageManager.NameNotFoundException;
112 } catch (NameNotFoundException | Resources.NotFoundException exc) { in getIcon()
150 } catch (NameNotFoundException nnfe) { in getFirstInstallTime()
/frameworks/support/core-utils/java/android/support/v4/app/
DNavUtils.java25 import android.content.pm.PackageManager.NameNotFoundException;
143 } catch (NameNotFoundException e) { in getParentActivityIntent()
161 throws NameNotFoundException { in getParentActivityIntent()
186 throws NameNotFoundException { in getParentActivityIntent()
213 } catch (NameNotFoundException e) { in getParentActivityName()
230 throws NameNotFoundException { in getParentActivityName()
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractTest.java30 import android.content.pm.PackageManager.NameNotFoundException;
240 } catch (NameNotFoundException e) { in testGetProvider_providerNotFound()
245 public void testGetProvider_providerIsSystemApp() throws PackageManager.NameNotFoundException { in testGetProvider_providerIsSystemApp()
255 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsSystemAppWrongPackage()
265 } catch (NameNotFoundException e) { in testGetProvider_providerIsSystemAppWrongPackage()
272 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsNonSystemAppNoCerts()
279 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsNonSystemAppWrongCerts()
291 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsNonSystemAppCorrectCerts()
304 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsNonSystemAppMoreCerts()
315 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsNonSystemAppDuplicateCerts()
[all …]
DFontsContractE2ETest.java28 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/support/compat/tests/java/android/support/v4/provider/
DFontsContractCompatTest.java39 import android.content.pm.PackageManager.NameNotFoundException;
85 } catch (PackageManager.NameNotFoundException e) {
143 public void typefaceNotCacheTest() throws NameNotFoundException { in typefaceNotCacheTest()
288 } catch (NameNotFoundException e) { in testGetProvider_providerNotFound()
295 throws PackageManager.NameNotFoundException { in testGetProvider_noCerts()
306 throws PackageManager.NameNotFoundException { in testGetProvider_wrongCerts()
320 throws PackageManager.NameNotFoundException { in testGetProvider_correctCerts()
335 throws PackageManager.NameNotFoundException { in testGetProvider_moreCerts()
348 throws PackageManager.NameNotFoundException { in testGetProvider_duplicateCerts()
370 throws PackageManager.NameNotFoundException { in testGetProvider_correctCertsSeveralSets()
[all …]
/frameworks/base/services/core/java/com/android/server/webkit/
DSystemInterface.java21 import android.content.pm.PackageManager.NameNotFoundException;
39 public int getFactoryPackageVersion(String packageName) throws NameNotFoundException; in getFactoryPackageVersion()
54 throws NameNotFoundException; in getPackageInfoForProvider()
/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()
DUtils.java20 import android.content.pm.PackageManager.NameNotFoundException;
100 Context context) throws NameNotFoundException { in getCertFingerprintsFromPackageManager()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DPackageManagerWrapper.java24 import android.content.pm.PackageManager.NameNotFoundException;
76 throws PackageManager.NameNotFoundException; in getApplicationInfoAsUser()
111 PackageInfo getPackageInfo(String packageName, int i) throws NameNotFoundException; in getPackageInfo()
DPackageManagerWrapperImpl.java24 import android.content.pm.PackageManager.NameNotFoundException;
71 throws PackageManager.NameNotFoundException { in getApplicationInfoAsUser()
102 public PackageInfo getPackageInfo(String packageName, int i) throws NameNotFoundException { in getPackageInfo()
/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/base/core/java/android/service/autofill/
DAutofillServiceInfo.java48 throws PackageManager.NameNotFoundException { in getServiceInfoOrThrow()
59 throw new PackageManager.NameNotFoundException(comp.toString()); in getServiceInfoOrThrow()
69 throws PackageManager.NameNotFoundException { in AutofillServiceInfo()
131 } catch (PackageManager.NameNotFoundException e) { in getMetaDataArray()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerPresubmitTest.java67 public void testPrivAppPermissions() throws PackageManager.NameNotFoundException { in testPrivAppPermissions()
81 throws PackageManager.NameNotFoundException { in testPackagePrivAppPermission()
97 } catch (PackageManager.NameNotFoundException e) { in testPackagePrivAppPermission()
/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/SystemUI/src/com/android/systemui/qs/external/
DPackageManagerAdapter.java51 throws PackageManager.NameNotFoundException { in getServiceInfo()
56 throws PackageManager.NameNotFoundException { in getPackageInfoAsUser()
/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/services/core/java/com/android/server/security/
DKeyAttestationApplicationIdProviderService.java23 import android.content.pm.PackageManager.NameNotFoundException;
68 } catch (NameNotFoundException nnfe) { in getKeyAttestationApplicationId()
/frameworks/base/core/java/android/webkit/
DUserPackage.java21 import android.content.pm.PackageManager.NameNotFoundException;
55 } catch (NameNotFoundException e) { in getPackageInfosAllUsers()
/frameworks/support/emoji/core/src/android/support/text/emoji/
DFontRequestEmojiCompatConfig.java21 import android.content.pm.PackageManager.NameNotFoundException;
122 } catch (NameNotFoundException e) { in run()
177 @NonNull FontRequest request) throws NameNotFoundException { in fetchFonts()

1234567891011