/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/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/clang/test/CXX/special/class.copy/ |
implicit-move.cpp | 79 PrivateMove pm; member in struct:ContainsPrivateMove
|
/external/clang/test/CodeGenCXX/ |
temporaries.cpp | 327 struct C { int C::*pm; ~C(); }; member in class:PR7556::C::C
|
/external/iptables/libipq/ |
libipq.c | 274 ipq_peer_msg_t pm; member in struct:__anon6913 282 req.pm.msg.mode.value = mode; 283 req.pm.msg.mode.range = range; 323 ipq_peer_msg_t pm; local 331 memset(&pm, 0, sizeof(pm)); 332 pm.msg.verdict.value = verdict; 333 pm.msg.verdict.id = id; 334 pm.msg.verdict.data_len = data_len; 337 iov[1].iov_base = ± [all...] |
/external/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/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)))
|
/external/openssl/crypto/ec/ |
ec_ameth.c | 145 const unsigned char *pm = NULL; local 147 pm = pstr->data; 149 if (!(eckey = d2i_ECParameters(NULL, &pm, pmlen)))
|
/frameworks/base/core/java/android/accounts/ |
GrantCredentialsPermissionActivity.java | 29 import android.content.pm.PackageManager; 30 import android.content.pm.RegisteredServicesCache; 72 final PackageManager pm = getPackageManager(); local 73 final String[] packages = pm.getPackagesForUid(mUid); 127 packageLabel = pm.getApplicationLabel(pm.getApplicationInfo(pkg, 0)).toString();
|
/frameworks/base/core/java/android/app/ |
WallpaperInfo.java | 24 import android.content.pm.ApplicationInfo; 25 import android.content.pm.PackageManager; 26 import android.content.pm.ResolveInfo; 27 import android.content.pm.ServiceInfo; 28 import android.content.pm.PackageManager.NameNotFoundException; 87 PackageManager pm = context.getPackageManager(); local 95 parser = si.loadXmlMetaData(pm, WallpaperService.SERVICE_META_DATA); 101 Resources res = pm.getResourcesForApplication(si.applicationInfo); 187 * @param pm Supply a PackageManager used to load the wallpaper's 190 public CharSequence loadLabel(PackageManager pm) { [all...] |
/frameworks/base/core/java/android/content/pm/ |
ResolveInfo.java | 17 package android.content.pm; 127 * @param pm A PackageManager from which the label can be loaded; usually 133 public CharSequence loadLabel(PackageManager pm) { 139 label = pm.getText(resolvePackageName, labelRes, null); 147 label = pm.getText(ci.packageName, labelRes, ai); 153 CharSequence data = ci.loadLabel(pm); 164 * @param pm A PackageManager from which the icon can be loaded; usually 170 public Drawable loadIcon(PackageManager pm) { 173 dr = pm.getDrawable(resolvePackageName, icon, null); 181 dr = pm.getDrawable(ci.packageName, icon, ai) [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
InputMethodInfo.java | 24 import android.content.pm.ApplicationInfo; 25 import android.content.pm.PackageManager; 26 import android.content.pm.PackageManager.NameNotFoundException; 27 import android.content.pm.ResolveInfo; 28 import android.content.pm.ServiceInfo; 111 PackageManager pm = context.getPackageManager(); local 117 parser = si.loadXmlMetaData(pm, InputMethod.SERVICE_META_DATA); 123 Resources res = pm.getResourcesForApplication(si.applicationInfo); 280 * @param pm Supply a PackageManager used to load the input method's 283 public CharSequence loadLabel(PackageManager pm) { [all...] |
/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); 206 * @param pm Supply a PackageManager used to load the spell checker's resources. 208 public CharSequence loadLabel(PackageManager pm) { 209 if (mLabel == 0 || pm == null) return ""; 210 return pm.getText(getPackageName(), mLabel, mService.serviceInfo.applicationInfo) [all...] |
/frameworks/base/core/java/android/webkit/ |
PluginManager.java | 26 import android.content.pm.ApplicationInfo; 27 import android.content.pm.PackageInfo; 28 import android.content.pm.PackageManager; 29 import android.content.pm.ResolveInfo; 30 import android.content.pm.ServiceInfo; 31 import android.content.pm.Signature; 32 import android.content.pm.PackageManager.NameNotFoundException; 115 PackageManager pm = mContext.getPackageManager(); local 116 List<ResolveInfo> plugins = pm.queryIntentServices(new Intent(PLUGIN_ACTION), 136 pkgInfo = pm.getPackageInfo(serviceInfo.packageName 210 PackageManager pm = mContext.getPackageManager(); local [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenu.java | 25 import android.content.pm.PackageManager; 26 import android.content.pm.ResolveInfo; 73 PackageManager pm = mContext.getPackageManager(); local 75 pm.queryIntentActivityOptions(caller, specifics, intent, 0); 89 final MenuItem item = add(groupId, itemId, order, ri.loadLabel(pm)) 90 .setIcon(ri.loadIcon(pm))
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
ConnectivityManagerMobileTest.java | 62 PowerManager pm = (PowerManager)getInstrumentation(). local 64 wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, "CMWakeLock");
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
PackageHelperTests.java | 17 package android.content.pm; 31 protected final String PREFIX = "android.content.pm";
|
VerifierDeviceIdentityTest.java | 17 package android.content.pm;
|
/frameworks/base/core/tests/hosttests/src/android/content/pm/ |
PackageManagerStressHostTests.java | 17 package android.content.pm;
|
/frameworks/base/media/java/android/media/ |
AsyncPlayer.java | 226 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE); local 227 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mTag);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
MediaFrameworkTest.java | 96 PowerManager pm = (PowerManager) this.getSystemService(Context.POWER_SERVICE); local 97 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "MediaFrameworkTest");
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
RecentTasksLoader.java | 29 import android.content.pm.ActivityInfo; 30 import android.content.pm.PackageManager; 31 import android.content.pm.ResolveInfo; 121 final PackageManager pm = mContext.getPackageManager(); local 124 .resolveActivityInfo(pm, 0); 129 final ResolveInfo resolveInfo = pm.resolveActivity(intent, 0); 132 final String title = info.loadLabel(pm).toString(); 133 Drawable icon = getFullResIcon(resolveInfo, pm); 218 final PackageManager pm = mContext.getPackageManager(); local 226 .resolveActivityInfo(pm, 0) [all...] |
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
ManageDialog.java | 24 import android.content.pm.ApplicationInfo; 25 import android.content.pm.PackageManager; 91 PackageManager pm = getPackageManager(); local 92 ApplicationInfo app = pm.getApplicationInfo(mConfig.user, 0); 94 .setIcon(app.loadIcon(pm)) 95 .setTitle(app.loadLabel(pm))
|
/frameworks/base/services/java/com/android/server/ |
WiredAccessoryObserver.java | 73 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE); local 74 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "WiredAccessoryObserver");
|
/frameworks/base/services/java/com/android/server/pm/ |
Installer.java | 17 package com.android.server.pm; 19 import android.content.pm.PackageStats;
|