/external/chromium_org/chrome/browser/net/ |
probe_message_unittest.cc | 21 ProbeMessage pm; local 30 pm.GenerateProbeRequest(token, 47 ProbeMessage pm; local 49 pm.SetPacketHeader(ProbePacket_Type_HELLO_REQUEST, &probe_packet); 53 pm.SetPacketHeader(ProbePacket_Type_PROBE_REPLY, &probe_packet); 58 ProbeMessage pm; local 70 std::string output = pm.MakeEncodedPacket(in_packet); 73 pm.ParseInput(output, &out_packet); 82 ProbeMessage pm; local 84 uint32 computed_checksum = pm.Checksum(str) 92 ProbeMessage pm; local [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
ResolveInfoTest.java | 17 package android.content.pm.cts; 22 import android.content.pm.PackageManager; 23 import android.content.pm.ResolveInfo; 31 private static final String ACTIVITY_NAME = "android.content.pm.cts.TestPmActivity"; 32 private static final String SERVICE_NAME = "android.content.pm.cts.activity.PMTEST_SERVICE"; 38 PackageManager pm = getContext().getPackageManager(); local 41 ResolveInfo resolveInfo = pm.resolveActivity(intent, 0); 44 assertEquals(expectedLabel, resolveInfo.loadLabel(pm).toString()); 45 assertNotNull(resolveInfo.loadIcon(pm)); 52 PackageManager pm = getContext().getPackageManager() local [all...] |
/cts/tests/tests/dpi/src/android/dpi/cts/ |
DefaultManifestAttributesTest.java | 19 import android.content.pm.ApplicationInfo; 20 import android.content.pm.PackageManager; 21 import android.content.pm.PackageManager.NameNotFoundException; 56 PackageManager pm = getContext().getPackageManager(); local 58 appInfo = pm.getApplicationInfo(packageName, 0);
|
/external/chromium_org/third_party/skia/include/gpu/ |
SkGr.h | 56 SkPMColor pm = SkPreMultiplyColor(c); local 57 unsigned r = SkGetPackedR32(pm); 58 unsigned g = SkGetPackedG32(pm); 59 unsigned b = SkGetPackedB32(pm); 60 unsigned a = SkGetPackedA32(pm);
|
/external/skia/include/gpu/ |
SkGr.h | 56 SkPMColor pm = SkPreMultiplyColor(c); local 57 unsigned r = SkGetPackedR32(pm); 58 unsigned g = SkGetPackedG32(pm); 59 unsigned b = SkGetPackedB32(pm); 60 unsigned a = SkGetPackedA32(pm);
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
PowerCommand.java | 49 IPowerManager pm = IPowerManager.Stub.asInterface( local 73 pm.wakeUp(SystemClock.uptimeMillis()); 75 pm.setStayOnSetting(val); 88 pm.reboot(false, mode, true); 96 pm.shutdown(false, true);
|
/packages/apps/Settings/src/com/android/settings/ |
WallpaperTypeSettings.java | 22 import android.content.pm.PackageManager; 23 import android.content.pm.ResolveInfo; 42 final PackageManager pm = getPackageManager(); local 43 List<ResolveInfo> rList = pm.queryIntentActivities(intent, 55 CharSequence label = info.loadLabel(pm);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
TargetPackageInfoGetterTask.java | 20 import android.content.pm.PackageInfo; 21 import android.content.pm.PackageManager; 55 final PackageManager pm = mContext.getPackageManager(); local 58 final PackageInfo packageInfo = pm.getPackageInfo(packageName[0], 0 /* flags */); 61 } catch (android.content.pm.PackageManager.NameNotFoundException e) {
|
/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/services/java/com/android/server/pm/ |
PackageSetting.java | 17 package com.android.server.pm; 19 import android.content.pm.ApplicationInfo; 20 import android.content.pm.PackageParser;
|
GrantedPermissions.java | 17 package com.android.server.pm; 19 import android.content.pm.ApplicationInfo;
|
/packages/apps/SpareParts/src/com/android/spare_parts/ |
Enabler.java | 24 import android.content.pm.PackageManager; 36 final PackageManager pm = context.getPackageManager(); local 41 pm.setComponentEnabledSetting(componentName, value, PackageManager.DONT_KILL_APP);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PurgeableBitmap.java | 21 import android.content.pm.ActivityInfo; 22 import android.content.pm.PackageManager; 23 import android.content.pm.PackageManager.NameNotFoundException; 72 PackageManager pm = getPackageManager(); local 75 ActivityInfo info = pm.getActivityInfo(this.getComponentName(), 77 labelSeq = info.loadLabel(pm);
|
/external/chromium_org/chrome/browser/extensions/api/messaging/ |
extension_message_port.cc | 59 extensions::ProcessManager* pm = local 61 ExtensionHost* host = pm->GetBackgroundHostForExtension(extension_id_); 63 pm->IncrementLazyKeepaliveCount(host->extension()); 73 extensions::ProcessManager* pm = local 75 ExtensionHost* host = pm->GetBackgroundHostForExtension(extension_id_); 77 pm->DecrementLazyKeepaliveCount(host->extension());
|
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilitySettingsTest.java | 20 import android.content.pm.PackageManager; 21 import android.content.pm.ResolveInfo;
|
/external/chromium_org/base/android/java/src/org/chromium/base/ |
BuildInfo.java | 8 import android.content.pm.ApplicationInfo; 9 import android.content.pm.PackageInfo; 10 import android.content.pm.PackageManager; 11 import android.content.pm.PackageManager.NameNotFoundException; 66 PackageManager pm = context.getPackageManager(); local 67 PackageInfo pi = pm.getPackageInfo(context.getPackageName(), 0); 83 PackageManager pm = context.getPackageManager(); local 84 PackageInfo pi = pm.getPackageInfo(context.getPackageName(), 0);
|
/frameworks/base/core/java/android/content/pm/ |
ComponentInfo.java | 17 package android.content.pm; 78 @Override public CharSequence loadLabel(PackageManager pm) { 85 label = pm.getText(packageName, labelRes, ai); 94 label = pm.getText(packageName, ai.labelRes, ai); 171 @Override protected Drawable loadDefaultIcon(PackageManager pm) { 172 return applicationInfo.loadIcon(pm); 179 protected Drawable loadDefaultLogo(PackageManager pm) { 180 return applicationInfo.loadLogo(pm);
|
IPackageManager.aidl | 18 package android.content.pm; 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.IPackageInstallObserver; 28 import android.content.pm.IPackageDeleteObserver; 29 import android.content.pm.IPackageDataObserver; 30 import android.content.pm.IPackageMoveObserver; 31 import android.content.pm.IPackageStatsObserver [all...] |
/frameworks/base/core/java/android/print/ |
IPrinterDiscoveryObserver.aidl | 21 import android.content.pm.ParceledListSlice;
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastAlertWakeLock.java | 38 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); local 39 sCpuWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ApplicationInfo.java | 21 import android.content.pm.PackageManager; 22 import android.content.pm.PackageManager.NameNotFoundException; 23 import android.content.pm.ResolveInfo; 65 public ApplicationInfo(PackageManager pm, ResolveInfo info, IconCache iconCache, 75 int appFlags = pm.getApplicationInfo(packageName, 0).flags; 76 if ((appFlags & android.content.pm.ApplicationInfo.FLAG_SYSTEM) == 0) { 79 if ((appFlags & android.content.pm.ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) { 83 firstInstallTime = pm.getPackageInfo(packageName, 0).firstInstallTime;
|
/external/llvm/lib/Support/ |
Regex.cpp | 61 SmallVector<llvm_regmatch_t, 8> pm; local 62 pm.resize(nmatch > 0 ? nmatch : 1); 63 pm[0].rm_so = 0; 64 pm[0].rm_eo = String.size(); 66 int rc = llvm_regexec(preg, String.data(), nmatch, pm.data(), REG_STARTEND); 82 if (pm[i].rm_so == -1) { 87 assert(pm[i].rm_eo >= pm[i].rm_so); 88 Matches->push_back(StringRef(String.data()+pm[i].rm_so, 89 pm[i].rm_eo-pm[i].rm_so)) [all...] |
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
qsort.c | 113 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; local 121 for (pm = (char *)a + es; pm < (char *)a + n * es; pm += es) 122 for (pl = pm; 128 pm = (char *)a + (n / 2) * es; 135 pm = med3(pm - d, pm, pm + d, cmp, thunk) [all...] |
/bionic/libc/kernel/arch-x86/asm/ |
apic_32.h | 21 #include <linux/pm.h>
|
/cts/tests/tests/app/src/android/app/cts/ |
ApplicationTest.java | 25 import android.content.pm.PackageManager; 46 final PackageManager pm = targetContext.getPackageManager(); local 47 if(!(pm.hasSystemFeature(PackageManager.FEATURE_SCREEN_LANDSCAPE) 48 && pm.hasSystemFeature(PackageManager.FEATURE_SCREEN_PORTRAIT))){
|