OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getPackageManager
(Results
1 - 25
of
795
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/chromium_org/ui/android/java/src/org/chromium/ui/base/
TouchDevice.java
35
if (context.
getPackageManager
().hasSystemFeature(
38
} else if (context.
getPackageManager
().hasSystemFeature(
41
} else if (context.
getPackageManager
().hasSystemFeature(
44
} else if (context.
getPackageManager
().hasSystemFeature(
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
ModifyInstallerPackageTest.java
111
PackageManager
getPackageManager
() {
112
return getContext().
getPackageManager
();
120
assertEquals(null,
getPackageManager
().getInstallerPackageName(OTHER_PACKAGE));
122
getPackageManager
().setInstallerPackageName(OTHER_PACKAGE, MY_PACKAGE);
123
assertEquals(MY_PACKAGE,
getPackageManager
().getInstallerPackageName(OTHER_PACKAGE));
126
getPackageManager
().setInstallerPackageName(OTHER_PACKAGE, null);
127
assertEquals(null,
getPackageManager
().getInstallerPackageName(OTHER_PACKAGE));
136
getPackageManager
().setInstallerPackageName("thisdoesnotexistihope!", MY_PACKAGE);
149
getPackageManager
().setInstallerPackageName(OTHER_PACKAGE, "thisdoesnotexistihope!");
154
assertEquals(null,
getPackageManager
().getInstallerPackageName(OTHER_PACKAGE))
[
all
...]
/cts/tests/tests/net/src/android/net/wifi/cts/
WifiFeature.java
24
PackageManager packageManager = context.
getPackageManager
();
29
PackageManager packageManager = context.
getPackageManager
();
/frameworks/base/core/java/android/app/
AppGlobals.java
46
public static IPackageManager
getPackageManager
() {
47
return ActivityThread.
getPackageManager
();
/frameworks/base/core/tests/coretests/src/android/app/activity/
MetaDataTest.java
59
XmlResourceParser xml = ci.loadXmlMetaData(mContext.
getPackageManager
(),
100
ActivityInfo ai = mContext.
getPackageManager
().getActivityInfo(
105
ai = mContext.
getPackageManager
().getActivityInfo(cn, 0);
113
ActivityInfo ai = mContext.
getPackageManager
().getReceiverInfo(
118
ai = mContext.
getPackageManager
().getReceiverInfo(cn, 0);
126
ServiceInfo si = mContext.
getPackageManager
().getServiceInfo(
131
si = mContext.
getPackageManager
().getServiceInfo(cn, 0);
139
ProviderInfo pi = mContext.
getPackageManager
().resolveContentProvider(
144
pi = mContext.
getPackageManager
().resolveContentProvider(
154
PermissionInfo pi = mContext.
getPackageManager
().getPermissionInfo
[
all
...]
/cts/tests/tests/content/src/android/content/pm/cts/
ApplicationInfo_DisplayNameComparatorTest.java
39
PackageManager pm = getContext().
getPackageManager
();
46
PackageManager pm = getContext().
getPackageManager
();
55
info1 = mContext.
getPackageManager
().getApplicationInfo(PACKAGE_NAME, 0);
61
info2 = mContext.
getPackageManager
().getApplicationInfo(PACKAGE_NAME, 0);
ApplicationInfoTest.java
51
mApplicationInfo = mContext.
getPackageManager
().getApplicationInfo(mPackageName, 0);
80
mApplicationInfo = mContext.
getPackageManager
().getApplicationInfo(mPackageName, 0);
99
mApplicationInfo = mContext.
getPackageManager
().getApplicationInfo(mPackageName, 0);
101
assertNull(mApplicationInfo.loadDescription(mContext.
getPackageManager
()));
105
mApplicationInfo.loadDescription(mContext.
getPackageManager
()));
/cts/tests/tests/tv/src/android/media/tv/cts/
Utils.java
10
return context.
getPackageManager
().hasSystemFeature(PackageManager.FEATURE_LIVE_TV);
/cts/tests/tests/tv/src/android/tv/settings/cts/
Utils.java
26
return context.
getPackageManager
().hasSystemFeature(feature);
/frameworks/base/services/core/java/com/android/server/am/
LaunchWarningWindow.java
46
icon.setImageDrawable(next.info.applicationInfo.loadIcon(context.
getPackageManager
()));
49
next.info.applicationInfo.loadLabel(context.
getPackageManager
()).toString()));
51
icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.
getPackageManager
()));
54
cur.info.applicationInfo.loadLabel(context.
getPackageManager
()).toString()));
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
ApplicationUtils.java
38
final ActivityInfo ai = context.
getPackageManager
().getActivityInfo(cn, 0);
58
final PackageInfo info = context.
getPackageManager
().getPackageInfo(packageName, 0);
76
final PackageInfo info = context.
getPackageManager
().getPackageInfo(packageName, 0);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
VoiceSearch.java
57
ResolveInfo ri = mContext.
getPackageManager
().
96
return getContext().
getPackageManager
().getPackageInfo(ci.packageName, 0).versionCode;
104
return createVoiceSearchIntent().resolveActivity(getContext().
getPackageManager
());
/packages/apps/Settings/tests/src/com/android/settings/
SettingsHookTests.java
71
PackageManager pm = context.
getPackageManager
();
83
PackageManager pm = context.
getPackageManager
();
101
PackageManager pm = context.
getPackageManager
();
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
Version.java
36
PackageManager packageManager = context.
getPackageManager
();
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
SetInstallerPackage.java
30
context.
getPackageManager
().setInstallerPackageName(targetPackage, installerPackage);
/cts/hostsidetests/appsecurity/test-apps/keysets/testApp/src/com/android/cts/keysets/
KeySetPermissionsTest.java
36
PackageManager pm = getContext().
getPackageManager
();
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilitySettingsTest.java
36
PackageManager packageManager = mContext.
getPackageManager
();
/cts/tests/tests/keystore/src/android/keystore/cts/
KeyChainTest.java
52
PackageManager pm = getContext().
getPackageManager
();
/cts/tests/tests/permission/src/android/permission/cts/
AppWidgetManagerPermissionTest.java
48
if (!getContext().
getPackageManager
()
/cts/tests/tests/security/src/android/security/cts/
IntentSenderRemovalTest.java
39
PackageManager pm = getContext().
getPackageManager
();
/device/sample/apps/upgrade/src/com/example/android/platform/upgrade/
Upgrade.java
42
context.
getPackageManager
().setComponentEnabledSetting(
/external/svox/pico/src/com/svox/pico/
LangPackUninstaller.java
35
context.
getPackageManager
().deletePackage(INSTALLER_PACKAGE, null, 0);
/packages/apps/Provision/src/com/android/provision/
DefaultActivity.java
39
PackageManager pm =
getPackageManager
();
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
WebConcurrency.java
52
PackageManager pm =
getPackageManager
();
WebLatency.java
55
PackageManager pm =
getPackageManager
();
Completed in 845 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>