Home
last modified time | relevance | path

Searched refs:subscription (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DStatefulControlSubscriberTest.kt46 private lateinit var subscription: IControlsSubscription variable in com.android.systemui.controls.controller.StatefulControlSubscriberTest
75 scs.onSubscribe(token, subscription) in testOnSubscribe()
78 verify(provider).startSubscription(subscription, REQUEST_LIMIT) in testOnSubscribe()
83 scs.onSubscribe(badToken, subscription) in testOnSubscribe_badToken()
86 verify(provider, never()).startSubscription(subscription, REQUEST_LIMIT) in testOnSubscribe_badToken()
91 scs.onSubscribe(token, subscription) in testOnNext()
100 scs.onSubscribe(token, subscription) in testOnNext_multiple()
119 scs.onSubscribe(token, subscription) in testOnNext_noRefreshAfterCancel()
131 scs.onSubscribe(token, subscription) in testOnNext_noRefreshAfterError()
141 scs.onSubscribe(token, subscription) in testOnNext_noRefreshAfterComplete()
DControlsBindingControllerImplTest.kt124 val subscription = mock(IControlsSubscription::class.java) in testBindAndLoad_cancel() constant
129 loadSubscriberCaptor.value.onSubscribe(Binder(), subscription) in testBindAndLoad_cancel()
132 verify(providers[0]).cancelSubscription(subscription) in testBindAndLoad_cancel()
142 val subscription = mock(IControlsSubscription::class.java) in testBindAndLoad_noCancelAfterOnComplete() constant
148 loadSubscriberCaptor.value.onSubscribe(b, subscription) in testBindAndLoad_noCancelAfterOnComplete()
152 verify(providers[0], never()).cancelSubscription(subscription) in testBindAndLoad_noCancelAfterOnComplete()
162 val subscription = mock(IControlsSubscription::class.java) in testLoad_onCompleteRemovesTimeout() constant
168 subscriberCaptor.value.onSubscribe(b, subscription) in testLoad_onCompleteRemovesTimeout()
181 val subscription = mock(IControlsSubscription::class.java) in testLoad_onErrorRemovesTimeout() constant
187 subscriberCaptor.value.onSubscribe(b, subscription) in testLoad_onErrorRemovesTimeout()
[all …]
DServiceWrapperTest.kt52 private lateinit var subscription: IControlsSubscription variable in com.android.systemui.controls.controller.ServiceWrapperTest
131 val result = wrapper.cancel(subscription) in testCancel_happyPath()
134 verify(subscription).cancel() in testCancel_happyPath()
139 `when`(subscription.cancel()).thenThrow(exception) in testCancel_error()
140 val result = wrapper.cancel(subscription) in testCancel_error()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccOperation.java116 DownloadableSubscription subscription, String callingPackage) { in forGetMetadataDeactivateSim() argument
118 subscription, 0 /* subscriptionId */, false /* switchAfterDownload */, in forGetMetadataDeactivateSim()
128 DownloadableSubscription subscription, boolean switchAfterDownload, in forDownloadDeactivateSim() argument
131 subscription, 0 /* subscriptionId */, switchAfterDownload, callingPackage); in forDownloadDeactivateSim()
139 DownloadableSubscription subscription, boolean switchAfterDownload, in forDownloadNoPrivileges() argument
142 subscription, 0 /* subscriptionId */, switchAfterDownload, callingPackage); in forDownloadNoPrivileges()
150 DownloadableSubscription subscription, boolean switchAfterDownload, in forDownloadNoPrivilegesOrDeactivateSimCheckMetadata() argument
153 callingToken, subscription, 0 /* subscriptionId */, in forDownloadNoPrivilegesOrDeactivateSimCheckMetadata()
167 DownloadableSubscription subscription, boolean switchAfterDownload, in forDownloadConfirmationCode() argument
170 subscription, 0 /* subscriptionId */, switchAfterDownload, callingPackage); in forDownloadConfirmationCode()
[all …]
DEuiccController.java267 DownloadableSubscription subscription, String callingPackage, in getDownloadableSubscriptionMetadata() argument
270 subscription, false /* forceDeactivateSim */, callingPackage, callbackIntent); in getDownloadableSubscriptionMetadata()
368 void getDownloadableSubscriptionMetadata(int cardId, DownloadableSubscription subscription, in getDownloadableSubscriptionMetadata() argument
377 subscription, forceDeactivateSim, in getDownloadableSubscriptionMetadata()
379 token, subscription, callingPackage, callbackIntent)); in getDownloadableSubscriptionMetadata()
393 DownloadableSubscription subscription, in GetMetadataCommandCallback() argument
397 mSubscription = subscription; in GetMetadataCommandCallback()
445 public void downloadSubscription(int cardId, DownloadableSubscription subscription, in downloadSubscription() argument
448 downloadSubscription(cardId, subscription, switchAfterDownload, callingPackage, in downloadSubscription()
531 void downloadSubscription(int cardId, DownloadableSubscription subscription, in downloadSubscription() argument
[all …]
DEuiccConnector.java441 DownloadableSubscription subscription, in getDownloadableSubscriptionMetadata() argument
445 request.mSubscription = subscription; in getDownloadableSubscriptionMetadata()
453 public void downloadSubscription(int cardId, DownloadableSubscription subscription, in downloadSubscription() argument
457 request.mSubscription = subscription; in downloadSubscription()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DServiceWrapper.kt65 fun request(subscription: IControlsSubscription, num: Long): Boolean { in request()
67 subscription.request(num) in request()
71 fun cancel(subscription: IControlsSubscription): Boolean { in cancel()
73 subscription.cancel() in cancel()
DStatefulControlSubscriber.kt38 private var subscription: IControlsSubscription? = null variable in com.android.systemui.controls.controller.StatefulControlSubscriber
53 subscription = subs in onSubscribe()
90 subscription?.let { in cancel()
93 subscription = null in cancel()
DControlsBindingControllerImpl.kt245 val subscription: IControlsSubscription, constant
250 provider?.cancelSubscription(subscription) in doRun()
257 val subscription: IControlsSubscription, constant
262 provider?.startSubscription(subscription, requestLimit) in doRun()
298 private lateinit var subscription: IControlsSubscription variable in LoadSubscriber
312 subscription = subs in onSubscribe()
313 _loadCancelInternal = { currentProvider?.cancelSubscription(subscription) } in onSubscribe()
328 OnCancelAndLoadRunnable(token, loadedControls, subscription, callback) in onNext()
DControlsProviderLifecycleManager.kt243 fun startSubscription(subscription: IControlsSubscription, requestLimit: Long) { in maybeBindAndSubscribe()
245 Log.d(TAG, "startSubscription: $subscription") in maybeBindAndSubscribe()
248 wrapper?.request(subscription, requestLimit) in maybeBindAndSubscribe()
257 fun cancelSubscription(subscription: IControlsSubscription) { in cancelSubscription()
259 Log.d(TAG, "cancelSubscription: $subscription") in cancelSubscription()
262 wrapper?.cancel(subscription) in cancelSubscription()
/frameworks/base/telephony/java/android/service/euicc/
DGetDownloadableSubscriptionMetadataResult.java87 @Nullable DownloadableSubscription subscription) { in GetDownloadableSubscriptionMetadataResult() argument
90 this.mSubscription = subscription; in GetDownloadableSubscriptionMetadataResult()
92 if (subscription != null) { in GetDownloadableSubscriptionMetadataResult()
DEuiccService.java469 int slotId, DownloadableSubscription subscription, boolean forceDeactivateSim); in onGetDownloadableSubscriptionMetadata() argument
507 @NonNull DownloadableSubscription subscription, boolean switchAfterDownload, in onDownloadSubscription() argument
531 @NonNull DownloadableSubscription subscription, boolean switchAfterDownload, in onDownloadSubscription() argument
659 public void downloadSubscription(int slotId, DownloadableSubscription subscription, in downloadSubscription() argument
669 slotId, subscription, switchAfterDownload, forceDeactivateSim, in downloadSubscription()
676 slotId, subscription, switchAfterDownload, forceDeactivateSim); in downloadSubscription()
741 DownloadableSubscription subscription, in getDownloadableSubscriptionMetadata() argument
749 slotId, subscription, forceDeactivateSim); in getDownloadableSubscriptionMetadata()
DIEuiccService.aidl38 void downloadSubscription(int slotId, in DownloadableSubscription subscription, in downloadSubscription() argument
41 void getDownloadableSubscriptionMetadata(int slotId, in DownloadableSubscription subscription, in getDownloadableSubscriptionMetadata() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/people/
DPeopleFakes.kt25 private val subscription: Subscription = EmptySubscription constant in com.android.systemui.statusbar.notification.people.FakeDataSource
29 return subscription in registerListener()
/frameworks/opt/telephony/proto/src/
DcarrierId.proto63 // [Optional] The Service Provider Name. Read from subscription EF_SPN.
67 // [Optional] PLMN network name. Read from subscription EF_PNN.
71 // [Optional] Group Identifier Level1 for a GSM phone. Read from subscription EF_GID1.
75 // [Optional] Group Identifier Level2 for a GSM phone. Read from subscription EF_GID2.
84 // [Optional] Prefix of Integrated Circuit Card Identifier. Read from subscription EF_ICCID.
Dtelephony.proto54 // The last active subscription info for each slot.
532 // fail to set the location where CDMA subscription shall be retrieved
536 // fail to find CDMA subscription from specified location
666 // Device does not have subscription
842 // Active subscription info change event.
1734 // Group id level 1. Logged only if gid1 is configured from subscription
1739 // from subscription but its matching rule is unknown
1742 // MCC and MNC from the subscription that map to this carrier.
1745 // Group id level 1 from the subscription that map to this carrier.
1748 // Group id level 2 from the subscription that map to this carrier.
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/
DIEuiccController.aidl31 in DownloadableSubscription subscription, in getDownloadableSubscriptionMetadata() argument
37 oneway void downloadSubscription(int cardId, in DownloadableSubscription subscription, in downloadSubscription() argument
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccManager.java916 public void downloadSubscription(DownloadableSubscription subscription, in downloadSubscription() argument
923 getIEuiccController().downloadSubscription(mCardId, subscription, switchAfterDownload, in downloadSubscription()
1016 DownloadableSubscription subscription, PendingIntent callbackIntent) { in getDownloadableSubscriptionMetadata() argument
1022 getIEuiccController().getDownloadableSubscriptionMetadata(mCardId, subscription, in getDownloadableSubscriptionMetadata()
/frameworks/base/core/java/android/service/controls/
DControlsProviderService.java268 public void onSubscribe(Subscription subscription) {
270 mCs.onSubscribe(mToken, new SubscriptionAdapter(subscription));
/frameworks/base/media/java/android/media/browse/
DMediaBrowser.java670 final Subscription subscription = mSubscriptions.get(parentId); in onLoadChildren()
671 if (subscription != null) { in onLoadChildren()
674 subscription.getCallback(mContext, options); in onLoadChildren()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java296 SubscriptionInfo subscription = mock(SubscriptionInfo.class); in setSubscriptions() local
297 when(subscription.getSubscriptionId()).thenReturn(subId); in setSubscriptions()
298 subs.add(subscription); in setSubscriptions()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java1290 private void callGetDownloadableSubscriptionMetadata(DownloadableSubscription subscription, in callGetDownloadableSubscriptionMetadata() argument
1295 mController.getDownloadableSubscriptionMetadata(0, subscription, PACKAGE_NAME, in callGetDownloadableSubscriptionMetadata()
1320 private void callDownloadSubscription(DownloadableSubscription subscription, in callDownloadSubscription() argument
1341 mController.downloadSubscription(CARD_ID, subscription, switchAfterDownload, callingPackage, in callDownloadSubscription()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java1035 int subscription = simInited in putPhoneInfo() local
1039 intent.putExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, subscription); in putPhoneInfo()
/frameworks/base/core/proto/android/os/
Dsystem_properties.proto494 // CDMA subscription number.
/frameworks/proto_logging/stats/
Datoms.proto6153 // Mcc/Mnc read from sim if the record is for a specific subscription, null indicates the
6170 // Mark whether the subscription is an opportunistic data subscription, and ALL indicates the
13034 // Whether the subscription is roaming
13049 // Whether the call is on an opportunistic subscription
13100 // Whether the subscription is opportunistic

12