/development/apps/SdkSetup/src/com/android/sdksetup/ |
DefaultActivity.java | 23 import android.content.pm.PackageManager; 62 PackageManager pm = getPackageManager(); local 64 pm.setComponentEnabledSetting(name, PackageManager.COMPONENT_ENABLED_STATE_DISABLED, 0);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowResolveInfo.java | 3 import android.content.pm.ActivityInfo; 4 import android.content.pm.PackageManager; 5 import android.content.pm.ResolveInfo;
|
/frameworks/base/core/java/android/content/pm/ |
PermissionGroupInfo.java | 17 package android.content.pm; 77 * @param pm A PackageManager from which the label can be loaded; usually 83 public CharSequence loadDescription(PackageManager pm) { 88 CharSequence label = pm.getText(packageName, descriptionRes, null);
|
LabeledIntent.java | 17 package android.content.pm; 134 public CharSequence loadLabel(PackageManager pm) { 139 CharSequence label = pm.getText(mSourcePackage, mLabelRes, null); 152 public Drawable loadIcon(PackageManager pm) { 154 Drawable icon = pm.getDrawable(mSourcePackage, mIcon, null);
|
/frameworks/base/services/java/com/android/server/ |
ShutdownActivity.java | 49 IPowerManager pm = IPowerManager.Stub.asInterface( 53 pm.reboot(mConfirm, null, false); 55 pm.shutdown(mConfirm, false);
|
/frameworks/base/services/java/com/android/server/pm/ |
PackageVerificationState.java | 17 package com.android.server.pm; 19 import com.android.server.pm.PackageManagerService.InstallArgs; 21 import android.content.pm.PackageManager;
|
/packages/apps/Camera/src/com/android/camera/ |
DisableCameraReceiver.java | 23 import android.content.pm.PackageManager; 77 PackageManager pm = context.getPackageManager(); local 81 pm.setComponentEnabledSetting(name,
|
/packages/apps/Camera2/src/com/android/camera/ |
DisableCameraReceiver.java | 23 import android.content.pm.PackageManager; 77 PackageManager pm = context.getPackageManager(); local 81 pm.setComponentEnabledSetting(name,
|
/packages/apps/Gallery2/src/com/android/camera/ |
DisableCameraReceiver.java | 23 import android.content.pm.PackageManager; 77 PackageManager pm = context.getPackageManager(); local 81 pm.setComponentEnabledSetting(name,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
ApplicationUtils.java | 22 import android.content.pm.ActivityInfo; 23 import android.content.pm.PackageInfo; 24 import android.content.pm.PackageManager.NameNotFoundException;
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockPackageManager.java | 23 import android.content.pm.ActivityInfo; 24 import android.content.pm.ApplicationInfo; 25 import android.content.pm.ContainerEncryptionParams; 26 import android.content.pm.FeatureInfo; 27 import android.content.pm.IPackageDataObserver; 28 import android.content.pm.IPackageDeleteObserver; 29 import android.content.pm.IPackageInstallObserver; 30 import android.content.pm.IPackageMoveObserver; 31 import android.content.pm.IPackageStatsObserver; 32 import android.content.pm.InstrumentationInfo [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageItemInfoTest.java | 17 package android.content.pm.cts; 23 import android.content.pm.ActivityInfo; 24 import android.content.pm.PackageItemInfo; 25 import android.content.pm.PackageManager; 26 import android.content.pm.PackageManager.NameNotFoundException; 34 private static final String ACTIVITY_NAME = "android.content.pm.cts.TestPmActivity"; 35 private static final String METADATA_NAME = "android.content.pm.cts.xmltest";
|
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/ |
ExampleAppWidgetProvider.java | 23 import android.content.pm.PackageManager; 83 PackageManager pm = context.getPackageManager(); local 84 pm.setComponentEnabledSetting( 95 PackageManager pm = context.getPackageManager(); local 96 pm.setComponentEnabledSetting(
|
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/ |
AppNavHomeActivity.java | 21 import android.content.pm.PackageManager; 22 import android.content.pm.ResolveInfo; 55 PackageManager pm = getPackageManager(); local 56 List<ResolveInfo> infos = pm.queryIntentActivities(intent, 0); 63 final CharSequence labelSeq = info.loadLabel(pm);
|
/development/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/ |
AppNavHomeActivity.java | 21 import android.content.pm.PackageManager; 22 import android.content.pm.ResolveInfo; 55 PackageManager pm = getPackageManager(); local 56 List<ResolveInfo> infos = pm.queryIntentActivities(intent, 0); 63 final CharSequence labelSeq = info.loadLabel(pm);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
DHParameters.java | 165 DHParameters pm = (DHParameters)obj; local 169 if (!this.getQ().equals(pm.getQ())) 176 if (pm.getQ() != null) 182 return pm.getP().equals(p) && pm.getG().equals(g);
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiScanModeActivity.java | 27 import android.content.pm.ApplicationInfo; 28 import android.content.pm.PackageManager; 51 PackageManager pm = getPackageManager(); local 52 ai = pm.getApplicationInfo(mApp, 0); 53 mApp = (String)pm.getApplicationLabel(ai);
|
/frameworks/base/core/java/android/view/textservice/ |
SpellCheckerInfo.java | 24 import android.content.pm.PackageManager; 25 import android.content.pm.ResolveInfo; 26 import android.content.pm.ServiceInfo; 70 final PackageManager pm = context.getPackageManager(); local 76 parser = si.loadXmlMetaData(pm, SpellCheckerSession.SERVICE_META_DATA); 82 final Resources res = pm.getResourcesForApplication(si.applicationInfo); 205 * @param pm Supply a PackageManager used to load the spell checker's resources. 207 public CharSequence loadLabel(PackageManager pm) { 208 if (mLabel == 0 || pm == null) return ""; 209 return pm.getText(getPackageName(), mLabel, mService.serviceInfo.applicationInfo) [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
RegisteredComponentCache.java | 27 import android.content.pm.ActivityInfo; 28 import android.content.pm.PackageManager; 29 import android.content.pm.ResolveInfo; 30 import android.content.pm.PackageManager.NameNotFoundException; 147 PackageManager pm; local 150 pm = mContext.createPackageContextAsUser("android", 0, 157 List<ResolveInfo> resolveInfos = pm.queryIntentActivitiesAsUser(new Intent(mAction), 161 parseComponentInfo(pm, resolveInfo, components); 178 void parseComponentInfo(PackageManager pm, ResolveInfo info, 184 parser = ai.loadXmlMetaData(pm, mMetaDataName) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
LocalizedNameResolver.java | 22 import android.content.pm.PackageInfo; 23 import android.content.pm.PackageManager; 24 import android.content.pm.PackageManager.NameNotFoundException; 25 import android.content.pm.ServiceInfo; 83 final PackageManager pm = context.getPackageManager(); local 85 PackageInfo pi = pm.getPackageInfo(packageName, PackageManager.GET_SERVICES 89 final XmlResourceParser parser = si.loadXmlMetaData(pm, METADATA_CONTACTS);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoPriorityResolver.java | 22 import android.content.pm.PackageInfo; 23 import android.content.pm.PackageManager; 24 import android.content.pm.PackageManager.NameNotFoundException; 25 import android.content.pm.ServiceInfo; 109 final PackageManager pm = mContext.getPackageManager(); local 111 PackageInfo pi = pm.getPackageInfo(packageName, PackageManager.GET_SERVICES 115 final XmlResourceParser parser = si.loadXmlMetaData(pm, METADATA_CONTACTS);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RenameResourceProcessor.java | 156 public RefactoringStatus checkInitialConditions(IProgressMonitor pm) throws CoreException { 161 public RefactoringStatus checkFinalConditions(IProgressMonitor pm, 163 pm.beginTask("", 1); 168 pm.done(); 173 public Change createChange(IProgressMonitor pm) throws CoreException { 174 pm.beginTask("", 1); 179 pm.done();
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
InstallAppProgress.java | 25 import android.content.pm.ApplicationInfo; 26 import android.content.pm.IPackageInstallObserver; 27 import android.content.pm.ManifestDigest; 28 import android.content.pm.PackageInfo; 29 import android.content.pm.PackageManager; 30 import android.content.pm.PackageManager.NameNotFoundException; 31 import android.content.pm.ResolveInfo; 32 import android.content.pm.VerificationParams; 229 PackageManager pm = getPackageManager(); 231 PackageInfo pi = pm.getPackageInfo(mAppInfo.packageName, [all...] |
/frameworks/base/core/java/android/speech/tts/ |
TtsEngines.java | 23 import android.content.pm.ApplicationInfo; 24 import android.content.pm.PackageManager; 25 import android.content.pm.PackageManager.NameNotFoundException; 26 import android.content.pm.ResolveInfo; 27 import android.content.pm.ServiceInfo; 100 PackageManager pm = mContext.getPackageManager(); local 103 List<ResolveInfo> resolveInfos = pm.queryIntentServices(intent, 109 return getEngineInfo(resolveInfos.get(0), pm); 121 PackageManager pm = mContext.getPackageManager(); local 124 pm.queryIntentServices(intent, PackageManager.MATCH_DEFAULT_ONLY) 160 PackageManager pm = mContext.getPackageManager(); local [all...] |
/external/chromium_org/chrome/browser/extensions/ |
lazy_background_page_apitest.cc | 108 extensions::ProcessManager* pm = extensions::ExtensionSystem::Get( local 110 return pm->GetBackgroundHostForExtension(extension_id); 229 extensions::ProcessManager* pm = local 231 int previous_keep_alive_count = pm->GetLazyKeepaliveCount(extension); 234 pm->GetLazyKeepaliveCount(extension)); 285 extensions::ProcessManager* pm = local 288 pm->GetBackgroundHostForExtension(last_loaded_extension_id()); 299 EXPECT_FALSE(pm->GetBackgroundHostForExtension(last_loaded_extension_id())); 359 extensions::ProcessManager* pm = local 364 EXPECT_FALSE(pm->GetBackgroundHostForExtension(last_loaded_extension_id())) 449 extensions::ProcessManager* pm = local [all...] |