HomeSort by relevance Sort by last modified time
    Searched refs:NameNotFoundException (Results 1 - 25 of 672) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/content/src/android/content/pm/cts/
PackageManager_NameNotFoundExceptionTest.java 21 import android.content.pm.PackageManager.NameNotFoundException;
27 PackageManager.NameNotFoundException exception = new PackageManager.NameNotFoundException();
30 } catch (NameNotFoundException e) {
35 exception = new PackageManager.NameNotFoundException(message);
38 } catch (NameNotFoundException e) {
ActivityInfoTest.java 24 import android.content.pm.PackageManager.NameNotFoundException;
49 public void testWriteToParcel() throws NameNotFoundException {
76 public void testGetThemeResource() throws NameNotFoundException {
87 public void testToString() throws NameNotFoundException {
92 public void testDescribeContents() throws NameNotFoundException {
  /platform_testing/libraries/app-helpers/base/src/android/platform/test/helpers/base/
IStandardAppHelper.java 19 import android.content.pm.PackageManager.NameNotFoundException;
68 * @throws NameNotFoundException if {@code getPackage} is not found
70 abstract String getVersion() throws NameNotFoundException;
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
PackageUtils.java 21 import android.content.pm.PackageManager.NameNotFoundException;
40 } catch (NameNotFoundException e) {
  /cts/tests/tests/dpi2/src/android/dpi2/cts/
DefaultManifestAttributesCupcakeTest.java 21 import android.content.pm.PackageManager.NameNotFoundException;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
ApplicationUtils.java 24 import android.content.pm.PackageManager.NameNotFoundException;
42 } catch (final NameNotFoundException e) {
60 } catch (final NameNotFoundException e) {
78 } catch (final NameNotFoundException e) {
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/
StubPackageManager.java 25 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException {
41 @Override public int[] getPackageGids(String packageName) throws NameNotFoundException {
46 public PermissionInfo getPermissionInfo(String name, int flags) throws NameNotFoundException {
51 public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) throws NameNotFoundException {
56 public PermissionGroupInfo getPermissionGroupInfo(String name, int flags) throws NameNotFoundException {
65 public ApplicationInfo getApplicationInfo(String packageName, int flags) throws NameNotFoundException {
70 public ActivityInfo getActivityInfo(ComponentName className, int flags) throws NameNotFoundException {
75 public ActivityInfo getReceiverInfo(ComponentName className, int flags) throws NameNotFoundException {
80 public ServiceInfo getServiceInfo(ComponentName className, int flags) throws NameNotFoundException {
85 public ProviderInfo getProviderInfo(ComponentName componentName, int i) throws NameNotFoundException {
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
BridgePackageManager.java 67 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException {
73 throws NameNotFoundException {
79 @PackageInfoFlags int flags) throws NameNotFoundException {
115 public int[] getPackageGids(String packageName) throws NameNotFoundException {
120 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException {
125 public int getPackageUid(String packageName, int flags) throws NameNotFoundException {
130 public int getPackageUidAsUser(String packageName, int userHandle) throws NameNotFoundException {
135 public int getPackageUidAsUser(String packageName, int flags, int userHandle) throws NameNotFoundException {
140 public PermissionInfo getPermissionInfo(String name, int flags) throws NameNotFoundException {
146 throws NameNotFoundException {
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
Version.java 37 import android.content.pm.PackageManager.NameNotFoundException;
59 } catch (NameNotFoundException e) {
  /cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
NormalService.java 22 import android.content.pm.PackageManager.NameNotFoundException;
57 private boolean tryAccessingInstantApp() throws NameNotFoundException {
  /development/samples/ShortcutDemo/common/src/com/example/android/pm/shortcutdemo/
AppLabelCache.java 21 import android.content.pm.PackageManager.NameNotFoundException;
41 } catch (NameNotFoundException e) {
  /packages/apps/Calendar/src/com/android/calendar/
AboutPreferences.java 21 import android.content.pm.PackageManager.NameNotFoundException;
40 } catch (NameNotFoundException e) {
  /packages/apps/Messaging/src/com/android/messaging/util/
VersionUtil.java 21 import android.content.pm.PackageManager.NameNotFoundException;
46 } catch (final NameNotFoundException exception) {
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
SystemFacade.java 21 import android.content.pm.PackageManager.NameNotFoundException;
59 public boolean userOwnsPackage(int uid, String pckg) throws NameNotFoundException;
  /external/libmojo/base/android/java/src/org/chromium/base/
PackageUtils.java 28 } catch (PackageManager.NameNotFoundException e) {
  /external/sl4a/Common/src/com/googlecode/android_scripting/
Version.java 33 } catch (PackageManager.NameNotFoundException e) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
Version.java 23 import android.content.pm.PackageManager.NameNotFoundException;
44 } catch (NameNotFoundException e) {
59 } catch (NameNotFoundException e) {
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
PackageManagerWrapper.java 24 import android.content.pm.PackageManager.NameNotFoundException;
76 throws PackageManager.NameNotFoundException;
109 * @throws NameNotFoundException
111 PackageInfo getPackageInfo(String packageName, int i) throws NameNotFoundException;
  /frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
AndroidPackageInfoFetcher.java 23 import android.content.pm.PackageManager.NameNotFoundException;
63 * @throws NameNotFoundException if an app with packageName is not installed on the device.
65 public List<String> getCertFingerprints(String packageName) throws NameNotFoundException {
72 * @throws NameNotFoundException if the app is not installed on the device.
74 public List<String> getStatements(String packageName) throws NameNotFoundException {
  /frameworks/base/services/core/java/com/android/server/webkit/
SystemInterface.java 21 import android.content.pm.PackageManager.NameNotFoundException;
39 public int getFactoryPackageVersion(String packageName) throws NameNotFoundException;
54 throws NameNotFoundException;
  /cts/hostsidetests/appsecurity/test-apps/PackageAccessApp/src/com/android/cts/packageaccessapp/
PackageAccessTest.java 26 import android.content.pm.PackageManager.NameNotFoundException;
56 } catch (NameNotFoundException e) {
67 } catch (NameNotFoundException e) {
79 } catch (NameNotFoundException e) {
90 } catch (NameNotFoundException e) {
  /frameworks/support/emoji/core/tests/java/android/support/text/emoji/
FontRequestEmojiCompatConfigTest.java 41 import android.content.pm.PackageManager.NameNotFoundException;
94 public void testLoad_whenGetFontThrowsException() throws NameNotFoundException {
108 public void testLoad_providerNotFound() throws NameNotFoundException {
109 doThrow(new NameNotFoundException()).when(mFontsContract).fetchFonts(
124 public void testLoad_wrongCertificate() throws NameNotFoundException {
130 public void testLoad_fontNotFound() throws NameNotFoundException {
137 public void testLoad_fontUnavailable() throws NameNotFoundException {
144 public void testLoad_malformedQuery() throws NameNotFoundException {
151 public void testLoad_resultNotFound() throws NameNotFoundException {
157 public void testLoad_nullFontInfo() throws NameNotFoundException {
    [all...]
  /frameworks/support/core-utils/java/android/support/v4/app/
NavUtils.java 25 import android.content.pm.PackageManager.NameNotFoundException;
143 } catch (NameNotFoundException e) {
158 * @throws NameNotFoundException if the ComponentName for sourceActivityClass is invalid
161 throws NameNotFoundException {
183 * @throws NameNotFoundException if the ComponentName for sourceActivityClass is invalid
186 throws NameNotFoundException {
213 } catch (NameNotFoundException e) {
230 throws NameNotFoundException {
  /cts/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/
AccessPrivateDataTest.java 28 import android.content.pm.PackageManager.NameNotFoundException;
77 } catch (PackageManager.NameNotFoundException e) {
106 } catch (NameNotFoundException e) {
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
SuspendPackageTest.java 21 import android.content.pm.PackageManager.NameNotFoundException;
30 public void testSetPackagesSuspended() throws NameNotFoundException {
43 public void testSetPackagesNotSuspended() throws NameNotFoundException {

Completed in 870 milliseconds

1 2 3 4 5 6 7 8 91011>>