/external/chromium_org/chrome/browser/safe_browsing/ |
protocol_manager_unittest.cc | 87 scoped_ptr<SafeBrowsingProtocolManager> pm(CreateProtocolManager(NULL)); 89 pm->next_update_interval_ = TimeDelta::FromSeconds(1800); 90 ASSERT_TRUE(pm->back_off_fuzz_ >= 0.0 && pm->back_off_fuzz_ <= 1.0); 95 next = pm->GetNextUpdateInterval(false); 99 next = pm->GetNextUpdateInterval(true); 103 next = pm->GetNextUpdateInterval(true); 108 next = pm->GetNextUpdateInterval(true); 113 next = pm->GetNextUpdateInterval(true); 118 next = pm->GetNextUpdateInterval(true) [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
ConfigurationInfoTest.java | 17 package android.content.pm.cts; 20 import android.content.pm.ConfigurationInfo; 21 import android.content.pm.PackageInfo; 22 import android.content.pm.PackageManager; 23 import android.content.pm.PackageManager.NameNotFoundException; 29 PackageManager pm = getContext().getPackageManager(); local 33 PackageInfo pkgInfo = pm.getPackageInfo(getContext().getPackageName(),
|
PermissionGroupInfoTest.java | 17 package android.content.pm.cts; 20 import android.content.pm.PackageManager; 21 import android.content.pm.PermissionGroupInfo; 22 import android.content.pm.PackageManager.NameNotFoundException; 31 PackageManager pm = getContext().getPackageManager(); local 35 PermissionGroupInfo permissionGroupInfo = pm 43 assertEquals(DEFAULT_DISCRIPTION, permissionGroupInfo.loadDescription(pm));
|
PermissionInfoTest.java | 17 package android.content.pm.cts; 20 import android.content.pm.PackageManager; 21 import android.content.pm.PermissionInfo; 22 import android.content.pm.PackageManager.NameNotFoundException; 34 PackageManager pm = getContext().getPackageManager(); local 38 PermissionInfo permissionInfo = pm.getPermissionInfo(PERMISSION_NAME, 0); 45 assertEquals(DEFAULT_DISCPRIPTION, permissionInfo.loadDescription(pm));
|
PackageManager_NameNotFoundExceptionTest.java | 17 package android.content.pm.cts; 20 import android.content.pm.PackageManager; 21 import android.content.pm.PackageManager.NameNotFoundException;
|
ProviderInfoTest.java | 17 package android.content.pm.cts; 20 import android.content.pm.ApplicationInfo; 21 import android.content.pm.PackageManager; 22 import android.content.pm.ProviderInfo; 23 import android.content.pm.PackageManager.NameNotFoundException; 35 PackageManager pm = getContext().getPackageManager(); local 40 ApplicationInfo appInfo = pm.getApplicationInfo(PACKAGE_NAME, 0); 41 List<ProviderInfo> providers = pm.queryContentProviders(PACKAGE_NAME, appInfo.uid, 0);
|
InstrumentationInfoTest.java | 17 package android.content.pm.cts; 21 import android.content.pm.InstrumentationInfo; 22 import android.content.pm.PackageManager; 23 import android.content.pm.PackageManager.NameNotFoundException; 30 "android.content.pm.cts.TestPmInstrumentation"; 33 PackageManager pm = getContext().getPackageManager(); local 39 InstrumentationInfo instrInfo = pm.getInstrumentationInfo(componentName, 0);
|
ServiceInfoTest.java | 17 package android.content.pm.cts; 21 import android.content.pm.PackageManager; 22 import android.content.pm.ServiceInfo; 23 import android.content.pm.PackageManager.NameNotFoundException; 29 private static final String SERVICE_NAME = "android.content.pm.cts.TestPmService"; 32 PackageManager pm = getContext().getPackageManager(); local 39 ServiceInfo serviceInfo = pm.getServiceInfo(componentName, 0);
|
/cts/tests/tests/os/src/android/os/cts/ |
PowerManagerTest.java | 37 PowerManager pm = (PowerManager)getContext().getSystemService(Context.POWER_SERVICE); local 39 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG); 46 pm.goToSleep(SystemClock.uptimeMillis()); 53 pm.wakeUp(SystemClock.uptimeMillis()); 60 pm.nap(SystemClock.uptimeMillis()); 67 pm.reboot("Testing"); 75 pm.userActivity(SystemClock.uptimeMillis(), false);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
Version.java | 20 import android.content.pm.PackageInfo; 21 import android.content.pm.PackageManager; 22 import android.content.pm.PackageManager.NameNotFoundException;
|
/frameworks/base/services/java/com/android/server/pm/ |
BasePermission.java | 17 package com.android.server.pm; 19 import android.content.pm.PackageParser; 20 import android.content.pm.PermissionInfo;
|
/packages/apps/Provision/src/com/android/provision/ |
DefaultActivity.java | 21 import android.content.pm.PackageManager; 39 PackageManager pm = getPackageManager(); local 41 pm.setComponentEnabledSetting(name, PackageManager.COMPONENT_ENABLED_STATE_DISABLED,
|
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/ |
WebConcurrency.java | 21 import android.content.pm.PackageManager; 52 PackageManager pm = getPackageManager(); local 53 return webSearchIntent.resolveActivity(pm);
|
WebLatency.java | 21 import android.content.pm.PackageManager; 55 PackageManager pm = getPackageManager(); local 56 return webSearchIntent.resolveActivity(pm);
|
/external/yaffs2/yaffs2/ |
yaffs_qsort.c | 81 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; local 88 for (pm = (char *)a + es; pm < (char *) a + n * es; pm += es) 89 for (pl = pm; pl > (char *) a && cmp(pl - es, pl) > 0; 94 pm = (char *)a + (n / 2) * es; 101 pm = med3(pm - d, pm, pm + d, cmp) [all...] |
/external/clang/test/CodeGenCXX/ |
mangle-nullptr-arg.cpp | 9 template<int X::*pm> struct PM {}; 12 void test2(PM<nullptr>) { }
|
/frameworks/base/core/java/android/content/pm/ |
KeySet.java | 17 package android.content.pm;
|
PackageItemInfo.java | 17 package android.content.pm; 104 * @param pm A PackageManager from which the label can be loaded; usually 110 public CharSequence loadLabel(PackageManager pm) { 115 CharSequence label = pm.getText(packageName, labelRes, getApplicationInfo()); 131 * @param pm A PackageManager from which the icon can be loaded; usually 138 public Drawable loadIcon(PackageManager pm) { 140 Drawable dr = pm.getDrawable(packageName, icon, getApplicationInfo()); 145 return loadDefaultIcon(pm); 151 * @param pm A PackageManager from which the icon can be loaded; usually 159 protected Drawable loadDefaultIcon(PackageManager pm) { [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
DessertCase.java | 22 import android.content.pm.PackageManager; 34 PackageManager pm = getPackageManager(); local 36 if (pm.getComponentEnabledSetting(cn) != PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { 38 pm.setComponentEnabledSetting(cn,
|
/frameworks/support/v4/jellybean-mr2/android/support/v4/accessibilityservice/ |
AccessibilityServiceInfoCompatJellyBeanMr2.java | 20 import android.content.pm.ResolveInfo;
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmAlertWakeLock.java | 30 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); local 31 return pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, Log.LOGTAG); 47 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); local 48 sCpuWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK
|
/packages/apps/Stk/src/com/android/stk/ |
StkAppInstaller.java | 23 import android.content.pm.PackageManager; 44 PackageManager pm = context.getPackageManager(); local 45 if (pm == null) { 55 pm.setComponentEnabledSetting(cName, state,
|
/external/chromium_org/content/shell/android/javatests/src/org/chromium/content_shell_apk/ |
ContentShellPreconditionsTest.java | 20 PowerManager pm = (PowerManager) getInstrumentation().getContext().getSystemService( local 23 assertTrue("Many tests will fail if the screen is not on.", pm.isScreenOn());
|
/external/clang/include/clang/Analysis/ |
CFGStmtMap.h | 28 ParentMap *PM; 31 CFGStmtMap(ParentMap *pm, void *m) : PM(pm), M(m) {} 38 static CFGStmtMap *Build(CFG* C, ParentMap *PM);
|
/external/eigen/doc/snippets/ |
HessenbergDecomposition_packedMatrix.cpp | 4 Matrix4d pm = hessOfA.packedMatrix(); variable 5 cout << "The packed matrix M is:" << endl << pm << endl;
|