Searched refs:StkAppService (Results 1 – 9 of 9) sorted by relevance
/aosp12/packages/apps/Stk/src/com/android/stk/ |
H A D | StkCmdReceiver.java | 45 handleAction(context, intent, StkAppService.OP_CMD); 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() 65 } else if (StkAppService.OP_CARD_STATUS_CHANGED == op) { in handleAction() 69 && StkAppService.getInstance() == null) { in handleAction() 78 } else if (StkAppService.OP_ALPHA_NOTIFY == op) { in handleAction() [all …]
|
H A D | StkDialogActivity.java | 48 private StkAppService appService = StkAppService.getInstance(); 89 sendResponse(StkAppService.RES_ID_CONFIRM, true); 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() 326 mSlotId = intent.getIntExtra(StkAppService.SLOT_ID, -1); in initFromIntent() [all …]
|
H A 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()
|
H A D | StkMenuActivity.java | 66 private StkAppService appService = StkAppService.getInstance(); 111 new IntentFilter(StkAppService.SESSION_ENDED)); in onCreate() 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() 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() 462 args.putInt(StkAppService.MENU_SELECTION, itemId); in sendResponse() 463 args.putBoolean(StkAppService.HELP, help); in sendResponse() [all …]
|
H A 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() 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() 350 sendResponse(StkAppService.RES_ID_INPUT, "", true); in optionsItemSelectedInternal() [all …]
|
H A 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()
|
H A 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()
|
H A D | BootCompletedReceiver.java | 46 args.putInt(StkAppService.OPCODE, StkAppService.OP_BOOT_COMPLETED); in onReceive() 47 context.startService(new Intent(context, StkAppService.class) in onReceive()
|
H A D | StkAppService.java | 102 public class StkAppService extends Service implements Runnable { class 169 static StkAppService sInstance = null; 530 static StkAppService getInstance() { in getInstance() 908 args.putInt(StkAppService.RES_ID, resId); in sendResponse() 909 args.putBoolean(StkAppService.CONFIRMATION, confirm); in sendResponse() 2146 new Intent(mContext, StkAppService.class), PendingIntent.FLAG_IMMUTABLE); in launchIdleText() 2149 StkAppService.this, STK_NOTIFICATION_CHANNEL_ID); in launchIdleText() 2172 Bitmap bitmapIcon = BitmapFactory.decodeResource(StkAppService.this in launchIdleText()
|