HomeSort by relevance Sort by last modified time
    Searched defs:getPackageManager (Results 1 - 25 of 37) sorted by null

1 2

  /frameworks/base/core/java/android/app/
AppGlobals.java 46 public static IPackageManager getPackageManager() {
47 return ActivityThread.getPackageManager();
ContextImpl.java 625 public PackageManager getPackageManager() {
630 IPackageManager pm = ActivityThread.getPackageManager();
    [all...]
ActivityThread.java     [all...]
  /cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
ModifyInstallerPackageTest.java 111 PackageManager getPackageManager() {
112 return getContext().getPackageManager();
120 assertEquals(null, getPackageManager().getInstallerPackageName(OTHER_PACKAGE));
122 getPackageManager().setInstallerPackageName(OTHER_PACKAGE, MY_PACKAGE);
123 assertEquals(MY_PACKAGE, getPackageManager().getInstallerPackageName(OTHER_PACKAGE));
126 getPackageManager().setInstallerPackageName(OTHER_PACKAGE, null);
127 assertEquals(null, getPackageManager().getInstallerPackageName(OTHER_PACKAGE));
136 getPackageManager().setInstallerPackageName("thisdoesnotexistihope!", MY_PACKAGE);
149 getPackageManager().setInstallerPackageName(OTHER_PACKAGE, "thisdoesnotexistihope!");
154 assertEquals(null, getPackageManager().getInstallerPackageName(OTHER_PACKAGE))
    [all...]
  /cts/tests/tests/content/src/android/content/pm/cts/
ApplicationInfoTest.java 51 mApplicationInfo = mContext.getPackageManager().getApplicationInfo(mPackageName, 0);
80 mApplicationInfo = mContext.getPackageManager().getApplicationInfo(mPackageName, 0);
99 mApplicationInfo = mContext.getPackageManager().getApplicationInfo(mPackageName, 0);
101 assertNull(mApplicationInfo.loadDescription(mContext.getPackageManager()));
105 mApplicationInfo.loadDescription(mContext.getPackageManager()));
  /packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
ContactsMockContext.java 67 public PackageManager getPackageManager() {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
BaseEmulatorActivity.java 116 HceUtils.enableComponent(getPackageManager(), component);
119 HceUtils.disableComponent(getPackageManager(), component);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContextWrapper.java 124 public PackageManager getPackageManager() {
125 return realContextWrapper == getApplicationContext() ? packageManager : getApplicationContext().getPackageManager();
  /frameworks/base/services/tests/servicestests/src/com/android/server/search/
SearchablesTest.java 101 MyMockPackageManager mockPM = new MyMockPackageManager(mContext.getPackageManager());
121 MyMockPackageManager mockPM = new MyMockPackageManager(mContext.getPackageManager());
255 public PackageManager getPackageManager() {
  /packages/apps/Settings/src/com/android/settings/
SettingsPreferenceFragment.java 128 protected PackageManager getPackageManager() {
129 return getActivity().getPackageManager();
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/invalidation/
InvalidationControllerTest.java 347 public PackageManager getPackageManager() {
348 return getBaseContext().getPackageManager();
  /frameworks/base/test-runner/src/android/test/mock/
MockContext.java 70 public PackageManager getPackageManager() {
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsActor.java 273 public PackageManager getPackageManager() {
  /frameworks/base/core/java/android/content/
ContextWrapper.java 93 public PackageManager getPackageManager() {
94 return mBase.getPackageManager();
Context.java 259 public abstract PackageManager getPackageManager();
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
ContextWrapperTest.java 428 List<PackageInfo> packages = mContextWrapper.getPackageManager().getInstalledPackages(
640 assertSame(mContext.getPackageManager(), mContextWrapper.getPackageManager());
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
BridgeContext.java     [all...]
  /frameworks/base/services/java/com/android/server/
InputMethodManagerService.java 608 mIPackageManager = AppGlobals.getPackageManager();
622 mHasFeature = context.getPackageManager().hasSystemFeature(
808 InputMethodUtils.setNonSelectedSystemImesDisabledUntilUsed(mContext.getPackageManager(),
    [all...]
  /prebuilts/devtools/tools/lib/
jcommon-1.0.12.jar 
  /prebuilts/tools/common/jfreechart/
jcommon-1.0.12.jar 
  /prebuilts/tools/common/m2/repository/jfree/jcommon/1.0.12/
jcommon-1.0.12.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 

Completed in 497 milliseconds

1 2