/pdk/apps/HelloPDK/src/com/example/android/helloPDK/ |
MainActivity.java | 24 import android.content.pm.PackageManager; 25 import android.content.pm.ResolveInfo; 64 PackageManager pm = getPackageManager(); local 65 List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0); 86 CharSequence labelSeq = info.loadLabel(pm);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
UnwrapRefactoring.java | 82 public RefactoringStatus checkInitialConditions(IProgressMonitor pm) throws CoreException, 87 pm.beginTask("Checking preconditions...", 6); 146 pm.worked(1); 150 pm.done();
|
/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();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
CreateFileChange.java | 68 public RefactoringStatus isValid(IProgressMonitor pm) 82 public Change perform(IProgressMonitor pm) throws CoreException { 86 pm.beginTask("Creating file", 3); 97 file.create(is, false, new SubProgressMonitor(pm, 1)); 98 pm.worked(1); 103 pm.done();
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
ComponentInfoTest.java | 17 package android.content.pm.cts; 19 import android.content.pm.ApplicationInfo; 20 import android.content.pm.ComponentInfo; 21 import android.content.pm.PackageManager; 22 import android.content.pm.PackageManager.NameNotFoundException; 73 PackageManager pm = mContext.getPackageManager(); local 74 assertNotNull(pm); 76 Drawable defaultIcon = pm.getDefaultActivityIcon(); 79 d = mComponentInfo.loadIcon(pm); 85 d2 = mComponentInfo.loadIcon(pm); 187 final PackageManager pm = mContext.getPackageManager(); local [all...] |
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";
|
SignatureTest.java | 17 package android.content.pm.cts; 20 import android.content.pm.Signature;
|
/development/apps/Development/src/com/android/development/ |
PackageSummary.java | 24 import android.content.pm.ActivityInfo; 25 import android.content.pm.ApplicationInfo; 26 import android.content.pm.InstrumentationInfo; 27 import android.content.pm.PackageInfo; 28 import android.content.pm.PackageManager; 29 import android.content.pm.ProviderInfo; 30 import android.content.pm.ServiceInfo; 67 final PackageManager pm = getPackageManager(); local 89 info = pm.getPackageInfo(mPackageName, 103 pm.getApplicationIcon(info.applicationInfo)) [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
WifiStressTest.java | 258 PowerManager pm = local 260 assertFalse(pm.isScreenOn());
|
/packages/apps/Email/src/com/android/email2/ui/ |
MailActivityEmail.java | 24 import android.content.pm.PackageManager; 143 PackageManager pm = context.getPackageManager(); local 144 pm.setComponentEnabledSetting(
|
/packages/apps/Settings/src/com/android/settings/quicklaunch/ |
BookmarkPicker.java | 23 import android.content.pm.ActivityInfo; 24 import android.content.pm.PackageManager; 25 import android.content.pm.ResolveInfo; 196 PackageManager pm = getPackageManager(); local 200 list.addAll(pm.queryIntentActivities(sLaunchIntent, 0)); 202 list.addAll(pm.queryIntentActivities(sShortcutIntent, 0));
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactDirectoryManagerTest.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.ProviderInfo; 566 final PackageManager pm = getContext().getPackageManager(); local 571 pm.getPackageInfo(googleSync, 0); 578 assertTrue(ContactDirectoryManager.getDirectoryProviderPackages(pm).contains(googleSync));
|
/frameworks/base/core/java/android/preference/ |
PreferenceManager.java | 24 import android.content.pm.ActivityInfo; 25 import android.content.pm.PackageManager; 26 import android.content.pm.ResolveInfo; 27 import android.content.pm.PackageManager.NameNotFoundException; 482 final PreferenceManager pm = new PreferenceManager(context); local 483 pm.setSharedPreferencesName(sharedPreferencesName); 484 pm.setSharedPreferencesMode(sharedPreferencesMode); 485 pm.inflateFromResource(context, resId, null);
|
/bionic/libc/tzcode/ |
strftime.c | 58 const char * pm; member in struct:lc_time_T 107 /* pm */ 108 "PM", 379 locale->pm : 385 locale->pm :
|
/cts/tests/tests/security/src/android/security/cts/ |
BrowserTest.java | 22 import android.content.pm.PackageManager; 23 import android.content.pm.ResolveInfo; 247 PackageManager pm = mContext.getPackageManager(); local 248 List<ResolveInfo> list = pm.queryIntentActivities(implicit, PackageManager.GET_META_DATA);
|
ListeningPortsTest.java | 19 import android.content.pm.PackageManager; 205 PackageManager pm = this.getContext().getPackageManager(); local 206 String[] packages = pm.getPackagesForUid(uid);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
VoiceRecognition.java | 25 import android.content.pm.PackageManager; 26 import android.content.pm.ResolveInfo; 78 PackageManager pm = getPackageManager(); local 79 List<ResolveInfo> activities = pm.queryIntentActivities(
|
/external/bluetooth/bluedroid/bta/dm/ |
bta_dm_pm.c | 90 ** Description Disable PM 119 ** Description stop a PM timer 374 /* PM actions are in the order of strictness */ 649 tBTM_PM_PWR_MD pm; local 651 memset( (void*)&pm, 0, sizeof(pm)); 654 pm.mode = BTM_PM_MD_ACTIVE; 655 BTM_SetPowerMode (bta_dm_cb.pm_id, peer_addr, &pm); 739 ** Description Process pm status event from btm 832 ** Description Process pm timer event from bt [all...] |
/external/chromium/chrome/browser/profiles/ |
profile_manager.cc | 68 ProfileManager* pm = g_browser_process->profile_manager(); local 69 if (!pm) // Is NULL when running unit tests. 71 std::vector<Profile*> profiles(pm->GetLoadedProfiles());
|
/external/chromium_org/chrome/browser/component_updater/pnacl/ |
pnacl_component_installer.cc | 235 ProfileManager* pm = g_browser_process->profile_manager(); local 236 current_profile_path_ = pm->user_data_dir().Append( 237 pm->GetInitialProfileDir());
|
/external/chromium_org/chrome/browser/extensions/ |
extension_host.cc | 438 ExtensionProcessManager* pm = local 440 if (pm) 441 pm->IncrementLazyKeepaliveCount(extension()); 445 ExtensionProcessManager* pm = local 447 if (pm) 448 pm->DecrementLazyKeepaliveCount(extension()); 529 ExtensionProcessManager* pm = local 531 if (pm) 532 pm->IncrementLazyKeepaliveCount(extension()); 536 ExtensionProcessManager* pm local [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
ResourceExtractor.java | 9 import android.content.pm.PackageInfo; 10 import android.content.pm.PackageManager; 187 PackageManager pm = mContext.getPackageManager(); local 191 pi = pm.getPackageInfo(mContext.getPackageName(), 0);
|
/external/chromium_org/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/ |
SelfBrailleClient.java | 23 import android.content.pm.PackageInfo; 24 import android.content.pm.PackageManager; 25 import android.content.pm.Signature; 159 PackageManager pm = mContext.getPackageManager(); local 162 pi = pm.getPackageInfo(BRAILLE_BACK_PACKAGE,
|
/external/chromium_org/third_party/openssl/openssl/crypto/dh/ |
dh_ameth.c | 73 const unsigned char *p, *pm; local 94 pm = pstr->data; 97 if (!(dh = d2i_DHparams(NULL, &pm, pmlen))) 186 const unsigned char *p, *pm; local 209 pm = pstr->data; 211 if (!(dh = d2i_DHparams(NULL, &pm, pmlen)))
|
/external/chromium_org/third_party/openssl/openssl/crypto/dsa/ |
dsa_ameth.c | 71 const unsigned char *p, *pm; local 89 pm = pstr->data; 92 if (!(dsa = d2i_DSAparams(NULL, &pm, pmlen))) 192 const unsigned char *p, *pm; local 255 pm = pstr->data; 257 if (!(dsa = d2i_DSAparams(NULL, &pm, pmlen)))
|