/frameworks/base/media/java/android/media/session/ |
D | MediaSessionLegacyHelper.java | 166 public MediaSession getSession(PendingIntent pi) { in getSession() argument 167 SessionHolder holder = mSessions.get(pi); in getSession() 247 public void addRccListener(PendingIntent pi, MediaSession.Callback listener) { in addRccListener() argument 248 if (pi == null) { in addRccListener() 252 SessionHolder holder = getHolder(pi, true); in addRccListener() 270 Log.d(TAG, "Added rcc listener for " + pi + "."); in addRccListener() 274 public void removeRccListener(PendingIntent pi) { in removeRccListener() argument 275 if (pi == null) { in removeRccListener() 278 SessionHolder holder = getHolder(pi, false); in removeRccListener() 285 Log.d(TAG, "Removed rcc listener for " + pi + "."); in removeRccListener() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 133 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); in onStorageStateChangedAsync() local 137 com.android.internal.R.drawable.stat_sys_warning, false, true, pi); in onStorageStateChangedAsync() 201 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); in onStorageStateChangedAsync() local 206 com.android.internal.R.drawable.stat_notify_sdcard_usb, true, false, pi); in onStorageStateChangedAsync() 215 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); in onStorageStateChangedAsync() local 220 com.android.internal.R.drawable.stat_notify_sdcard_usb, true, false, pi); in onStorageStateChangedAsync() 259 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); in updateUsbMassStorageNotification() local 264 false, true, pi); in updateUsbMassStorageNotification() 274 boolean sound, boolean visible, PendingIntent pi) { in setUsbStorageNotification() argument 307 if (pi == null) { in setUsbStorageNotification() [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicBlur.cpp | 68 float pi = 3.1415926535897932f; in ComputeGaussianWeights() local 82 float coeff1 = 1.0f / (sqrtf(2.0f * pi) * sigma); in ComputeGaussianWeights() 119 const uchar *pi = ptrIn + x*4; in OneVU4() local 125 const uchar4 *pvy = (const uchar4 *)&pi[validY * iStride]; in OneVU4() 137 const uchar *pi = ptrIn + x; in OneVU1() local 143 float pf = (float)pi[validY * iStride]; in OneVU1() 180 const uchar *pi = ptrIn; in OneVFU4() local 185 float4 pf = convert_float4(((const uchar4 *)pi)[0]); in OneVFU4() 187 pi += iStride; in OneVFU4() 204 const uchar *pi = ptrIn; in OneVFU1() local [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | MetaDataTest.java | 139 ProviderInfo pi = mContext.getPackageManager().resolveContentProvider( in testProviderWithData() local 142 checkMetaData(cn, pi); in testProviderWithData() 144 pi = mContext.getPackageManager().resolveContentProvider( in testProviderWithData() 147 assertNull("Meta data returned when not requested", pi.metaData); in testProviderWithData() 154 PermissionInfo pi = mContext.getPackageManager().getPermissionInfo( in testPermissionWithData() local 156 checkMetaData(cn, pi); in testPermissionWithData() 158 pi = mContext.getPackageManager().getPermissionInfo( in testPermissionWithData() 161 assertNull("Meta data returned when not requested", pi.metaData); in testPermissionWithData()
|
D | IntentSenderTest.java | 48 public void onSendFinished(PendingIntent pi, Intent intent, in testRegisteredReceivePermissionDenied() 75 public void onSendFinished(PendingIntent pi, Intent intent, in testLocalReceivePermissionDenied()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaInformationRecords.java | 154 public byte pi; field in CdmaInformationRecords.CdmaNumberInfoRec 157 public CdmaNumberInfoRec(int id, String number, int numberType, int numberPlan, int pi, in CdmaNumberInfoRec() argument 162 this.pi = (byte)pi; in CdmaNumberInfoRec() 173 ", pi: " + pi + in toString() 191 int pi, int si, int reason) { in CdmaRedirectingNumberInfoRec() argument 193 number, numberType, numberPlan, pi, si); in CdmaRedirectingNumberInfoRec()
|
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/session/ |
D | MediaSessionCompatApi18.java | 31 public static void registerMediaButtonEventReceiver(Context context, PendingIntent pi) { in registerMediaButtonEventReceiver() argument 33 am.registerMediaButtonEventReceiver(pi); in registerMediaButtonEventReceiver() 36 public static void unregisterMediaButtonEventReceiver(Context context, PendingIntent pi) { in unregisterMediaButtonEventReceiver() argument 38 am.unregisterMediaButtonEventReceiver(pi); in unregisterMediaButtonEventReceiver()
|
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/ |
D | SharedLibraryMain.java | 43 PackageInfo pi = null; in getVersion() local 45 pi = context.getPackageManager().getPackageInfo(LIBRARY_PACKAGE, 0); in getVersion() 46 return pi.versionCode; in getVersion()
|
/frameworks/base/media/java/android/media/ |
D | RemoteController.java | 319 final PendingIntent pi; in sendMediaKeyEvent() local 330 pi = mClientPendingIntentCurrent; in sendMediaKeyEvent() 332 if (pi != null) { in sendMediaKeyEvent() 336 pi.send(mContext, 0, intent); in sendMediaKeyEvent() 839 private void onNewPendingIntent(int genId, PendingIntent pi) { in onNewPendingIntent() argument 846 mClientPendingIntentCurrent = pi; in onNewPendingIntent() 850 private void onNewPlaybackInfo(int genId, PlaybackInfo pi) { in onNewPlaybackInfo() argument 859 mLastPlaybackInfo = pi; in onNewPlaybackInfo() 862 if (pi.mCurrentPosMs == RemoteControlClient.PLAYBACK_POSITION_ALWAYS_UNKNOWN) { in onNewPlaybackInfo() 863 l.onClientPlaybackStateUpdate(pi.mState); in onNewPlaybackInfo() [all …]
|
D | PlayerRecord.java | 156 RcClientDeathHandler(IBinder cb, PendingIntent pi) { in RcClientDeathHandler() argument 158 mMediaIntent = pi; in RcClientDeathHandler() 260 protected boolean hasMatchingMediaButtonIntent(PendingIntent pi) { in hasMatchingMediaButtonIntent() argument 262 return mMediaIntent.equals(pi); in hasMatchingMediaButtonIntent() 265 return mReceiverComponent.equals(pi.getIntent().getComponent()); in hasMatchingMediaButtonIntent()
|
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminInfo.java | 218 PolicyInfo pi = sPoliciesDisplayOrder.get(i); 219 sRevKnownPolicies.put(pi.ident, pi); in sRevKnownPolicies.put() argument 220 sKnownPolicies.put(pi.tag, pi.ident); in sKnownPolicies.put() 427 PolicyInfo pi = sPoliciesDisplayOrder.get(i); in getUsedPolicies() local 428 if (usesPolicy(pi.ident)) { in getUsedPolicies() 429 res.add(pi); in getUsedPolicies()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbManager.java | 369 public void requestPermission(UsbDevice device, PendingIntent pi) { in requestPermission() argument 371 mService.requestDevicePermission(device, mContext.getPackageName(), pi); in requestPermission() 395 public void requestPermission(UsbAccessory accessory, PendingIntent pi) { in requestPermission() argument 397 mService.requestAccessoryPermission(accessory, mContext.getPackageName(), pi); in requestPermission()
|
D | IUsbManager.aidl | 64 void requestDevicePermission(in UsbDevice device, String packageName, in PendingIntent pi); in requestDevicePermission() argument 71 in PendingIntent pi); in requestAccessoryPermission() argument
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DeviceOwner.java | 184 PackageInfo pi; in isInstalled() local 185 if ((pi = pm.getPackageInfo(packageName, 0)) != null) { in isInstalled() 186 if ((pi.applicationInfo.flags) != 0) { in isInstalled() 198 PackageInfo pi = (AppGlobals.getPackageManager()) in isInstalledForUser() local 200 if (pi != null && pi.applicationInfo.flags != 0) { in isInstalledForUser()
|
/frameworks/support/v4/api21/android/support/v4/media/session/ |
D | MediaSessionCompatApi21.java | 107 public static void setSessionActivity(Object sessionObj, PendingIntent pi) { in setSessionActivity() argument 108 ((MediaSession) sessionObj).setSessionActivity(pi); in setSessionActivity() 111 public static void setMediaButtonReceiver(Object sessionObj, PendingIntent pi) { in setMediaButtonReceiver() argument 112 ((MediaSession) sessionObj).setMediaButtonReceiver(pi); in setMediaButtonReceiver()
|
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/ |
D | AlarmImpl.java | 53 PendingIntent pi = PendingIntent.getBroadcast(mContext, 0, wakupIntent, 0); in setAlarmAndWait() local 55 am.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, atTime, pi); in setAlarmAndWait()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | TimeController.java | 243 private void updateAlarmWithPendingIntent(PendingIntent pi, long alarmTimeElapsed) { in updateAlarmWithPendingIntent() argument 246 mAlarmService.cancel(pi); in updateAlarmWithPendingIntent() 249 Slog.d(TAG, "Setting " + pi.getIntent().getAction() + " for: " + alarmTimeElapsed); in updateAlarmWithPendingIntent() 251 mAlarmService.set(AlarmManager.ELAPSED_REALTIME, alarmTimeElapsed, pi); in updateAlarmWithPendingIntent()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 647 PermissionInfo pi = pm.getPermissionInfo(cmd, 0); in assertPermissions() local 648 assertNotNull(pi); in assertPermissions() 649 assertEquals(pi.packageName, pkg); in assertPermissions() 650 assertEquals(pi.name, cmd); in assertPermissions() 3175 PackageInfo pi = pm.getPackageInfo(pkgName, PackageManager.GET_SIGNATURES); in testSigChangeAfterUpgrade() local 3177 pi.signatures.length == 1); in testSigChangeAfterUpgrade() 3178 String sigBefore = pi.signatures[0].toCharsString(); in testSigChangeAfterUpgrade() 3183 pi = pm.getPackageInfo(pkgName, PackageManager.GET_SIGNATURES); in testSigChangeAfterUpgrade() 3185 pi.signatures.length == 1); in testSigChangeAfterUpgrade() 3186 String sigAfter = pi.signatures[0].toCharsString(); in testSigChangeAfterUpgrade() [all …]
|
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/ |
D | WakeLoopService.java | 83 PendingIntent pi = PendingIntent.getBroadcast(this, 0, wakupIntent, in onStartCommand() local 86 am.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, atTime, pi); in onStartCommand()
|
D | WakeUpCall.java | 79 PendingIntent pi = PendingIntent.getBroadcast(context, 0, intent, in onReceive() local 82 am.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, atTime, pi); in onReceive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | IntentTile.java | 93 private void sendIntent(String type, PendingIntent pi, String uri) { in sendIntent() argument 95 if (pi != null) { in sendIntent() 96 pi.send(); in sendIntent()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 417 PackageInfo pi = new PackageInfo(); in generatePackageInfo() local 418 pi.packageName = p.packageName; in generatePackageInfo() 419 pi.splitNames = p.splitNames; in generatePackageInfo() 420 pi.versionCode = p.mVersionCode; in generatePackageInfo() 421 pi.baseRevisionCode = p.baseRevisionCode; in generatePackageInfo() 422 pi.splitRevisionCodes = p.splitRevisionCodes; in generatePackageInfo() 423 pi.versionName = p.mVersionName; in generatePackageInfo() 424 pi.sharedUserId = p.mSharedUserId; in generatePackageInfo() 425 pi.sharedUserLabel = p.mSharedUserLabel; in generatePackageInfo() 426 pi.applicationInfo = generateApplicationInfo(p, flags, state, userId); in generatePackageInfo() [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbService.java | 211 public void requestDevicePermission(UsbDevice device, String packageName, PendingIntent pi) { in requestDevicePermission() argument 213 getSettingsForUser(userId).requestPermission(device, packageName, pi); in requestDevicePermission() 218 UsbAccessory accessory, String packageName, PendingIntent pi) { in requestAccessoryPermission() argument 220 getSettingsForUser(userId).requestPermission(accessory, packageName, pi); in requestAccessoryPermission()
|
/frameworks/base/libs/usb/src/com/android/future/usb/ |
D | UsbManager.java | 175 public void requestPermission(UsbAccessory accessory, PendingIntent pi) { in requestPermission() argument 181 mContext.getPackageName(), pi); in requestPermission()
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
D | Pm.java | 682 PermissionInfo pi = ps.get(p); in doListPermissions() local 683 if (groups && groupName == null && pi.group != null) { in doListPermissions() 686 final int base = pi.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE; in doListPermissions() 697 Resources res = getResources(pi); in doListPermissions() 699 System.out.print(loadText(pi, pi.labelRes, in doListPermissions() 700 pi.nonLocalizedLabel)); in doListPermissions() 702 System.out.print(pi.name); in doListPermissions() 706 + "permission:" + pi.name); in doListPermissions() 708 System.out.println(prefix + " package:" + pi.packageName); in doListPermissions() 709 Resources res = getResources(pi); in doListPermissions() [all …]
|