/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_transform.c | 94 u32 h264bsdProcessBlock(i32 *data, u32 qp, u32 skip, u32 coeffMap) in h264bsdProcessBlock() argument 113 data[0] = (data[0] * tmp1); in h264bsdProcessBlock() 120 d1 = data[1]; in h264bsdProcessBlock() 121 d2 = data[14]; in h264bsdProcessBlock() 122 d3 = data[15]; in h264bsdProcessBlock() 123 data[1] = (d1 * tmp2); in h264bsdProcessBlock() 124 data[14] = (d2 * tmp2); in h264bsdProcessBlock() 125 data[15] = (d3 * tmp3); in h264bsdProcessBlock() 127 d1 = data[2]; in h264bsdProcessBlock() 128 d2 = data[5]; in h264bsdProcessBlock() [all …]
|
D | h264bsd_intra_prediction.c | 162 static void Get4x4NeighbourPels(u8 *a, u8 *l, u8 *data, u8 *above, u8 *left, 164 static void Intra16x16VerticalPrediction(u8 *data, u8 *above); 165 static void Intra16x16HorizontalPrediction(u8 *data, u8 *left); 166 static void Intra16x16DcPrediction(u8 *data, u8 *above, u8 *left, 168 static void Intra16x16PlanePrediction(u8 *data, u8 *above, u8 *left); 169 static void IntraChromaDcPrediction(u8 *data, u8 *above, u8 *left, 171 static void IntraChromaHorizontalPrediction(u8 *data, u8 *left); 172 static void IntraChromaVerticalPrediction(u8 *data, u8 *above); 173 static void IntraChromaPlanePrediction(u8 *data, u8 *above, u8 *left); 175 static void Intra4x4VerticalPrediction(u8 *data, u8 *above); [all …]
|
/frameworks/base/libs/hwui/ |
D | Matrix.cpp | 34 data[kScaleX] = 1.0f; in loadIdentity() 35 data[kSkewY] = 0.0f; in loadIdentity() 36 data[2] = 0.0f; in loadIdentity() 37 data[kPerspective0] = 0.0f; in loadIdentity() 39 data[kSkewX] = 0.0f; in loadIdentity() 40 data[kScaleY] = 1.0f; in loadIdentity() 41 data[6] = 0.0f; in loadIdentity() 42 data[kPerspective1] = 0.0f; in loadIdentity() 44 data[8] = 0.0f; in loadIdentity() 45 data[9] = 0.0f; in loadIdentity() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ApplicationThreadNative.java | 68 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument 73 data.enforceInterface(IApplicationThread.descriptor); in onTransact() 74 IBinder b = data.readStrongBinder(); in onTransact() 75 boolean finished = data.readInt() != 0; in onTransact() 76 boolean userLeaving = data.readInt() != 0; in onTransact() 77 int configChanges = data.readInt(); in onTransact() 84 data.enforceInterface(IApplicationThread.descriptor); in onTransact() 85 IBinder b = data.readStrongBinder(); in onTransact() 86 boolean show = data.readInt() != 0; in onTransact() 87 int configChanges = data.readInt(); in onTransact() [all …]
|
D | ActivityManagerNative.java | 110 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument 115 data.enforceInterface(IActivityManager.descriptor); in onTransact() 116 IBinder b = data.readStrongBinder(); in onTransact() 118 Intent intent = Intent.CREATOR.createFromParcel(data); in onTransact() 119 String resolvedType = data.readString(); in onTransact() 120 Uri[] grantedUriPermissions = data.createTypedArray(Uri.CREATOR); in onTransact() 121 int grantedMode = data.readInt(); in onTransact() 122 IBinder resultTo = data.readStrongBinder(); in onTransact() 123 String resultWho = data.readString(); in onTransact() 124 int requestCode = data.readInt(); in onTransact() [all …]
|
/frameworks/base/media/libmedia/ |
D | IAudioFlinger.cpp | 96 Parcel data, reply; in createTrack() local 98 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor()); in createTrack() 99 data.writeInt32(pid); in createTrack() 100 data.writeInt32(streamType); in createTrack() 101 data.writeInt32(sampleRate); in createTrack() 102 data.writeInt32(format); in createTrack() 103 data.writeInt32(channelMask); in createTrack() 104 data.writeInt32(frameCount); in createTrack() 105 data.writeInt32(flags); in createTrack() 106 data.writeStrongBinder(sharedBuffer->asBinder()); in createTrack() [all …]
|
D | IAudioPolicyService.cpp | 73 Parcel data, reply; in setDeviceConnectionState() local 74 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setDeviceConnectionState() 75 data.writeInt32(static_cast <uint32_t>(device)); in setDeviceConnectionState() 76 data.writeInt32(static_cast <uint32_t>(state)); in setDeviceConnectionState() 77 data.writeCString(device_address); in setDeviceConnectionState() 78 remote()->transact(SET_DEVICE_CONNECTION_STATE, data, &reply); in setDeviceConnectionState() 86 Parcel data, reply; in getDeviceConnectionState() local 87 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getDeviceConnectionState() 88 data.writeInt32(static_cast <uint32_t>(device)); in getDeviceConnectionState() 89 data.writeCString(device_address); in getDeviceConnectionState() [all …]
|
D | IMediaPlayer.cpp | 72 Parcel data, reply; in disconnect() local 73 data.writeInterfaceToken(IMediaPlayer::getInterfaceDescriptor()); in disconnect() 74 remote()->transact(DISCONNECT, data, &reply); in disconnect() 80 Parcel data, reply; in setDataSource() local 81 data.writeInterfaceToken(IMediaPlayer::getInterfaceDescriptor()); in setDataSource() 82 data.writeCString(url); in setDataSource() 84 data.writeInt32(0); in setDataSource() 87 data.writeInt32(headers->size()); in setDataSource() 89 data.writeString8(headers->keyAt(i)); in setDataSource() 90 data.writeString8(headers->valueAt(i)); in setDataSource() [all …]
|
D | IOMX.cpp | 63 Parcel data, reply; in livesLocally() local 64 data.writeInterfaceToken(IOMX::getInterfaceDescriptor()); in livesLocally() 65 data.writeInt32(pid); in livesLocally() 66 remote()->transact(LIVES_LOCALLY, data, &reply); in livesLocally() 74 Parcel data, reply; in listNodes() local 75 data.writeInterfaceToken(IOMX::getInterfaceDescriptor()); in listNodes() 76 remote()->transact(LIST_NODES, data, &reply); in listNodes() 95 Parcel data, reply; in allocateNode() local 96 data.writeInterfaceToken(IOMX::getInterfaceDescriptor()); in allocateNode() 97 data.writeCString(name); in allocateNode() [all …]
|
D | IMediaRecorder.cpp | 68 Parcel data, reply; in setCamera() local 69 data.writeInterfaceToken(IMediaRecorder::getInterfaceDescriptor()); in setCamera() 70 data.writeStrongBinder(camera->asBinder()); in setCamera() 71 data.writeStrongBinder(proxy->asBinder()); in setCamera() 72 remote()->transact(SET_CAMERA, data, &reply); in setCamera() 79 Parcel data, reply; in querySurfaceMediaSource() local 80 data.writeInterfaceToken(IMediaRecorder::getInterfaceDescriptor()); in querySurfaceMediaSource() 81 remote()->transact(QUERY_SURFACE_MEDIASOURCE, data, &reply); in querySurfaceMediaSource() 92 Parcel data, reply; in setPreviewSurface() local 93 data.writeInterfaceToken(IMediaRecorder::getInterfaceDescriptor()); in setPreviewSurface() [all …]
|
D | IStreamSource.cpp | 52 Parcel data, reply; in setListener() local 53 data.writeInterfaceToken(IStreamSource::getInterfaceDescriptor()); in setListener() 54 data.writeStrongBinder(listener->asBinder()); in setListener() 55 remote()->transact(SET_LISTENER, data, &reply); in setListener() 59 Parcel data, reply; in setBuffers() local 60 data.writeInterfaceToken(IStreamSource::getInterfaceDescriptor()); in setBuffers() 61 data.writeInt32(static_cast<int32_t>(buffers.size())); in setBuffers() 63 data.writeStrongBinder(buffers.itemAt(i)->asBinder()); in setBuffers() 65 remote()->transact(SET_BUFFERS, data, &reply); in setBuffers() 69 Parcel data, reply; in onBufferAvailable() local [all …]
|
D | IMediaMetadataRetriever.cpp | 40 static void sendSchedPolicy(Parcel& data) in sendSchedPolicy() argument 44 data.writeInt32(policy); in sendSchedPolicy() 47 static void setSchedPolicy(const Parcel& data) in setSchedPolicy() argument 49 SchedPolicy policy = (SchedPolicy) data.readInt32(); in setSchedPolicy() 81 Parcel data, reply; in disconnect() local 82 data.writeInterfaceToken(IMediaMetadataRetriever::getInterfaceDescriptor()); in disconnect() 83 remote()->transact(DISCONNECT, data, &reply); in disconnect() 89 Parcel data, reply; in setDataSource() local 90 data.writeInterfaceToken(IMediaMetadataRetriever::getInterfaceDescriptor()); in setDataSource() 91 data.writeCString(srcUrl); in setDataSource() [all …]
|
D | IMediaPlayerService.cpp | 53 Parcel data, reply; in createMetadataRetriever() local 54 data.writeInterfaceToken(IMediaPlayerService::getInterfaceDescriptor()); in createMetadataRetriever() 55 data.writeInt32(pid); in createMetadataRetriever() 56 remote()->transact(CREATE_METADATA_RETRIEVER, data, &reply); in createMetadataRetriever() 62 Parcel data, reply; in create() local 63 data.writeInterfaceToken(IMediaPlayerService::getInterfaceDescriptor()); in create() 64 data.writeInt32(pid); in create() 65 data.writeStrongBinder(client->asBinder()); in create() 66 data.writeInt32(audioSessionId); in create() 68 remote()->transact(CREATE, data, &reply); in create() [all …]
|
D | IAudioTrack.cpp | 51 Parcel data, reply; in start() local 52 data.writeInterfaceToken(IAudioTrack::getInterfaceDescriptor()); in start() 53 status_t status = remote()->transact(START, data, &reply); in start() 64 Parcel data, reply; in stop() local 65 data.writeInterfaceToken(IAudioTrack::getInterfaceDescriptor()); in stop() 66 remote()->transact(STOP, data, &reply); in stop() 71 Parcel data, reply; in flush() local 72 data.writeInterfaceToken(IAudioTrack::getInterfaceDescriptor()); in flush() 73 remote()->transact(FLUSH, data, &reply); in flush() 78 Parcel data, reply; in mute() local [all …]
|
/frameworks/base/drm/common/ |
D | IDrmManagerService.cpp | 41 const DecryptHandle* handle, Parcel* data) { in writeDecryptHandleToParcelData() argument 42 data->writeInt32(handle->decryptId); in writeDecryptHandleToParcelData() 43 data->writeString8(handle->mimeType); in writeDecryptHandleToParcelData() 44 data->writeInt32(handle->decryptApiType); in writeDecryptHandleToParcelData() 45 data->writeInt32(handle->status); in writeDecryptHandleToParcelData() 48 data->writeInt32(size); in writeDecryptHandleToParcelData() 50 data->writeInt32(handle->copyControlVector.keyAt(i)); in writeDecryptHandleToParcelData() 51 data->writeInt32(handle->copyControlVector.valueAt(i)); in writeDecryptHandleToParcelData() 55 data->writeInt32(size); in writeDecryptHandleToParcelData() 57 data->writeString8(handle->extendedData.keyAt(i)); in writeDecryptHandleToParcelData() [all …]
|
/frameworks/base/libs/camera/ |
D | ICamera.cpp | 64 Parcel data, reply; in disconnect() local 65 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in disconnect() 66 remote()->transact(DISCONNECT, data, &reply); in disconnect() 73 Parcel data, reply; in setPreviewDisplay() local 74 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setPreviewDisplay() 75 Surface::writeToParcel(surface, &data); in setPreviewDisplay() 76 remote()->transact(SET_PREVIEW_DISPLAY, data, &reply); in setPreviewDisplay() 84 Parcel data, reply; in setPreviewTexture() local 85 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setPreviewTexture() 87 data.writeStrongBinder(b); in setPreviewTexture() [all …]
|
D | ICameraClient.cpp | 45 Parcel data, reply; in notifyCallback() local 46 data.writeInterfaceToken(ICameraClient::getInterfaceDescriptor()); in notifyCallback() 47 data.writeInt32(msgType); in notifyCallback() 48 data.writeInt32(ext1); in notifyCallback() 49 data.writeInt32(ext2); in notifyCallback() 50 remote()->transact(NOTIFY_CALLBACK, data, &reply, IBinder::FLAG_ONEWAY); in notifyCallback() 58 Parcel data, reply; in dataCallback() local 59 data.writeInterfaceToken(ICameraClient::getInterfaceDescriptor()); in dataCallback() 60 data.writeInt32(msgType); in dataCallback() 61 data.writeStrongBinder(imageData->asBinder()); in dataCallback() [all …]
|
/frameworks/base/libs/storage/ |
D | IMountService.cpp | 65 Parcel data, reply; in registerListener() local 66 data.writeInterfaceToken(IMountService::getInterfaceDescriptor()); in registerListener() 67 data.writeStrongBinder(listener->asBinder()); in registerListener() 68 if (remote()->transact(TRANSACTION_registerListener, data, &reply) != NO_ERROR) { in registerListener() 81 Parcel data, reply; in unregisterListener() local 82 data.writeInterfaceToken(IMountService::getInterfaceDescriptor()); in unregisterListener() 83 data.writeStrongBinder(listener->asBinder()); in unregisterListener() 84 if (remote()->transact(TRANSACTION_unregisterListener, data, &reply) != NO_ERROR) { in unregisterListener() 97 Parcel data, reply; in isUsbMassStorageConnected() local 98 data.writeInterfaceToken(IMountService::getInterfaceDescriptor()); in isUsbMassStorageConnected() [all …]
|
/frameworks/base/media/libstagefright/rtsp/ |
D | ARTPWriter.cpp | 182 (const uint8_t *)buffer->data() + buffer->range_offset(); in StripStartcode() 313 mSocket, buffer->data(), buffer->size(), 0, in send() 326 write(fd, buffer->data(), buffer->size()); in send() 331 uint8_t *data = buffer->data() + buffer->size(); in addSR() local 333 data[0] = 0x80 | 0; in addSR() 334 data[1] = 200; // SR in addSR() 335 data[2] = 0; in addSR() 336 data[3] = 6; in addSR() 337 data[4] = mSourceID >> 24; in addSR() 338 data[5] = (mSourceID >> 16) & 0xff; in addSR() [all …]
|
D | ARTPSource.cpp | 181 uint8_t *data = buffer->data() + buffer->size(); in addFIR() local 183 data[0] = 0x80 | 4; in addFIR() 184 data[1] = 206; // PSFB in addFIR() 185 data[2] = 0; in addFIR() 186 data[3] = 4; in addFIR() 187 data[4] = kSourceID >> 24; in addFIR() 188 data[5] = (kSourceID >> 16) & 0xff; in addFIR() 189 data[6] = (kSourceID >> 8) & 0xff; in addFIR() 190 data[7] = kSourceID & 0xff; in addFIR() 192 data[8] = 0x00; // SSRC of media source (unused) in addFIR() [all …]
|
/frameworks/base/libs/gui/ |
D | ISurfaceTexture.cpp | 58 Parcel data, reply; in requestBuffer() local 59 data.writeInterfaceToken(ISurfaceTexture::getInterfaceDescriptor()); in requestBuffer() 60 data.writeInt32(bufferIdx); in requestBuffer() 61 status_t result =remote()->transact(REQUEST_BUFFER, data, &reply); in requestBuffer() 76 Parcel data, reply; in setBufferCount() local 77 data.writeInterfaceToken(ISurfaceTexture::getInterfaceDescriptor()); in setBufferCount() 78 data.writeInt32(bufferCount); in setBufferCount() 79 status_t result =remote()->transact(SET_BUFFER_COUNT, data, &reply); in setBufferCount() 89 Parcel data, reply; in dequeueBuffer() local 90 data.writeInterfaceToken(ISurfaceTexture::getInterfaceDescriptor()); in dequeueBuffer() [all …]
|
D | ISurfaceComposer.cpp | 58 Parcel data, reply; in createConnection() local 59 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in createConnection() 60 remote()->transact(BnSurfaceComposer::CREATE_CONNECTION, data, &reply); in createConnection() 67 Parcel data, reply; in createGraphicBufferAlloc() local 68 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in createGraphicBufferAlloc() 69 remote()->transact(BnSurfaceComposer::CREATE_GRAPHIC_BUFFER_ALLOC, data, &reply); in createGraphicBufferAlloc() 75 Parcel data, reply; in getCblk() local 76 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in getCblk() 77 remote()->transact(BnSurfaceComposer::GET_CBLK, data, &reply); in getCblk() 84 Parcel data, reply; in setTransactionState() local [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderNative.java | 77 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument 83 data.enforceInterface(IContentProvider.descriptor); in onTransact() 85 Uri url = Uri.CREATOR.createFromParcel(data); in onTransact() 88 int num = data.readInt(); in onTransact() 93 projection[i] = data.readString(); in onTransact() 98 String selection = data.readString(); in onTransact() 99 num = data.readInt(); in onTransact() 104 selectionArgs[i] = data.readString(); in onTransact() 108 String sortOrder = data.readString(); in onTransact() 110 data.readStrongBinder()); in onTransact() [all …]
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SimUtilsTest.java | 29 byte[] data, data2; in testBasic() 36 data = IccUtils.hexStringToBytes("981062400510444868f2"); in testBasic() 37 assertEquals("8901260450014484862", IccUtils.bcdToString(data, 0, data.length)); in testBasic() 40 assertEquals("0126045001448486", IccUtils.bcdToString(data, 1, data.length - 2)); in testBasic() 43 data = IccUtils.hexStringToBytes("98E062400510444868f2"); in testBasic() 44 assertEquals("890", IccUtils.bcdToString(data, 0, data.length)); in testBasic() 47 data = IccUtils.hexStringToBytes("98F062400510444868f2"); in testBasic() 48 assertEquals("890260450014484862", IccUtils.bcdToString(data, 0, data.length)); in testBasic() 73 data = IccUtils.hexStringToBytes("00566f696365204d61696c07918150367742f3ffffffffffff"); in testBasic() 76 assertEquals("Voice Mail", IccUtils.adnStringFieldToString(data, 1, data.length - 15)); in testBasic() [all …]
|
/frameworks/base/core/java/android/database/ |
D | BulkCursorNative.java | 57 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument 62 data.enforceInterface(IBulkCursor.descriptor); in onTransact() 63 int startPos = data.readInt(); in onTransact() 76 data.enforceInterface(IBulkCursor.descriptor); in onTransact() 84 data.enforceInterface(IBulkCursor.descriptor); in onTransact() 96 data.enforceInterface(IBulkCursor.descriptor); in onTransact() 103 data.enforceInterface(IBulkCursor.descriptor); in onTransact() 110 data.enforceInterface(IBulkCursor.descriptor); in onTransact() 112 IContentObserver.Stub.asInterface(data.readStrongBinder()); in onTransact() 121 data.enforceInterface(IBulkCursor.descriptor); in onTransact() [all …]
|