/packages/apps/Settings/src/com/android/settings/applications/ |
D | RunningState.java | 455 PackageInfo pi = pm.getPackageInfo(name, 0); in ensureLabel() local 456 if (pi.sharedUserLabel != 0) { in ensureLabel() 458 pi.sharedUserLabel, pi.applicationInfo); in ensureLabel() 462 mPackageInfo = pi.applicationInfo; in ensureLabel() 845 private boolean isInterestingProcess(ActivityManager.RunningAppProcessInfo pi) { in isInterestingProcess() argument 846 if ((pi.flags&ActivityManager.RunningAppProcessInfo.FLAG_CANT_SAVE_STATE) != 0) { in isInterestingProcess() 849 if ((pi.flags&ActivityManager.RunningAppProcessInfo.FLAG_PERSISTENT) == 0 in isInterestingProcess() 850 && pi.importance >= ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND in isInterestingProcess() 851 && pi.importance < ActivityManager.RunningAppProcessInfo.IMPORTANCE_CANT_SAVE_STATE in isInterestingProcess() 852 && pi.importanceReasonCode in isInterestingProcess() [all …]
|
D | AppOpsDetails.java | 115 PermissionInfo pi = mPm.getPermissionInfo(perm, 0); in refreshUi() local 116 if (pi.group != null && !lastPermGroup.equals(pi.group)) { in refreshUi() 117 lastPermGroup = pi.group; in refreshUi() 118 PermissionGroupInfo pgi = mPm.getPermissionGroupInfo(pi.group, 0); in refreshUi()
|
D | RunningServiceDetails.java | 332 void addProcessDetailsView(RunningState.ProcessItem pi, boolean isMain) { in addProcessDetailsView() argument 341 detail.mActiveItem = detail.mViewHolder.bind(mState, pi, mBuilder); in addProcessDetailsView() 344 if (pi.mUserId != UserHandle.myUserId()) { in addProcessDetailsView() 353 ActivityManager.RunningAppProcessInfo rpi = pi.mRunningProcessInfo; in addProcessDetailsView() 410 RunningState.ProcessItem pi = i < 0 ? item.mProcess in addDetailsViews() 412 if (pi != null && pi.mPid <= 0) { in addDetailsViews() 416 addProcessDetailsView(pi, i < 0); in addDetailsViews()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | AppRestrictionsFragment.java | 331 private boolean isPlatformSigned(PackageInfo pi) { in isPlatformSigned() argument 332 return (pi != null && pi.signatures != null && in isPlatformSigned() 333 mSysPackageInfo.signatures[0].equals(pi.signatures[0])); in isPlatformSigned() 336 private boolean isAppEnabledForUser(PackageInfo pi) { in isAppEnabledForUser() argument 337 if (pi == null) return false; in isAppEnabledForUser() 338 final int flags = pi.applicationInfo.flags; in isAppEnabledForUser() 339 final int privateFlags = pi.applicationInfo.privateFlags; in isAppEnabledForUser() 371 PackageInfo pi = null; in populateApps() local 373 pi = ipm.getPackageInfo(packageName, in populateApps() 379 if (pi == null) { in populateApps() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | AppRestrictionsFragment.java | 364 private boolean isPlatformSigned(PackageInfo pi) { in isPlatformSigned() argument 365 return (pi != null && pi.signatures != null && in isPlatformSigned() 366 mSysPackageInfo.signatures[0].equals(pi.signatures[0])); in isPlatformSigned() 369 private boolean isAppEnabledForUser(PackageInfo pi) { in isAppEnabledForUser() argument 370 if (pi == null) return false; in isAppEnabledForUser() 371 final int flags = pi.applicationInfo.flags; in isAppEnabledForUser() 372 final int privateFlags = pi.applicationInfo.privateFlags; in isAppEnabledForUser() 404 PackageInfo pi = null; in populateApps() local 406 pi = mIPm.getPackageInfo(packageName, in populateApps() 412 if (pi == null) { in populateApps() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | TimerModel.java | 541 final PendingIntent pi = PendingIntent.getService(mContext, in updateAlarmManager() local 543 if (pi != null) { in updateAlarmManager() 544 mAlarmManager.cancel(pi); in updateAlarmManager() 545 pi.cancel(); in updateAlarmManager() 549 final PendingIntent pi = PendingIntent.getService(mContext, in updateAlarmManager() local 551 schedulePendingIntent(nextExpiringTimer.getExpirationTime(), pi); in updateAlarmManager() local 719 final PendingIntent pi = PendingIntent.getService(mContext, 0, updateNotification, in updateNotification() local 725 schedulePendingIntent(triggerTime, pi); in updateNotification() 728 final PendingIntent pi = PendingIntent.getService(mContext, 0, updateNotification, in updateNotification() local 730 if (pi != null) { in updateNotification() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | InstallPackageTask.java | 120 PackageInfo pi = mPm.getPackageArchiveInfo(packageLocation, PackageManager.GET_RECEIVERS); in packageContentIsCorrect() local 121 if (pi == null) { in packageContentIsCorrect() 126 if (!pi.packageName.equals(packageName)) { in packageContentIsCorrect() 127 ProvisionLogger.loge("Package name in apk (" + pi.packageName in packageContentIsCorrect() 133 if (pi.receivers != null) { in packageContentIsCorrect() 134 for (ActivityInfo ai : pi.receivers) { in packageContentIsCorrect()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/ |
D | tutorial.dot | 28 pi [label="{string|\"pi\"}", fillcolor=5] 46 root -> { hello; t; f; n; i; pi; a } 55 pi -> pi1
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryEntry.java | 287 … final PackageInfo pi = ipm.getPackageInfo(pkgName, 0 /* no flags */, userId); in loadNameAndIcon() local 288 if (pi == null) { in loadNameAndIcon() 293 if (pi.sharedUserLabel != 0) { in loadNameAndIcon() 295 pi.sharedUserLabel, pi.applicationInfo); in loadNameAndIcon() 298 if (pi.applicationInfo.icon != 0) { in loadNameAndIcon() 300 icon = pi.applicationInfo.loadIcon(pm); in loadNameAndIcon()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | HttpClientFactory.java | 110 PackageInfo pi; in getUserAgent() local 112 pi = context.getPackageManager().getPackageInfo( in getUserAgent() 118 pi.packageName, in getUserAgent() 119 pi.versionName, in getUserAgent()
|
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
D | NotificationService.java | 173 PendingIntent pi = ToastService.getPendingIntent(context, R.string.upload_click); in makeUploadNotification() local 179 .setContentIntent(pi) in makeUploadNotification() 245 PendingIntent pi = ToastService.getPendingIntent(this, R.string.timer_click); in onHandleIntent() local 250 .setContentIntent(pi) in onHandleIntent() 295 PendingIntent pi = ToastService.getPendingIntent(this, R.string.email_click); in onHandleIntent() local 302 .setContentIntent(pi) in onHandleIntent() 312 PendingIntent pi = ToastService.getPendingIntent(this, R.string.social_click); in onHandleIntent() local 317 .setContentIntent(pi) in onHandleIntent()
|
D | ToastService.java | 69 PendingIntent pi = PendingIntent.getService( in getPendingIntent() local 71 return pi; in getPendingIntent()
|
D | UpdateService.java | 67 PendingIntent pi = PendingIntent.getService( in getPendingIntent() local 69 return pi; in getPendingIntent()
|
D | PhoneService.java | 77 PendingIntent pi = PendingIntent.getService( in getPendingIntent() local 79 return pi; in getPendingIntent()
|
D | FullScreenActivity.java | 84 PendingIntent pi = PendingIntent.getActivity( in getPendingIntent() local 86 return pi; in getPendingIntent()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | Utils.java | 196 PackageInfo pi; in findDeviceAdmin() local 198 pi = c.getPackageManager().getPackageInfo(mdmPackageName, in findDeviceAdmin() 206 checkAdminComponent(mdmComponentName, pi); in findDeviceAdmin() 210 return findDeviceAdminInPackage(mdmPackageName, pi); in findDeviceAdmin() 223 private void checkAdminComponent(ComponentName mdmComponentName, PackageInfo pi) in checkAdminComponent() argument 225 for (ActivityInfo ai : pi.receivers) { in checkAdminComponent() 234 private ComponentName findDeviceAdminInPackage(String mdmPackageName, PackageInfo pi) in findDeviceAdminInPackage() argument 237 for (ActivityInfo ai : pi.receivers) { in findDeviceAdminInPackage()
|
/packages/apps/Settings/src/com/android/settings/ |
D | DeviceAdminAdd.java | 256 DeviceAdminInfo.PolicyInfo pi = newPolicies.get(i); in onCreate() local 257 if (!mDPM.hasGrantedPolicy(who, pi.ident)) { in onCreate() 596 for (DeviceAdminInfo.PolicyInfo pi : mDeviceAdmin.getUsedPolicies()) { in addDeviceAdminPolicies() 597 int descriptionId = isAdminUser ? pi.description : pi.descriptionForSecondaryUsers; in addDeviceAdminPolicies() 598 int labelId = isAdminUser ? pi.label : pi.labelForSecondaryUsers; in addDeviceAdminPolicies()
|
D | AppPicker.java | 120 PackageInfo pi = getPackageManager().getPackageInfo(ai.packageName, in AppListAdapter() local 122 if (pi.requestedPermissions == null) { in AppListAdapter() 125 for (String requestedPermission : pi.requestedPermissions) { in AppListAdapter()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | AppPicker.java | 120 PackageInfo pi = pm.getPackageInfo(ai.packageName, in onCreateActions() local 122 if (pi.requestedPermissions == null) { in onCreateActions() 125 for (String requestedPermission : pi.requestedPermissions) { in onCreateActions()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | VersionUtil.java | 43 PackageInfo pi = context.getPackageManager().getPackageInfo( in VersionUtil() local 45 versionCode = pi.versionCode; in VersionUtil()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_keyboard_ProximityInfo.cpp | 42 ProximityInfo *pi = reinterpret_cast<ProximityInfo *>(proximityInfo); in latinime_Keyboard_release() local 43 delete pi; in latinime_Keyboard_release()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | HelpActivity.java | 53 final PackageInfo pi = packageManager.getPackageInfo(getPackageName(), 0); in onCreate() local 54 actionBar.setSubtitle(getString(R.string.version, appName, pi.versionName)); in onCreate()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/ |
D | TetherServiceTest.java | 151 PendingIntent pi = mPiCaptor.getValue(); in testScheduleRechecks() local 152 assertEquals(TetherService.class.getName(), pi.getIntent().getComponent().getClassName()); in testScheduleRechecks() 220 PendingIntent pi = mPiCaptor.getValue(); in testCancelAlarm() local 221 assertEquals(TetherService.class.getName(), pi.getIntent().getComponent().getClassName()); in testCancelAlarm()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | HelpUrl.java | 72 final PackageInfo pi = context.getPackageManager().getPackageInfo(packageName, 0); in getVersion() local 73 return String.valueOf(pi.versionCode); in getVersion()
|
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/common/ |
D | UtilsTest.java | 135 PackageInfo pi = new PackageInfo(); in testPackageRequiresUpdate() local 136 pi.packageName = TEST_PACKAGE_NAME_1; in testPackageRequiresUpdate() 137 pi.versionCode = 1; in testPackageRequiresUpdate() 138 when(mockPackageManager.getPackageInfo(TEST_PACKAGE_NAME_1, 0)).thenReturn(pi); in testPackageRequiresUpdate()
|