OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PackageManager
(Results
76 - 100
of
655
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/packages/apps/MusicFX/src/com/android/musicfx/
Compatibility.java
27
import android.content.pm.
PackageManager
;
110
PackageManager
mPackageManager;
150
List<ResolveInfo> ris = mPackageManager.queryIntentActivities(i,
PackageManager
.GET_DISABLED_COMPONENTS);
200
List<ResolveInfo> ris = mPackageManager.queryBroadcastReceivers(i,
PackageManager
.GET_DISABLED_COMPONENTS);
204
ris = mPackageManager.queryBroadcastReceivers(i,
PackageManager
.GET_DISABLED_COMPONENTS);
227
PackageManager
.COMPONENT_ENABLED_STATE_ENABLED,
228
PackageManager
.DONT_KILL_APP);
232
PackageManager
.COMPONENT_ENABLED_STATE_DISABLED,
233
PackageManager
.DONT_KILL_APP);
/cts/tests/tests/telephony/src/android/telephony/cts/
SmsMessageTest.java
21
import android.content.pm.
PackageManager
;
29
private
PackageManager
mPackageManager;
76
if (!mPackageManager.hasSystemFeature(
PackageManager
.FEATURE_TELEPHONY)
77
|| mPackageManager.hasSystemFeature(
PackageManager
.FEATURE_TELEPHONY_CDMA)) {
155
if (!mPackageManager.hasSystemFeature(
PackageManager
.FEATURE_TELEPHONY)
156
|| mPackageManager.hasSystemFeature(
PackageManager
.FEATURE_TELEPHONY_CDMA)) {
197
if (!mPackageManager.hasSystemFeature(
PackageManager
.FEATURE_TELEPHONY)
198
|| mPackageManager.hasSystemFeature(
PackageManager
.FEATURE_TELEPHONY_CDMA)) {
215
if (!mPackageManager.hasSystemFeature(
PackageManager
.FEATURE_TELEPHONY)) {
259
if (!mPackageManager.hasSystemFeature(
PackageManager
.FEATURE_TELEPHONY
[
all
...]
/cts/libs/wrappedgtest/src/
WrappedGTestInstrumentation.java
23
import android.content.pm.
PackageManager
;
42
==
PackageManager
.PERMISSION_GRANTED) {
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
CameraManagerTest.java
20
import android.content.pm.
PackageManager
;
40
private
PackageManager
mPackageManager;
84
mPackageManager.hasSystemFeature(
PackageManager
.FEATURE_CAMERA_ANY));
97
mPackageManager.hasSystemFeature(
PackageManager
.FEATURE_CAMERA_FRONT));
100
mPackageManager.hasSystemFeature(
PackageManager
.FEATURE_CAMERA));
112
|| mPackageManager.hasSystemFeature(
PackageManager
.FEATURE_CAMERA_ANY));
115
|| mPackageManager.hasSystemFeature(
PackageManager
.FEATURE_CAMERA)
116
|| mPackageManager.hasSystemFeature(
PackageManager
.FEATURE_CAMERA_FRONT));
/cts/tests/tests/nativeopengl/standalone/src/com/android/gltest/
GLTestActivity.java
21
import android.content.pm.
PackageManager
;
68
==
PackageManager
.PERMISSION_GRANTED) {
/development/apps/Development/src/com/android/development/
ProcessInfo.java
22
import android.content.pm.
PackageManager
;
28
PackageManager
mPm;
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
VibrationProvider.java
8
import android.content.pm.
PackageManager
;
49
android.Manifest.permission.VIBRATE) ==
PackageManager
.PERMISSION_GRANTED;
PepperPluginManager.java
11
import android.content.pm.
PackageManager
;
12
import android.content.pm.
PackageManager
.NameNotFoundException;
99
PackageManager
pm = context.getPackageManager();
102
PackageManager
.GET_SERVICES |
PackageManager
.GET_META_DATA);
/external/replicaisland/src/com/replica/replicaisland/
MultiTouchFilter.java
4
import android.content.pm.
PackageManager
;
36
PackageManager
packageManager
= context.getPackageManager();
37
mSupportsMultitouch =
packageManager
.hasSystemFeature("android.hardware.touchscreen.multitouch");
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowResolveInfo.java
4
import android.content.pm.
PackageManager
;
17
public String loadLabel(
PackageManager
mgr ) { return label; }
/frameworks/base/core/java/android/app/
WallpaperInfo.java
25
import android.content.pm.
PackageManager
;
28
import android.content.pm.
PackageManager
.NameNotFoundException;
87
PackageManager
pm = context.getPackageManager();
187
* @param pm Supply a
PackageManager
used to load the wallpaper's
190
public CharSequence loadLabel(
PackageManager
pm) {
197
* @param pm Supply a
PackageManager
used to load the wallpaper's
200
public Drawable loadIcon(
PackageManager
pm) {
207
* @param pm Supply a
PackageManager
used to load the wallpaper's
210
public Drawable loadThumbnail(
PackageManager
pm) {
221
public CharSequence loadAuthor(
PackageManager
pm) throws NotFoundException
[
all
...]
AliasActivity.java
24
import android.content.pm.
PackageManager
;
59
getComponentName(),
PackageManager
.GET_META_DATA);
76
} catch (
PackageManager
.NameNotFoundException e) {
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
SearchablesTest.java
27
import android.content.pm.
PackageManager
;
231
protected
PackageManager
mPackageManager;
238
MyMockContext(Context realContext,
PackageManager
packageManager
) {
240
mPackageManager =
packageManager
;
255
public
PackageManager
getPackageManager() {
264
throws
PackageManager
.NameNotFoundException {
288
protected
PackageManager
mRealPackageManager;
291
public MyMockPackageManager(
PackageManager
realPM) {
442
return
PackageManager
.PERMISSION_DENIED
[
all
...]
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
SharedLibraryMain.java
24
import android.content.pm.
PackageManager
;
47
} catch (
PackageManager
.NameNotFoundException e) {
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
PmPermissionsTests.java
20
import android.content.pm.
PackageManager
;
25
* Verify
PackageManager
api's that require specific permissions.
28
private
PackageManager
mPm;
45
fail("
PackageManager
.getPackageSizeInfo" +
60
fail("
PackageManager
.deleteApplicationCacheFiles" +
75
fail("
PackageManager
.installPackage" +
90
fail("
PackageManager
.freeStorage " +
105
fail("
PackageManager
.freeStorageAndNotify" +
120
fail("
PackageManager
.clearApplicationUserData" +
135
fail("
PackageManager
.deletePackage"
[
all
...]
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
ContactsMockContext.java
23
import android.content.pm.
PackageManager
;
67
public
PackageManager
getPackageManager() {
/cts/tests/tests/admin/src/android/admin/cts/
DeviceAdminInfoTest.java
21
import android.content.pm.
PackageManager
;
30
private
PackageManager
mPackageManager;
42
mContext.getPackageManager().hasSystemFeature(
PackageManager
.FEATURE_DEVICE_ADMIN);
62
PackageManager
.GET_META_DATA);
94
PackageManager
.GET_META_DATA);
/frameworks/base/core/java/com/android/internal/view/
RotationPolicy.java
20
import android.content.pm.
PackageManager
;
52
PackageManager
pm = context.getPackageManager();
53
return pm.hasSystemFeature(
PackageManager
.FEATURE_SENSOR_ACCELEROMETER)
54
&& pm.hasSystemFeature(
PackageManager
.FEATURE_SCREEN_PORTRAIT)
55
&& pm.hasSystemFeature(
PackageManager
.FEATURE_SCREEN_LANDSCAPE);
/packages/apps/Tag/src/com/android/apps/tag/record/
RecordUtils.java
26
import android.content.pm.
PackageManager
;
66
PackageManager
pm = activity.getPackageManager();
67
int flags =
PackageManager
.GET_RESOLVED_FILTER |
PackageManager
.MATCH_DEFAULT_ONLY;
105
private static View buildActivityView(Activity activity, ResolveInfo resolveInfo,
PackageManager
pm,
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
PhotoPriorityResolver.java
23
import android.content.pm.
PackageManager
;
24
import android.content.pm.
PackageManager
.NameNotFoundException;
109
final
PackageManager
pm = mContext.getPackageManager();
111
PackageInfo pi = pm.getPackageInfo(packageName,
PackageManager
.GET_SERVICES
112
|
PackageManager
.GET_META_DATA);
/frameworks/base/core/java/android/content/pm/
ComponentInfo.java
78
@Override public CharSequence loadLabel(
PackageManager
pm) {
171
@Override protected Drawable loadDefaultIcon(
PackageManager
pm) {
179
protected Drawable loadDefaultLogo(
PackageManager
pm) {
/packages/apps/Contacts/src/com/android/contacts/util/
ContactBadgeUtil.java
20
import android.content.pm.
PackageManager
;
21
import android.content.pm.
PackageManager
.NameNotFoundException;
72
PackageManager
pm = context.getPackageManager();
/packages/apps/Launcher2/src/com/android/launcher2/
ApplicationInfo.java
21
import android.content.pm.
PackageManager
;
22
import android.content.pm.
PackageManager
.NameNotFoundException;
65
public ApplicationInfo(
PackageManager
pm, ResolveInfo info, IconCache iconCache,
85
Log.d(TAG, "
PackageManager
.getApplicationInfo failed for " + packageName);
/packages/apps/Settings/src/com/android/settings/applications/
ProcStatsEntry.java
21
import android.content.pm.
PackageManager
;
101
public void evaluateTargetPackage(
PackageManager
pm, ProcessStats stats,
158
} catch (
PackageManager
.NameNotFoundException e) {
201
public void retrieveUiData(
PackageManager
pm) {
209
PackageManager
.GET_DISABLED_COMPONENTS |
210
PackageManager
.GET_DISABLED_UNTIL_USED_COMPONENTS |
211
PackageManager
.GET_UNINSTALLED_PACKAGES);
226
} catch (
PackageManager
.NameNotFoundException e) {
235
PackageManager
.GET_DISABLED_COMPONENTS |
236
PackageManager
.GET_DISABLED_UNTIL_USED_COMPONENTS
[
all
...]
/packages/apps/Settings/src/com/android/settings/wifi/
WifiScanModeActivity.java
28
import android.content.pm.
PackageManager
;
51
PackageManager
pm = getPackageManager();
54
} catch (
PackageManager
.NameNotFoundException e) { }
Completed in 578 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>