Lines Matching refs:binder

27 use aidl_test_interface::binder::{
46 fn GetName(&self) -> binder::Result<String> { in GetName()
56 fn RealName(&self) -> binder::Result<String> { in RealName()
67 fn RealName(&self) -> binder::Result<String> { in RealName()
74 service_map: Mutex<HashMap<String, binder::Strong<dyn INamedCallback::INamedCallback>>>,
81 fn $repeat_name(&self, token: $type) -> binder::Result<$type> {
93 ) -> binder::Result<Vec<$type>> {
113 ) -> binder::Result<Option<Vec<$type>>> {
123 fn UnimplementedMethod(&self, _: i32) -> binder::Result<i32> { in UnimplementedMethod()
125 Err(binder::StatusCode::UNKNOWN_TRANSACTION.into()) in UnimplementedMethod()
128 fn TestOneway(&self) -> binder::Result<()> { in TestOneway()
129 Err(binder::StatusCode::UNKNOWN_ERROR.into()) in TestOneway()
132 fn Deprecated(&self) -> binder::Result<()> { in Deprecated()
149 fn RepeatString(&self, input: &str) -> binder::Result<String> { in RepeatString()
153 fn RepeatUtf8CppString(&self, input: &str) -> binder::Result<String> { in RepeatUtf8CppString()
160 ) -> binder::Result<binder::Strong<dyn INamedCallback::INamedCallback>> { in GetOtherTestService()
171 service: &binder::Strong<dyn INamedCallback::INamedCallback>, in VerifyName()
173 ) -> binder::Result<bool> { in VerifyName()
180 ) -> binder::Result<ParcelFileDescriptor> { in RepeatParcelFileDescriptor()
188 ) -> binder::Result<Vec<ParcelFileDescriptor>> { in ReverseParcelFileDescriptorArray()
194 fn ThrowServiceException(&self, code: i32) -> binder::Result<()> { in ThrowServiceException()
195 Err(binder::Status::new_service_specific_error(code, None)) in ThrowServiceException()
204 fn RepeatNullableString(&self, input: Option<&str>) -> binder::Result<Option<String>> { in RepeatNullableString()
208 fn RepeatNullableUtf8CppString(&self, input: Option<&str>) -> binder::Result<Option<String>> { in RepeatNullableUtf8CppString()
215 ) -> binder::Result<Option<StructuredParcelable::StructuredParcelable>> { in RepeatNullableParcelable()
219 fn TakesAnIBinder(&self, _: &SpIBinder) -> binder::Result<()> { in TakesAnIBinder()
223 fn TakesANullableIBinder(&self, _: Option<&SpIBinder>) -> binder::Result<()> { in TakesANullableIBinder()
231 ) -> binder::Result<Option<Vec<Option<String>>>> { in ReverseNullableUtf8CppString()
246 ) -> binder::Result<Option<Vec<Option<String>>>> { in ReverseUtf8CppStringList()
253 ) -> binder::Result<Option<binder::Strong<dyn INamedCallback::INamedCallback>>> { in GetCallback()
264 ) -> binder::Result<()> { in FillOutStructuredParcelable()
292 fn GetOldNameInterface(&self) -> binder::Result<binder::Strong<dyn IOldName::IOldName>> { in GetOldNameInterface()
299 fn GetNewNameInterface(&self) -> binder::Result<binder::Strong<dyn INewName::INewName>> { in GetNewNameInterface()
306 fn GetCppJavaTests(&self) -> binder::Result<Option<SpIBinder>> { in GetCppJavaTests()
310 fn getBackendType(&self) -> binder::Result<BackendType> { in getBackendType()
320 fn originalApi(&self) -> binder::Result<()> { in originalApi()
323 fn acceptUnionAndReturnString(&self, u: &BazUnion) -> binder::Result<String> { in acceptUnionAndReturnString()
328 fn returnsLengthOfFooArray(&self, foos: &[Foo]) -> binder::Result<i32> { in returnsLengthOfFooArray()
331 …self, _in_foo: &Foo, _inout_foo: &mut Foo, _out_foo: &mut Foo, value: i32) -> binder::Result<i32> { in ignoreParcelablesAndRepeatInt()
337 binder::ProcessState::set_thread_pool_max_thread_count(0); in main()
338 binder::ProcessState::start_thread_pool(); in main()
342 binder::add_service(service_name, service.as_binder()).expect("Could not register service"); in main()
346 binder::add_service(versioned_service_name, versioned_service.as_binder()) in main()
349 binder::ProcessState::join_thread_pool(); in main()