/frameworks/base/media/libdrm/mobile1/include/objmng/ |
D | drm_file.h | 71 int32_t DRM_file_startup(void); 81 int32_t DRM_file_getFileLength(const uint16_t* name, 82 int32_t nameChars); 94 int32_t DRM_file_listOpen(const uint16_t* prefix, 95 int32_t prefixChars, 96 int32_t* session, 97 int32_t* iteration); 115 int32_t DRM_file_listNextEntry(const uint16_t* prefix, 116 int32_t prefixChars, 118 int32_t entryBytes, [all …]
|
D | svc_drm.h | 84 int32_t inputHandle; 91 int32_t mimeType; 103 int32_t (*getInputDataLength)(int32_t inputHandle); 118 int32_t (*readInputData)(int32_t inputHandle, uint8_t* buf, int32_t bufLen); 131 int32_t (*seekInputData)(int32_t inputHandle, int32_t offset); 140 int32_t count; /**< The constraint of count */ 141 int32_t startDate; /**< The constraint of start date */ 142 int32_t startTime; /**< The constraint of start time */ 143 int32_t endDate; /**< The constraint of end date */ 144 int32_t endTime; /**< The constraint of end time */ [all …]
|
D | drm_rights_manager.h | 58 int32_t drm_readFromUidTxt(uint8_t* Uid, int32_t* id, int32_t option); 72 int32_t drm_writeOrReadInfo(int32_t id, T_DRM_Rights* Ro, int32_t* RoAmount, int32_t option); 83 int32_t drm_appendRightsInfo(T_DRM_Rights* rights); 92 int32_t drm_getMaxIdFromUidTxt(); 103 int32_t drm_removeIdInfoFile(int32_t id); 114 int32_t drm_updateUidTxtWhenDelete(int32_t id); 126 int32_t drm_getKey(uint8_t* uid, uint8_t* KeyValue); 137 void drm_discardPaddingByte(uint8_t *decryptedBuf, int32_t *decryptedBufLen); 149 int32_t drm_aesDecBuffer(uint8_t * Buffer, int32_t * BufferLen, AES_KEY *key); 162 int32_t drm_updateDcfDataLen(uint8_t* pDcfLastData, uint8_t* keyValue, int32_t* moreBytes); [all …]
|
D | drm_inner.h | 50 int32_t b64DecodeDataLen; 55 int32_t encContentLength; 57 int32_t aesDecDataLen; 58 int32_t aesDecDataOff; 60 int32_t bAesBackupBuf; 64 int32_t sessionId; 65 int32_t inputHandle; 66 int32_t mimeType; 67 int32_t (*getInputDataLengthFunc)(int32_t inputHandle); 68 int32_t (*readInputDataFunc)(int32_t inputHandle, uint8_t* buf, int32_t bufLen); [all …]
|
D | drm_i18n.h | 79 int32_t DRM_i18n_mbsToWcs(DRM_Charset_t charset, 80 const uint8_t *mbs, int32_t mbsLen, 81 uint16_t *wcsBuf, int32_t bufSizeInWideChar, 82 int32_t *bytesConsumed); 98 int32_t DRM_i18n_wcsToMbs(DRM_Charset_t charset, 99 const uint16_t *wcs, int32_t wcsLen, 100 uint8_t *mbsBuf, int32_t bufSizeInByte);
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
D | drm_i18n.c | 37 static int32_t latin1ToWcs(const uint8_t *mbs, int32_t mbsLen, 38 uint16_t *wcsBuf, int32_t bufSizeInWideChar, 39 int32_t *bytesConsumed); 44 static int32_t wcToLatin1(uint16_t wc, uint8_t * mbs, int32_t bufSize); 49 static int32_t utf8ToWcs(const uint8_t *mbs, int32_t mbsLen, 50 uint16_t *wcsBuf, int32_t bufSizeInWideChar, 51 int32_t *bytesConsumed); 56 static int32_t wcToUtf8(uint16_t wc, uint8_t * mbs, int32_t bufSize); 61 static int32_t utf16beToWcs(const uint8_t *mbs, int32_t mbsLen, 62 uint16_t *wcsBuf, int32_t bufSizeInWideChar, [all …]
|
D | drm_file.c | 36 static int32_t totalSpace; 38 static int32_t availableSize; 46 static int32_t 47 convertFilename(const uint16_t *strData, int32_t strLength, char *buffer); 62 static int32_t 63 convertFilename(const uint16_t *strData, int32_t strLength, char *buffer) in convertFilename() 89 static int32_t 90 getFileStat(const uint16_t *name, int32_t nameLen, struct stat *sbuf) in getFileStat() 207 int32_t DRM_file_startup(void) in DRM_file_startup() 221 int32_t [all …]
|
D | drm_rights_manager.c | 22 static int32_t drm_getString(uint8_t* string, int32_t len, int32_t handle) in drm_getString() 24 int32_t i; in drm_getString() 37 static int32_t drm_putString(uint8_t* string, int32_t handle) in drm_putString() 39 int32_t i = 0; in drm_putString() 50 static int32_t drm_writeToUidTxt(uint8_t* Uid, int32_t* id) in drm_writeToUidTxt() 52 int32_t length; in drm_writeToUidTxt() 53 int32_t i; in drm_writeToUidTxt() 55 int32_t idMax; in drm_writeToUidTxt() 58 int32_t nameLen; in drm_writeToUidTxt() 59 int32_t bytesConsumed; in drm_writeToUidTxt() [all …]
|
D | drm_api.c | 30 static int32_t curID = 0; 81 static int32_t addSession(T_DRM_Session_Node* s) in addSession() 95 static T_DRM_Session_Node* getSession(int32_t sessionId) in getSession() 113 static void removeSession(int32_t sessionId) in removeSession() 142 static int32_t getMimeType(const uint8_t *buf, int32_t bufLen) in getMimeType() 170 static int32_t drm_skipCRLFinB64(const uint8_t* b64Data, int32_t len) in drm_skipCRLFinB64() 173 int32_t skipLen = 0; in drm_skipCRLFinB64() 188 static int32_t drm_scanEndBoundary(const uint8_t* pBuf, int32_t len, uint8_t* const boundary) in drm_scanEndBoundary() 191 int32_t leftLen; in drm_scanEndBoundary() 192 int32_t boundaryLen; in drm_scanEndBoundary() [all …]
|
/frameworks/base/media/libdrm/mobile1/include/parser/ |
D | parser_rel.h | 54 int32_t date; /**< year * 10000 + mon *100 + day */ 55 int32_t time; /**< hour * 10000 + min *100 + sec */ 61 int32_t Count; /**< The times that can be used */ 71 int32_t bIsPlayable; /**< Is playable */ 72 int32_t bIsDisplayable; /**< Is displayable */ 73 int32_t bIsExecuteable; /**< Is executeable */ 74 int32_t bIsPrintable; /**< Is printable */ 89 int32_t drm_monthDays(int32_t year, int32_t month); 103 int32_t drm_checkDate(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t … 117 int32_t drm_relParser(uint8_t* buffer, int32_t bufferLen, int32_t Format, T_DRM_Rights* pRights);
|
D | parser_dm.h | 64 …int32_t contentOffset; /**< The offset of the media content from the original… 65 int32_t contentLen; /**< The length of the media content */ 66 …int32_t rightsOffset; /**< The offset of the rights object in case of combin… 67 …int32_t rightsLen; /**< The length of the rights object in case of combin… 82 const uint8_t* drm_strnstr(const uint8_t* str, const uint8_t* strSearch, int32_t len); 95 int32_t drm_parseDM(const uint8_t* buffer, int32_t bufferLen, T_DRM_DM_Info* pDmInfo);
|
/frameworks/base/include/ui/ |
D | EventHub.h | 62 uint32_t getDeviceClasses(int32_t deviceId) const; 64 String8 getDeviceName(int32_t deviceId) const; 66 int getAbsoluteInfo(int32_t deviceId, int axis, int *outMinValue, 70 int getSwitchState(int32_t deviceId, int sw) const; 73 int getScancodeState(int32_t deviceId, int key) const; 76 int getKeycodeState(int32_t deviceId, int key) const; 78 status_t scancodeToKeycode(int32_t deviceId, int scancode, 79 int32_t* outKeycode, uint32_t* outFlags) const; 92 bool hasKeys(size_t numCodes, int32_t* keyCodes, uint8_t* outFlags); 94 virtual bool getEvent(int32_t* outDeviceId, int32_t* outType, [all …]
|
D | CameraHardwareInterface.h | 38 typedef void (*notify_callback)(int32_t msgType, 39 int32_t ext1, 40 int32_t ext2, 43 typedef void (*data_callback)(int32_t msgType, 48 int32_t msgType, 108 virtual void enableMsgType(int32_t msgType) = 0; 113 virtual void disableMsgType(int32_t msgType) = 0; 120 virtual bool msgTypeEnabled(int32_t msgType) = 0; 200 virtual status_t sendCommand(int32_t cmd, int32_t arg1, int32_t arg2) = 0;
|
D | Camera.h | 103 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2) = 0; 104 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr) = 0; 105 …virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) = 0; 165 status_t sendCommand(int32_t cmd, int32_t arg1, int32_t arg2); 171 virtual void notifyCallback(int32_t msgType, int32_t ext, int32_t ext2); 172 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr); 173 …virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& d…
|
/frameworks/base/libs/audioflinger/ |
D | AudioMixer.h | 88 static void ditherAndClamp(int32_t* out, int32_t const *sums, size_t c); 112 static inline int32_t applyVolume(int32_t in, int32_t v) { in applyVolume() 128 int32_t volumeRL; 131 int32_t prevVolume[2]; 133 int32_t volumeInc[2]; 145 void (*hook)(track_t* t, int32_t* output, size_t numOutFrames, int32_t* temp); 162 int32_t *outputTemp; 163 int32_t *resampleTemp; 164 int32_t reserved[2]; 176 static void track__genericResample(track_t* t, int32_t* out, size_t numFrames, int32_t* temp); [all …]
|
D | AudioResampler.cpp | 38 AudioResamplerOrder1(int bitDepth, int inChannelCount, int32_t sampleRate) : in AudioResamplerOrder1() 41 virtual void resample(int32_t* out, size_t outFrameCount, 51 void resampleMono16(int32_t* out, size_t outFrameCount, 53 void resampleStereo16(int32_t* out, size_t outFrameCount, 56 void AsmMono16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx, 57 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr, 59 void AsmStereo16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx, 60 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr, 64 static inline int32_t Interp(int32_t x0, int32_t x1, uint32_t f) { in Interp() 65 return x0 + (((x1 - x0) * (int32_t)(f >> kPreInterpShift)) >> kNumInterpBits); in Interp() [all …]
|
D | AudioResamplerSinc.h | 32 AudioResamplerSinc(int bitDepth, int inChannelCount, int32_t sampleRate); 36 virtual void resample(int32_t* out, size_t outFrameCount, 42 void resample(int32_t* out, size_t outFrameCount, 47 int32_t& l, int32_t& r, uint32_t phase, int16_t const *samples); 51 int32_t& l, int32_t& r, 52 int32_t const* coefs, int16_t lerp, int16_t const* samples); 62 int32_t const * mFirCoefs; 63 static const int32_t mFirCoefsDown[]; 64 static const int32_t mFirCoefsUp[]; 67 static const int32_t RESAMPLE_FIR_NUM_COEF = 8; [all …]
|
D | AudioMixer.cpp | 34 static inline int16_t clamp16(int32_t sample) in clamp16() 211 int32_t d = (value<<16) - track.prevVolume[name-VOLUME0]; in setParameter() 212 int32_t volInc = d / int32_t(mState.frameCount); in setParameter() 343 state->outputTemp = new int32_t[MAX_NUM_CHANNELS * state->frameCount]; in process__validate() 346 state->resampleTemp = new int32_t[MAX_NUM_CHANNELS * state->frameCount]; in process__validate() 402 int32_t mulAdd(int16_t in, int16_t v, int32_t a) in mulAdd() 405 int32_t out; in mulAdd() 412 return a + in * int32_t(v); in mulAdd() 417 int32_t mul(int16_t in, int16_t v) in mul() 420 int32_t out; in mul() [all …]
|
D | AudioResampler.h | 45 int32_t sampleRate, int quality=DEFAULT); 50 virtual void setSampleRate(int32_t inSampleRate); 53 virtual void resample(int32_t* out, size_t outFrameCount, 67 AudioResampler(int bitDepth, int inChannelCount, int32_t sampleRate); 73 int32_t mBitDepth; 74 int32_t mChannelCount; 75 int32_t mSampleRate; 76 int32_t mInSampleRate; 85 int32_t mPhaseIncrement;
|
D | AudioResamplerSinc.cpp | 30 const int32_t AudioResamplerSinc::mFirCoefsUp[] = { 48 const int32_t AudioResamplerSinc::mFirCoefsDown[] = { 63 int32_t mulRL(int left, int32_t in, uint32_t vRL) in mulRL() 66 int32_t out; in mulRL() 89 int32_t mulAdd(int16_t in, int32_t v, int32_t a) in mulAdd() 92 int32_t out; in mulAdd() 106 int32_t mulAddRL(int left, uint32_t inRL, int32_t v, int32_t a) in mulAddRL() 109 int32_t out; in mulAddRL() 136 int inChannelCount, int32_t sampleRate) in AudioResamplerSinc() 172 void AudioResamplerSinc::resample(int32_t* out, size_t outFrameCount, in resample() [all …]
|
/frameworks/base/media/libdrm/mobile1/include/xml/ |
D | xml_tinyParser.h | 67 extern int32_t xml_errno; 76 uint8_t **value, int32_t *valueLen); 78 uint8_t *XML_DOM_getValue(uint8_t *buffer, uint8_t **pValue, int32_t *valueLen); 79 uint8_t *XML_DOM_getAttr(uint8_t *buffer, uint8_t **pName, int32_t *nameLen, 80 uint8_t **pValue, int32_t *valueLen); 83 int32_t *nodenameLen); 85 uint8_t *XML_DOM_getTag(uint8_t *buffer, int32_t *tagLen, int32_t *tagType); 111 int32_t strTableLen; 116 int32_t depth; 119 typedef int32_t XML_BOOL; [all …]
|
/frameworks/base/include/binder/ |
D | IPCThreadState.h | 54 status_t transact(int32_t handle, 58 void incStrongHandle(int32_t handle); 59 void decStrongHandle(int32_t handle); 60 void incWeakHandle(int32_t handle); 61 void decWeakHandle(int32_t handle); 62 status_t attemptIncStrongHandle(int32_t handle); 63 static void expungeHandle(int32_t handle, IBinder* binder); 64 status_t requestDeathNotification( int32_t handle, 66 status_t clearDeathNotification( int32_t handle, 79 status_t writeTransactionData(int32_t cmd, [all …]
|
/frameworks/base/libs/binder/ |
D | IPCThreadState.cpp | 168 static const int32_t N = sizeof(kReturnStrings)/sizeof(kReturnStrings[0]); in printReturnCommand() 170 const int32_t* cmd = (const int32_t*)_cmd; in printReturnCommand() 171 int32_t code = *cmd++; in printReturnCommand() 185 cmd = (const int32_t *)printBinderTransactionData(out, cmd); in printReturnCommand() 190 const int32_t res = *cmd++; in printReturnCommand() 198 const int32_t b = *cmd++; in printReturnCommand() 199 const int32_t c = *cmd++; in printReturnCommand() 204 const int32_t p = *cmd++; in printReturnCommand() 205 const int32_t b = *cmd++; in printReturnCommand() 206 const int32_t c = *cmd++; in printReturnCommand() [all …]
|
/frameworks/base/libs/ui/ |
D | KeyLayoutMap.h | 16 status_t map(int32_t scancode, int32_t *keycode, uint32_t *flags) const; 17 status_t findScancodes(int32_t keycode, Vector<int32_t>* outScancodes) const; 21 int32_t keycode; 26 KeyedVector<int32_t,Key> m_keys;
|
D | ICameraClient.cpp | 42 void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) in notifyCallback() 54 void dataCallback(int32_t msgType, const sp<IMemory>& imageData) in dataCallback() 65 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) in dataCallbackTimestamp() 88 int32_t msgType = data.readInt32(); in onTransact() 89 int32_t ext1 = data.readInt32(); in onTransact() 90 int32_t ext2 = data.readInt32(); in onTransact() 97 int32_t msgType = data.readInt32(); in onTransact() 106 int32_t msgType = data.readInt32(); in onTransact()
|