/frameworks/base/libs/hwui/ |
D | Matrix.cpp | 46 data[kScaleX] = 1.0f; in loadIdentity() 47 data[kSkewY] = 0.0f; in loadIdentity() 48 data[2] = 0.0f; in loadIdentity() 49 data[kPerspective0] = 0.0f; in loadIdentity() 51 data[kSkewX] = 0.0f; in loadIdentity() 52 data[kScaleY] = 1.0f; in loadIdentity() 53 data[6] = 0.0f; in loadIdentity() 54 data[kPerspective1] = 0.0f; in loadIdentity() 56 data[8] = 0.0f; in loadIdentity() 57 data[9] = 0.0f; in loadIdentity() [all …]
|
/frameworks/av/drm/common/ |
D | IDrmManagerService.cpp | 42 const sp<DecryptHandle>& handle, Parcel* data) { in writeDecryptHandleToParcelData() argument 43 data->writeInt32(handle->decryptId); in writeDecryptHandleToParcelData() 44 data->writeString8(handle->mimeType); in writeDecryptHandleToParcelData() 45 data->writeInt32(handle->decryptApiType); in writeDecryptHandleToParcelData() 46 data->writeInt32(handle->status); in writeDecryptHandleToParcelData() 49 data->writeInt32(size); in writeDecryptHandleToParcelData() 51 data->writeInt32(handle->copyControlVector.keyAt(i)); in writeDecryptHandleToParcelData() 52 data->writeInt32(handle->copyControlVector.valueAt(i)); in writeDecryptHandleToParcelData() 56 data->writeInt32(size); in writeDecryptHandleToParcelData() 58 data->writeString8(handle->extendedData.keyAt(i)); in writeDecryptHandleToParcelData() [all …]
|
/frameworks/native/libs/binder/ |
D | IBatteryStats.cpp | 38 Parcel data, reply; in noteStartSensor() local 39 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteStartSensor() 40 data.writeInt32(uid); in noteStartSensor() 41 data.writeInt32(sensor); in noteStartSensor() 42 remote()->transact(NOTE_START_SENSOR_TRANSACTION, data, &reply); in noteStartSensor() 46 Parcel data, reply; in noteStopSensor() local 47 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteStopSensor() 48 data.writeInt32(uid); in noteStopSensor() 49 data.writeInt32(sensor); in noteStopSensor() 50 remote()->transact(NOTE_STOP_SENSOR_TRANSACTION, data, &reply); in noteStopSensor() [all …]
|
D | IAppOpsService.cpp | 40 Parcel data, reply; in checkOperation() local 41 data.writeInterfaceToken(IAppOpsService::getInterfaceDescriptor()); in checkOperation() 42 data.writeInt32(code); in checkOperation() 43 data.writeInt32(uid); in checkOperation() 44 data.writeString16(packageName); in checkOperation() 45 remote()->transact(CHECK_OPERATION_TRANSACTION, data, &reply); in checkOperation() 52 Parcel data, reply; in noteOperation() local 53 data.writeInterfaceToken(IAppOpsService::getInterfaceDescriptor()); in noteOperation() 54 data.writeInt32(code); in noteOperation() 55 data.writeInt32(uid); in noteOperation() [all …]
|
/frameworks/av/media/libaudioclient/ |
D | IAudioPolicyServiceClient.cpp | 39 inline void readAudioConfigBaseFromParcel(const Parcel& data, audio_config_base_t *config) { in readAudioConfigBaseFromParcel() argument 40 config->sample_rate = data.readUint32(); in readAudioConfigBaseFromParcel() 41 config->channel_mask = (audio_channel_mask_t) data.readInt32(); in readAudioConfigBaseFromParcel() 42 config->format = (audio_format_t) data.readInt32(); in readAudioConfigBaseFromParcel() 45 inline void writeAudioConfigBaseToParcel(Parcel& data, const audio_config_base_t *config) in writeAudioConfigBaseToParcel() argument 47 data.writeUint32(config->sample_rate); in writeAudioConfigBaseToParcel() 48 data.writeInt32((int32_t) config->channel_mask); in writeAudioConfigBaseToParcel() 49 data.writeInt32((int32_t) config->format); in writeAudioConfigBaseToParcel() 52 inline void readRecordClientInfoFromParcel(const Parcel& data, record_client_info_t *clientInfo) { in readRecordClientInfoFromParcel() argument 53 clientInfo->riid = (audio_unique_id_t) data.readInt32(); in readRecordClientInfoFromParcel() [all …]
|
D | IAudioFlinger.cpp | 109 Parcel data, reply; in createTrack() local 111 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor()); in createTrack() 117 input.writeToParcel(&data); in createTrack() 119 status_t lStatus = remote()->transact(CREATE_TRACK, data, &reply); in createTrack() 144 Parcel data, reply; in createRecord() local 146 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor()); in createRecord() 152 input.writeToParcel(&data); in createRecord() 154 status_t lStatus = remote()->transact(CREATE_RECORD, data, &reply); in createRecord() 178 Parcel data, reply; in sampleRate() local 179 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor()); in sampleRate() [all …]
|
D | IAudioPolicyService.cpp | 127 Parcel data, reply; in setDeviceConnectionState() local 128 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setDeviceConnectionState() 129 data.writeInt32(static_cast <uint32_t>(device)); in setDeviceConnectionState() 130 data.writeInt32(static_cast <uint32_t>(state)); in setDeviceConnectionState() 131 data.writeCString(device_address); in setDeviceConnectionState() 132 data.writeCString(device_name); in setDeviceConnectionState() 133 data.writeInt32(static_cast <uint32_t>(encodedFormat)); in setDeviceConnectionState() 134 remote()->transact(SET_DEVICE_CONNECTION_STATE, data, &reply); in setDeviceConnectionState() 142 Parcel data, reply; in getDeviceConnectionState() local 143 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getDeviceConnectionState() [all …]
|
D | IAudioTrack.cpp | 59 Parcel data, reply; in getCblk() local 61 data.writeInterfaceToken(IAudioTrack::getInterfaceDescriptor()); in getCblk() 62 status_t status = remote()->transact(GET_CBLK, data, &reply); in getCblk() 74 Parcel data, reply; in start() local 75 data.writeInterfaceToken(IAudioTrack::getInterfaceDescriptor()); in start() 76 status_t status = remote()->transact(START, data, &reply); in start() 87 Parcel data, reply; in stop() local 88 data.writeInterfaceToken(IAudioTrack::getInterfaceDescriptor()); in stop() 89 remote()->transact(STOP, data, &reply); in stop() 94 Parcel data, reply; in flush() local [all …]
|
/frameworks/av/camera/ |
D | ICamera.cpp | 73 Parcel data, reply; in disconnect() local 74 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in disconnect() 75 remote()->transact(DISCONNECT, data, &reply); in disconnect() 84 Parcel data, reply; in setPreviewTarget() local 85 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setPreviewTarget() 87 data.writeStrongBinder(b); in setPreviewTarget() 88 remote()->transact(SET_PREVIEW_TARGET, data, &reply); in setPreviewTarget() 97 Parcel data, reply; in setPreviewCallbackFlag() local 98 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setPreviewCallbackFlag() 99 data.writeInt32(flag); in setPreviewCallbackFlag() [all …]
|
/frameworks/av/media/libmedia/ |
D | IMediaRecorder.cpp | 84 Parcel data, reply; in setCamera() local 85 data.writeInterfaceToken(IMediaRecorder::getInterfaceDescriptor()); in setCamera() 86 data.writeStrongBinder(IInterface::asBinder(camera)); in setCamera() 87 data.writeStrongBinder(IInterface::asBinder(proxy)); in setCamera() 88 remote()->transact(SET_CAMERA, data, &reply); in setCamera() 95 Parcel data, reply; in setInputSurface() local 96 data.writeInterfaceToken(IMediaRecorder::getInterfaceDescriptor()); in setInputSurface() 97 surface->writeToParcel(&data); in setInputSurface() 98 remote()->transact(SET_INPUT_SURFACE, data, &reply); in setInputSurface() 105 Parcel data, reply; in querySurfaceMediaSource() local [all …]
|
D | IMediaPlayer.cpp | 94 static void writeVector(Parcel& data, Vector<uint8_t> const& vector) { in writeVector() argument 95 data.writeUint32(vector.size()); in writeVector() 96 data.write(vector.array(), vector.size()); in writeVector() 110 Parcel data, reply; in disconnect() local 111 data.writeInterfaceToken(IMediaPlayer::getInterfaceDescriptor()); in disconnect() 112 remote()->transact(DISCONNECT, data, &reply); in disconnect() 120 Parcel data, reply; in setDataSource() local 121 data.writeInterfaceToken(IMediaPlayer::getInterfaceDescriptor()); in setDataSource() 122 data.writeInt32(httpService != NULL); in setDataSource() 124 data.writeStrongBinder(IInterface::asBinder(httpService)); in setDataSource() [all …]
|
D | IMediaMetadataRetriever.cpp | 45 static void sendSchedPolicy(Parcel& data) in sendSchedPolicy() argument 49 data.writeInt32(policy); in sendSchedPolicy() 52 static void setSchedPolicy(const Parcel& data) in setSchedPolicy() argument 54 SchedPolicy policy = (SchedPolicy) data.readInt32(); in setSchedPolicy() 90 Parcel data, reply; in disconnect() local 91 data.writeInterfaceToken(IMediaMetadataRetriever::getInterfaceDescriptor()); in disconnect() 92 remote()->transact(DISCONNECT, data, &reply); in disconnect() 100 Parcel data, reply; in setDataSource() local 101 data.writeInterfaceToken(IMediaMetadataRetriever::getInterfaceDescriptor()); in setDataSource() 102 data.writeInt32(httpService != NULL); in setDataSource() [all …]
|
D | IOMX.cpp | 71 Parcel data, reply; in freeNode() local 72 data.writeInterfaceToken(IOMXNode::getInterfaceDescriptor()); in freeNode() 73 remote()->transact(FREE_NODE, data, &reply); in freeNode() 80 Parcel data, reply; in sendCommand() local 81 data.writeInterfaceToken(IOMXNode::getInterfaceDescriptor()); in sendCommand() 82 data.writeInt32(cmd); in sendCommand() 83 data.writeInt32(param); in sendCommand() 84 remote()->transact(SEND_COMMAND, data, &reply); in sendCommand() 92 Parcel data, reply; in getParameter() local 93 data.writeInterfaceToken(IOMXNode::getInterfaceDescriptor()); in getParameter() [all …]
|
D | IStreamSource.cpp | 48 Parcel data, reply; in setListener() local 49 data.writeInterfaceToken(IStreamSource::getInterfaceDescriptor()); in setListener() 50 data.writeStrongBinder(IInterface::asBinder(listener)); in setListener() 51 remote()->transact(SET_LISTENER, data, &reply); in setListener() 55 Parcel data, reply; in setBuffers() local 56 data.writeInterfaceToken(IStreamSource::getInterfaceDescriptor()); in setBuffers() 57 data.writeInt64(static_cast<int64_t>(buffers.size())); in setBuffers() 59 data.writeStrongBinder(IInterface::asBinder(buffers.itemAt(i))); in setBuffers() 61 remote()->transact(SET_BUFFERS, data, &reply); in setBuffers() 65 Parcel data, reply; in onBufferAvailable() local [all …]
|
/frameworks/native/services/powermanager/ |
D | IPowerManager.cpp | 41 Parcel data, reply; in acquireWakeLock() local 42 data.writeInterfaceToken(IPowerManager::getInterfaceDescriptor()); in acquireWakeLock() 44 data.writeStrongBinder(lock); in acquireWakeLock() 45 data.writeInt32(flags); in acquireWakeLock() 46 data.writeString16(tag); in acquireWakeLock() 47 data.writeString16(packageName); in acquireWakeLock() 48 data.writeInt32(0); // no WorkSource in acquireWakeLock() 49 data.writeString16(NULL, 0); // no history tag in acquireWakeLock() 50 return remote()->transact(ACQUIRE_WAKE_LOCK, data, &reply, in acquireWakeLock() 57 Parcel data, reply; in acquireWakeLockWithUid() local [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(IInterface::asBinder(listener)); 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(IInterface::asBinder(listener)); 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/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 String callingPkg = data.readString(); in onTransact() 86 Uri url = Uri.CREATOR.createFromParcel(data); in onTransact() 89 int num = data.readInt(); in onTransact() 94 projection[i] = data.readString(); in onTransact() 98 Bundle queryArgs = data.readBundle(); in onTransact() 100 data.readStrongBinder()); in onTransact() 102 data.readStrongBinder()); in onTransact() 138 data.enforceInterface(IContentProvider.descriptor); in onTransact() [all …]
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyLogger.java | 327 final Data data = getNextSlot(); in uidStateChanged() local 328 if (data == null) return; in uidStateChanged() 330 data.reset(); in uidStateChanged() 331 data.type = EVENT_UID_STATE_CHANGED; in uidStateChanged() 332 data.ifield1 = uid; in uidStateChanged() 333 data.ifield2 = procState; in uidStateChanged() 334 data.lfield1 = procStateSeq; in uidStateChanged() 335 data.timeStamp = System.currentTimeMillis(); in uidStateChanged() 339 final Data data = getNextSlot(); in event() local 340 if (data == null) return; in event() [all …]
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | DimensionInCondition_e2e_simple_cond_test.cpp | 160 auto data = metrics.data(0); in TEST() local 161 EXPECT_EQ(data.dimensions_in_what().field(), in TEST() 163 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), in TEST() 165 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str(), in TEST() 167 ValidateAttributionUidAndTagDimension(data.dimensions_in_condition(), in TEST() 169 EXPECT_EQ(data.bucket_info_size(), 1); in TEST() 170 EXPECT_EQ(data.bucket_info(0).duration_nanos(), 40); in TEST() 171 EXPECT_EQ(data.bucket_info(0).start_bucket_elapsed_nanos(), in TEST() 173 EXPECT_EQ(data.bucket_info(0).end_bucket_elapsed_nanos(), in TEST() 176 data = metrics.data(1); in TEST() [all …]
|
D | DimensionInCondition_e2e_combination_AND_cond_test.cpp | 229 auto data = metrics.data(0); in TEST() local 230 EXPECT_EQ(data.dimensions_in_what().field(), in TEST() 232 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), in TEST() 234 EXPECT_EQ(data.dimensions_in_what().value_tuple(). in TEST() 238 data.dimensions_in_condition(), in TEST() 240 EXPECT_EQ(data.bucket_info_size(), 1); in TEST() 241 EXPECT_EQ(data.bucket_info(0).duration_nanos(), 40 - 11); in TEST() 242 EXPECT_EQ(data.bucket_info(0).start_bucket_elapsed_nanos(), in TEST() 244 EXPECT_EQ(data.bucket_info(0).end_bucket_elapsed_nanos(), in TEST() 248 data = metrics.data(1); in TEST() [all …]
|
/frameworks/av/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 …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | FrameParser.java | 70 private static short getUnsignedByte(ByteBuffer data) { in getUnsignedByte() argument 71 return (short) (data.get() & 0x00ff); in getUnsignedByte() 77 private static int getUnsignedShort(ByteBuffer data) { in getUnsignedShort() argument 78 return (data.getShort() & 0xffff); in getUnsignedShort() 88 private void parseEthernetFrame(ByteBuffer data) { in parseEthernetFrame() argument 90 data.position(data.position() + ETHERNET_SRC_MAC_ADDR_LEN + ETHERNET_DST_MAC_ADDR_LEN); in parseEthernetFrame() 91 short etherType = data.getShort(); in parseEthernetFrame() 94 parseIpv4Packet(data); in parseEthernetFrame() 97 parseArpPacket(data); in parseEthernetFrame() 100 parseIpv6Packet(data); in parseEthernetFrame() [all …]
|
/frameworks/native/services/audiomanager/ |
D | IAudioManager.cpp | 40 Parcel data, reply; in trackPlayer() local 41 data.writeInterfaceToken(IAudioManager::getInterfaceDescriptor()); in trackPlayer() 42 data.writeInt32(1); // non-null PlayerIdCard parcelable in trackPlayer() 44 data.writeInt32((int32_t) playerType); in trackPlayer() 46 data.writeInt32((int32_t) usage); in trackPlayer() 47 data.writeInt32((int32_t) content); in trackPlayer() 48 data.writeInt32(0 /*source: none here, this is a player*/); in trackPlayer() 49 data.writeInt32(0 /*flags*/); in trackPlayer() 51 data.writeInt32(1 /*FLATTEN_TAGS*/); in trackPlayer() 52 data.writeString16(String16("")); // no tags in trackPlayer() [all …]
|
/frameworks/minikin/tests/ |
D | Android.bp | 2 name: "minikin-test-data", 4 "data/Arabic.ttf", 5 "data/Ascii.ttf", 6 "data/Bold.ttf", 7 "data/BoldItalic.ttf", 8 "data/Cherokee.ttf", 9 "data/ColorEmojiFont.ttf", 10 "data/ColorTextMixedEmojiFont.ttf", 11 "data/CustomExtent.ttf", 12 "data/Emoji.ttf", [all …]
|
/frameworks/av/drm/libmediadrm/ |
D | IDrm.cpp | 76 Parcel data, reply; in initCheck() local 77 data.writeInterfaceToken(IDrm::getInterfaceDescriptor()); in initCheck() 78 status_t status = remote()->transact(INIT_CHECK, data, &reply); in initCheck() 88 Parcel data, reply; in isCryptoSchemeSupported() local 89 data.writeInterfaceToken(IDrm::getInterfaceDescriptor()); in isCryptoSchemeSupported() 90 data.write(uuid, 16); in isCryptoSchemeSupported() 91 data.writeString8(mimeType); in isCryptoSchemeSupported() 92 data.writeInt32(level); in isCryptoSchemeSupported() 94 status_t status = remote()->transact(IS_CRYPTO_SUPPORTED, data, &reply); in isCryptoSchemeSupported() 106 Parcel data, reply; in createPlugin() local [all …]
|