Home
last modified time | relevance | path

Searched refs:StkAppService (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Stk/src/com/android/stk/
DStkCmdReceiver.java45 handleAction(context, intent, StkAppService.OP_CMD); in onReceive()
47 handleAction(context, intent, StkAppService.OP_END_SESSION); in onReceive()
49 handleAction(context, intent, StkAppService.OP_CARD_STATUS_CHANGED); in onReceive()
51 handleAction(context, intent, StkAppService.OP_ALPHA_NOTIFY); in onReceive()
57 int slot_id = intent.getIntExtra(StkAppService.SLOT_ID, 0); in handleAction()
59 args.putInt(StkAppService.OPCODE, op); in handleAction()
60 args.putInt(StkAppService.SLOT_ID, slot_id); in handleAction()
62 if (StkAppService.OP_CMD == op) { in handleAction()
63 args.putParcelable(StkAppService.CMD_MSG, intent in handleAction()
64 .getParcelableExtra(StkAppService.STK_CMD)); in handleAction()
[all …]
DStkDialogActivity.java48 private StkAppService appService = StkAppService.getInstance();
89 sendResponse(StkAppService.RES_ID_CONFIRM, true); in onCreate()
98 sendResponse(StkAppService.RES_ID_CONFIRM, false); in onCreate()
106 sendResponse(StkAppService.RES_ID_BACKWARD); in onCreate()
235 sendResponse(StkAppService.RES_ID_CONFIRM, false); in onDestroy()
296 if (StkAppService.getInstance() == null) { in sendResponse()
305 args.putInt(StkAppService.OPCODE, StkAppService.OP_RESPONSE); in sendResponse()
306 args.putInt(StkAppService.SLOT_ID, mSlotId); in sendResponse()
307 args.putInt(StkAppService.RES_ID, resId); in sendResponse()
308 args.putBoolean(StkAppService.CONFIRMATION, confirmed); in sendResponse()
[all …]
DStkMenuActivity.java66 private StkAppService appService = StkAppService.getInstance();
111 new IntentFilter(StkAppService.SESSION_ENDED)); in onCreate()
138 sendResponse(StkAppService.RES_ID_MENU_SELECTION, item.id, false); in onListItemClick()
155 sendResponse(StkAppService.RES_ID_BACKWARD); in onKeyDown()
237 sendResponse(StkAppService.RES_ID_END_SESSION); in onDestroy()
273 sendResponse(StkAppService.RES_ID_END_SESSION); in onOptionsItemSelected()
311 sendResponse(StkAppService.RES_ID_MENU_SELECTION, stkItem.id, true); in onContextItemSelected()
418 mSlotId = intent.getIntExtra(StkAppService.SLOT_ID, -1); in initFromIntent()
454 if (resId == StkAppService.RES_ID_MENU_SELECTION) { in sendResponse()
461 args.putInt(StkAppService.RES_ID, resId); in sendResponse()
[all …]
DStkInputActivity.java95 private StkAppService appService = StkAppService.getInstance();
113 sendResponse(StkAppService.RES_ID_END_SESSION); in onClick()
147 sendResponse(StkAppService.RES_ID_INPUT, input, false); in onClick()
244 sendResponse(StkAppService.RES_ID_END_SESSION); in onDestroy()
268 sendResponse(StkAppService.RES_ID_BACKWARD, null, false); in onKeyDown()
286 if (StkAppService.getInstance() == null) { in sendResponse()
299 args.putInt(StkAppService.RES_ID, resId); in sendResponse()
301 args.putString(StkAppService.INPUT, input); in sendResponse()
303 args.putBoolean(StkAppService.HELP, help); in sendResponse()
346 sendResponse(StkAppService.RES_ID_END_SESSION); in optionsItemSelectedInternal()
[all …]
DToneDialog.java57 filter.addAction(StkAppService.FINISH_TONE_ACTIVITY_ACTION); in onCreate()
115 if (intent.getAction().equals(StkAppService.FINISH_TONE_ACTIVITY_ACTION)) {
127 mSlotId = intent.getIntExtra(StkAppService.SLOT_ID, -1); in initFromIntent()
133 args.putInt(StkAppService.OPCODE, StkAppService.OP_STOP_TONE_USER); in sendStopTone()
134 args.putInt(StkAppService.SLOT_ID, mSlotId); in sendStopTone()
135 startService(new Intent(this, StkAppService.class).putExtras(args)); in sendStopTone()
DStkLauncherActivity.java167 StkAppService appService = StkAppService.getInstance(); in addStkMenuListItems()
222 args.putInt(StkAppService.OPCODE, StkAppService.OP_LAUNCH_APP); in launchSTKMainMenu()
223 args.putInt(StkAppService.SLOT_ID, slodId); in launchSTKMainMenu()
224 startService(new Intent(this, StkAppService.class) in launchSTKMainMenu()
DStkMain.java98 args.putInt(StkAppService.OPCODE, StkAppService.OP_LAUNCH_APP); in launchSTKMainMenu()
99 args.putInt(StkAppService.SLOT_ID, slotId); in launchSTKMainMenu()
100 startService(new Intent(this, StkAppService.class) in launchSTKMainMenu()
DBootCompletedReceiver.java46 args.putInt(StkAppService.OPCODE, StkAppService.OP_BOOT_COMPLETED); in onReceive()
47 context.startService(new Intent(context, StkAppService.class) in onReceive()
DStkAppService.java102 public class StkAppService extends Service implements Runnable { class
170 static StkAppService sInstance = null;
530 static StkAppService getInstance() { in getInstance()
912 args.putInt(StkAppService.RES_ID, resId); in sendResponse()
913 args.putBoolean(StkAppService.CONFIRMATION, confirm); in sendResponse()
2141 new Intent(mContext, StkAppService.class), 0); in launchIdleText()
2144 StkAppService.this, STK_NOTIFICATION_CHANNEL_ID); in launchIdleText()
2167 Bitmap bitmapIcon = BitmapFactory.decodeResource(StkAppService.this in launchIdleText()