Searched refs:StkAppService (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Stk/src/com/android/stk/ |
D | StkCmdReceiver.java | 43 handleAction(context, intent, StkAppService.OP_CMD); in onReceive() 45 handleAction(context, intent, StkAppService.OP_END_SESSION); in onReceive() 47 handleAction(context, intent, StkAppService.OP_CARD_STATUS_CHANGED); in onReceive() 49 handleAction(context, intent, StkAppService.OP_ALPHA_NOTIFY); in onReceive() 55 int slot_id = intent.getIntExtra(StkAppService.SLOT_ID, 0); in handleAction() 57 args.putInt(StkAppService.OPCODE, op); in handleAction() 58 args.putInt(StkAppService.SLOT_ID, slot_id); in handleAction() 60 if (StkAppService.OP_CMD == op) { in handleAction() 61 args.putParcelable(StkAppService.CMD_MSG, intent in handleAction() 62 .getParcelableExtra(StkAppService.STK_CMD)); in handleAction() [all …]
|
D | StkDialogActivity.java | 48 private StkAppService appService = StkAppService.getInstance(); 92 sendResponse(StkAppService.RES_ID_CONFIRM, true); in onCreate() 101 sendResponse(StkAppService.RES_ID_CONFIRM, false); in onCreate() 109 sendResponse(StkAppService.RES_ID_BACKWARD); in onCreate() 247 sendResponse(StkAppService.RES_ID_CONFIRM, false); in onDestroy() 323 if (StkAppService.getInstance() == null) { in sendResponse() 332 args.putInt(StkAppService.OPCODE, StkAppService.OP_RESPONSE); in sendResponse() 333 args.putInt(StkAppService.SLOT_ID, mSlotId); in sendResponse() 334 args.putInt(StkAppService.RES_ID, resId); in sendResponse() 335 args.putBoolean(StkAppService.CONFIRMATION, confirmed); in sendResponse() [all …]
|
D | StkMenuActivity.java | 66 private StkAppService appService = StkAppService.getInstance(); 112 new IntentFilter(StkAppService.SESSION_ENDED)); in onCreate() 136 sendResponse(StkAppService.RES_ID_MENU_SELECTION, item.id, false); in onListItemClick() 153 sendResponse(StkAppService.RES_ID_BACKWARD); in onKeyDown() 257 sendResponse(StkAppService.RES_ID_END_SESSION); in onDestroy() 293 sendResponse(StkAppService.RES_ID_END_SESSION); in onOptionsItemSelected() 331 sendResponse(StkAppService.RES_ID_MENU_SELECTION, stkItem.id, true); in onContextItemSelected() 457 mSlotId = intent.getIntExtra(StkAppService.SLOT_ID, -1); in initFromIntent() 493 if (resId == StkAppService.RES_ID_MENU_SELECTION) { in sendResponse() 500 args.putInt(StkAppService.RES_ID, resId); in sendResponse() [all …]
|
D | StkInputActivity.java | 90 private StkAppService appService = StkAppService.getInstance(); 110 sendResponse(StkAppService.RES_ID_END_SESSION); in onClick() 144 sendResponse(StkAppService.RES_ID_INPUT, input, false); in onClick() 268 sendResponse(StkAppService.RES_ID_END_SESSION); in onDestroy() 292 sendResponse(StkAppService.RES_ID_BACKWARD, null, false); in onKeyDown() 310 if (StkAppService.getInstance() == null) { in sendResponse() 323 args.putInt(StkAppService.RES_ID, resId); in sendResponse() 325 args.putString(StkAppService.INPUT, input); in sendResponse() 327 args.putBoolean(StkAppService.HELP, help); in sendResponse() 331 if (resId != StkAppService.RES_ID_END_SESSION) { in sendResponse() [all …]
|
D | ToneDialog.java | 56 filter.addAction(StkAppService.FINISH_TONE_ACTIVITY_ACTION); in onCreate() 114 if (intent.getAction().equals(StkAppService.FINISH_TONE_ACTIVITY_ACTION)) { 126 mSlotId = intent.getIntExtra(StkAppService.SLOT_ID, -1); in initFromIntent() 132 args.putInt(StkAppService.OPCODE, StkAppService.OP_STOP_TONE_USER); in sendStopTone() 133 args.putInt(StkAppService.SLOT_ID, mSlotId); in sendStopTone() 134 startService(new Intent(this, StkAppService.class).putExtras(args)); in sendStopTone()
|
D | StkLauncherActivity.java | 167 StkAppService appService = StkAppService.getInstance(); in addStkMenuListItems() 222 args.putInt(StkAppService.OPCODE, StkAppService.OP_LAUNCH_APP); in launchSTKMainMenu() 223 args.putInt(StkAppService.SLOT_ID in launchSTKMainMenu() 225 startService(new Intent(this, StkAppService.class) in launchSTKMainMenu()
|
D | StkMain.java | 98 args.putInt(StkAppService.OPCODE, StkAppService.OP_LAUNCH_APP); in launchSTKMainMenu() 99 args.putInt(StkAppService.SLOT_ID in launchSTKMainMenu() 101 startService(new Intent(this, StkAppService.class) in launchSTKMainMenu()
|
D | BootCompletedReceiver.java | 45 args.putInt(StkAppService.OPCODE, StkAppService.OP_BOOT_COMPLETED); in onReceive() 46 context.startService(new Intent(context, StkAppService.class) in onReceive()
|
D | StkAppService.java | 110 public class StkAppService extends Service implements Runnable { class 178 static StkAppService sInstance = null; 527 static StkAppService getInstance() { in getInstance() 867 args.putInt(StkAppService.RES_ID, resId); in sendResponse() 868 args.putBoolean(StkAppService.CONFIRMATION, confirm); in sendResponse() 2131 new Intent(mContext, StkAppService.class), 0); in launchIdleText() 2134 StkAppService.this, STK_NOTIFICATION_CHANNEL_ID); in launchIdleText() 2157 Bitmap bitmapIcon = BitmapFactory.decodeResource(StkAppService.this in launchIdleText()
|