/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
DeviceInfoInstrument.java | 23 import android.content.pm.FeatureInfo; 24 import android.content.pm.PackageManager; 328 PackageManager pm = getContext().getPackageManager(); local 329 String list[] = pm.getSystemSharedLibraryNames();
|
/external/valgrind/main/coregrind/ |
m_libcbase.c | 532 #define BM_PVINIT(pv, pm) \ 534 pv = a, BM_SWAP(pv, pm); \ 536 pv = (Char*)&v, v = *(Word*)pm 562 Char *pa, *pb, *pc, *pd, *pl, *pm, *pn, *pv; local 569 for (pm = a + es; pm < a + n*es; pm += es) 570 for (pl = pm; pl > a && cmp(pl-es, pl) > 0; pl -= es) 574 pm = a + (n/2)*es; 581 pm = bm_med3(pm-s, pm, pm+s, cmp) [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
WebMediaPlayerClientImpl.cpp | 90 PlatformMedia pm = element->constUnwrap<HTMLMediaElement>()->platformMedia(); local 91 return static_cast<WebMediaPlayerClientImpl*>(pm.media.chromiumMediaPlayer); 243 PlatformMedia pm; local 244 pm.type = PlatformMedia::ChromiumMediaPlayerType; 245 pm.media.chromiumMediaPlayer = const_cast<WebMediaPlayerClientImpl*>(this); 246 return pm;
|
/frameworks/base/core/java/android/app/ |
ApplicationErrorReport.java | 22 import android.content.pm.ApplicationInfo; 23 import android.content.pm.PackageManager; 24 import android.content.pm.ResolveInfo; 167 PackageManager pm = context.getPackageManager(); local 170 String candidate = pm.getInstallerPackageName(packageName); 171 ComponentName result = getErrorReportReceiver(pm, packageName, candidate); 180 result = getErrorReportReceiver(pm, packageName, candidate); 188 return getErrorReportReceiver(pm, packageName, candidate); 194 * @param pm PackageManager instance 200 static ComponentName getErrorReportReceiver(PackageManager pm, String errorPackage [all...] |
/frameworks/base/core/java/android/app/admin/ |
DeviceAdminInfo.java | 25 import android.content.pm.ActivityInfo; 26 import android.content.pm.ApplicationInfo; 27 import android.content.pm.PackageManager; 28 import android.content.pm.ResolveInfo; 29 import android.content.pm.PackageManager.NameNotFoundException; 223 PackageManager pm = context.getPackageManager(); local 227 parser = ai.loadXmlMetaData(pm, DeviceAdminReceiver.DEVICE_ADMIN_META_DATA); 233 Resources res = pm.getResourcesForApplication(ai.applicationInfo); 328 * @param pm Supply a PackageManager used to load the device admin's 331 public CharSequence loadLabel(PackageManager pm) { [all...] |
/frameworks/base/core/java/android/content/pm/ |
ActivityInfo.java | 17 package android.content.pm;
|
ApplicationInfo.java | 17 package android.content.pm; 19 import android.content.pm.PackageManager.NameNotFoundException; 474 public DisplayNameComparator(PackageManager pm) { 475 mPM = pm; 607 * @param pm A PackageManager from which the label can be loaded; usually 613 public CharSequence loadDescription(PackageManager pm) { 615 CharSequence label = pm.getText(packageName, descriptionRes, this); 637 @Override protected Drawable loadDefaultIcon(PackageManager pm) { 639 && isPackageUnavailable(pm)) { 643 return pm.getDefaultActivityIcon() [all...] |
/frameworks/base/core/java/android/server/search/ |
Searchables.java | 24 import android.content.pm.ActivityInfo; 25 import android.content.pm.ApplicationInfo; 26 import android.content.pm.PackageManager; 27 import android.content.pm.ResolveInfo; 198 final PackageManager pm = mContext.getPackageManager(); local 203 searchList = pm.queryIntentActivities(intent, PackageManager.GET_META_DATA); 207 webSearchInfoList = pm.queryIntentActivities(webSearchIntent, PackageManager.GET_META_DATA); 265 PackageManager pm = mContext.getPackageManager(); local 267 pm.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY); 304 PackageManager pm = mContext.getPackageManager() local 377 PackageManager pm = mContext.getPackageManager(); local [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; 99 PackageManager pm = mContext.getPackageManager(); local 102 List<ResolveInfo> resolveInfos = pm.queryIntentServices(intent, 108 return getEngineInfo(resolveInfos.get(0), pm); 120 PackageManager pm = mContext.getPackageManager(); local 123 pm.queryIntentServices(intent, PackageManager.MATCH_DEFAULT_ONLY) 159 PackageManager pm = mContext.getPackageManager(); local [all...] |
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
DefaultContainerService.java | 25 import android.content.pm.IPackageManager; 26 import android.content.pm.PackageInfo; 27 import android.content.pm.PackageInfoLite; 28 import android.content.pm.PackageManager; 29 import android.content.pm.PackageParser; 216 IPackageManager pm = IPackageManager.Stub.asInterface( local 220 while ((pkg=pm.nextPackageToClean(pkg)) != null) {
|
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/ |
WapPushManager.java | 25 import android.content.pm.PackageManager; 159 PackageManager pm = mContext.getPackageManager(); local 160 int match = pm.checkSignatures(mContext.getPackageName(), package_name);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
RecentApplicationsDialog.java | 27 import android.content.pm.ActivityInfo; 28 import android.content.pm.PackageManager; 29 import android.content.pm.ResolveInfo; 258 final PackageManager pm = context.getPackageManager(); local 266 .resolveActivityInfo(pm, 0); 298 final ResolveInfo resolveInfo = pm.resolveActivity(intent, 0); 301 final String title = activityInfo.loadLabel(pm).toString(); 302 Drawable icon = activityInfo.loadIcon(pm);
|
/frameworks/base/services/java/com/android/server/ |
NotificationPlayer.java | 325 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE); local 326 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mTag);
|
VibratorService.java | 23 import android.content.pm.PackageManager; 103 PowerManager pm = (PowerManager)context.getSystemService( local 105 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "*vibrator*");
|
/packages/apps/Phone/src/com/android/phone/ |
EmergencyCallHelper.java | 160 PowerManager pm = (PowerManager) mApp.getSystemService(Context.POWER_SERVICE); local 161 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
QsbApplication.java | 36 import android.content.pm.PackageInfo; 37 import android.content.pm.PackageManager; 97 PackageManager pm = getContext().getPackageManager(); local 98 PackageInfo pkgInfo = pm.getPackageInfo(getContext().getPackageName(), 0);
|
/packages/apps/SpareParts/src/com/android/spare_parts/ |
SpareParts.java | 24 import android.content.pm.ApplicationInfo; 25 import android.content.pm.PackageManager; 26 import android.content.pm.ResolveInfo; 27 import android.content.pm.PackageManager.NameNotFoundException; 85 PackageManager pm = context.getPackageManager(); local 86 List<ResolveInfo> list = pm.queryIntentActivities(intent, 0);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ContactsSource.java | 25 import android.content.pm.PackageManager; 121 final PackageManager pm = context.getPackageManager(); local 122 return pm.getText(this.summaryResPackageName, this.titleRes, null); 132 final PackageManager pm = context.getPackageManager(); local 133 return pm.getDrawable(this.summaryResPackageName, this.iconRes, null);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaScannerService.java | 118 PowerManager pm = (PowerManager)getSystemService(Context.POWER_SERVICE); local 119 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
ChangeViewRefactoring.java | 88 public RefactoringStatus checkInitialConditions(IProgressMonitor pm) throws CoreException, 93 pm.beginTask("Checking preconditions...", 6); 114 pm.worked(1); 118 pm.done();
|
WrapInRefactoring.java | 96 public RefactoringStatus checkInitialConditions(IProgressMonitor pm) throws CoreException, 101 pm.beginTask("Checking preconditions...", 6); 130 pm.worked(1); 134 pm.done();
|
/system/core/nexus/ |
Supplicant.cpp | 187 PropertyManager *pm = NetworkManager::Instance()->getPropMngr(); local 210 new_wn->attachProperties(pm, new_ns); 228 (*i)->detachProperties(pm, del_ns); 385 PropertyManager *pm = NetworkManager::Instance()->getPropMngr(); local 389 wn->attachProperties(pm, new_ns);
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceNetwork.java | 433 IPowerManager pm = local 436 pm.userActivityWithForce(SystemClock.uptimeMillis(), true, true);
|
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
ContactAdder.java | 26 import android.content.pm.PackageManager; 315 PackageManager pm = getPackageManager(); local 318 mTypeLabel = pm.getText(packageName, description.labelId, null); 327 mIcon = pm.getDrawable(packageName, description.iconId, null);
|
/external/bluetooth/bluez/tools/ |
hciattach.c | 64 int pm; member in struct:uart_t 317 return ath3k_post(fd, u->pm); 1358 u->pm = ENABLE_PM; 1360 u->pm = DISABLE_PM;
|