Home
last modified time | relevance | path

Searched refs:appService (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Stk/src/com/android/stk/
DStkDialogActivity.java48 private StkAppService appService = StkAppService.getInstance(); field in StkDialogActivity
73 if (appService == null) { in onCreate()
123 appService.getStkContext(mSlotId).setImmediateDialogInstance(this); in onCreate()
125 appService.getStkContext(mSlotId).setPendingDialogInstance(this); in onCreate()
172 appService.setDisplayTextDlgVisibility(true, mSlotId); in onResume()
190 appService.setDisplayTextDlgVisibility(false, mSlotId); in onPause()
227 if (appService == null) { in onDestroy()
234 if (!mIsResponseSent && appService != null && !appService.isDialogPending(mSlotId)) { in onDestroy()
281 if ((appService != null) && (mTextMsg != null) && !mTextMsg.responseNeeded) { in finish()
283 appService.getStkContext(mSlotId).setImmediateDialogInstance(null); in finish()
DStkMenuActivity.java66 private StkAppService appService = StkAppService.getInstance(); field in StkMenuActivity
104 if (appService == null) { in onCreate()
118 appService.getStkContext(mSlotId).setPendingActivityInstance(this); in onCreate()
172 appService.indicateMenuVisibility(true, mSlotId); in onResume()
174 mStkMenu = appService.getMainMenu(mSlotId); in onResume()
176 mStkMenu = appService.getMenu(mSlotId); in onResume()
198 if (appService != null) { in onPause()
199 appService.indicateMenuVisibility(false, mSlotId); in onPause()
227 if (appService == null || !SubscriptionManager.isValidSlotIndex(mSlotId)) { in onDestroy()
232 if (mState == STATE_SECONDARY && !mIsResponseSent && !appService.isMenuPending(mSlotId)) { in onDestroy()
[all …]
DStkInputActivity.java95 private StkAppService appService = StkAppService.getInstance(); field in StkInputActivity
158 if (appService == null) { in onCreate()
193 appService.getStkContext(mSlotId).setPendingActivityInstance(this); in onCreate()
233 if (appService == null) { in onDestroy()
242 if (!mIsResponseSent && !appService.isInputPending(mSlotId)) { in onDestroy()
304 appService.sendResponse(args, mSlotId); in sendResponse()
DToneDialog.java96 StkAppService appService = StkAppService.getInstance(); in onCreate() local
98 if (appService != null && (appService.isNoTonePlaying())) { in onCreate()
DStkLauncherActivity.java167 StkAppService appService = StkAppService.getInstance(); in addStkMenuListItems() local
168 if (appService == null) { in addStkMenuListItems()
181 Menu menu = appService.getMainMenu(i); in addStkMenuListItems()
/packages/apps/Car/Radio/src/com/android/car/radio/media/
DTunerSession.java66 @NonNull RadioAppServiceWrapper appService, @Nullable ImageResolver imageResolver) { in TunerSession() argument
72 mAppService = Objects.requireNonNull(appService); in TunerSession()
90 appService.getPlaybackState().observeForever(this::onPlaybackStateChanged); in TunerSession()
91 appService.getCurrentProgram().observeForever(this::updateMetadata); in TunerSession()