OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:packageManager
(Results
51 - 75
of
127
) sorted by null
1
2
3
4
5
6
/frameworks/base/core/java/android/printservice/
PrintServiceInfo.java
21
import android.content.pm.
PackageManager
;
22
import android.content.pm.
PackageManager
.NameNotFoundException;
110
PackageManager
packageManager
= context.getPackageManager();
111
parser = resolveInfo.serviceInfo.loadXmlMetaData(
packageManager
,
125
Resources resources =
packageManager
.getResourcesForApplication(
/frameworks/base/core/java/android/widget/
ShareActionProvider.java
21
import android.content.pm.
PackageManager
;
203
PackageManager
packageManager
= mContext.getPackageManager();
211
subMenu.add(0, i, i, activity.loadLabel(
packageManager
))
212
.setIcon(activity.loadIcon(
packageManager
))
223
expandedSubMenu.add(0, i, i, activity.loadLabel(
packageManager
))
224
.setIcon(activity.loadIcon(
packageManager
))
/frameworks/base/core/tests/coretests/src/android/provider/
SettingsProviderTest.java
24
import android.content.pm.
PackageManager
;
325
PackageManager
packageManager
= mContext.getPackageManager();
326
List<ResolveInfo> resolveInfoList =
packageManager
.queryIntentActivities(intent, 0);
/frameworks/base/packages/StatementService/src/com/android/statementservice/
IntentFilterVerificationReceiver.java
22
import android.content.pm.
PackageManager
;
23
import android.content.pm.
PackageManager
.NameNotFoundException;
42
* {@link
PackageManager
#verifyIntentFilter} to notify {@link
PackageManager
} the result of the
49
* and call {@link
PackageManager
#verifyIntentFilter} with
50
* {@link
PackageManager
#INTENT_FILTER_VERIFICATION_FAILURE}.
68
private static void sendErrorToPackageManager(
PackageManager
packageManager
,
70
packageManager
.verifyIntentFilter(verificationId,
71
PackageManager
.INTENT_FILTER_VERIFICATION_FAILURE
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
MediaProjectionPermissionActivity.java
24
import android.content.pm.
PackageManager
;
73
PackageManager
packageManager
= getPackageManager();
76
aInfo =
packageManager
.getApplicationInfo(mPackageName, 0);
78
} catch (
PackageManager
.NameNotFoundException e) {
100
String label = aInfo.loadLabel(
packageManager
).toString();
138
.setIcon(aInfo.loadIcon(
packageManager
))
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
SecureCameraLaunchManager.java
21
import android.content.pm.
PackageManager
;
228
PackageManager
packageManager
= mContext.getPackageManager();
231
final List<ResolveInfo> appList =
packageManager
.queryIntentActivitiesAsUser(
232
intent,
PackageManager
.MATCH_DEFAULT_ONLY, KeyguardUpdateMonitor.getCurrentUser());
239
ResolveInfo resolved =
packageManager
.resolveActivityAsUser(intent,
240
PackageManager
.MATCH_DEFAULT_ONLY |
PackageManager
.GET_META_DATA,
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
UsbConfirmActivity.java
24
import android.content.pm.
PackageManager
;
67
PackageManager
packageManager
= getPackageManager();
68
String appName = mResolveInfo.loadLabel(
packageManager
).toString();
71
ap.mIcon = mResolveInfo.loadIcon(
packageManager
);
UsbPermissionActivity.java
25
import android.content.pm.
PackageManager
;
72
PackageManager
packageManager
= getPackageManager();
75
aInfo =
packageManager
.getApplicationInfo(mPackageName, 0);
76
} catch (
PackageManager
.NameNotFoundException e) {
81
String appName = aInfo.loadLabel(
packageManager
).toString();
84
ap.mIcon = aInfo.loadIcon(
packageManager
);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
ShareActionProvider.java
21
import android.content.pm.
PackageManager
;
221
PackageManager
packageManager
= mContext.getPackageManager();
229
subMenu.add(0, i, i, activity.loadLabel(
packageManager
))
230
.setIcon(activity.loadIcon(
packageManager
))
241
expandedSubMenu.add(0, i, i, activity.loadLabel(
packageManager
))
242
.setIcon(activity.loadIcon(
packageManager
))
/packages/apps/Dialer/src/com/android/dialer/util/
DialerUtils.java
23
import android.content.pm.
PackageManager
;
106
final
PackageManager
packageManager
= context.getPackageManager();
109
final List<ResolveInfo> resolveInfos =
packageManager
.queryIntentActivities(intent, 0);
/packages/apps/KeyChain/src/com/android/keychain/
KeyChainService.java
23
import android.content.pm.
PackageManager
;
401
final
PackageManager
packageManager
= getPackageManager();
410
final boolean packageExists =
packageManager
.getPackagesForUid(uid) != null;
/packages/apps/Launcher2/src/com/android/launcher2/
InstallWidgetReceiver.java
25
import android.content.pm.
PackageManager
;
127
final
PackageManager
packageManager
= context.getPackageManager();
145
Drawable d = resolveInfo.loadIcon(
packageManager
);
150
final CharSequence component = resolveInfo.loadLabel(
packageManager
);
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
LiveWallpaperListAdapter.java
23
import android.content.pm.
PackageManager
;
52
private final
PackageManager
mPackageManager;
63
PackageManager
.GET_META_DATA);
142
final
PackageManager
packageManager
= mContext.getPackageManager();
154
return mCollator.compare(info1.loadLabel(
packageManager
),
155
info2.loadLabel(
packageManager
));
172
Drawable thumb = info.loadThumbnail(
packageManager
);
/packages/apps/Settings/src/com/android/settings/applications/
DrawOverlayDetails.java
26
import android.content.pm.
PackageManager
;
181
PackageManager
packageManager
= context.getPackageManager();
184
ApplicationInfo appInfo =
packageManager
.getApplicationInfo(pkg, 0);
189
} catch (
PackageManager
.NameNotFoundException e) {
WriteSettingsDetails.java
25
import android.content.pm.
PackageManager
;
181
PackageManager
packageManager
= context.getPackageManager();
183
ApplicationInfo appInfo =
packageManager
.getApplicationInfo(pkg, 0);
187
} catch (
PackageManager
.NameNotFoundException e) {
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
LiveWallpaperListAdapter.java
22
import android.content.pm.
PackageManager
;
56
private final
PackageManager
mPackageManager;
67
PackageManager
.GET_META_DATA);
151
final
PackageManager
packageManager
= mContext.getPackageManager();
170
return mCollator.compare(info1.loadLabel(
packageManager
),
171
info2.loadLabel(
packageManager
));
192
Drawable thumb = info.loadThumbnail(
packageManager
);
210
String title = info.loadLabel(
packageManager
).toString();
/cts/tests/tests/media/src/android/media/cts/
AudioManagerTest.java
43
import android.content.pm.
PackageManager
;
74
PackageManager
packageManager
= mContext.getPackageManager();
75
mIsTelevision =
packageManager
!= null
76
&& (
packageManager
.hasSystemFeature(
PackageManager
.FEATURE_LEANBACK)
77
||
packageManager
.hasSystemFeature(
PackageManager
.FEATURE_TELEVISION));
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DeviceInfoInstrument.java
24
import android.content.pm.
PackageManager
;
253
PackageManager
packageManager
= getContext().getPackageManager();
256
boolean hasFeature =
packageManager
.hasSystemFeature(featureName);
260
FeatureInfo[] featureInfos =
packageManager
.getSystemAvailableFeatures();
290
Field[] fields =
PackageManager
.class.getFields();
325
PackageManager
packageManager
= getContext().getPackageManager();
326
FeatureInfo[] featureInfos =
packageManager
.getSystemAvailableFeatures();
357
PackageManager
pm = getContext().getPackageManager()
[
all
...]
/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/
BatchStepSensorFragment.java
20
import android.content.pm.
PackageManager
;
148
PackageManager
packageManager
= getActivity().getPackageManager();
150
&&
packageManager
.hasSystemFeature(
PackageManager
.FEATURE_SENSOR_STEP_COUNTER)
151
&&
packageManager
.hasSystemFeature(
PackageManager
.FEATURE_SENSOR_STEP_DETECTOR);
/developers/samples/android/sensors/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/
BatchStepSensorFragment.java
20
import android.content.pm.
PackageManager
;
148
PackageManager
packageManager
= getActivity().getPackageManager();
150
&&
packageManager
.hasSystemFeature(
PackageManager
.FEATURE_SENSOR_STEP_COUNTER)
151
&&
packageManager
.hasSystemFeature(
PackageManager
.FEATURE_SENSOR_STEP_DETECTOR);
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/
BatchStepSensorFragment.java
20
import android.content.pm.
PackageManager
;
148
PackageManager
packageManager
= getActivity().getPackageManager();
150
&&
packageManager
.hasSystemFeature(
PackageManager
.FEATURE_SENSOR_STEP_COUNTER)
151
&&
packageManager
.hasSystemFeature(
PackageManager
.FEATURE_SENSOR_STEP_DETECTOR);
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
AssistManager.java
10
import android.content.pm.
PackageManager
;
259
PackageManager
packageManager
= mContext.getPackageManager();
262
?
packageManager
.getServiceInfo(
263
component,
PackageManager
.GET_META_DATA).metaData
264
:
packageManager
.getActivityInfo(
265
component,
PackageManager
.GET_META_DATA).metaData;
269
Resources res =
packageManager
.getResourcesForApplication(
275
} catch (
PackageManager
.NameNotFoundException e) {
/packages/apps/LegacyCamera/src/com/android/camera/ui/
SharePopup.java
27
import android.content.pm.
PackageManager
;
238
PackageManager
packageManager
= mContext.getPackageManager();
239
List<ResolveInfo> infos =
packageManager
.queryIntentActivities(
247
map.put(ADAPTER_COLUMN_ICON, info.loadIcon(
packageManager
));
/packages/services/Telephony/src/com/android/phone/
EmergencyActionGroup.java
27
import android.content.pm.
PackageManager
;
154
PackageManager
packageManager
= getContext().getPackageManager();
156
infos =
packageManager
.queryIntentActivities(queryIntent, 0);
164
packageInfo =
packageManager
.getPackageInfo(packageName, 0);
165
} catch (
PackageManager
.NameNotFoundException e) {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DeviceOwnerPositiveTestActivity.java
25
import android.content.pm.
PackageManager
;
148
PackageManager
packageManager
= getPackageManager();
149
if (
packageManager
.hasSystemFeature(
PackageManager
.FEATURE_WIFI)) {
170
if (
packageManager
.hasSystemFeature(
PackageManager
.FEATURE_BLUETOOTH)) {
Completed in 2943 milliseconds
1
2
3
4
5
6