Home
last modified time | relevance | path

Searched refs:SlicePurchaseBroadcastReceiver (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
DSlicePurchaseBroadcastReceiverTest.java84 private SlicePurchaseBroadcastReceiver mSlicePurchaseBroadcastReceiver;
100 mSlicePurchaseBroadcastReceiver = spy(new SlicePurchaseBroadcastReceiver()); in setUp()
105 SlicePurchaseBroadcastReceiver.sendSlicePurchaseAppResponse(mIntent, EXTRA); in testSendSlicePurchaseAppResponse()
110 SlicePurchaseBroadcastReceiver.sendSlicePurchaseAppResponse(mIntent, EXTRA); in testSendSlicePurchaseAppResponse()
116 SlicePurchaseBroadcastReceiver.sendSlicePurchaseAppResponseWithData( in testSendSlicePurchaseAppResponseWithData()
122 SlicePurchaseBroadcastReceiver.sendSlicePurchaseAppResponseWithData( in testSendSlicePurchaseAppResponseWithData()
131 assertFalse(SlicePurchaseBroadcastReceiver.isIntentValid(mIntent)); in testIsIntentValid()
143 assertFalse(SlicePurchaseBroadcastReceiver.isIntentValid(mIntent)); in testIsIntentValid()
150 assertTrue(SlicePurchaseBroadcastReceiver.isIntentValid(mIntent)); in testIsIntentValid()
168 URL purchaseUrl = SlicePurchaseBroadcastReceiver.getPurchaseUrl(url, null, false); in testGetPurchaseUrl()
[all …]
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DSlicePurchaseActivity.java90 SlicePurchaseBroadcastReceiver.cancelNotification(mApplicationContext, mCapability); in onCreate()
102 mUrl = SlicePurchaseBroadcastReceiver.getPurchaseUrl(url, mUserData, in onCreate()
111 SlicePurchaseBroadcastReceiver.sendSlicePurchaseAppResponseWithData(mApplicationContext, in onCreate()
125 SlicePurchaseBroadcastReceiver.sendSlicePurchaseAppResponseWithData(mApplicationContext, in onCreate()
132 if (!SlicePurchaseBroadcastReceiver.isIntentValid(mIntent)) { in onCreate()
134 SlicePurchaseBroadcastReceiver.sendSlicePurchaseAppResponse( in onCreate()
144 SlicePurchaseBroadcastReceiver.sendSlicePurchaseAppResponse( in onCreate()
157 SlicePurchaseBroadcastReceiver.sendSlicePurchaseAppResponse( in onPurchaseSuccessful()
170 SlicePurchaseBroadcastReceiver.sendSlicePurchaseAppResponseWithData(mApplicationContext, in onPurchaseFailed()
178 SlicePurchaseBroadcastReceiver.sendSlicePurchaseAppResponse( in onDismissFlow()
[all …]
DSlicePurchaseBroadcastReceiver.java60 public class SlicePurchaseBroadcastReceiver extends BroadcastReceiver{ class