OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PackageManager
(Results
51 - 75
of
655
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/cts/tests/tests/content/src/android/content/pm/cts/
PermissionInfoTest.java
20
import android.content.pm.
PackageManager
;
22
import android.content.pm.
PackageManager
.NameNotFoundException;
34
PackageManager
pm = getContext().getPackageManager();
ServiceInfoTest.java
21
import android.content.pm.
PackageManager
;
23
import android.content.pm.
PackageManager
.NameNotFoundException;
32
PackageManager
pm = getContext().getPackageManager();
ActivityInfoTest.java
23
import android.content.pm.
PackageManager
;
24
import android.content.pm.
PackageManager
.NameNotFoundException;
53
componentName,
PackageManager
.GET_META_DATA);
80
componentName,
PackageManager
.GET_META_DATA);
99
componentName,
PackageManager
.GET_META_DATA);
PackageManagerTest.java
28
import android.content.pm.
PackageManager
;
33
import android.content.pm.
PackageManager
.NameNotFoundException;
42
* in AndroidManifest.xml just for test of
PackageManager
, and there are no corresponding parts
46
private
PackageManager
mPackageManager;
99
PackageManager
.GET_INTENT_FILTERS);
112
testPermissionsGroup,
PackageManager
.GET_META_DATA);
207
PackageManager
.GET_INSTRUMENTATION);
217
PackageManager
.GET_META_DATA).name);
249
assertTrue(mPackageManager.getInstalledApplications(
PackageManager
.GET_META_DATA).size() > 0);
300
* Simple test for {@link
PackageManager
#getPreferredActivities(List, List, String)} that test
[
all
...]
ProviderInfoTest.java
21
import android.content.pm.
PackageManager
;
23
import android.content.pm.
PackageManager
.NameNotFoundException;
35
PackageManager
pm = getContext().getPackageManager();
PackageItemInfoTest.java
25
import android.content.pm.
PackageManager
;
26
import android.content.pm.
PackageManager
.NameNotFoundException;
36
private
PackageManager
mPackageManager;
97
mPackageManager.getActivityInfo(componentName,
PackageManager
.GET_META_DATA);
ResolveInfoTest.java
22
import android.content.pm.
PackageManager
;
38
PackageManager
pm = getContext().getPackageManager();
52
PackageManager
pm = getContext().getPackageManager();
54
ResolveInfo resolveInfo = pm.resolveService(intent,
PackageManager
.GET_RESOLVED_FILTER);
/cts/tests/tests/dpi/src/android/dpi/cts/
DefaultManifestAttributesTest.java
20
import android.content.pm.
PackageManager
;
21
import android.content.pm.
PackageManager
.NameNotFoundException;
56
PackageManager
pm = getContext().getPackageManager();
/development/apps/SdkSetup/src/com/android/sdksetup/
DefaultActivity.java
23
import android.content.pm.
PackageManager
;
62
PackageManager
pm = getPackageManager();
64
pm.setComponentEnabledSetting(name,
PackageManager
.COMPONENT_ENABLED_STATE_DISABLED, 0);
/packages/apps/Settings/src/com/android/settings/
WallpaperTypeSettings.java
22
import android.content.pm.
PackageManager
;
42
final
PackageManager
pm = getPackageManager();
44
PackageManager
.MATCH_DEFAULT_ONLY);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
TargetPackageInfoGetterTask.java
21
import android.content.pm.
PackageManager
;
55
final
PackageManager
pm = mContext.getPackageManager();
61
} catch (android.content.pm.
PackageManager
.NameNotFoundException e) {
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarUpgradeReceiver.java
25
import android.content.pm.
PackageManager
;
88
PackageManager
.COMPONENT_ENABLED_STATE_DISABLED,
89
PackageManager
.DONT_KILL_APP);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
VoicemailPermissions.java
20
import android.content.pm.
PackageManager
;
86
==
PackageManager
.PERMISSION_GRANTED;
97
==
PackageManager
.PERMISSION_GRANTED;
ContactsUpgradeReceiver.java
25
import android.content.pm.
PackageManager
;
97
PackageManager
.COMPONENT_ENABLED_STATE_DISABLED,
98
PackageManager
.DONT_KILL_APP);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
LauncherIconVisibilityManager.java
24
import android.content.pm.
PackageManager
;
106
PackageManager
.COMPONENT_ENABLED_STATE_ENABLED);
111
PackageManager
.COMPONENT_ENABLED_STATE_DISABLED);
119
final
PackageManager
pm = context.getPackageManager();
125
activityComponent, activityState,
PackageManager
.DONT_KILL_APP);
/cts/tests/tests/security/src/android/security/cts/
PackageSignatureTest.java
22
import android.content.pm.
PackageManager
;
23
import android.content.pm.
PackageManager
.NameNotFoundException;
47
PackageManager
packageManager
= mContext.getPackageManager();
48
List<PackageInfo> allPackageInfos =
packageManager
.getInstalledPackages(
49
PackageManager
.GET_UNINSTALLED_PACKAGES |
50
PackageManager
.GET_SIGNATURES);
149
PackageManager
packageManager
= mContext.getPackageManager();
150
PackageInfo packageInfo =
packageManager
.getPackageInfo(packageName
[
all
...]
/development/samples/ApiDemos/src/com/example/android/apis/os/
SmsMessagingDemo.java
28
import android.content.pm.
PackageManager
;
70
final
PackageManager
pm = this.getPackageManager();
75
PackageManager
.COMPONENT_ENABLED_STATE_ENABLED);
82
isChecked ?
PackageManager
.COMPONENT_ENABLED_STATE_ENABLED
83
:
PackageManager
.COMPONENT_ENABLED_STATE_DISABLED,
84
PackageManager
.DONT_KILL_APP);
/frameworks/base/core/tests/coretests/src/android/app/activity/
MetaDataTest.java
22
import android.content.pm.
PackageManager
;
101
cn,
PackageManager
.GET_META_DATA);
114
cn,
PackageManager
.GET_META_DATA);
127
cn,
PackageManager
.GET_META_DATA);
141
PackageManager
.GET_META_DATA);
155
cn.getClassName(),
PackageManager
.GET_META_DATA);
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
LocalizedNameResolver.java
23
import android.content.pm.
PackageManager
;
24
import android.content.pm.
PackageManager
.NameNotFoundException;
83
final
PackageManager
pm = context.getPackageManager();
85
PackageInfo pi = pm.getPackageInfo(packageName,
PackageManager
.GET_SERVICES
86
|
PackageManager
.GET_META_DATA);
137
final
PackageManager
packageManager
= context.getPackageManager();
140
resources =
packageManager
.getResourcesForApplication(packageName);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
VoiceSearch.java
23
import android.content.pm.
PackageManager
;
24
import android.content.pm.
PackageManager
.NameNotFoundException;
58
resolveActivity(intent,
PackageManager
.MATCH_DEFAULT_ONLY);
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
LiveWallpaperChange.java
31
import android.content.pm.
PackageManager
;
32
import android.content.pm.
PackageManager
.NameNotFoundException;
61
queryIntent,
PackageManager
.GET_META_DATA);
/cts/tests/tests/graphics2/src/android/graphics2/cts/
TextureViewCameraActivity.java
20
import android.content.pm.
PackageManager
;
58
PackageManager
packageManager
= getPackageManager();
59
boolean hasRearCamera =
packageManager
.hasSystemFeature(
PackageManager
.FEATURE_CAMERA);
61
packageManager
.hasSystemFeature(
PackageManager
.FEATURE_CAMERA_FRONT);
/frameworks/base/services/java/com/android/server/
ConsumerIrService.java
23
import android.content.pm.
PackageManager
;
69
if (mContext.getPackageManager().hasSystemFeature(
PackageManager
.FEATURE_CONSUMER_IR)) {
93
!=
PackageManager
.PERMISSION_GRANTED) {
125
!=
PackageManager
.PERMISSION_GRANTED) {
/packages/apps/Contacts/src/com/android/contacts/util/
PhoneCapabilityTester.java
22
import android.content.pm.
PackageManager
;
49
final
PackageManager
packageManager
= context.getPackageManager();
50
final List<ResolveInfo> receiverList =
packageManager
.queryIntentActivities(intent,
51
PackageManager
.MATCH_DEFAULT_ONLY);
85
final
PackageManager
packageManager
= context.getPackageManager();
88
final List<ResolveInfo> resolveInfos =
packageManager
.queryIntentActivities(intent, 0);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DictionaryPackInstallBroadcastReceiver.java
26
import android.content.pm.
PackageManager
;
65
final
PackageManager
manager = context.getPackageManager();
82
packageInfo = manager.getPackageInfo(packageName,
PackageManager
.GET_PROVIDERS);
83
} catch (android.content.pm.
PackageManager
.NameNotFoundException e) {
Completed in 280 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>