Home
last modified time | relevance | path

Searched refs:actBytes (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Nfc/nci/jni/
DNfcTag.cpp809 ScopedLocalRef<jbyteArray> actBytes(e, e->NewByteArray(0)); in fillNativeNfcTagMembers4() local
810 ScopedLocalRef<jclass> byteArrayClass(e, e->GetObjectClass(actBytes.get())); in fillNativeNfcTagMembers4()
825 actBytes.reset(e->NewByteArray(1)); in fillNativeNfcTagMembers4()
826 … e->SetByteArrayRegion(actBytes.get(), 0, 1, (jbyte*) &mTechParams [i].param.pa.sel_rsp); in fillNativeNfcTagMembers4()
834 actBytes.reset(e->NewByteArray(0)); in fillNativeNfcTagMembers4()
854 actBytes.reset(e->NewByteArray(pa_iso.his_byte_len)); in fillNativeNfcTagMembers4()
856 … e->SetByteArrayRegion(actBytes.get(), 0, pa_iso.his_byte_len, (jbyte*) (pa_iso.his_byte)); in fillNativeNfcTagMembers4()
861 actBytes.reset(e->NewByteArray(0)); in fillNativeNfcTagMembers4()
876 actBytes.reset(e->NewByteArray(pb_iso.hi_info_len)); in fillNativeNfcTagMembers4()
878 … e->SetByteArrayRegion(actBytes.get(), 0, pb_iso.hi_info_len, (jbyte*) (pb_iso.hi_info)); in fillNativeNfcTagMembers4()
[all …]
DNativeNfcTag.cpp1333 …veNfcTag_doIsIsoDepNdefFormatable (JNIEnv *e, jobject o, jbyteArray pollBytes, jbyteArray actBytes) in nativeNfcTag_doIsIsoDepNdefFormatable() argument
1339 return nativeNfcTag_doIsNdefFormatable (e, o, 0, uidArray, pollBytes, actBytes); in nativeNfcTag_doIsIsoDepNdefFormatable()
/packages/apps/Nfc/nxp/jni/
Dcom_android_nfc_NativeNfcTag.cpp391 ScopedLocalRef<jbyteArray> actBytes(e, e->NewByteArray(0)); in set_target_activationBytes() local
392 ScopedLocalRef<jclass> byteArrayClass(e, e->GetObjectClass(actBytes.get())); in set_target_activationBytes()
400actBytes.reset(e->NewByteArray(sizeof(psRemoteDevInfo->RemoteDevInfo.Iso14443A_Info.Sak))); in set_target_activationBytes()
401 …e->SetByteArrayRegion(actBytes.get(), 0, sizeof(psRemoteDevInfo->RemoteDevInfo.Iso14443A_Info.Sak), in set_target_activationBytes()
410actBytes.reset(e->NewByteArray(psRemoteDevInfo->RemoteDevInfo.Iso14443B_Info.HiLayerRespLength)); in set_target_activationBytes()
411 …e->SetByteArrayRegion(actBytes.get(), 0, psRemoteDevInfo->RemoteDevInfo.Iso14443B_Info.HiLayerResp… in set_target_activationBytes()
415actBytes.reset(e->NewByteArray(psRemoteDevInfo->RemoteDevInfo.Iso14443A_Info.AppDataLength)); in set_target_activationBytes()
416 e->SetByteArrayRegion(actBytes.get(), 0, in set_target_activationBytes()
423actBytes.reset(e->NewByteArray(sizeof(psRemoteDevInfo->RemoteDevInfo.Iso15693_Info.Flags) in set_target_activationBytes()
425 …e->SetByteArrayRegion(actBytes.get(), 0, sizeof(psRemoteDevInfo->RemoteDevInfo.Iso15693_Info.Flags… in set_target_activationBytes()
[all …]
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeNfcTag.java651 byte[] actBytes = mTechActBytes[i]; in getTechExtras()
652 if ((actBytes != null) && (actBytes.length > 0)) { in getTechExtras()
653 extras.putShort(NfcA.EXTRA_SAK, (short) (actBytes[0] & (short) 0xFF)); in getTechExtras()
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
DNativeNfcTag.java647 byte[] actBytes = mTechActBytes[i]; in getTechExtras()
648 if ((actBytes != null) && (actBytes.length > 0)) { in getTechExtras()
649 extras.putShort(NfcA.EXTRA_SAK, (short) (actBytes[0] & (short) 0xFF)); in getTechExtras()