Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/content/pm/
DPackageManager.java49 public static class NameNotFoundException extends AndroidException { class in PackageManager
50 public NameNotFoundException() { in NameNotFoundException() method in PackageManager.NameNotFoundException
53 public NameNotFoundException(String name) { in NameNotFoundException() method in PackageManager.NameNotFoundException
1130 throws NameNotFoundException; in getPackageInfo()
1182 throws NameNotFoundException; in getPackageGids()
1199 throws NameNotFoundException; in getPermissionInfo()
1217 int flags) throws NameNotFoundException; in queryPermissionsByGroup()
1235 int flags) throws NameNotFoundException; in getPermissionGroupInfo()
1276 int flags) throws NameNotFoundException; in getApplicationInfo()
1299 int flags) throws NameNotFoundException; in getActivityInfo()
[all …]
DApplicationInfo.java19 import android.content.pm.PackageManager.NameNotFoundException;
649 } catch (NameNotFoundException ex) { in isPackageUnavailable()
DRegisteredServicesCache.java24 import android.content.pm.PackageManager.NameNotFoundException;
247 } catch (PackageManager.NameNotFoundException e) { in inSystemImage()
402 } catch (NameNotFoundException e) { in parseServiceInfo()
/frameworks/base/test-runner/src/android/test/mock/
DMockPackageManager.java60 throws NameNotFoundException { in getPackageInfo()
80 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids()
86 throws NameNotFoundException { in getPermissionInfo()
92 throws NameNotFoundException { in queryPermissionsByGroup()
98 int flags) throws NameNotFoundException { in getPermissionGroupInfo()
109 throws NameNotFoundException { in getApplicationInfo()
115 throws NameNotFoundException { in getActivityInfo()
121 throws NameNotFoundException { in getReceiverInfo()
127 throws NameNotFoundException { in getServiceInfo()
133 throws NameNotFoundException { in getProviderInfo()
[all …]
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java68 throws NameNotFoundException { in getPackageInfo()
78 throw new NameNotFoundException(packageName); in getPackageInfo()
129 throws NameNotFoundException { in getPackageGids()
139 throw new NameNotFoundException(packageName); in getPackageGids()
144 throws NameNotFoundException { in getPermissionInfo()
154 throw new NameNotFoundException(name); in getPermissionInfo()
159 throws NameNotFoundException { in queryPermissionsByGroup()
169 throw new NameNotFoundException(group); in queryPermissionsByGroup()
174 int flags) throws NameNotFoundException { in getPermissionGroupInfo()
184 throw new NameNotFoundException(name); in getPermissionGroupInfo()
[all …]
DWallpaperInfo.java28 import android.content.pm.PackageManager.NameNotFoundException;
132 } catch (NameNotFoundException e) { in WallpaperInfo()
DAliasActivity.java76 } catch (PackageManager.NameNotFoundException e) { in onCreate()
/frameworks/base/core/java/android/webkit/
DPluginManager.java32 import android.content.pm.PackageManager.NameNotFoundException;
139 } catch (NameNotFoundException e) { in getPluginDirectories()
191 } catch (NameNotFoundException e) { in getPluginDirectories()
219 } catch (NameNotFoundException e) { in containsPluginPermissionAndSignatures()
293 throws NameNotFoundException, ClassNotFoundException { in getPluginClass()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java25 import android.content.pm.PackageManager.NameNotFoundException;
219 } catch (NameNotFoundException e) { in isUidValidForPolicy()
232 } catch (NameNotFoundException e) { in isUidValidForPolicy()
/frameworks/base/services/java/com/android/server/
DRecognitionManagerService.java26 import android.content.pm.PackageManager.NameNotFoundException;
77 } catch (NameNotFoundException e) { in systemReady()
DClipboardService.java29 import android.content.pm.PackageManager.NameNotFoundException;
211 } catch (NameNotFoundException e) { in addActiveOwnerLocked()
DWallpaperManagerService.java34 import android.content.pm.PackageManager.NameNotFoundException;
302 } catch (NameNotFoundException e) { in doPackagesChanged()
312 } catch (NameNotFoundException e) { in doPackagesChanged()
626 } catch (PackageManager.NameNotFoundException e) { in bindWallpaperComponentLocked()
906 } catch (NameNotFoundException e) { in restoreNamedResourceLocked()
DAttributeCache.java117 } catch (PackageManager.NameNotFoundException e) { in get()
DPackageManagerBackupAgent.java25 import android.content.pm.PackageManager.NameNotFoundException;
172 } catch (NameNotFoundException e) { in onBackup()
/frameworks/base/core/java/android/widget/
DAppSecurityPermissions.java24 import android.content.pm.PackageManager.NameNotFoundException;
104 } catch (NameNotFoundException e) { in AppSecurityPermissions()
139 } catch (NameNotFoundException e) { in AppSecurityPermissions()
177 } catch (NameNotFoundException e) { in getPermissionsForPackage()
196 } catch (NameNotFoundException e) { in extractPerms()
285 } catch (NameNotFoundException e) { in getGroupLabel()
/frameworks/base/core/tests/coretests/src/android/app/
DSearchablesTest.java264 throws PackageManager.NameNotFoundException { in createPackageContext()
421 throws NameNotFoundException { in getActivityInfo()
428 throw new NameNotFoundException(); in getActivityInfo()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java203 } catch (PackageManager.NameNotFoundException e) { in testGetDisabledActivityInfo()
350 } catch (PackageManager.NameNotFoundException e) { in testGetDisabledServiceInfo()
460 } catch (PackageManager.NameNotFoundException e) { in testGetDisabledReceiverInfo()
492 } catch (PackageManager.NameNotFoundException e) { in testEnableReceiver()
521 } catch (PackageManager.NameNotFoundException e) { in testDisableReceiver()
DPackageManagerTests.java27 import android.content.pm.PackageManager.NameNotFoundException;
427 } catch (NameNotFoundException e) { in assertInstall()
436 } catch (NameNotFoundException e) { in assertNotInstalled()
482 } catch (NameNotFoundException e) { in assertPermissions()
505 } catch (NameNotFoundException e) { in assertPermissions()
512 } catch (NameNotFoundException e) { in assertPermissions()
578 } catch (NameNotFoundException e1) { in installFromRawResource()
853 } catch (NameNotFoundException e) { in deleteFromRawResource()
1170 } catch (NameNotFoundException e) {} in cleanUpInstall()
1529 } catch (NameNotFoundException e) { in moveFromRawResource()
/frameworks/base/core/java/android/appwidget/
DAppWidgetHostView.java23 import android.content.pm.PackageManager.NameNotFoundException;
353 } catch (NameNotFoundException e) { in getRemoteContext()
437 } catch (PackageManager.NameNotFoundException e) { in getDefaultView()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodInfo.java26 import android.content.pm.PackageManager.NameNotFoundException;
179 } catch (NameNotFoundException e) { in InputMethodInfo()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityServiceInfo.java22 import android.content.pm.PackageManager.NameNotFoundException;
262 } catch (NameNotFoundException e) { in AccessibilityServiceInfo()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java29 import android.content.pm.PackageManager.NameNotFoundException;
281 } catch (NameNotFoundException e) { in DeviceAdminInfo()
/frameworks/base/core/java/android/preference/
DPreferenceManager.java27 import android.content.pm.PackageManager.NameNotFoundException;
231 } catch (NameNotFoundException e) { in inflateFromIntent()
/frameworks/base/core/java/android/speech/tts/
DTtsEngines.java25 import android.content.pm.PackageManager.NameNotFoundException;
222 } catch (NameNotFoundException e) { in settingsActivityFromServiceInfo()
/frameworks/base/core/java/com/android/internal/app/
DHeavyWeightSwitcherActivity.java114 } catch (PackageManager.NameNotFoundException e) { in setIconAndText()

123