Home
last modified time | relevance | path

Searched refs:pi (Results 1 – 25 of 59) sorted by relevance

123

/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java415 PackageInfo pi = pm.getPackageInfo(name, 0); in ensureLabel() local
416 if (pi.sharedUserLabel != 0) { in ensureLabel()
418 pi.sharedUserLabel, pi.applicationInfo); in ensureLabel()
422 mPackageInfo = pi.applicationInfo; in ensureLabel()
799 private boolean isInterestingProcess(ActivityManager.RunningAppProcessInfo pi) { in isInterestingProcess() argument
800 if ((pi.flags&ActivityManager.RunningAppProcessInfo.FLAG_CANT_SAVE_STATE) != 0) { in isInterestingProcess()
803 if ((pi.flags&ActivityManager.RunningAppProcessInfo.FLAG_PERSISTENT) == 0 in isInterestingProcess()
804 && pi.importance >= ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND in isInterestingProcess()
805 && pi.importance < ActivityManager.RunningAppProcessInfo.IMPORTANCE_CANT_SAVE_STATE in isInterestingProcess()
806 && pi.importanceReasonCode in isInterestingProcess()
[all …]
DRunningServiceDetails.java331 void addProcessDetailsView(RunningState.ProcessItem pi, boolean isMain) { in addProcessDetailsView() argument
340 detail.mActiveItem = detail.mViewHolder.bind(mState, pi, mBuilder); in addProcessDetailsView()
343 if (pi.mUserId != UserHandle.myUserId()) { in addProcessDetailsView()
352 ActivityManager.RunningAppProcessInfo rpi = pi.mRunningProcessInfo; in addProcessDetailsView()
409 RunningState.ProcessItem pi = i < 0 ? item.mProcess in addDetailsViews()
411 if (pi != null && pi.mPid <= 0) { in addDetailsViews()
415 addProcessDetailsView(pi, i < 0); in addDetailsViews()
DAppOpsDetails.java127 PermissionInfo pi = mPm.getPermissionInfo(perm, 0); in refreshUi() local
128 if (pi.group != null && !lastPermGroup.equals(pi.group)) { in refreshUi()
129 lastPermGroup = pi.group; in refreshUi()
130 PermissionGroupInfo pgi = mPm.getPermissionGroupInfo(pi.group, 0); in refreshUi()
DProcStatsEntry.java234 final PackageInfo pi = pm.getPackageInfo(curPkg, in retrieveUiData() local
238 if (pi.sharedUserLabel != 0) { in retrieveUiData()
239 mUiTargetApp = pi.applicationInfo; in retrieveUiData()
241 pi.sharedUserLabel, pi.applicationInfo); in retrieveUiData()
DAppOpsState.java531 PackageInfo pi = mPm.getPackageInfo(packageName, PackageManager.GET_PERMISSIONS); in buildState() local
532 apps.add(pi); in buildState()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java433 final PackageInfo pi = mPackageManager.getPackageInfo(packageName, 0); in isSystemPackage() local
434 if (pi.applicationInfo == null) return false; in isSystemPackage()
435 final int flags = pi.applicationInfo.flags; in isSystemPackage()
581 PackageInfo pi = pm.getPackageInfo(app.packageName, 0); in fetchAndMergeApps() local
586 && pi.requiredAccountType != null && pi.restrictedAccountType == null) { in fetchAndMergeApps()
648 private boolean isPlatformSigned(PackageInfo pi) { in isPlatformSigned() argument
649 return (pi != null && pi.signatures != null && in isPlatformSigned()
650 mSysPackageInfo.signatures[0].equals(pi.signatures[0])); in isPlatformSigned()
653 private boolean isAppEnabledForUser(PackageInfo pi) { in isAppEnabledForUser() argument
654 if (pi == null) return false; in isAppEnabledForUser()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DAppInfo.java84 PackageInfo pi = pm.getPackageInfo(packageName, 0); in AppInfo() local
85 flags = initFlags(pi); in AppInfo()
86 firstInstallTime = initFirstInstallTime(pi); in AppInfo()
94 public static int initFlags(PackageInfo pi) { in initFlags() argument
95 int appFlags = pi.applicationInfo.flags; in initFlags()
107 public static long initFirstInstallTime(PackageInfo pi) { in initFirstInstallTime() argument
108 return pi.firstInstallTime; in initFirstInstallTime()
DShortcutInfo.java129 PackageInfo pi = null; in getPackageInfo() local
132 pi = pm.getPackageInfo(packageName, 0); in getPackageInfo()
136 return pi; in getPackageInfo()
139 void initFlagsAndFirstInstallTime(PackageInfo pi) { in initFlagsAndFirstInstallTime() argument
140 flags = AppInfo.initFlags(pi); in initFlagsAndFirstInstallTime()
141 firstInstallTime = AppInfo.initFirstInstallTime(pi); in initFlagsAndFirstInstallTime()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatterySipper.java214 final PackageInfo pi = pm.getPackageInfo(pkgName, 0); in loadNameAndIcon() local
215 if (pi.sharedUserLabel != 0) { in loadNameAndIcon()
217 pi.sharedUserLabel, pi.applicationInfo); in loadNameAndIcon()
220 if (pi.applicationInfo.icon != 0) { in loadNameAndIcon()
222 icon = pi.applicationInfo.loadIcon(pm); in loadNameAndIcon()
DPowerUsageDetail.java352 PackageInfo pi = null; in fillControlsSection() local
354 pi = packages != null ? pm.getPackageInfo(packages[0], 0) : null; in fillControlsSection()
356 ApplicationInfo ai = pi != null? pi.applicationInfo : null; in fillControlsSection()
/packages/apps/Settings/src/com/android/settings/
DDeviceAdminAdd.java175 DeviceAdminInfo.PolicyInfo pi = newPolicies.get(i); in onCreate() local
176 if (!mDPM.hasGrantedPolicy(cn, pi.ident)) { in onCreate()
326 DeviceAdminInfo.PolicyInfo pi = policies.get(i); in updateInterface() local
328 this, getText(pi.label), "", true); in updateInterface()
344 DeviceAdminInfo.PolicyInfo pi = policies.get(i); in updateInterface() local
346 this, getText(pi.label), getText(pi.description), true); in updateInterface()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DHttpClientFactory.java110 PackageInfo pi; in getUserAgent() local
112 pi = context.getPackageManager().getPackageInfo( in getUserAgent()
118 pi.packageName, in getUserAgent()
119 pi.versionName, in getUserAgent()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoPriorityResolver.java111 PackageInfo pi = pm.getPackageInfo(packageName, PackageManager.GET_SERVICES in resolvePhotoPriorityFromMetaData() local
113 if (pi != null && pi.services != null) { in resolvePhotoPriorityFromMetaData()
114 for (ServiceInfo si : pi.services) { in resolvePhotoPriorityFromMetaData()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DLocalizedNameResolver.java85 PackageInfo pi = pm.getPackageInfo(packageName, PackageManager.GET_SERVICES in resolveAllContactsNameFromMetaData() local
87 if (pi != null && pi.services != null) { in resolveAllContactsNameFromMetaData()
88 for (ServiceInfo si : pi.services) { in resolveAllContactsNameFromMetaData()
/packages/apps/Email/emailsync/src/com/android/emailsync/
DSyncManager.java1049 PendingIntent pi = mPendingIntents.get(id); in clearAlarm() local
1050 if (pi != null) { in clearAlarm()
1052 alarmManager.cancel(pi); in clearAlarm()
1061 PendingIntent pi = mPendingIntents.get(id); in setAlarm() local
1062 if (pi == null) { in setAlarm()
1066 pi = PendingIntent.getBroadcast(this, 0, i, 0); in setAlarm()
1067 mPendingIntents.put(id, pi); in setAlarm()
1070 alarmManager.set(AlarmManager.RTC_WAKEUP, System.currentTimeMillis() + millis, pi); in setAlarm()
1079 for (PendingIntent pi : mPendingIntents.values()) { in clearAlarms()
1080 alarmManager.cancel(pi); in clearAlarms()
/packages/inputmethods/PinyinIME/jni/data/
Drawdict_utf16_65105_freq.txt904 銢 0.656974352383 1 pi
905 魾 0.687975440323 1 pi
906 髬 0.719542169058 1 pi
907 否 0.755375990725 0 pi
908 螷 0.781224156844 1 pi
909 鷿 0.813006779752 1 pi
910 礔 0.843976324915 1 pi
911 銔 0.843976324915 1 pi
912 蠯 0.843976324915 1 pi
913 揊 0.875034462358 1 pi
[all …]
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_keyboard_ProximityInfo.cpp42 ProximityInfo *pi = reinterpret_cast<ProximityInfo *>(proximityInfo); in latinime_Keyboard_release() local
43 delete pi; in latinime_Keyboard_release()
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
DToastService.java68 PendingIntent pi = PendingIntent.getService( in getPendingIntent() local
70 return pi; in getPendingIntent()
DUpdateService.java71 PendingIntent pi = PendingIntent.getService( in getPendingIntent() local
73 return pi; in getPendingIntent()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlarmScheduler.java319 PendingIntent pi = PendingIntent.getBroadcast(context, 0, intent, 0); in scheduleAlarm() local
320 alarmManager.set(AlarmManager.RTC_WAKEUP, alarmTime, pi); in scheduleAlarm()
DAlertUtils.java141 PendingIntent pi = PendingIntent.getBroadcast(context, 0, intent,
143 manager.set(alarmType, alarmTime, pi);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DInstallAppProgress.java231 PackageInfo pi = pm.getPackageInfo(mAppInfo.packageName,
233 if(pi != null) {
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java365 PendingIntent pi = PendingIntent.getActivity(this, NOTIFICATION_ID, intent, in addToNotificationBar() local
373 .setContentIntent(pi) in addToNotificationBar()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverTransfer.java433 PendingIntent pi = PendingIntent.getBroadcast(mContext, mTransferId, intent, in buildCancelIntent() local
436 return pi; in buildCancelIntent()
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java937 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); in showNetworkSelection() local
939 notification.setLatestEventInfo(mContext, titleText, expandedText, pi); in showNetworkSelection()

123