Home
last modified time | relevance | path

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

/packages/apps/Stk/src/com/android/stk/
DStkCmdReceiver.java44 handleAction(context, intent, StkAppService.OP_CMD); in onReceive()
46 handleAction(context, intent, StkAppService.OP_END_SESSION); in onReceive()
48 handleAction(context, intent, StkAppService.OP_CARD_STATUS_CHANGED); in onReceive()
50 handleAction(context, intent, StkAppService.OP_ALPHA_NOTIFY); in onReceive()
56 int slot_id = intent.getIntExtra(StkAppService.SLOT_ID, 0); in handleAction()
58 args.putInt(StkAppService.OPCODE, op); in handleAction()
59 args.putInt(StkAppService.SLOT_ID, slot_id); in handleAction()
61 if (StkAppService.OP_CMD == op) { in handleAction()
62 args.putParcelable(StkAppService.CMD_MSG, intent in handleAction()
63 .getParcelableExtra(StkAppService.STK_CMD)); in handleAction()
[all …]
DStkDialogActivity.java47 private StkAppService appService = StkAppService.getInstance();
88 sendResponse(StkAppService.RES_ID_CONFIRM, true); in onCreate()
97 sendResponse(StkAppService.RES_ID_CONFIRM, false); in onCreate()
105 sendResponse(StkAppService.RES_ID_BACKWARD); in onCreate()
234 sendResponse(StkAppService.RES_ID_CONFIRM, false); in onDestroy()
295 if (StkAppService.getInstance() == null) { in sendResponse()
304 args.putInt(StkAppService.OPCODE, StkAppService.OP_RESPONSE); in sendResponse()
305 args.putInt(StkAppService.SLOT_ID, mSlotId); in sendResponse()
306 args.putInt(StkAppService.RES_ID, resId); in sendResponse()
307 args.putBoolean(StkAppService.CONFIRMATION, confirmed); in sendResponse()
[all …]
DToneDialog.java56 filter.addAction(StkAppService.FINISH_TONE_ACTIVITY_ACTION); in onCreate()
95 StkAppService appService = StkAppService.getInstance(); in onCreate()
120 if (intent.getAction().equals(StkAppService.FINISH_TONE_ACTIVITY_ACTION)) {
132 mSlotId = intent.getIntExtra(StkAppService.SLOT_ID, -1); in initFromIntent()
138 args.putInt(StkAppService.OPCODE, StkAppService.OP_STOP_TONE_USER); in sendStopTone()
139 args.putInt(StkAppService.SLOT_ID, mSlotId); in sendStopTone()
140 startService(new Intent(this, StkAppService.class).putExtras(args)); in sendStopTone()
DStkMenuActivity.java66 private StkAppService appService = StkAppService.getInstance();
112 new IntentFilter(StkAppService.SESSION_ENDED)); in onCreate()
139 sendResponse(StkAppService.RES_ID_MENU_SELECTION, item.id, false); in onListItemClick()
156 sendResponse(StkAppService.RES_ID_BACKWARD); in onKeyDown()
238 sendResponse(StkAppService.RES_ID_END_SESSION); in onDestroy()
274 sendResponse(StkAppService.RES_ID_END_SESSION); in onOptionsItemSelected()
312 sendResponse(StkAppService.RES_ID_MENU_SELECTION, stkItem.id, true); in onContextItemSelected()
419 mSlotId = intent.getIntExtra(StkAppService.SLOT_ID, -1); in initFromIntent()
455 if (resId == StkAppService.RES_ID_MENU_SELECTION) { in sendResponse()
462 args.putInt(StkAppService.RES_ID, resId); in sendResponse()
[all …]
DStkInputActivity.java94 private StkAppService appService = StkAppService.getInstance();
112 sendResponse(StkAppService.RES_ID_END_SESSION); in onClick()
146 sendResponse(StkAppService.RES_ID_INPUT, input, false); in onClick()
248 sendResponse(StkAppService.RES_ID_END_SESSION); in onDestroy()
272 sendResponse(StkAppService.RES_ID_BACKWARD, null, false); in onKeyDown()
290 if (StkAppService.getInstance() == null) { in sendResponse()
303 args.putInt(StkAppService.RES_ID, resId); in sendResponse()
305 args.putString(StkAppService.INPUT, input); in sendResponse()
307 args.putBoolean(StkAppService.HELP, help); in sendResponse()
350 sendResponse(StkAppService.RES_ID_END_SESSION); in optionsItemSelectedInternal()
[all …]
DStkLauncherActivity.java168 StkAppService appService = StkAppService.getInstance(); in addStkMenuListItems()
223 args.putInt(StkAppService.OPCODE, StkAppService.OP_LAUNCH_APP); in launchSTKMainMenu()
224 args.putInt(StkAppService.SLOT_ID, slodId); in launchSTKMainMenu()
225 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.java45 args.putInt(StkAppService.OPCODE, StkAppService.OP_BOOT_COMPLETED); in onReceive()
46 context.startService(new Intent(context, StkAppService.class) in onReceive()
DUserPresentReceiver.java32 StkAppService.getInstance().cancelNotificationOnKeyguard(); in onReceive()
DStkAppService.java101 public class StkAppService extends Service implements Runnable { class
168 static StkAppService sInstance = null;
271 private static final String LOG_TAG = StkAppService.class.getSimpleName();
535 static StkAppService getInstance() { in getInstance()
913 args.putInt(StkAppService.RES_ID, resId); in sendResponse()
914 args.putBoolean(StkAppService.CONFIRMATION, confirm); in sendResponse()
2123 new Intent(mContext, StkAppService.class), PendingIntent.FLAG_IMMUTABLE); in launchIdleText()
2126 StkAppService.this, STK_NOTIFICATION_CHANNEL_ID); in launchIdleText()
2144 Bitmap bitmapIcon = BitmapFactory.decodeResource(StkAppService.this in launchIdleText()