Home
last modified time | relevance | path

Searched refs:pendingIntent (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
DAlarmOperation.java94 PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); in execute() local
95 am.setExact(AlarmManager.RTC_WAKEUP, wakeupTimeMs, pendingIntent); in execute()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java107 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0); in sendNotification() local
113 .setContentIntent(pendingIntent) in sendNotification()
DPendingIntentTest.java162 private void pendingIntentSendError(PendingIntent pendingIntent) { in pendingIntentSendError() argument
272 private void pendingIntentSendShouldFail(PendingIntent pendingIntent) { in pendingIntentSendShouldFail() argument
274 pendingIntent.send(); in pendingIntentSendShouldFail()
524 PendingIntent pendingIntent = PendingIntent.CREATOR.createFromParcel(parcel); in testWriteToParcel() local
525 assertTrue(mPendingIntent.equals(pendingIntent)); in testWriteToParcel()
DNotificationTest.java71 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0);
72 mNotification.contentIntent = pendingIntent;
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyBroadcastReceiver.java234 final PendingIntent pendingIntent = PendingIntent.getService(context, 0, serviceIntent, 0); in sendNotification() local
238 R.drawable.ic_notification, "ACTION", pendingIntent) in sendNotification()
245 .setContentIntent(pendingIntent) in sendNotification()
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DBasePackageInstallTest.java182 PendingIntent pendingIntent = PendingIntent.getBroadcast( in getCommitCallback() local
187 return pendingIntent.getIntentSender(); in getCommitCallback()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DSignificantMotionTestActivity.java192 PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0, intent, 0); in testAPWakeUpOnSMDTrigger() local
196 SystemClock.elapsedRealtime() + ALARM_WAKE_TIME_DELAY_MS, pendingIntent); in testAPWakeUpOnSMDTrigger()
213 am.cancel(pendingIntent); in testAPWakeUpOnSMDTrigger()
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java353 PendingIntent pendingIntent = PendingIntent.getBroadcast( in testRegisterNetworkCallback_withPendingIntent() local
357 mCm.registerNetworkCallback(makeWifiNetworkRequest(), pendingIntent); in testRegisterNetworkCallback_withPendingIntent() local
375 mCm.unregisterNetworkCallback(pendingIntent); in testRegisterNetworkCallback_withPendingIntent()
376 pendingIntent.cancel(); in testRegisterNetworkCallback_withPendingIntent()
/cts/tests/tests/telephony/src/android/telephony/cts/
DMmsTest.java208 final PendingIntent pendingIntent = PendingIntent.getBroadcast( in testSendMmsMessage() local
211 contentUri, null/*locationUrl*/, null/*configOverrides*/, pendingIntent); in testSendMmsMessage()
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsTest.java564 PendingIntent pendingIntent = PendingIntent.getActivity(mActivity, 0, intent, 0); in testSetOnClickPendingIntent() local
565 mRemoteViews.setOnClickPendingIntent(R.id.remoteView_image, pendingIntent); in testSetOnClickPendingIntent()