OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PackageManager
(Results
276 - 300
of
655
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DefaultContainerService.java
28
import android.content.pm.
PackageManager
;
123
* {@link
PackageManager
}
128
return
PackageManager
.INSTALL_FAILED_INVALID_URI;
136
return
PackageManager
.INSTALL_SUCCEEDED;
140
return
PackageManager
.INSTALL_FAILED_INVALID_URI;
144
return
PackageManager
.INSTALL_FAILED_INSUFFICIENT_STORAGE;
148
return
PackageManager
.INSTALL_FAILED_INVALID_APK;
291
if (
PackageManager
.ACTION_CLEAN_EXTERNAL_STORAGE.equals(intent.getAction())) {
414
if (ret !=
PackageManager
.INSTALL_SUCCEEDED) {
671
final boolean isForwardLocked = (flags &
PackageManager
.INSTALL_FORWARD_LOCK) != 0
[
all
...]
/packages/apps/Settings/src/com/android/settings/applications/
ApplicationsState.java
10
import android.content.pm.
PackageManager
;
12
import android.content.pm.
PackageManager
.NameNotFoundException;
140
boolean ensureIconLocked(Context context,
PackageManager
pm) {
267
final
PackageManager
mPm;
436
mRetrieveFlags =
PackageManager
.GET_UNINSTALLED_PACKAGES |
437
PackageManager
.GET_DISABLED_COMPONENTS |
438
PackageManager
.GET_DISABLED_UNTIL_USED_COMPONENTS;
440
mRetrieveFlags =
PackageManager
.GET_DISABLED_COMPONENTS |
441
PackageManager
.GET_DISABLED_UNTIL_USED_COMPONENTS;
655
if (info.enabledSetting !=
PackageManager
.COMPONENT_ENABLED_STATE_DISABLED_USER)
[
all
...]
AppOpsState.java
23
import android.content.pm.
PackageManager
;
24
import android.content.pm.
PackageManager
.NameNotFoundException;
49
final
PackageManager
mPm;
471
PackageManager
.GET_DISABLED_COMPONENTS
472
|
PackageManager
.GET_UNINSTALLED_PACKAGES);
473
} catch (
PackageManager
.NameNotFoundException e) {
531
PackageInfo pi = mPm.getPackageInfo(packageName,
PackageManager
.GET_PERMISSIONS);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
RecentTasksLoader.java
24
import android.content.pm.
PackageManager
;
148
final
PackageManager
pm = mContext.getPackageManager();
164
final
PackageManager
pm = mContext.getPackageManager();
192
final
PackageManager
pm = mContext.getPackageManager();
224
private Drawable getFullResIcon(ResolveInfo info,
PackageManager
packageManager
) {
227
resources =
packageManager
.getResourcesForApplication(
229
} catch (
PackageManager
.NameNotFoundException e) {
437
final
PackageManager
pm = mContext.getPackageManager();
/packages/apps/Settings/src/com/android/settings/
Utils.java
28
import android.content.pm.
PackageManager
;
29
import android.content.pm.
PackageManager
.NameNotFoundException;
131
PackageManager
pm = context.getPackageManager();
193
PackageManager
pm = context.getPackageManager();
194
List<ResolveInfo> list = pm.queryIntentActivities(intent,
PackageManager
.GET_META_DATA);
254
PackageManager
pm = context.getPackageManager();
255
List<ResolveInfo> list = pm.queryIntentActivities(intent,
PackageManager
.GET_META_DATA);
HomeSettings.java
30
import android.content.pm.
PackageManager
;
59
PackageManager
mPm;
245
if (match >=
PackageManager
.SIGNATURE_MATCH) {
/packages/apps/Settings/src/com/android/settings/fuelgauge/
PowerUsageDetail.java
32
import android.content.pm.
PackageManager
;
33
import android.content.pm.
PackageManager
.NameNotFoundException;
113
private
PackageManager
mPm;
185
final
PackageManager
pm = getActivity().getPackageManager();
350
PackageManager
pm = getActivity().getPackageManager();
467
} catch (
PackageManager
.NameNotFoundException e) {
514
PackageManager
pm = getActivity().getPackageManager();
/frameworks/base/core/java/android/widget/
AppSecurityPermissions.java
26
import android.content.pm.
PackageManager
;
27
import android.content.pm.
PackageManager
.NameNotFoundException;
72
private final
PackageManager
mPm;
100
public Drawable loadGroupIcon(
PackageManager
pm) {
162
PackageManager
pm = getContext().getPackageManager();
194
PackageManager
pm = getContext().getPackageManager();
245
PackageManager
pm = getContext().getPackageManager();
269
pkgInfo = mPm.getPackageInfo(packageName,
PackageManager
.GET_PERMISSIONS);
296
PackageManager
.GET_PERMISSIONS);
343
PackageInfo pkgInfo = mPm.getPackageInfo(packageName,
PackageManager
.GET_PERMISSIONS)
[
all
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
SMSDispatcher.java
30
import android.content.pm.
PackageManager
;
662
PackageManager
pm = mContext.getPackageManager();
678
// Get package info via
packagemanager
682
appInfo = pm.getPackageInfo(packageNames[0],
PackageManager
.GET_SIGNATURES);
683
} catch (
PackageManager
.NameNotFoundException e) {
725
==
PackageManager
.PERMISSION_GRANTED) {
[
all
...]
/frameworks/base/services/java/com/android/server/print/
PrintManagerService.java
28
import android.content.pm.
PackageManager
;
356
!=
PackageManager
.PERMISSION_GRANTED) {
469
.queryIntentServicesAsUser(intent,
PackageManager
.GET_SERVICES,
579
!=
PackageManager
.PERMISSION_GRANTED) {
598
!=
PackageManager
.PERMISSION_GRANTED
600
!=
PackageManager
.PERMISSION_GRANTED) {
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsActor.java
34
import android.content.pm.
PackageManager
;
226
* force the {@link
PackageManager
} to always return a well-known package
227
* list for any call to {@link
PackageManager
#getPackagesForUid(int)}.
230
* package name "com.example.red", and also cause the {@link
PackageManager
}
273
public
PackageManager
getPackageManager() {
304
return
PackageManager
.PERMISSION_GRANTED;
306
return
PackageManager
.PERMISSION_DENIED;
318
return
PackageManager
.PERMISSION_GRANTED;
320
return
PackageManager
.PERMISSION_DENIED;
/cts/tests/tests/media/src/android/media/cts/
CamcorderProfileTest.java
20
import android.content.pm.
PackageManager
;
231
* Checking
PackageManager
.FEATURE_CAMERA is included or not to decide the flow.
235
PackageManager
pm = mContext.getPackageManager();
236
if (!pm.hasSystemFeature(
PackageManager
.FEATURE_CAMERA)) {
/frameworks/base/core/java/android/preference/
PreferenceManager.java
25
import android.content.pm.
PackageManager
;
27
import android.content.pm.
PackageManager
.NameNotFoundException;
193
PackageManager
.GET_META_DATA);
/frameworks/base/services/java/com/android/server/pm/
PackageSettingBase.java
19
import static android.content.pm.
PackageManager
.COMPONENT_ENABLED_STATE_DEFAULT;
20
import static android.content.pm.
PackageManager
.COMPONENT_ENABLED_STATE_DISABLED;
21
import static android.content.pm.
PackageManager
.COMPONENT_ENABLED_STATE_ENABLED;
37
* Indicates the state of installation. Used by
PackageManager
to figure out
41
*
PackageManager
will no longer maintain state information associated with
43
* out) occurs during installation of a package, the
PackageManager
needs
/frameworks/base/services/java/com/android/server/usb/
UsbService.java
24
import android.content.pm.
PackageManager
;
74
final
PackageManager
pm = mContext.getPackageManager();
75
if (pm.hasSystemFeature(
PackageManager
.FEATURE_USB_HOST)) {
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
AppLaunch.java
27
import android.content.pm.
PackageManager
;
28
import android.content.pm.
PackageManager
.NameNotFoundException;
168
PackageManager
pm = getInstrumentation().getContext()
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
MemoryUsageTest.java
25
import android.content.pm.
PackageManager
;
26
import android.content.pm.
PackageManager
.NameNotFoundException;
114
PackageManager
pm = getInstrumentation().getContext()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
ProcessErrorsTest.java
24
import android.content.pm.
PackageManager
;
48
protected
PackageManager
mPackageManager;
228
* A helper function to query the provided {@link
PackageManager
} for a list of Activities that
231
static List<ResolveInfo> getLauncherActivities(
PackageManager
pm) {
/frameworks/opt/mailcommon/java/com/android/mailcommon/
WebViewContextMenu.java
25
import android.content.pm.
PackageManager
;
117
PackageManager
pm = mActivity.getPackageManager();
120
ResolveInfo ri = pm.resolveActivity(send,
PackageManager
.MATCH_DEFAULT_ONLY);
/frameworks/opt/net/voip/src/java/android/net/sip/
SipManager.java
22
import android.content.pm.
PackageManager
;
138
PackageManager
.FEATURE_SIP);
146
PackageManager
.FEATURE_SIP_VOIP) && isApiSupported(context);
/frameworks/testing/app-tests/AppLaunchTest/src/com/android/applaunchtest/
AppLaunchTest.java
24
import android.content.pm.
PackageManager
;
49
private
PackageManager
mPackageManager;
175
static ResolveInfo getLauncherActivity(String packageName,
PackageManager
pm) {
/cts/tests/tests/content/src/android/content/pm/cts/
ApplicationInfoTest.java
23
import android.content.pm.
PackageManager
.NameNotFoundException;
/cts/tests/tests/mediastress/src/android/mediastress/cts/
MediaRecorderStressTest.java
19
import android.content.pm.
PackageManager
;
81
PackageManager
packageManager
=
83
mHasRearCamera =
packageManager
.hasSystemFeature(
PackageManager
.FEATURE_CAMERA);
84
mHasFrontCamera =
packageManager
.hasSystemFeature(
PackageManager
.FEATURE_CAMERA_FRONT);
/cts/tests/tests/net/src/android/net/cts/
ConnectivityManagerTest.java
24
import android.content.pm.
PackageManager
;
57
private
PackageManager
mPackageManager;
266
if (!mPackageManager.hasSystemFeature(
PackageManager
.FEATURE_TELEPHONY)
267
|| !mPackageManager.hasSystemFeature(
PackageManager
.FEATURE_WIFI)) {
/developers/build/prebuilts/gradle/BatchStepSensor/BatchStepSensorSample/src/main/java/com/example/android/batchstepsensor/
BatchStepSensorFragment.java
20
import android.content.pm.
PackageManager
;
144
PackageManager
packageManager
= getActivity().getPackageManager();
146
&&
packageManager
.hasSystemFeature(
PackageManager
.FEATURE_SENSOR_STEP_COUNTER)
147
&&
packageManager
.hasSystemFeature(
PackageManager
.FEATURE_SENSOR_STEP_DETECTOR);
Completed in 308 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>