Home
last modified time | relevance | path

Searched refs:uint16_t (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/
DphFriNfc_NdefMap.h124 uint16_t internalLength;
130 uint16_t NoOfNdefCompBlocks;
165 uint16_t remainingSize;
170 uint16_t aidCompleteFlag;
173 uint16_t NFCforumSectFlag;
176 uint16_t ProprforumSectFlag;
178 uint16_t ChkNdefCompleteFlag;
184 uint16_t WrLength;
220 uint16_t NdefTLVByte;
244 uint16_t prevLenByteValue;
[all …]
DphNxpExtns_MifareStd.cpp41 uint8_t* buff, uint16_t* buffSz);
63 uint16_t* buffSz);
65 phNciNfc_TransceiveInfo_t tTranscvInfo, uint8_t* buff, uint16_t* buffSz);
71 static NFCSTATUS nativeNfcExtns_doTransceive(uint8_t* buff, uint16_t buffSz);
74 uint16_t* SendRecvBuffLen);
210 NdefMap->SendRecvLength = (uint16_t*)malloc(sizeof(uint16_t)); in phNxpExtns_MfcModuleInit()
214 memset(NdefMap->SendRecvLength, 0, sizeof(uint16_t)); in phNxpExtns_MfcModuleInit()
216 NdefMap->DataCount = (uint16_t*)malloc(sizeof(uint16_t)); in phNxpExtns_MfcModuleInit()
220 memset(NdefMap->DataCount, 0, sizeof(uint16_t)); in phNxpExtns_MfcModuleInit()
804 uint16_t* SendRecvBuffLen) { in phFriNfc_NdefSmtCrd_Reset__()
[all …]
DphNxpExtns_MifareStd.h127 uint16_t wLen; /* Buffer length*/
151 uint16_t NdefSendRecvLen;
176 uint16_t len;
183 typedef void (*CallBackMifare_t)(void*, uint16_t);
218 uint16_t SendLength,
219 uint16_t* SendRecvLength);
DphFriNfc_SmtCrdFmt.h73 uint16_t CurrentBlock; /* Stores the current block */
107 uint16_t* SendRecvLength; /* Holds the length of the received data */
109 uint16_t SendLength; /* Holds the length of the data to be sent */
123 uint8_t* SendRecvBuffer, uint16_t* SendRecvBuffLen);
DphFriNfc_MifareStdMap.cpp55 uint16_t* TempLength,
58 uint16_t TempLength);
630 (NdefMap->ApduBuffIndex < (uint16_t)NdefMap->ApduBufferSize)) { in phFriNfc_MifareStdMap_Process()
942 if (NdefMap->ApduBuffIndex < (uint16_t)NdefMap->ApduBufferSize) { in phFriNfc_MifStd_H_RdABlock()
994 uint16_t RemainingBytes = 0, BytesRemained = 0, index = 0; in phFriNfc_MifStd_H_WrABlock()
1004 if (NdefMap->ApduBuffIndex < (uint16_t)NdefMap->ApduBufferSize) { in phFriNfc_MifStd_H_WrABlock()
1006 (((uint16_t)(NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex) < in phFriNfc_MifStd_H_WrABlock()
1008 ? (uint16_t)(NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex) in phFriNfc_MifStd_H_WrABlock()
1105 } else if (NdefMap->ApduBuffIndex == (uint16_t)NdefMap->ApduBufferSize) { in phFriNfc_MifStd_H_WrABlock()
1800 uint16_t RemainingBytes = 0; in phFriNfc_MifStd_H_RemainTLV()
[all …]
DphFriNfc_MifStdFormat.cpp32 phFriNfc_sNdefSmtCrdFmt_t* NdefSmtCrdFmt, uint16_t BlockNo);
49 static uint32_t phFriNfc_MfStd_H_ChkAcsBit(uint16_t BlockNo,
293 phFriNfc_sNdefSmtCrdFmt_t* NdefSmtCrdFmt, uint16_t BlockNo) { in phFriNfc_MfStd_H_FillSendBuf()
817 static uint32_t phFriNfc_MfStd_H_ChkAcsBit(uint16_t BlockNo, in phFriNfc_MfStd_H_ChkAcsBit()
1246 (uint16_t)(((SectIndex & 0xE0) >= 32) in phFriNfc_MfStd_H_BlkNoToWrTLV()
/packages/apps/Nfc/nci/jni/
DPeerToPeer.h184 bool createClient(tJNI_HANDLE jniHandle, uint16_t miu, uint8_t rw);
224 bool send(tJNI_HANDLE jniHandle, uint8_t* buffer, uint16_t bufferLen);
239 bool receive(tJNI_HANDLE jniHandle, uint8_t* buffer, uint16_t bufferLen,
240 uint16_t& actualLen);
264 uint16_t getRemoteMaxInfoUnit(tJNI_HANDLE jniHandle);
380 uint16_t mRemoteWKS; // Peer's well known services
565 uint16_t mMaxInfoUnit;
567 uint16_t mRemoteMaxInfoUnit;
DDataQueue.h62 bool enqueue(uint8_t* data, uint16_t dataLen);
76 bool dequeue(uint8_t* buffer, uint16_t bufferMaxLen, uint16_t& actualLen);
91 uint16_t mDataLen; // number of octets of data
92 uint16_t mOffset; // offset of the first octet of data
DDataQueue.cpp78 bool DataQueue::enqueue(uint8_t* data, uint16_t dataLen) { in enqueue()
113 bool DataQueue::dequeue(uint8_t* buffer, uint16_t bufferMaxLen, in dequeue()
114 uint16_t& actualLen) { in dequeue()
DRoutingManager.h92 map<int, uint16_t> mMapScbrHandle;
106 uint16_t mDefaultSysCode;
107 uint16_t mDefaultSysCodeRoute;
DPeerToPeer.cpp512 bool PeerToPeer::createClient(tJNI_HANDLE jniHandle, uint16_t miu, uint8_t rw) { in createClient()
849 uint16_t bufferLen) { in send()
907 uint16_t bufferLen, uint16_t& actualLen) { in receive()
933 actualLen = (uint16_t)actualDataLen2; in receive()
1024 uint16_t PeerToPeer::getRemoteMaxInfoUnit(tJNI_HANDLE jniHandle) { in getRemoteMaxInfoUnit()
DRoutingManager.cpp60 static const uint16_t DEFAULT_SYS_CODE = 0xFEFE;
860 uint16_t systemCode; in registerT3tIdentifier()
922 map<int, uint16_t>::iterator it = mMapScbrHandle.find(handle); in deregisterT3tIdentifier()
925 uint16_t systemCode = it->second; in deregisterT3tIdentifier()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
Ddic_node_properties.h41 const uint16_t depth, const uint16_t leavingDepth, const WordIdArrayView prevWordIds) { in init()
93 uint16_t getDepth() const { in getDepth()
98 uint16_t getLeavingDepth() const { in getLeavingDepth()
125 uint16_t mDepth;
126 uint16_t mLeavingDepth;
Ddic_node_state_output.h77 void addMergedNodeCodePoints(const uint16_t mergedNodeCodePointCount, in addMergedNodeCodePoints()
85 mOutputtedCodePointCount = static_cast<uint16_t>( in addMergedNodeCodePoints()
138 uint16_t mOutputtedCodePointCount;
Ddic_node_state.h72 void init(const DicNodeState *const src, const uint16_t mergedNodeCodePointCount, in init()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp102 uint16_t data_len = (uint16_t)env->GetArrayLength(ba); in toVector()
208 void btgattc_scan_result_cb(uint16_t event_type, uint8_t addr_type, in btgattc_scan_result_cb()
212 uint16_t periodic_adv_int, in btgattc_scan_result_cb()
261 int status, uint16_t handle) { in btgattc_register_for_notification_cb()
305 void btgattc_write_characteristic_cb(int conn_id, int status, uint16_t handle) { in btgattc_write_characteristic_cb()
339 void btgattc_write_descriptor_cb(int conn_id, int status, uint16_t handle) { in btgattc_write_descriptor_cb()
523 void btgattc_conn_updated_cb(int conn_id, uint16_t interval, uint16_t latency, in btgattc_conn_updated_cb()
524 uint16_t timeout, uint8_t status) { in btgattc_conn_updated_cb()
732 void btgatts_conn_updated_cb(int conn_id, uint16_t interval, uint16_t latency, in btgatts_conn_updated_cb()
733 uint16_t timeout, uint8_t status) { in btgatts_conn_updated_cb()
[all …]
Dcom_android_bluetooth_avrcp_target.cpp48 static uint16_t getCurrentPlayerId();
51 static void setBrowsedPlayer(uint16_t player_id, SetBrowsedPlayerCb);
53 static void getFolderItems(uint16_t player_id, std::string media_id,
55 static void playItem(uint16_t player_id, bool now_playing,
101 uint16_t current_player = getCurrentPlayerId(); in GetMediaPlayerList()
106 void GetFolderItems(uint16_t player_id, std::string media_id, in GetFolderItems()
111 void SetBrowsedPlayer(uint16_t player_id, in SetBrowsedPlayer()
125 void PlayItem(uint16_t player_id, bool now_playing, in PlayItem()
536 static uint16_t getCurrentPlayerId() { in getCurrentPlayerId()
609 static void setBrowsedPlayer(uint16_t player_id, SetBrowsedPlayerCb cb) { in setBrowsedPlayer()
[all …]
Dcom_android_bluetooth_hid_device.cpp94 uint16_t buffer_size) { in get_report_callback()
101 static void set_report_callback(uint8_t type, uint8_t id, uint16_t len, in set_report_callback()
123 static void intr_data_callback(uint8_t report_id, uint16_t len, in intr_data_callback()
Dcom_android_bluetooth_avrcp_controller.cpp680 uint16_t id) { in btavrcp_addressed_player_changed_callback()
1155 rawAddress, (uint16_t)id); in setBrowsedPlayerNative()
1175 rawAddress, (uint16_t)id); in setAddressedPlayerNative()
1202 rawAddress, (uint8_t)scope, (uint8_t*)&uid, (uint16_t)uidCounter); in playItemNative()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node.h140 uint16_t newDepth = static_cast<uint16_t>(dicNode->getNodeCodePointCount() + 1); in initAsChild()
142 const uint16_t newLeavingDepth = static_cast<uint16_t>( in initAsChild()
223 const uint16_t currentDepth = getNodeCodePointCount(); in shouldBeFilteredBySafetyNetForBigram()
397 inline uint16_t getNodeCodePointCount() const { in getNodeCodePointCount()
402 inline uint16_t getTotalNodeCodePointCount() const { in getTotalNodeCodePointCount()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/msinttypes/
Dstdint.h125 typedef unsigned short uint16_t; typedef
132 typedef unsigned __int16 uint16_t; typedef
145 typedef uint16_t uint_least16_t;
155 typedef uint16_t uint_fast16_t;
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dbyte_array_utils.h72 static AK_FORCE_INLINE uint16_t readUint16(const uint8_t *const buffer, const int pos) { in readUint16()
105 static AK_FORCE_INLINE uint16_t readUint16AndAdvancePosition( in readUint16AndAdvancePosition()
107 const uint16_t value = readUint16(buffer, *pos); in readUint16AndAdvancePosition()
279 const uint16_t data, int *const pos) { in writeUint16AndAdvancePosition()
/packages/apps/Nfc/nci/jni/extns/pn54x/src/common/
DphNfcTypes.h34 typedef uint16_t NFCSTATUS; /* Return values */
275 uint16_t* ServiceCodeList; /* 2 Byte service Code List */
276 uint16_t* Blocklist; /* 2 Byte Block list */
DphNciNfcTypes.h240 uint16_t wLen; /* Length of the payload */
268 uint16_t wTimeout; /* Timeout value to be used during transceive */
DphNfcStatus.h49 (((uint16_t)(phNfcCompID)) << (PHNFCSTSHL8))))

12