/frameworks/av/media/libaaudio/src/binding/ |
D | AAudioStreamConfiguration.cpp | 34 AAudioStreamConfiguration::AAudioStreamConfiguration(const StreamParameters& parcelable) { in AAudioStreamConfiguration() argument 35 setChannelMask(parcelable.channelMask); in AAudioStreamConfiguration() 36 setSampleRate(parcelable.sampleRate); in AAudioStreamConfiguration() 37 setDeviceId(parcelable.deviceId); in AAudioStreamConfiguration() 38 static_assert(sizeof(aaudio_sharing_mode_t) == sizeof(parcelable.sharingMode)); in AAudioStreamConfiguration() 39 setSharingMode(parcelable.sharingMode); in AAudioStreamConfiguration() 41 parcelable.audioFormat); in AAudioStreamConfiguration() 45 parcelable.hardwareAudioFormat.toString().c_str()); in AAudioStreamConfiguration() 47 static_assert(sizeof(aaudio_direction_t) == sizeof(parcelable.direction)); in AAudioStreamConfiguration() 48 setDirection(parcelable.direction); in AAudioStreamConfiguration() [all …]
|
D | RingBufferParcelable.cpp | 32 RingBufferParcelable::RingBufferParcelable(const RingBuffer& parcelable) in RingBufferParcelable() argument 33 : mReadCounterParcelable(parcelable.readCounterParcelable), in RingBufferParcelable() 34 mWriteCounterParcelable(parcelable.writeCounterParcelable), in RingBufferParcelable() 35 mDataParcelable(parcelable.dataParcelable), in RingBufferParcelable() 36 mBytesPerFrame(parcelable.bytesPerFrame), in RingBufferParcelable() 37 mFramesPerBurst(parcelable.framesPerBurst), in RingBufferParcelable() 38 mCapacityInFrames(parcelable.capacityInFrames), in RingBufferParcelable() 39 mFlags(static_cast<RingbufferFlags>(parcelable.flags)) { in RingBufferParcelable() 40 static_assert(sizeof(mFlags) == sizeof(parcelable.flags)); in RingBufferParcelable() 43 RingBuffer RingBufferParcelable::parcelable() const { in parcelable() function in RingBufferParcelable [all …]
|
D | AudioEndpointParcelable.cpp | 37 AudioEndpointParcelable::AudioEndpointParcelable(Endpoint&& parcelable) in AudioEndpointParcelable() argument 38 : mUpMessageQueueParcelable(parcelable.upMessageQueueParcelable), in AudioEndpointParcelable() 39 mDownMessageQueueParcelable(parcelable.downMessageQueueParcelable), in AudioEndpointParcelable() 40 mUpDataQueueParcelable(parcelable.upDataQueueParcelable), in AudioEndpointParcelable() 41 mDownDataQueueParcelable(parcelable.downDataQueueParcelable) { in AudioEndpointParcelable() 42 for (size_t i = 0; i < parcelable.sharedMemories.size() && i < MAX_SHARED_MEMORIES; ++i) { in AudioEndpointParcelable() 45 new(&mSharedMemories[i]) SharedMemoryParcelable(std::move(parcelable.sharedMemories[i])); in AudioEndpointParcelable() 49 AudioEndpointParcelable& AudioEndpointParcelable::operator=(Endpoint&& parcelable) { in operator =() argument 51 new(this) AudioEndpointParcelable(std::move(parcelable)); in operator =() 78 Endpoint AudioEndpointParcelable::parcelable()&& { in parcelable() function in AudioEndpointParcelable [all …]
|
D | AAudioStreamRequest.cpp | 32 AAudioStreamRequest::AAudioStreamRequest(const StreamRequest& parcelable) : in AAudioStreamRequest() argument 33 mConfiguration(parcelable.params), in AAudioStreamRequest() 34 mAttributionSource(parcelable.attributionSource), in AAudioStreamRequest() 35 mSharingModeMatchRequired(parcelable.sharingModeMatchRequired), in AAudioStreamRequest() 36 mInService(parcelable.inService) { in AAudioStreamRequest() 39 StreamRequest AAudioStreamRequest::parcelable() const { in parcelable() function in AAudioStreamRequest 41 result.params = mConfiguration.parcelable(); in parcelable()
|
D | SharedRegionParcelable.cpp | 36 SharedRegionParcelable::SharedRegionParcelable(const SharedRegion& parcelable) in SharedRegionParcelable() argument 37 : mSharedMemoryIndex(parcelable.sharedMemoryIndex), in SharedRegionParcelable() 38 mOffsetInBytes(parcelable.offsetInBytes), in SharedRegionParcelable() 39 mSizeInBytes(parcelable.sizeInBytes) {} in SharedRegionParcelable() 41 SharedRegion SharedRegionParcelable::parcelable() const { in parcelable() function in SharedRegionParcelable
|
D | AAudioStreamConfiguration.h | 36 explicit AAudioStreamConfiguration(const StreamParameters& parcelable); 38 AAudioStreamConfiguration& operator=(const StreamParameters& parcelable); 40 StreamParameters parcelable() const;
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTrigger.aidl | 19 parcelable SoundTrigger.ConfidenceLevel; 20 parcelable SoundTrigger.Keyphrase; 21 parcelable SoundTrigger.RecognitionEvent; 22 parcelable SoundTrigger.KeyphraseRecognitionEvent; 23 parcelable SoundTrigger.GenericRecognitionEvent; 24 parcelable SoundTrigger.KeyphraseRecognitionExtra; 25 parcelable SoundTrigger.KeyphraseSoundModel; 26 parcelable SoundTrigger.GenericSoundModel; 27 parcelable SoundTrigger.ModelParamRange; 28 parcelable SoundTrigger.ModuleProperties; [all …]
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.aidl | 19 parcelable ActivityManager.MemoryInfo; 20 parcelable ActivityManager.PendingIntentInfo; 21 parcelable ActivityManager.ProcessErrorStateInfo; 22 parcelable ActivityManager.RecentTaskInfo; 23 parcelable ActivityManager.TaskDescription; 24 parcelable ActivityManager.RunningAppProcessInfo; 25 parcelable ActivityManager.RunningServiceInfo; 26 parcelable ActivityManager.RunningTaskInfo; 28 parcelable ActivityManager.TaskThumbnail;
|
D | AppOpsManager.aidl | 19 parcelable AppOpsManager.PackageOps; 20 parcelable AppOpsManager.NoteOpEventProxyInfo; 21 parcelable AppOpsManager.NoteOpEvent; 22 parcelable AppOpsManager.OpFeatureEntry; 23 parcelable AppOpsManager.OpEntry; 25 parcelable AppOpsManager.HistoricalOp; 26 parcelable AppOpsManager.HistoricalOps; 27 parcelable AppOpsManager.HistoricalPackageOps; 28 parcelable AppOpsManager.HistoricalUidOps;
|
/frameworks/av/media/libaudiofoundation/ |
D | AudioPort.cpp | 233 status_t AudioPort::writeToParcelable(media::AudioPortFw* parcelable) const { in writeToParcelable() 234 parcelable->hal.name = mName; in writeToParcelable() 235 parcelable->sys.type = VALUE_OR_RETURN_STATUS( in writeToParcelable() 237 parcelable->sys.role = VALUE_OR_RETURN_STATUS( in writeToParcelable() 241 parcelable->hal.profiles = aidlProfiles.first; in writeToParcelable() 242 parcelable->sys.profiles = aidlProfiles.second; in writeToParcelable() 243 parcelable->hal.flags = VALUE_OR_RETURN_STATUS( in writeToParcelable() 245 parcelable->hal.extraAudioDescriptors = mExtraAudioDescriptors; in writeToParcelable() 247 parcelable->hal.gains = aidlGains.first; in writeToParcelable() 248 parcelable->sys.gains = aidlGains.second; in writeToParcelable() [all …]
|
D | DeviceDescriptorBase.cpp | 193 status_t DeviceDescriptorBase::writeToParcelable(media::AudioPortFw* parcelable) const { in writeToParcelable() 194 AudioPort::writeToParcelable(parcelable); in writeToParcelable() 195 AudioPortConfig::writeToParcelable(&parcelable->sys.activeConfig.hal, useInputChannelMask()); in writeToParcelable() 196 parcelable->hal.id = VALUE_OR_RETURN_STATUS(legacy2aidl_audio_port_handle_t_int32_t(mId)); in writeToParcelable() 197 parcelable->sys.activeConfig.hal.portId = parcelable->hal.id; in writeToParcelable() 209 UNION_SET(parcelable->hal.ext, device, deviceExt); in writeToParcelable() 211 UNION_SET(parcelable->sys.ext, device, deviceSys); in writeToParcelable() 215 status_t DeviceDescriptorBase::readFromParcelable(const media::AudioPortFw& parcelable) { in readFromParcelable() argument 216 if (parcelable.sys.type != media::AudioPortType::DEVICE) { in readFromParcelable() 219 status_t status = AudioPort::readFromParcelable(parcelable) in readFromParcelable() [all …]
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/ |
D | BaseParceledListSlice.java | 76 final T parcelable = readCreator(creator, p, loader); in BaseParceledListSlice() local 78 listElementClass = parcelable.getClass(); in BaseParceledListSlice() 80 verifySameType(listElementClass, parcelable.getClass()); in BaseParceledListSlice() 83 mList.add(parcelable); in BaseParceledListSlice() 104 final T parcelable = readCreator(creator, reply, loader); in BaseParceledListSlice() local 105 verifySameType(listElementClass, parcelable.getClass()); in BaseParceledListSlice() 107 mList.add(parcelable); in BaseParceledListSlice() 164 final T parcelable = mList.get(i); in writeToParcel() local 165 verifySameType(listElementClass, parcelable.getClass()); in writeToParcel() 166 writeElement(parcelable, dest, callFlags); in writeToParcel() [all …]
|
D | ParceledListSlice.java | 56 protected void writeElement(T parcelable, Parcel dest, int callFlags) { in writeElement() argument 57 parcelable.writeToParcel(dest, callFlags); in writeElement() 61 protected void writeParcelableCreator(T parcelable, Parcel dest) { in writeParcelableCreator() argument 62 dest.writeParcelableCreator((Parcelable) parcelable); in writeParcelableCreator()
|
/frameworks/native/libs/binder/rust/src/parcel/ |
D | parcelable_holder.rs | 51 Parcelable { parcelable: Arc<dyn AnyParcelable>, name: String }, 99 ParcelableHolderData::Parcelable { parcelable: p, name: T::get_descriptor().into() }; in set_parcelable() 125 ParcelableHolderData::Parcelable { ref parcelable, ref name } => { in get_parcelable() 130 match Arc::clone(parcelable).downcast_arc::<T>() { in get_parcelable() 146 let mut parcelable = T::default(); in get_parcelable() localVariable 147 parcelable.read_from_parcel(parcel.borrowed_ref())?; in get_parcelable() 149 let parcelable = Arc::new(parcelable); in get_parcelable() localVariable 150 let result = Arc::clone(&parcelable); in get_parcelable() 151 *data = ParcelableHolderData::Parcelable { parcelable, name }; in get_parcelable() 194 let mut parcelable = ParcelableHolder::new(Default::default()); in deserialize() localVariable [all …]
|
/frameworks/base/core/java/android/os/ |
D | ParcelableHolder.java | 110 ParcelableHolder parcelable = new ParcelableHolder(); 111 parcelable.readFromParcel(parcel); 112 return parcelable; 165 T parcelable = mParcel.readParcelable(clazz.getClassLoader()); in getParcelable() local 166 if (parcelable != null && !clazz.isInstance(parcelable)) { in getParcelable() 168 "The ParcelableHolder has " + parcelable.getClass().getName() in getParcelable() 171 mParcelable = parcelable; in getParcelable() 175 return parcelable; in getParcelable()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInstaller.aidl | 19 parcelable PackageInstaller.InstallConstraints; 20 parcelable PackageInstaller.SessionParams; 21 parcelable PackageInstaller.SessionInfo; 22 parcelable PackageInstaller.PreapprovalDetails;
|
D | BaseParceledListSlice.java | 122 final T parcelable = readCreator(creator, p, loader); in readVerifyAndAddElement() local 124 listElementClass = parcelable.getClass(); in readVerifyAndAddElement() 126 verifySameType(listElementClass, parcelable.getClass()); in readVerifyAndAddElement() 128 mList.add(parcelable); in readVerifyAndAddElement() 188 final T parcelable = mList.get(i); in writeToParcel() local 189 verifySameType(listElementClass, parcelable.getClass()); in writeToParcel() 190 writeElement(parcelable, dest, callFlags); in writeToParcel() 225 final T parcelable = mList.get(i); in writeToParcel() 226 verifySameType(listElementClass, parcelable.getClass()); in writeToParcel() 227 writeElement(parcelable, reply, callFlags); in writeToParcel() [all …]
|
/frameworks/base/core/java/android/hardware/radio/ |
D | RadioManager.aidl | 20 parcelable RadioManager.BandConfig; 23 parcelable RadioManager.BandDescriptor; 26 parcelable RadioManager.ModuleProperties; 29 parcelable RadioManager.ProgramInfo;
|
/frameworks/native/libs/gui/aidl/android/gui/ |
D | DisplayModeSpecs.aidl | 20 parcelable DisplayModeSpecs { 24 parcelable RefreshRateRanges { 28 parcelable RefreshRateRange { 47 parcelable IdleScreenRefreshRateConfig {
|
D | DeviceProductInfo.aidl | 24 parcelable DeviceProductInfo { 25 parcelable ModelYear { 29 parcelable ManufactureYear { 33 parcelable ManufactureWeekAndYear {
|
/frameworks/av/media/libaudiofoundation/tests/ |
D | audiofoundation_parcelable_test.cpp | 120 media::AudioPortFw parcelable; in TEST() local 121 ASSERT_EQ(NO_ERROR, audioPort->writeToParcelable(&parcelable)); in TEST() 124 ASSERT_EQ(NO_ERROR, audioPortFromParcel->readFromParcelable(parcelable)); in TEST() 133 media::audio::common::AudioPortConfig parcelable{}; in TEST() local 134 ASSERT_EQ(NO_ERROR, audioPortConfig->writeToParcelable(&parcelable, isInput)); in TEST() 135 ASSERT_EQ(NO_ERROR, data.writeParcelable(parcelable)); in TEST() 155 media::AudioPortFw parcelable; in TEST() local 156 ASSERT_EQ(NO_ERROR, desc->writeToParcelable(&parcelable)); in TEST() 158 ASSERT_EQ(NO_ERROR, descFromParcel->readFromParcelable(parcelable)); in TEST()
|
/frameworks/base/core/java/com/android/internal/compat/ |
D | IPlatformCompat.aidl | 23 parcelable CompatibilityChangeConfig; 24 parcelable CompatibilityOverrideConfig; 25 parcelable CompatibilityOverridesByPackageConfig; 26 parcelable CompatibilityOverridesToRemoveByPackageConfig; 27 parcelable CompatibilityOverridesToRemoveConfig; 28 parcelable CompatibilityChangeInfo;
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViews.aidl | 19 parcelable RemoteViews; 20 parcelable RemoteViews.RemoteCollectionItems; 21 parcelable RemoteViews.DrawInstructions;
|
/frameworks/base/media/java/android/media/ |
D | VolumeShaper.java | 486 VolumeShaperConfiguration parcelable = toParcelable(); in writeToParcel() local 487 parcelable.writeToParcel(dest, flags); in writeToParcel() 492 VolumeShaperConfiguration parcelable = new VolumeShaperConfiguration(); in toParcelable() local 493 parcelable.type = typeToAidl(mType); in toParcelable() 494 parcelable.id = mId; in toParcelable() 496 parcelable.optionFlags = optionFlagsToAidl(mOptionFlags); in toParcelable() 497 parcelable.durationMs = mDurationMs; in toParcelable() 498 parcelable.interpolatorConfig = toInterpolatorParcelable(); in toParcelable() 500 return parcelable; in toParcelable() 504 InterpolatorConfig parcelable = new InterpolatorConfig(); in toInterpolatorParcelable() local [all …]
|
/frameworks/base/core/java/android/window/ |
D | ScreenCapture.aidl | 20 parcelable ScreenCapture.CaptureArgs; 23 parcelable ScreenCapture.ScreenshotHardwareBuffer; 26 parcelable ScreenCapture.ScreenCaptureListener;
|