1 package com.android.cts.verifier.nfc.hce; 2 3 import android.content.ComponentName; 4 5 public class PrefixPaymentService1 extends HceService { 6 static final String TAG = "PrefixPaymentService1"; 7 8 static final ComponentName COMPONENT = 9 new ComponentName("com.android.cts.verifier", 10 PrefixPaymentService1.class.getName()); 11 12 public static final CommandApdu[] APDU_COMMAND_SEQUENCE = { 13 HceUtils.buildSelectApdu(HceUtils.PPSE_AID, true), 14 HceUtils.buildSelectApdu(HceUtils.MC_AID, true), 15 HceUtils.buildCommandApdu("80CA01F000", true) 16 }; 17 18 public static final String[] APDU_RESPOND_SEQUENCE = { 19 "F1239000", 20 "F4569000", 21 "F789FFAABB9000" 22 }; 23 PrefixPaymentService1()24 public PrefixPaymentService1() { 25 initialize(APDU_COMMAND_SEQUENCE, APDU_RESPOND_SEQUENCE); 26 } 27 28 @Override getComponent()29 public ComponentName getComponent() { 30 return COMPONENT; 31 } 32 }