Searched refs:StkAppService (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Stk/src/com/android/stk/ |
D | StkCmdReceiver.java | 45 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 …]
|
D | StkDialogActivity.java | 48 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 …]
|
D | StkMenuActivity.java | 66 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 …]
|
D | StkInputActivity.java | 95 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 …]
|
D | ToneDialog.java | 57 filter.addAction(StkAppService.FINISH_TONE_ACTIVITY_ACTION); in onCreate() 96 StkAppService appService = StkAppService.getInstance(); in onCreate() 121 if (intent.getAction().equals(StkAppService.FINISH_TONE_ACTIVITY_ACTION)) { 133 mSlotId = intent.getIntExtra(StkAppService.SLOT_ID, -1); in initFromIntent() 139 args.putInt(StkAppService.OPCODE, StkAppService.OP_STOP_TONE_USER); in sendStopTone() 140 args.putInt(StkAppService.SLOT_ID, mSlotId); in sendStopTone() 141 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, slodId); in launchSTKMainMenu() 224 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, slotId); in launchSTKMainMenu() 100 startService(new Intent(this, StkAppService.class) in launchSTKMainMenu()
|
D | BootCompletedReceiver.java | 46 args.putInt(StkAppService.OPCODE, StkAppService.OP_BOOT_COMPLETED); in onReceive() 47 context.startService(new Intent(context, StkAppService.class) in onReceive()
|
D | StkAppService.java | 111 public class StkAppService extends Service implements Runnable { class 179 static StkAppService sInstance = null; 539 static StkAppService getInstance() { in getInstance() 921 args.putInt(StkAppService.RES_ID, resId); in sendResponse() 922 args.putBoolean(StkAppService.CONFIRMATION, confirm); in sendResponse() 2140 new Intent(mContext, StkAppService.class), 0); in launchIdleText() 2143 StkAppService.this, STK_NOTIFICATION_CHANNEL_ID); in launchIdleText() 2166 Bitmap bitmapIcon = BitmapFactory.decodeResource(StkAppService.this in launchIdleText()
|