/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/ |
D | phFriNfc_NdefMap.h | 122 uint8_t internalBuf[PH_FRINFC_NDEFMAP_MIFARESTD_ST15_BYTES]; 126 uint8_t currentBlock; 128 uint8_t NdefBlocks; 132 uint8_t internalBufFlag; 134 uint8_t RemainingBufFlag; 136 uint8_t ReadWriteCompleteFlag; 138 uint8_t ReadCompleteFlag; 140 uint8_t WriteFlag; 142 uint8_t ReadFlag; 144 uint8_t RdBeforeWrFlag; [all …]
|
D | phFriNfc_SmtCrdFmt.h | 66 uint8_t Default_KeyA_OR_B[6]; /* Stores the Default KeyA and KeyB values */ 67 uint8_t MADSect_KeyA[6]; /* Key A of MAD sector */ 68 uint8_t NFCForumSect_KeyA[6]; /* Key A of NFC Forum Sector sector */ 69 uint8_t MADSect_AccessBits[3]; /* Access Bits of MAD sector */ 70 uint8_t NFCForumSect_AccessBits[3]; /* Access Bits of NFC Forum sector */ 71 uint8_t ScrtKeyB[6]; /* Secret key B to given by the application */ 72 uint8_t AuthState; /* Status of the different authentication */ 74 uint8_t NoOfDevices; /* Stores the current block */ 75 uint8_t SectCompl[40]; /* Store the compliant sectors */ 76 uint8_t WrMADBlkFlag; /* Flag to know that MAD sector */ [all …]
|
D | phNxpExtns_MifareStd.h | 28 extern uint8_t current_key[]; 123 uint8_t* 136 uint8_t bParamsNumsPresent; /* Holds number of params available for this 138 uint8_t bParam[2]; /* Req/Res: Param[0] = Param1, Param[1] = Param2 */ 145 uint8_t NdefContinueRead; 153 uint8_t is_ndef; 175 uint8_t p_data[NCI_MAX_DATA_LEN]; 203 uint8_t writecmdFlag; 204 uint8_t RawWriteCallBack; 210 uint8_t incrdecflag; [all …]
|
D | phFriNfc_MifStdFormat.cpp | 50 const uint8_t* RecvBuf, 51 const uint8_t AcsBits1[], 52 const uint8_t AcsBits2[]); 55 static void phFriNfc_MfStd_H_NdefComplSect(uint8_t CardTypes, uint8_t Sector[]); 97 uint8_t NfcForSectArray[] = PH_FRINFC_SMTCRDFMT_NFCFORUMSECT_KEYA_ACS_BIT, in phFriNfc_MfStd_Reset() 133 (uint8_t)PH_FRINFC_MFSTD_FMT_VAL_0; in phFriNfc_MfStd_Reset() 135 (uint8_t)PH_FRINFC_MFSTD_FMT_NOT_A_MAD_BLK; in phFriNfc_MfStd_Reset() 153 const uint8_t* ScrtKeyB) { in phFriNfc_MfStd_Format() 156 uint8_t index = PH_FRINFC_MFSTD_FMT_VAL_0; in phFriNfc_MfStd_Format() 296 uint8_t MADSectTr1k[] = in phFriNfc_MfStd_H_FillSendBuf() [all …]
|
D | phNxpExtns_MifareStd.cpp | 38 uint8_t current_key[6] = {0}; 41 uint8_t* buff, uint16_t* buffSz); 58 phNfc_sTransceiveInfo_t* pTransceiveInfo, uint8_t* bKey); 59 static NFCSTATUS phLibNfc_GetKeyNumberMFC(uint8_t* buffer, uint8_t* bKey); 60 static void phLibNfc_CalSectorAddress(uint8_t* Sector_Address); 62 phNciNfc_TransceiveInfo_t tTranscvInfo, uint8_t bBlockAddr, uint8_t* buff, 65 phNciNfc_TransceiveInfo_t tTranscvInfo, uint8_t* buff, uint16_t* buffSz); 71 static NFCSTATUS nativeNfcExtns_doTransceive(uint8_t* buff, uint16_t buffSz); 73 phFriNfc_sNdefSmtCrdFmt_t* NdefSmtCrdFmt, uint8_t* SendRecvBuffer, 75 static NFCSTATUS phFriNfc_ValidateParams(uint8_t* PacketData, [all …]
|
D | phFriNfc_MifareStdMap.cpp | 33 static uint8_t phFriNfc_MifStd_H_GetSect(uint8_t BlockNumber); 40 uint8_t* Flag, 41 uint8_t* Temp16Bytes); 44 uint8_t* Flag, 45 uint8_t* TempintBytes); 46 static uint8_t phFriNfc_MifStd_H_UpdateTLV(phFriNfc_NdefMap_t* NdefMap); 53 uint8_t* CRFlag); 56 uint8_t* TL4bytesFlag); 60 uint8_t* CRFlag, 61 uint8_t* NDEFFlag); [all …]
|
/packages/apps/Nfc/nci/jni/extns/pn54x/src/common/ |
D | phNciNfcTypes.h | 161 uint8_t bFormatByte; /* Format Byte */ 162 uint8_t bIByteTA; /* Interface Byte TA(1) */ 163 uint8_t bIByteTB; /* Interface Byte TB(1) */ 164 uint8_t bIByteTC; /* Interface Byte TC(1) */ 165 uint8_t bHistByte[PH_NCINFCTYPES_MAX_HIST_BYTES]; /* Historical Bytes - Max 175 uint8_t Uid[PH_NCINFCTYPES_MAX_UID_LENGTH]; /* UID information of the TYPE A 178 uint8_t UidLength; /* UID information length, shall not be greater 180 uint8_t AppData[PH_NCINFCTYPES_MAX_ATR_LENGTH]; /* Application data 183 uint8_t AppDataLength; /* Application data length */ 184 uint8_t Sak; /* SAK information of the TYPE ATag Discovered [all …]
|
D | phNfcTypes.h | 32 typedef uint8_t utf8_t; /* UTF8 Character String */ 33 typedef uint8_t bool_t; /* boolean data type */ 46 uint8_t* buffer; /* Buffer to store data */ 97 uint8_t* pLogFile; /* Log File Name*/ 180 uint8_t Uid[PHNFC_MAX_UID_LENGTH]; /* UID information of the TYPE A 182 uint8_t UidLength; /* UID information length */ 183 uint8_t 187 uint8_t AppDataLength; /* Application data length */ 188 uint8_t Sak; /* SAK information of the TYPE A 190 uint8_t AtqA[PHNFC_ATQA_LENGTH]; /* ATQA informationof the TYPE A [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | byte_array_utils.h | 36 static AK_FORCE_INLINE void writeUintAndAdvancePosition(uint8_t *const buffer, in writeUintAndAdvancePosition() 63 static AK_FORCE_INLINE uint32_t readUint32(const uint8_t *const buffer, const int pos) { in readUint32() 68 static AK_FORCE_INLINE uint32_t readUint24(const uint8_t *const buffer, const int pos) { in readUint24() 72 static AK_FORCE_INLINE uint16_t readUint16(const uint8_t *const buffer, const int pos) { in readUint16() 76 static AK_FORCE_INLINE uint8_t readUint8(const uint8_t *const buffer, const int pos) { in readUint8() 81 const uint8_t *const buffer, int *const pos) { in readUint32AndAdvancePosition() 88 const uint8_t *const buffer, int *const pos) { in readSint24AndAdvancePosition() 89 const uint8_t value = readUint8(buffer, *pos); in readSint24AndAdvancePosition() 99 const uint8_t *const buffer, int *const pos) { in readUint24AndAdvancePosition() 106 const uint8_t *const buffer, int *const pos) { in readUint16AndAdvancePosition() [all …]
|
/packages/services/Car/evs/sampleDriver/ |
D | bufferCopy.cpp | 68 void fillNV21FromNV21(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, unsigned) { in fillNV21FromNV21() 85 void fillNV21FromYUYV(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, unsigned imgStride) { in fillNV21FromYUYV() 96 uint8_t Y1; in fillNV21FromYUYV() 97 uint8_t U; in fillNV21FromYUYV() 98 uint8_t Y2; in fillNV21FromYUYV() 99 uint8_t V; in fillNV21FromYUYV() 117 uint8_t* yTopRow = tgt + (cellRow*2) * strideLum; in fillNV21FromYUYV() 118 uint8_t* yBotRow = yTopRow + strideLum; in fillNV21FromYUYV() 119 uint8_t* uvRow = (tgt + sizeY) + cellRow * strideColor; in fillNV21FromYUYV() 127 const uint8_t uValue = (pTopMacroPixel->U + pBotMacroPixel->U) >> 1; in fillNV21FromYUYV() [all …]
|
/packages/apps/Gallery2/jni/filters/ |
D | geometry.c | 22 static __inline__ void flipVertical(uint8_t * source, int srcWidth, int srcHeight, uint8_t * destin… in flipVertical() 37 static __inline__ void flipHorizontal(uint8_t * source, int srcWidth, int srcHeight, in flipHorizontal() 38 uint8_t * destination, int dstWidth __unused, int dstHeight __unused) { in flipHorizontal() 55 static __inline__ void flip_fun(int flip, uint8_t * source, int srcWidth, int srcHeight, uint8_t * … in flip_fun() 60 uint8_t* temp = (uint8_t *) malloc(arr_len); in flip_fun() 77 static __inline__ void rotate90(uint8_t * source, int srcWidth, int srcHeight, uint8_t * destinatio… in rotate90() 91 static __inline__ void rotate180(uint8_t * source, int srcWidth, int srcHeight, uint8_t * destinati… in rotate180() 95 static __inline__ void rotate270(uint8_t * source, int srcWidth, int srcHeight, uint8_t * destinati… in rotate270() 101 static __inline__ void rotate_fun(int rotate, uint8_t * source, int srcWidth, int srcHeight, uint8_… in rotate_fun() 118 static __inline__ void crop(uint8_t * source, int srcWidth, int srcHeight, uint8_t * destination, i… in crop() [all …]
|
/packages/apps/Nfc/nci/jni/ |
D | RoutingManager.h | 39 bool addAidRouting(const uint8_t* aid, uint8_t aidLen, int route, 41 bool removeAidRouting(const uint8_t* aid, uint8_t aidLen); 43 int registerT3tIdentifier(uint8_t* t3tId, uint8_t t3tIdLen); 56 void handleData(uint8_t technology, const uint8_t* data, uint32_t dataLen, 58 void notifyActivated(uint8_t technology); 59 void notifyDeactivated(uint8_t technology); 76 static void stackCallback(uint8_t event, tNFA_CONN_EVT_DATA* eventData); 77 static void nfcFCeCallback(uint8_t event, tNFA_CONN_EVT_DATA* eventData); 91 std::vector<uint8_t> mRxDataBuffer; 98 vector<uint8_t> mOffHostRouteUicc; [all …]
|
D | HciEventManager.cpp | 26 uint8_t HciEventManager::sEsePipe; 27 uint8_t HciEventManager::sSimPipe; 49 void HciEventManager::notifyTransactionListenersOfAid(std::vector<uint8_t> aid, in notifyTransactionListenersOfAid() 50 std::vector<uint8_t> data, in notifyTransactionListenersOfAid() 96 std::vector<uint8_t> HciEventManager::getDataFromBerTlv( in getDataFromBerTlv() 97 std::vector<uint8_t> berTlv) { in getDataFromBerTlv() 99 return std::vector<uint8_t>(); in getDataFromBerTlv() 108 return std::vector<uint8_t>(berTlv.begin() + 1, berTlv.end()); in getDataFromBerTlv() 112 return std::vector<uint8_t>(berTlv.begin() + 2, berTlv.end()); in getDataFromBerTlv() 117 return std::vector<uint8_t>(berTlv.begin() + 3, berTlv.end()); in getDataFromBerTlv() [all …]
|
D | NativeNfcTag.cpp | 91 static std::basic_string<uint8_t> sRxDataBuffer; 97 static uint8_t* sReadData = NULL; 109 uint8_t RW_TAG_SLP_REQ[] = {0x50, 0x00}; 110 uint8_t RW_DESELECT_REQ[] = {0xC2}; 251 sReadData = (uint8_t*)malloc(sReadDataLen); in ndefHandlerCallback() 307 sReadData = (uint8_t*)malloc(1); in nativeNfcTag_doRead() 373 uint8_t buffer[maxBufferSize] = {0}; in nativeNfcTag_doWrite() 377 uint8_t* p_data = const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>( in nativeNfcTag_doWrite() 400 static uint8_t mfc_key1[6] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; in nativeNfcTag_doWrite() 401 static uint8_t mfc_key2[6] = {0xD3, 0xF7, 0xD3, 0xF7, 0xD3, 0xF7}; in nativeNfcTag_doWrite() [all …]
|
D | RoutingManager.cpp | 59 static const uint8_t SYS_CODE_PWR_STATE_HOST = 0x01; 62 static const uint8_t AID_ROUTE_QUAL_PREFIX = 0x10; 100 std::vector<uint8_t> pSysCode = NfcConfig::getBytes(NAME_DEFAULT_SYS_CODE); in RoutingManager() 301 bool RoutingManager::addAidRouting(const uint8_t* aid, uint8_t aidLen, in addAidRouting() 305 uint8_t powerState = 0x01; in addAidRouting() 312 NFA_EeAddAidRouting(route, aidLen, (uint8_t*)aid, powerState, aidInfo); in addAidRouting() 325 bool RoutingManager::removeAidRouting(const uint8_t* aid, uint8_t aidLen) { in removeAidRouting() 330 tNFA_STATUS nfaStat = NFA_EeRemoveAidRouting(aidLen, (uint8_t*)aid); in removeAidRouting() 366 uint8_t actualNumEe = MAX_NUM_EE; in onNfccShutdown() 376 for (uint8_t xx = 0; xx < actualNumEe; xx++) { in onNfccShutdown() [all …]
|
/packages/services/Car/evs/app/ |
D | FormatConvert.cpp | 61 uint8_t* src, in copyNV21toRGB32() 72 uint8_t* srcY = src; in copyNV21toRGB32() 73 uint8_t* srcUV = src+offsetUV; in copyNV21toRGB32() 77 uint8_t* rowY = srcY + r*strideLum; in copyNV21toRGB32() 78 uint8_t* rowUV = srcUV + (r/2 * strideColor); in copyNV21toRGB32() 92 uint8_t* src, in copyYV12toRGB32() 106 uint8_t* srcY = src; in copyYV12toRGB32() 107 uint8_t* srcU = src+offsetU; in copyYV12toRGB32() 108 uint8_t* srcV = src+offsetV; in copyYV12toRGB32() 112 uint8_t* rowY = srcY + r*strideLum; in copyYV12toRGB32() [all …]
|
/packages/modules/DnsResolver/ |
D | resolv_private.h | 138 int res_nameinquery(const char*, int, int, const uint8_t*, const uint8_t*); 139 int res_queriesmatch(const uint8_t*, const uint8_t*, const uint8_t*, const uint8_t*); 141 int res_nquery(res_state, const char*, int, int, uint8_t*, int, int*); 142 int res_nsearch(res_state, const char*, int, int, uint8_t*, int, int*); 143 int res_nquerydomain(res_state, const char*, const char*, int, int, uint8_t*, int, int*); 144 int res_nmkquery(int op, const char* qname, int cl, int type, const uint8_t* data, int datalen, 145 uint8_t* buf, int buflen, int netcontext_flags); 146 int res_nsend(res_state statp, const uint8_t* buf, int buflen, uint8_t* ans, int anssiz, int* rcode, 148 int res_nopt(res_state, int, uint8_t*, int, int); 167 android::net::NsType getQueryType(const uint8_t* msg, size_t msgLen);
|
D | res_comp.cpp | 87 int dn_expand(const uint8_t* msg, const uint8_t* eom, const uint8_t* src, char* dst, int dstsiz) { in dn_expand() 99 int dn_comp(const char* src, uint8_t* dst, int dstsiz, uint8_t** dnptrs, uint8_t** lastdnptr) { in dn_comp() 100 return (ns_name_compress(src, dst, (size_t)dstsiz, (const uint8_t**)dnptrs, in dn_comp() 101 (const uint8_t**)lastdnptr)); in dn_comp() 107 int dn_skipname(const uint8_t* ptr, const uint8_t* eom) { in dn_skipname() 108 const uint8_t* saveptr = ptr; in dn_skipname()
|
D | res_comp.h | 21 int dn_expand(const uint8_t* msg, const uint8_t* eom, const uint8_t* src, char* dst, int dstsiz); 22 int dn_comp(const char* src, uint8_t* dst, int dstsiz, uint8_t** dnptrs, uint8_t** lastdnptr); 23 int dn_skipname(const uint8_t* ptr, const uint8_t* eom);
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_gatt.cpp | 47 std::array<uint8_t, Uuid::kNumBytes128> uu; in from_java_uuid() 99 static std::vector<uint8_t> toVector(JNIEnv* env, jbyteArray ba) { in toVector() 102 std::vector<uint8_t> data_vec(data_data, data_data + data_len); in toVector() 207 void btgattc_scan_result_cb(uint16_t event_type, uint8_t addr_type, in btgattc_scan_result_cb() 208 RawAddress* bda, uint8_t primary_phy, in btgattc_scan_result_cb() 209 uint8_t secondary_phy, uint8_t advertising_sid, in btgattc_scan_result_cb() 212 std::vector<uint8_t> adv_data) { in btgattc_scan_result_cb() 295 uint8_t value = 0; in btgattc_read_characteristic_cb() 373 int num_records, std::vector<uint8_t> data) { in btgattc_batchscan_reports_cb() 513 void btgattc_phy_updated_cb(int conn_id, uint8_t tx_phy, uint8_t rx_phy, in btgattc_phy_updated_cb() [all …]
|
D | com_android_bluetooth_avrcp_controller.cpp | 149 const RawAddress& bd_addr, uint8_t accepted) { in btavrcp_setplayerapplicationsetting_rsp_callback() 173 const RawAddress& bd_addr, uint8_t num_attr, in btavrcp_playerapplicationsetting_callback() 174 btrc_player_app_attr_t* app_attrs, uint8_t num_ext_attr, in btavrcp_playerapplicationsetting_callback() 270 uint8_t abs_vol, uint8_t label) { in btavrcp_set_abs_vol_cmd_callback() 294 const RawAddress& bd_addr, uint8_t label) { in btavrcp_register_notification_absvol_callback() 319 uint8_t num_attr, in btavrcp_track_changed_callback() 426 const btrc_folder_items_t* folder_items, uint8_t count) { in btavrcp_get_folder_items_callback() 561 sizeof(uint8_t))); in btavrcp_get_folder_items_callback() 568 sizeof(uint8_t) * BTRC_FEATURE_BIT_MASK_SIZE, in btavrcp_get_folder_items_callback() 631 uint8_t num_items, in btavrcp_set_browsed_player_callback() [all …]
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
D | utf8_utils.h | 40 static const uint8_t FIRST_BYTE_MARKER_MASKS[]; 41 static const uint8_t FIRST_BYTE_MARKERS[]; 42 static const uint8_t FIRST_BYTE_CODE_POINT_BITS_MASKS[]; 45 static const uint8_t TRAILING_BYTE_CODE_POINT_BITS_MASK; 46 static const uint8_t TRAILING_BYTE_MARKER; 49 static int getSequenceSizeByCheckingFirstByte(const uint8_t firstByte); 50 static int maskFirstByte(const uint8_t firstByte, const int encodeSize); 51 static int maskTrailingByte(const uint8_t secondOrLaterByte);
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.h | 88 uint8_t rcode; 90 uint8_t opcode; 101 bool write(std::vector<uint8_t>* out) const; 107 uint8_t flags0; 108 uint8_t flags1; 169 void addMappingBinaryPacket(const std::vector<uint8_t>& query, 170 const std::vector<uint8_t>& response); 173 void removeMappingBinaryPacket(const std::vector<uint8_t>& query); 231 std::size_t operator()(const std::vector<uint8_t>& v) const { in operator() 233 for (const uint8_t i : v) { in operator() [all …]
|
/packages/apps/Nfc/nci/jni/extns/pn54x/inc/ |
D | phNxpExtns.h | 31 NFCSTATUS EXTNS_MfcWriteNDef(uint8_t* pBuf, uint32_t len); 32 NFCSTATUS EXTNS_MfcFormatTag(uint8_t* key, uint8_t len); 35 NFCSTATUS EXTNS_MfcTransceive(uint8_t* p_data, uint32_t len); 38 NFCSTATUS EXTNS_MfcCallBack(uint8_t* buf, uint32_t buflen); 39 NFCSTATUS EXTNS_MfcSetReadOnly(uint8_t* key, uint8_t len); 46 NFCSTATUS EXTNS_CheckMfcResponse(uint8_t** sTransceiveData,
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | patricia_trie_reading_utils.h | 31 typedef uint8_t NodeFlags; 33 static int getPtNodeArraySizeAndAdvancePosition(const uint8_t *const buffer, int *const pos); 35 static NodeFlags getFlagsAndAdvancePosition(const uint8_t *const buffer, int *const pos); 37 static int getCodePointAndAdvancePosition(const uint8_t *const buffer, 41 static int getCharsAndAdvancePosition(const uint8_t *const buffer, const NodeFlags flags, 46 static int skipCharacters(const uint8_t *const buffer, const NodeFlags flags, 49 static int readProbabilityAndAdvancePosition(const uint8_t *const buffer, int *const pos); 51 static int readChildrenPositionAndAdvancePosition(const uint8_t *const buffer, 108 static void readPtNodeInfo(const uint8_t *const dictBuf, const int ptNodePos,
|