Lines Matching refs:Vec

115             assert_eq!(parcel.read::<Vec<bool>>()?, unsafe { bindings::TESTDATA_BOOL });  in on_transact()
116 assert_eq!(parcel.read::<Option<Vec<bool>>>()?, None); in on_transact()
122 reply.write(&(None as Option<Vec<bool>>))?; in on_transact()
129 assert_eq!(parcel.read::<Vec<i8>>()?, unsafe { bindings::TESTDATA_I8 }); in on_transact()
131 assert_eq!(parcel.read::<Vec<u8>>()?, unsafe { bindings::TESTDATA_U8 }); in on_transact()
132 assert_eq!(parcel.read::<Option<Vec<i8>>>()?, None); in on_transact()
141 reply.write(&(None as Option<Vec<i8>>))?; in on_transact()
148 assert_eq!(parcel.read::<Vec<u16>>()?, unsafe { bindings::TESTDATA_CHARS }); in on_transact()
149 assert_eq!(parcel.read::<Option<Vec<u16>>>()?, None); in on_transact()
156 reply.write(&(None as Option<Vec<u16>>))?; in on_transact()
163 assert_eq!(parcel.read::<Vec<i32>>()?, unsafe { bindings::TESTDATA_I32 }); in on_transact()
164 assert_eq!(parcel.read::<Option<Vec<i32>>>()?, None); in on_transact()
171 reply.write(&(None as Option<Vec<i32>>))?; in on_transact()
178 assert_eq!(parcel.read::<Vec<i64>>()?, unsafe { bindings::TESTDATA_I64 }); in on_transact()
179 assert_eq!(parcel.read::<Option<Vec<i64>>>()?, None); in on_transact()
186 reply.write(&(None as Option<Vec<i64>>))?; in on_transact()
193 assert_eq!(parcel.read::<Vec<u64>>()?, unsafe { bindings::TESTDATA_U64 }); in on_transact()
194 assert_eq!(parcel.read::<Option<Vec<u64>>>()?, None); in on_transact()
201 reply.write(&(None as Option<Vec<u64>>))?; in on_transact()
205 let floats = parcel.read::<Vec<f32>>()?; in on_transact()
209 assert_eq!(parcel.read::<Option<Vec<f32>>>()?, None); in on_transact()
214 reply.write(&(None as Option<Vec<f32>>))?; in on_transact()
218 let doubles = parcel.read::<Vec<f64>>()?; in on_transact()
222 assert_eq!(parcel.read::<Option<Vec<f64>>>()?, None); in on_transact()
227 reply.write(&(None as Option<Vec<f64>>))?; in on_transact()
234 let s: Option<Vec<Option<String>>> = parcel.read()?; in on_transact()
242 let s: Option<Vec<Option<String>>> = parcel.read()?; in on_transact()
246 let strings: Vec<Option<String>> = unsafe { in on_transact()
260 reply.write(&(None as Option<Vec<String>>))?; in on_transact()
265 let files = parcel.read::<Vec<Option<ParcelFileDescriptor>>>()?; in on_transact()
274 let ibinders = parcel.read::<Option<Vec<Option<SpIBinder>>>>()?.unwrap(); in on_transact()
278 assert!(parcel.read::<Option<Vec<Option<SpIBinder>>>>()?.is_none()); in on_transact()
284 reply.write(&(None as Option<Vec<Option<&SpIBinder>>>))?; in on_transact()