/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 67 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/ |
D | MockPackageManager.java | 73 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/ |
D | FontRequestEmojiCompatConfigTest.java | 41 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/ |
D | ApplicationPackageManager.java | 138 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/ |
D | TestSystemImpl.java | 21 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/ |
D | PackageManager.java | 86 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 …]
|
D | LauncherActivityInfo.java | 21 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/ |
D | NavUtils.java | 25 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/ |
D | FontsContractTest.java | 30 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 …]
|
D | FontsContractE2ETest.java | 28 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/ |
D | FontsContractCompatTest.java | 39 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/ |
D | SystemInterface.java | 21 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/ |
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()
|
D | Utils.java | 20 import android.content.pm.PackageManager.NameNotFoundException; 100 Context context) throws NameNotFoundException { in getCertFingerprintsFromPackageManager()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | PackageManagerWrapper.java | 24 import android.content.pm.PackageManager.NameNotFoundException; 76 throws PackageManager.NameNotFoundException; in getApplicationInfoAsUser() 111 PackageInfo getPackageInfo(String packageName, int i) throws NameNotFoundException; in getPackageInfo()
|
D | PackageManagerWrapperImpl.java | 24 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/ |
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/service/autofill/ |
D | AutofillServiceInfo.java | 48 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/ |
D | PackageManagerPresubmitTest.java | 67 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/ |
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/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/services/core/java/com/android/server/security/ |
D | KeyAttestationApplicationIdProviderService.java | 23 import android.content.pm.PackageManager.NameNotFoundException; 68 } catch (NameNotFoundException nnfe) { in getKeyAttestationApplicationId()
|
/frameworks/base/core/java/android/webkit/ |
D | UserPackage.java | 21 import android.content.pm.PackageManager.NameNotFoundException; 55 } catch (NameNotFoundException e) { in getPackageInfosAllUsers()
|
/frameworks/support/emoji/core/src/android/support/text/emoji/ |
D | FontRequestEmojiCompatConfig.java | 21 import android.content.pm.PackageManager.NameNotFoundException; 122 } catch (NameNotFoundException e) { in run() 177 @NonNull FontRequest request) throws NameNotFoundException { in fetchFonts()
|