Home
last modified time | relevance | path

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

12345678910>>...22

/aosp14/frameworks/base/core/java/android/content/pm/verify/domain/
H A DDomainVerificationManager.java28 import android.content.pm.PackageManager.NameNotFoundException;
188 throws NameNotFoundException { in getDomainVerificationInfo()
193 if (converted instanceof NameNotFoundException) { in getDomainVerificationInfo()
194 throw (NameNotFoundException) converted; in getDomainVerificationInfo()
222 int state) throws NameNotFoundException { in setDomainVerificationStatus()
230 if (converted instanceof NameNotFoundException) { in setDomainVerificationStatus()
231 throw (NameNotFoundException) converted; in setDomainVerificationStatus()
253 boolean allowed) throws NameNotFoundException { in setDomainVerificationLinkHandlingAllowed()
260 throw (NameNotFoundException) converted; in setDomainVerificationLinkHandlingAllowed()
313 throw (NameNotFoundException) converted; in setDomainVerificationUserSelection()
[all …]
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/
H A DPackageManagerStub.java50 throws NameNotFoundException { in getPackageInfo()
56 throws NameNotFoundException { in getPackageInfo()
62 throws NameNotFoundException { in getPackageInfoAsUser()
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()
132 throws NameNotFoundException { in queryPermissionsByGroup()
148 throws NameNotFoundException { in getPermissionGroupInfo()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/app/
H A DMockPackageManager.java71 throws NameNotFoundException { in getPackageInfo()
77 throws NameNotFoundException { in getPackageInfo()
83 throws NameNotFoundException { in getPackageInfoAsUser()
122 throws NameNotFoundException { in getPackageGids()
128 throws NameNotFoundException { in getPackageUid()
134 throws NameNotFoundException { in getPackageUidAsUser()
140 throws NameNotFoundException { in getPackageUidAsUser()
146 throws NameNotFoundException { in getPermissionInfo()
170 throws NameNotFoundException { in getPermissionGroupInfo()
183 throws NameNotFoundException { in getApplicationInfo()
[all …]
/aosp14/frameworks/base/test-mock/src/android/test/mock/
H A DMockPackageManager.java87 throws NameNotFoundException { in getPackageInfoAsUser()
135 throws NameNotFoundException { in getPackageUidAsUser()
148 throws NameNotFoundException { in getPermissionInfo()
196 throws NameNotFoundException { in getActivityInfo()
202 throws NameNotFoundException { in getReceiverInfo()
208 throws NameNotFoundException { in getServiceInfo()
214 throws NameNotFoundException { in getProviderInfo()
539 throws NameNotFoundException { in getInstrumentationInfo()
556 throws NameNotFoundException { in getActivityIcon()
668 throws NameNotFoundException { in getResourcesForActivity()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/media/projection/
H A DMediaProjectionManagerServiceTest.java232 throws NameNotFoundException { in testCreateProjection_attemptReuse_noPriorProjectionGrant()
244 throws NameNotFoundException { in testCreateProjection_attemptReuse_priorProjectionGrant_notWaiting()
261 throws NameNotFoundException { in testCreateProjection_attemptReuse_priorProjectionGrant_waiting()
283 throws NameNotFoundException { in testCreateProjection_attemptReuse_priorProjectionGrant_waiting_differentPackage()
381 throws NameNotFoundException { in testIsValid_invalid_preventionEnabled()
397 throws NameNotFoundException { in testIsValid_invalid_preventionDisabled()
433 throws NameNotFoundException { in testIsCurrentProjectionInternal_currentProjection()
605 throws NameNotFoundException { in testSetUserReviewGrantedConsentResult_displayMirroring_startedSession()
612 throws NameNotFoundException { in testSetUserReviewGrantedConsentResult_displayMirroring_failedToStartSession()
619 throws NameNotFoundException { in testSetUserReviewGrantedConsentResult_taskMirroring_startedSession()
[all …]
/aosp14/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java209 throws NameNotFoundException { in getPackageInfo()
215 throws NameNotFoundException { in getPackageInfo()
221 throws NameNotFoundException { in getPackageInfo()
227 throws NameNotFoundException { in getPackageInfo()
243 throws NameNotFoundException { in getPackageInfoAsUser()
249 throws NameNotFoundException { in getPackageInfoAsUser()
351 throws NameNotFoundException { in getPackageGids()
357 throws NameNotFoundException { in getPackageGids()
379 throws NameNotFoundException { in getPackageUid()
390 throws NameNotFoundException { in getPackageUidAsUser()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
H A DTestSystemImpl.java21 import android.content.pm.PackageManager.NameNotFoundException;
100 NameNotFoundException { in getPackageInfoForProvider()
102 if (userPackages == null) throw new NameNotFoundException(info.packageName); in getPackageInfoForProvider()
104 if (ret == null) throw new NameNotFoundException(info.packageName); in getPackageInfoForProvider()
150 public long getFactoryPackageVersion(String packageName) throws NameNotFoundException { in getFactoryPackageVersion()
153 if (userPackages == null) throw new NameNotFoundException(); in getFactoryPackageVersion()
159 throw new NameNotFoundException(); in getFactoryPackageVersion()
/aosp14/frameworks/base/startop/apps/test/src/
H A DSystemServerBenchmarks.java28 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()
/aosp14/frameworks/base/core/tests/coretests/src/android/provider/
H A DFontsContractTest.java243 } catch (NameNotFoundException e) { in testGetProvider_providerNotFound()
258 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsSystemAppWrongPackage()
268 } catch (NameNotFoundException e) { in testGetProvider_providerIsSystemAppWrongPackage()
275 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsNonSystemAppNoCerts()
282 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsNonSystemAppWrongCerts()
295 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsNonSystemAppCorrectCerts()
309 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsNonSystemAppMoreCerts()
321 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsNonSystemAppDuplicateCerts()
345 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsNonSystemAppCorrectCertsSeveralSets()
360 throws PackageManager.NameNotFoundException { in testGetProvider_providerIsNonSystemAppWrongPackage()
[all …]
H A 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()
/aosp14/frameworks/base/core/java/android/app/usage/
H A DStorageStatsManager.java211 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()
/aosp14/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
H A DUtils.java62 throws PackageManager.NameNotFoundException { in getApplicationLabel()
72 @NonNull String packageName) throws PackageManager.NameNotFoundException { in getApplicationIcon()
88 @NonNull String packageName, int userId) throws PackageManager.NameNotFoundException { in getVendorHeaderIcon()
101 @NonNull String packageName, int userId) throws PackageManager.NameNotFoundException { in getVendorHeaderName()
113 @NonNull String packageName, int userId) throws PackageManager.NameNotFoundException { in hasVendorIcon()
142 @NonNull String packageName, int userId) throws PackageManager.NameNotFoundException { in getApplicationInfo()
/aosp14/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
H A DShadowApplicationPackageManager.java20 import static android.content.pm.PackageManager.NameNotFoundException;
100 throws NameNotFoundException { in getPackageInfoAsUser()
102 throw new NameNotFoundException(packageName); in getPackageInfoAsUser()
114 throws NameNotFoundException { in getPackageUidAsUser()
120 throw new NameNotFoundException(packageName); in getPackageUidAsUser()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
H A DDomainVerificationShell.java24 import android.content.pm.PackageManager.NameNotFoundException;
207 } catch (NameNotFoundException e) { in runSetAppLinks()
274 } catch (NameNotFoundException e) { in runSetAppLinksUserState()
305 } catch (NameNotFoundException e) { in runGetAppLinks()
423 } catch (NameNotFoundException e) { in runSetAppLinksAllowed()
477 } catch (NameNotFoundException e) { in runGetAppLinkOwners()
557 throws PackageManager.NameNotFoundException; in setDomainVerificationUserSelectionInternal()
565 throws PackageManager.NameNotFoundException; in getDomainVerificationUserState()
577 boolean allowed, @UserIdInt int userId) throws NameNotFoundException; in setDomainVerificationLinkHandlingAllowedInternal()
605 @Nullable @UserIdInt Integer userId) throws NameNotFoundException; in printState()
[all …]
H A DDomainVerificationUtils.java24 import android.content.pm.PackageManager.NameNotFoundException;
46 static NameNotFoundException throwPackageUnavailable(@NonNull String packageName) in throwPackageUnavailable()
47 throws NameNotFoundException { in throwPackageUnavailable()
48 throw new NameNotFoundException("Package " + packageName + " unavailable"); in throwPackageUnavailable()
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
H A DDomainVerificationJavaUtil.java42 throws PackageManager.NameNotFoundException { in setStatusForceNullable()
49 throws PackageManager.NameNotFoundException { in setUserSelectionForceNullable()
55 throws PackageManager.NameNotFoundException { in setStatusForceNullable()
61 throws PackageManager.NameNotFoundException { in setUserSelectionForceNullable()
/aosp14/frameworks/base/services/core/java/com/android/server/webkit/
H A DSystemInterface.java21 import android.content.pm.PackageManager.NameNotFoundException;
38 public long getFactoryPackageVersion(String packageName) throws NameNotFoundException; in getFactoryPackageVersion()
48 throws NameNotFoundException; in getPackageInfoForProvider()
/aosp14/frameworks/base/test-mock/api/
H A Dcurrent.txt46 …ntext createContextForSplit(String) throws android.content.pm.PackageManager.NameNotFoundException;
49 …t createPackageContext(String, int) throws android.content.pm.PackageManager.NameNotFoundException;
217 …awable getApplicationBanner(String) throws android.content.pm.PackageManager.NameNotFoundException;
220 …Drawable getApplicationIcon(String) throws android.content.pm.PackageManager.NameNotFoundException;
224 …Drawable getApplicationLogo(String) throws android.content.pm.PackageManager.NameNotFoundException;
238 …public int[] getPackageGids(String) throws android.content.pm.PackageManager.NameNotFoundException;
239 …c int[] getPackageGids(String, int) throws android.content.pm.PackageManager.NameNotFoundException;
240 …ageInfo getPackageInfo(String, int) throws android.content.pm.PackageManager.NameNotFoundException;
243 …blic int getPackageUid(String, int) throws android.content.pm.PackageManager.NameNotFoundException;
247 …Info getPermissionInfo(String, int) throws android.content.pm.PackageManager.NameNotFoundException;
[all …]
/aosp14/frameworks/base/core/java/android/service/contentcapture/
H A 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()
/aosp14/frameworks/base/core/java/android/service/translation/
H A DTranslationServiceInfo.java27 import android.content.pm.PackageManager.NameNotFoundException;
63 @UserIdInt int userId) throws PackageManager.NameNotFoundException { in getServiceInfoOrThrow()
75 throw new NameNotFoundException("Could not get serviceInfo for " in getServiceInfoOrThrow()
94 throws PackageManager.NameNotFoundException { in TranslationServiceInfo()
146 } catch (PackageManager.NameNotFoundException | IOException | XmlPullParserException e) { in TranslationServiceInfo()
/aosp14/frameworks/base/core/java/android/content/pm/
H A DPackageManager.java133 public NameNotFoundException() { in NameNotFoundException() method in PackageManager.NameNotFoundException
5323 throws NameNotFoundException; in getPackageInfo()
5517 throws NameNotFoundException; in getPackageGids()
5537 throws NameNotFoundException; in getPackageGids()
5564 throws NameNotFoundException; in getPackageUid()
5592 throws NameNotFoundException; in getPackageUidAsUser()
6783 throws NameNotFoundException; in getUidForSharedUser()
7924 throws NameNotFoundException; in getActivityIcon()
7945 throws NameNotFoundException; in getActivityIcon()
7962 throws NameNotFoundException; in getActivityBanner()
[all …]
H A DLauncherActivityInfo.java23 import android.content.pm.PackageManager.NameNotFoundException;
109 } catch (NameNotFoundException | Resources.NotFoundException exc) { in getIcon()
157 } catch (NameNotFoundException nnfe) { in getFirstInstallTime()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/companion/virtual/
H A DCameraAccessControllerTest.java35 import android.content.pm.PackageManager.NameNotFoundException;
99 public void setUp() throws PackageManager.NameNotFoundException { in setUp()
258 throws CameraAccessException, NameNotFoundException { in multipleUsers_getPersonalProfileAppUid_cameraBlocked()
265 eq(WORK_PROFILE_USER_ID))).thenThrow(NameNotFoundException.class); in multipleUsers_getPersonalProfileAppUid_cameraBlocked()
276 throws CameraAccessException, NameNotFoundException { in multipleUsers_getPersonalProfileAppUid_noCameraBlocking()
283 eq(WORK_PROFILE_USER_ID))).thenThrow(NameNotFoundException.class); in multipleUsers_getPersonalProfileAppUid_noCameraBlocking()
293 throws CameraAccessException, NameNotFoundException { in multipleUsers_getWorkProfileAppUid_cameraBlocked()
297 eq(PERSONAL_PROFILE_USER_ID))).thenThrow(NameNotFoundException.class); in multipleUsers_getWorkProfileAppUid_cameraBlocked()
311 throws CameraAccessException, NameNotFoundException { in multipleUsers_getWorkProfileAppUid_noCameraBlocking()
315 eq(PERSONAL_PROFILE_USER_ID))).thenThrow(NameNotFoundException.class); in multipleUsers_getWorkProfileAppUid_noCameraBlocking()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/dreams/
H A DDreamServiceTest.java42 public void testMetadataParsing() throws PackageManager.NameNotFoundException { in testMetadataParsing()
55 throws PackageManager.NameNotFoundException { in testMetadataParsing_invalidSettingsActivity()
64 throws PackageManager.NameNotFoundException { in getDreamMetadata()
/aosp14/frameworks/base/core/tests/overlaytests/device_self_targeting/src/com/android/overlaytest/
H A DOverlayManagerImplTest.java242 throws IOException, PackageManager.NameNotFoundException { in registerOverlay_createColorOverlay_shouldBeSavedInAndLoadFromFile()
268 throws IOException, PackageManager.NameNotFoundException { in registerOverlay_createStringOverlay_shouldBeSavedInAndLoadFromFile()
294 throws IOException, PackageManager.NameNotFoundException { in registerOverlay_createFileOverlay_shouldBeSavedInAndLoadFromFile()
353 throws IOException, PackageManager.NameNotFoundException { in registerMultipleOverlays_shouldMatchTheNumberOfOverlays()
396 throws IOException, PackageManager.NameNotFoundException { in registerTheSameOverlay_shouldNotIncreaseTheNumberOfOverlays()
447 throws PackageManager.NameNotFoundException { in ensureBaseDir_forOtherPackage_shouldFail()
462 throws PackageManager.NameNotFoundException, IOException { in commitRegisterOverlay_fromOtherBuilder_shouldWork()
598 throws PackageManager.NameNotFoundException, IOException { in registerOverlayOnPublicOverlayable_shouldAlwaysSucceed()
611 throws PackageManager.NameNotFoundException, IOException { in registerOverlayOnSystemOverlayable_selfIsSystemApp_shouldSucceed()
626 throws PackageManager.NameNotFoundException, IOException { in registerOverlayOnOdmOverlayable_selfIsOdm_shouldSucceed()
[all …]

12345678910>>...22