Home
last modified time | relevance | path

Searched refs:SlicePurchaseController (Results 1 – 4 of 4) sorted by relevance

/packages/services/Telephony/tests/src/com/android/phone/slice/
DSlicePurchaseControllerTest.java105 private SlicePurchaseController mSlicePurchaseController;
157 SlicePurchaseController slicePurchaseController = in setUp()
158 new SlicePurchaseController(mPhone, mFeatureFlags, mHandler.getLooper()); in setUp()
163 replaceInstance(SlicePurchaseController.class, "sInstances", mSlicePurchaseController, in setUp()
165 replaceInstance(SlicePurchaseController.class, "mIsSlicingUpsellEnabled", in setUp()
200 SlicePurchaseController.SLICE_PURCHASE_TEST_FILE); in testIsPremiumCapabilityAvailableForPurchase()
210 mEntitlementResponse.mServiceFlowURL = SlicePurchaseController.SLICE_PURCHASE_TEST_FILE; in testGetPurchaseURL()
212 assertEquals(purchaseUrl, SlicePurchaseController.SLICE_PURCHASE_TEST_FILE); in testGetPurchaseURL()
216 SlicePurchaseController.SLICE_PURCHASE_TEST_FILE); in testGetPurchaseURL()
218 assertEquals(purchaseUrl, SlicePurchaseController.SLICE_PURCHASE_TEST_FILE); in testGetPurchaseURL()
[all …]
/packages/services/Telephony/src/com/android/phone/slice/
DSlicePurchaseController.java92 public class SlicePurchaseController extends Handler { class
308 @NonNull private static final Map<Integer, SlicePurchaseController> sInstances =
371 if (SlicePurchaseController.getInstance(phoneId) == null) { in onReceive()
387 SlicePurchaseController.getInstance(phoneId) in onReceive()
396 SlicePurchaseController.getInstance(phoneId).onCarrierError( in onReceive()
403 SlicePurchaseController.getInstance(phoneId) in onReceive()
413 SlicePurchaseController.getInstance(phoneId) in onReceive()
426 SlicePurchaseController.getInstance(phoneId) in onReceive()
432 SlicePurchaseController.getInstance(phoneId).onCarrierSuccess( in onReceive()
437 SlicePurchaseController.getInstance(phoneId).onNotificationShown(); in onReceive()
[all …]
/packages/services/Telephony/
DAndroid.bp90 // Allow other applications to use public constants from SlicePurchaseController
92 name: "SlicePurchaseController",
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java257 import com.android.phone.slice.SlicePurchaseController;
2245 SlicePurchaseController.getInstance(request.phone, mFeatureFlags) in handleMessage()
12429 return SlicePurchaseController.getInstance(phone, mFeatureFlags) in isPremiumCapabilityAvailableForPurchase()