Home
last modified time | relevance | path

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

12345678

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java63 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo()
69 throws NameNotFoundException { in getPackageInfoAsUser()
94 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids()
99 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException { in getPackageGids()
104 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid()
109 … public int getPackageUidAsUser(String packageName, int userHandle) throws NameNotFoundException { in getPackageUidAsUser()
114 …t getPackageUidAsUser(String packageName, int flags, int userHandle) throws NameNotFoundException { in getPackageUidAsUser()
119 public PermissionInfo getPermissionInfo(String name, int flags) throws NameNotFoundException { in getPermissionInfo()
125 throws NameNotFoundException { in queryPermissionsByGroup()
131 throws NameNotFoundException { in getPermissionGroupInfo()
[all …]
/frameworks/base/test-runner/src/android/test/mock/
DMockPackageManager.java71 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo()
78 throws NameNotFoundException { in getPackageInfoAsUser()
103 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids()
108 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException { in getPackageGids()
113 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid()
120 throws NameNotFoundException { in getPackageUidAsUser()
127 throws NameNotFoundException { in getPackageUidAsUser()
133 throws NameNotFoundException { in getPermissionInfo()
139 throws NameNotFoundException { in queryPermissionsByGroup()
145 int flags) throws NameNotFoundException { in getPermissionGroupInfo()
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageManager.java79 public static class NameNotFoundException extends AndroidException { class in PackageManager
80 public NameNotFoundException() { in NameNotFoundException() method in PackageManager.NameNotFoundException
83 public NameNotFoundException(String name) { in NameNotFoundException() method in PackageManager.NameNotFoundException
2596 throws NameNotFoundException; in getPackageInfo()
2646 @PackageInfoFlags int flags, @UserIdInt int userId) throws NameNotFoundException; in getPackageInfoAsUser()
2711 throws NameNotFoundException; in getPackageGids()
2728 throws NameNotFoundException; in getPackageGids()
2743 throws NameNotFoundException; in getPackageUid()
2760 throws NameNotFoundException; in getPackageUidAsUser()
2777 @UserIdInt int userId) throws NameNotFoundException; in getPackageUidAsUser()
[all …]
DLauncherActivityInfo.java21 import android.content.pm.PackageManager.NameNotFoundException;
112 } catch (NameNotFoundException | Resources.NotFoundException exc) { in getIcon()
149 } catch (NameNotFoundException nnfe) { in getFirstInstallTime()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java131 throws NameNotFoundException { in getPackageInfo()
137 throws NameNotFoundException { in getPackageInfoAsUser()
147 throw new NameNotFoundException(packageName); in getPackageInfoAsUser()
215 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids()
221 throws NameNotFoundException { in getPackageGids()
231 throw new NameNotFoundException(packageName); in getPackageGids()
235 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid()
240 public int getPackageUidAsUser(String packageName, int userId) throws NameNotFoundException { in getPackageUidAsUser()
246 throws NameNotFoundException { in getPackageUidAsUser()
256 throw new NameNotFoundException(packageName); in getPackageUidAsUser()
[all …]
DTaskStackBuilder.java25 import android.content.pm.PackageManager.NameNotFoundException;
179 } catch (NameNotFoundException e) { in addParentStack()
/frameworks/base/services/core/java/com/android/server/webkit/
DSystemInterface.java21 import android.content.pm.PackageManager.NameNotFoundException;
35 public int getFactoryPackageVersion(String packageName) throws NameNotFoundException; in getFactoryPackageVersion()
50 throws NameNotFoundException; in getPackageInfoForProvider()
DSystemImpl.java26 import android.content.pm.PackageManager.NameNotFoundException;
156 public int getFactoryPackageVersion(String packageName) throws NameNotFoundException { in getFactoryPackageVersion()
233 } catch (NameNotFoundException e) { in uninstallAndDisablePackageForAllUsers()
266 throws NameNotFoundException { in getPackageInfoForProvider()
DWebViewUpdateServiceImpl.java21 import android.content.pm.PackageManager.NameNotFoundException;
75 } catch (NameNotFoundException e) { in existsValidNonFallbackProvider()
168 } catch (NameNotFoundException e) { in updateFallbackState()
397 } catch (NameNotFoundException e) { in getValidWebViewPackagesAndInfos()
618 } catch (NameNotFoundException e) { in getMinimumVersionCode()
/frameworks/support/v4/java/android/support/v4/app/
DNavUtils.java25 import android.content.pm.PackageManager.NameNotFoundException;
64 } catch (NameNotFoundException e) { in getParentActivityIntent()
230 throws NameNotFoundException { in getParentActivityIntent()
255 throws NameNotFoundException { in getParentActivityIntent()
282 } catch (NameNotFoundException e) { in getParentActivityName()
299 throws NameNotFoundException { in getParentActivityName()
/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/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/services/tests/servicestests/src/com/android/server/webkit/
DTestSystemImpl.java21 import android.content.pm.PackageManager.NameNotFoundException;
98 NameNotFoundException { in getPackageInfoForProvider()
100 if (ret == null) throw new NameNotFoundException(info.packageName); in getPackageInfoForProvider()
/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/volley/src/main/java/com/android/volley/toolbox/
DVolley.java21 import android.content.pm.PackageManager.NameNotFoundException;
50 } catch (NameNotFoundException e) { in newRequestQueue()
/frameworks/base/core/java/android/widget/
DAppSecurityPermissions.java29 import android.content.pm.PackageManager.NameNotFoundException;
200 } catch (NameNotFoundException e) { in onClick()
267 } catch (NameNotFoundException e) { in AppSecurityPermissions()
294 } catch (NameNotFoundException e) { in AppSecurityPermissions()
304 } catch (NameNotFoundException e) { in AppSecurityPermissions()
342 } catch (NameNotFoundException e) { in getPermissionsForPackage()
415 } catch (NameNotFoundException e) { in extractPerms()
632 } catch (NameNotFoundException e) { in setPermissions()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java26 import android.content.pm.PackageManager.NameNotFoundException;
345 } catch (NameNotFoundException e) { in isUidValidForPolicy()
358 } catch (NameNotFoundException e) { in isUidValidForPolicy()
DVpnService.java602 private void verifyApp(String packageName) throws PackageManager.NameNotFoundException { in verifyApp()
634 throws PackageManager.NameNotFoundException { in addAllowedApplication()
666 throws PackageManager.NameNotFoundException { in addDisallowedApplication()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DPartner.java23 import android.content.pm.PackageManager.NameNotFoundException;
127 } catch (NameNotFoundException e) { in get()
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java27 import android.content.pm.PackageManager.NameNotFoundException;
100 } catch (NameNotFoundException e) { in testMemory()
180 private String startApp(String appName) throws NameNotFoundException { in startApp()
184 throw new NameNotFoundException("Could not find: " + appName); in startApp()
/frameworks/base/core/java/com/android/internal/app/
DConfirmUserCreationActivity.java25 import android.content.pm.PackageManager.NameNotFoundException;
93 } catch (NameNotFoundException nnfe) { in checkUserCreationRequirements()
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java264 throws PackageManager.NameNotFoundException { in createPackageContext()
421 throws NameNotFoundException { in getActivityInfo()
428 throw new NameNotFoundException(); in getActivityInfo()
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java28 import android.content.pm.PackageManager.NameNotFoundException;
150 } catch (NameNotFoundException e) { in getProcessName()
/frameworks/base/services/core/java/com/android/server/policy/
DShortcutManager.java146 } catch (PackageManager.NameNotFoundException e) { in loadShortcuts()
155 } catch (PackageManager.NameNotFoundException e1) { in loadShortcuts()

12345678