Home
last modified time | relevance | path

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

/packages/apps/Stk/src/com/android/stk/
DStkMenuActivity.java66 private StkAppService appService = StkAppService.getInstance(); field in StkMenuActivity
105 if (appService == null) { in onCreate()
170 appService.indicateMenuVisibility(true, mSlotId); in onResume()
172 mStkMenu = appService.getMainMenu(mSlotId); in onResume()
174 mStkMenu = appService.getMenu(mSlotId); in onResume()
201 if (appService != null) { in onPause()
202 appService.indicateMenuVisibility(false, mSlotId); in onPause()
232 if (mState == STATE_SECONDARY && !appService.isStkDialogActivated()) { in onStop()
247 if (appService == null || !SubscriptionManager.isValidSlotIndex(mSlotId)) { in onDestroy()
252 if (mState == STATE_SECONDARY && !mIsResponseSent && !appService.isMenuPending(mSlotId)) { in onDestroy()
[all …]
DStkDialogActivity.java48 private StkAppService appService = StkAppService.getInstance(); field in StkDialogActivity
76 if (appService == null) { in onCreate()
126 appService.getStkContext(mSlotId).setImmediateDialogInstance(this); in onCreate()
176 appService.setDisplayTextDlgVisibility(true, mSlotId); in onResume()
194 appService.setDisplayTextDlgVisibility(false, mSlotId); in onPause()
239 if (appService == null) { in onDestroy()
246 if (!mIsResponseSent && appService != null && !appService.isDialogPending(mSlotId)) { in onDestroy()
299 if ((appService != null) && (mTextMsg != null) && !mTextMsg.responseNeeded) { in finish()
301 appService.getStkContext(mSlotId).setImmediateDialogInstance(null); in finish()
309 appService.getStkContext(mSlotId).setPendingDialogInstance(on ? this : null); in setPendingState()
DStkInputActivity.java90 private StkAppService appService = StkAppService.getInstance(); field in StkInputActivity
155 if (appService == null) { in onCreate()
242 if (!appService.isStkDialogActivated()) { in onStop()
257 if (appService == null) { in onDestroy()
266 if (!mIsResponseSent && !appService.isInputPending(mSlotId)) { in onDestroy()
328 appService.sendResponse(args, mSlotId); in sendResponse()
424 appService.getStkContext(mSlotId).setPendingActivityInstance(on ? this : null); in setPendingState()
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()