/aosp12/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/ |
H A D | ITestService.rs | 395 …let _aidl_reply = self.binder.transact(transactions::TestOneway, binder::FLAG_ONEWAY | binder::FLA… in TestOneway() 1308 _aidl_reply.write(&binder::Status::from(binder::StatusCode::OK))?; in on_transact() 1319 _aidl_reply.write(&binder::Status::from(binder::StatusCode::OK))?; in on_transact() 1334 _aidl_reply.write(&binder::Status::from(binder::StatusCode::OK))?; in on_transact() 1346 _aidl_reply.write(&binder::Status::from(binder::StatusCode::OK))?; in on_transact() 1358 _aidl_reply.write(&binder::Status::from(binder::StatusCode::OK))?; in on_transact() 1370 _aidl_reply.write(&binder::Status::from(binder::StatusCode::OK))?; in on_transact() 1382 _aidl_reply.write(&binder::Status::from(binder::StatusCode::OK))?; in on_transact() 1394 _aidl_reply.write(&binder::Status::from(binder::StatusCode::OK))?; in on_transact() 1406 _aidl_reply.write(&binder::Status::from(binder::StatusCode::OK))?; in on_transact() [all …]
|
H A D | UnionWithFd.rs | 4 Pfd(Option<binder::parcel::ParcelFileDescriptor>), 12 impl binder::parcel::Serialize for UnionWithFd { 13 fn serialize(&self, parcel: &mut binder::parcel::Parcel) -> binder::Result<()> { in serialize() 17 impl binder::parcel::SerializeArray for UnionWithFd {} 18 impl binder::parcel::SerializeOption for UnionWithFd { 19 …fn serialize_option(this: Option<&Self>, parcel: &mut binder::parcel::Parcel) -> binder::Result<()… in serialize_option() 39 impl binder::parcel::Deserialize for UnionWithFd { 40 fn deserialize(parcel: &binder::parcel::Parcel) -> binder::Result<Self> { in deserialize() 46 impl binder::parcel::DeserializeArray for UnionWithFd {} 48 fn deserialize_option(parcel: &binder::parcel::Parcel) -> binder::Result<Option<Self>> { in deserialize_option() [all …]
|
H A D | INamedCallback.rs | 3 #[allow(unused_imports)] use binder::IBinderInternal; 4 use binder::declare_binder_interface; 12 pub trait INamedCallback: binder::Interface + Send { 14 fn GetName(&self) -> binder::public_api::Result<String>; in GetName() 23 fn GetName(&self) -> binder::public_api::Result<String> { in GetName() 24 Err(binder::StatusCode::UNKNOWN_TRANSACTION.into()) in GetName() 28 pub const GetName: binder::TransactionCode = binder::FIRST_CALL_TRANSACTION + 0; 38 …let _aidl_reply = self.binder.transact(transactions::GetName, binder::FLAG_PRIVATE_LOCAL, |_aidl_d… in GetName() 56 …llback, _aidl_code: binder::TransactionCode, _aidl_data: &binder::parcel::Parcel, _aidl_reply: &mu… in on_transact() 62 _aidl_reply.write(&binder::Status::from(binder::StatusCode::OK))?; in on_transact() [all …]
|
H A D | INewName.rs | 3 #[allow(unused_imports)] use binder::IBinderInternal; 4 use binder::declare_binder_interface; 12 pub trait INewName: binder::Interface + Send { 14 fn RealName(&self) -> binder::public_api::Result<String>; in RealName() 24 Err(binder::StatusCode::UNKNOWN_TRANSACTION.into()) in RealName() 28 pub const RealName: binder::TransactionCode = binder::FIRST_CALL_TRANSACTION + 0; 38 …let _aidl_reply = self.binder.transact(transactions::RealName, binder::FLAG_PRIVATE_LOCAL, |_aidl_… in RealName() 53 impl INewName for binder::Binder<BnNewName> { 56 …ewName, _aidl_code: binder::TransactionCode, _aidl_data: &binder::parcel::Parcel, _aidl_reply: &mu… in on_transact() 62 _aidl_reply.write(&binder::Status::from(binder::StatusCode::OK))?; in on_transact() [all …]
|
H A D | IOldName.rs | 3 #[allow(unused_imports)] use binder::IBinderInternal; 4 use binder::declare_binder_interface; 12 pub trait IOldName: binder::Interface + Send { 14 fn RealName(&self) -> binder::public_api::Result<String>; in RealName() 24 Err(binder::StatusCode::UNKNOWN_TRANSACTION.into()) in RealName() 28 pub const RealName: binder::TransactionCode = binder::FIRST_CALL_TRANSACTION + 0; 38 …let _aidl_reply = self.binder.transact(transactions::RealName, binder::FLAG_PRIVATE_LOCAL, |_aidl_… in RealName() 53 impl IOldName for binder::Binder<BnOldName> { 56 …ldName, _aidl_code: binder::TransactionCode, _aidl_data: &binder::parcel::Parcel, _aidl_reply: &mu… in on_transact() 62 _aidl_reply.write(&binder::Status::from(binder::StatusCode::OK))?; in on_transact() [all …]
|
H A D | DeprecatedParcelable.rs | 12 impl binder::parcel::Serialize for DeprecatedParcelable { 13 fn serialize(&self, parcel: &mut binder::parcel::Parcel) -> binder::Result<()> { in serialize() 17 impl binder::parcel::SerializeArray for DeprecatedParcelable {} 18 impl binder::parcel::SerializeOption for DeprecatedParcelable { 19 …fn serialize_option(this: Option<&Self>, parcel: &mut binder::parcel::Parcel) -> binder::Result<()… in serialize_option() 31 impl binder::parcel::Deserialize for DeprecatedParcelable { 32 fn deserialize(parcel: &binder::parcel::Parcel) -> binder::Result<Self> { in deserialize() 35 .unwrap_or(Err(binder::StatusCode::UNEXPECTED_NULL)) in deserialize() 38 impl binder::parcel::DeserializeArray for DeprecatedParcelable {} 40 fn deserialize_option(parcel: &binder::parcel::Parcel) -> binder::Result<Option<Self>> { in deserialize_option() [all …]
|
/aosp12/system/vold/ |
H A D | VoldNativeService.h | 36 binder::Status monitor(); 37 binder::Status reset(); 38 binder::Status shutdown(); 39 binder::Status abortFuse(); 98 binder::Status fdeRestart(); 110 binder::Status fbeEnable(); 113 binder::Status initUser0(); 149 binder::Status commitChanges(); 153 binder::Status markBootAttempt(); 160 binder::Status earlyBootEnded(); [all …]
|
/aosp12/system/netd/server/ |
H A D | NetdNativeService.h | 37 binder::Status isAlive(bool *alive) override; 77 binder::Status networkAddUidRangesParcel( 79 binder::Status networkRemoveUidRangesParcel( 99 binder::Status networkClearDefault() override; 128 binder::Status tetherGetStats( 130 binder::Status tetherOffloadGetStats( 134 binder::Status tetherStop() override; 146 binder::Status tetherOffloadRuleRemove( 149 binder::Status tetherOffloadGetAndClearStats( 174 binder::Status ipSecAllocateSpi( [all …]
|
H A D | NetdNativeService.cpp | 109 return binder::Status::fromExceptionCode(binder::Status::EX_SECURITY, err.c_str()); in checkAnyPermission() 160 return binder::Status::ok(); in statusFromErrcode() 270 return binder::Status::ok(); in isAlive() 280 return binder::Status::ok(); in firewallReplaceUidChain() 287 return binder::Status::ok(); in bandwidthEnableDataSaver() 468 return binder::Status::ok(); in socketDestroy() 1298 return binder::Status::fromExceptionCode(binder::Status::EX_UNSUPPORTED_OPERATION); in tetherOffloadRuleAdd() 1306 return binder::Status::fromExceptionCode(binder::Status::EX_UNSUPPORTED_OPERATION); in tetherOffloadRuleRemove() 1314 return binder::Status::fromExceptionCode(binder::Status::EX_UNSUPPORTED_OPERATION); in tetherOffloadGetStats() 1322 return binder::Status::fromExceptionCode(binder::Status::EX_UNSUPPORTED_OPERATION); in tetherOffloadSetInterfaceQuota() [all …]
|
/aosp12/art/test/636-arm64-veneer-pool/src/ |
H A D | Main.java | 1282 C0.m(context, binder); in configure() 1285 C1.m(context, binder); in configure() 1288 C2.m(context, binder); in configure() 1291 C3.m(context, binder); in configure() 1294 C4.m(context, binder); in configure() 1297 C5.m(context, binder); in configure() 1300 C6.m(context, binder); in configure() 1301 C7.m(context, binder); in configure() 1302 C8.m(context, binder); in configure() 1305 C9.m(context, binder); in configure() [all …]
|
/aosp12/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/ |
H A D | ITestService.h | 113 virtual ::android::binder::Status TestOneway() = 0; 141 virtual ::android::binder::Status ThrowServiceException(int32_t code) = 0; 175 ::android::binder::Status TestOneway() override { in TestOneway() 178 ::android::binder::Status RepeatBoolean(bool, bool*) override { in RepeatBoolean() 181 ::android::binder::Status RepeatByte(int8_t, int8_t*) override { in RepeatByte() 184 ::android::binder::Status RepeatChar(char16_t, char16_t*) override { in RepeatChar() 187 ::android::binder::Status RepeatInt(int32_t, int32_t*) override { in RepeatInt() 190 ::android::binder::Status RepeatLong(int64_t, int64_t*) override { in RepeatLong() 193 ::android::binder::Status RepeatFloat(float, float*) override { in RepeatFloat() 196 ::android::binder::Status RepeatDouble(double, double*) override { in RepeatDouble() [all …]
|
H A D | BpTestService.h | 18 ::android::binder::Status UnimplementedMethod(int32_t arg, int32_t* _aidl_return) override; 20 ::android::binder::Status TestOneway() override; 21 ::android::binder::Status RepeatBoolean(bool token, bool* _aidl_return) override; 22 ::android::binder::Status RepeatByte(int8_t token, int8_t* _aidl_return) override; 23 ::android::binder::Status RepeatChar(char16_t token, char16_t* _aidl_return) override; 24 ::android::binder::Status RepeatInt(int32_t token, int32_t* _aidl_return) override; 25 ::android::binder::Status RepeatLong(int64_t token, int64_t* _aidl_return) override; 26 ::android::binder::Status RepeatFloat(float token, float* _aidl_return) override; 27 ::android::binder::Status RepeatDouble(double token, double* _aidl_return) override; 48 ::android::binder::Status ThrowServiceException(int32_t code) override; [all …]
|
/aosp12/frameworks/native/libs/binder/ndk/ |
H A D | ibinder.cpp | 53 return binder != nullptr && binder->findObject(kId) == kValue; in has() 63 wp<ABpBinder> binder; member 230 CHECK(binder != nullptr); in ABpBinder() 253 if (binder == nullptr) { in lookupOrCreateFromBinder() 275 value->binder = ret; in lookupOrCreateFromBinder() 282 wp<AIBinder> binder; member 285 if (binder == nullptr) { in AIBinder_Weak_new() 299 sp<AIBinder> binder = weakBinder->binder.promote(); in AIBinder_Weak_promote() local 301 return binder.get(); in AIBinder_Weak_promote() 321 return lhs->binder < rhs->binder; in AIBinder_Weak_lt() [all …]
|
/aosp12/hardware/qcom/sm7250/display/libqdutils/ |
H A D | display_config.cpp | 61 if(binder != NULL) { in getDisplayVisibleRegion() 88 if(binder != NULL) { in setSecondaryDisplayStatus() 106 if(binder != NULL) { in configureDynRefreshRate() 120 if(binder != NULL) { in getConfigCount() 138 if(binder != NULL) { in getActiveConfig() 157 if(binder != NULL) { in setActiveConfig() 176 if(binder != NULL) { in getDisplayAttributes() 203 if(binder != NULL) { in setPanelMode() 223 if(binder != NULL) { in setPanelBrightness() 239 if(binder != NULL) { in getPanelBrightness() [all …]
|
/aosp12/hardware/qcom/sm8150/display/libqdutils/ |
H A D | display_config.cpp | 53 if(binder != NULL) { in isExternalConnected() 71 if(binder != NULL) { in getDisplayAttributes() 93 if(binder != NULL) { in getDisplayVisibleRegion() 119 if(binder != NULL) { in setViewFrame() 137 if(binder != NULL) { in setSecondaryDisplayStatus() 155 if(binder != NULL) { in configureDynRefreshRate() 169 if(binder != NULL) { in getConfigCount() 187 if(binder != NULL) { in getActiveConfig() 206 if(binder != NULL) { in setActiveConfig() 225 if(binder != NULL) { in getDisplayAttributes() [all …]
|
/aosp12/hardware/qcom/sdm845/display/libqdutils/ |
H A D | display_config.cpp | 53 if(binder != NULL) { in isExternalConnected() 71 if(binder != NULL) { in getDisplayAttributes() 97 if(binder != NULL) { in setHSIC() 110 if(binder != NULL) { in getDisplayVisibleRegion() 136 if(binder != NULL) { in setViewFrame() 154 if(binder != NULL) { in setSecondaryDisplayStatus() 172 if(binder != NULL) { in configureDynRefreshRate() 186 if(binder != NULL) { in getConfigCount() 204 if(binder != NULL) { in getActiveConfig() 223 if(binder != NULL) { in setActiveConfig() [all …]
|
/aosp12/hardware/qcom/display/msm8996/libqdutils/ |
H A D | display_config.cpp | 53 if(binder != NULL) { in isExternalConnected() 71 if(binder != NULL) { in getDisplayAttributes() 97 if(binder != NULL) { in setHSIC() 110 if(binder != NULL) { in getDisplayVisibleRegion() 136 if(binder != NULL) { in setViewFrame() 154 if(binder != NULL) { in setSecondaryDisplayStatus() 172 if(binder != NULL) { in configureDynRefreshRate() 186 if(binder != NULL) { in getConfigCount() 204 if(binder != NULL) { in getActiveConfig() 223 if(binder != NULL) { in setActiveConfig() [all …]
|
/aosp12/hardware/qcom/display/msm8998/libqdutils/ |
H A D | display_config.cpp | 53 if(binder != NULL) { in isExternalConnected() 71 if(binder != NULL) { in getDisplayAttributes() 97 if(binder != NULL) { in setHSIC() 110 if(binder != NULL) { in getDisplayVisibleRegion() 136 if(binder != NULL) { in setViewFrame() 154 if(binder != NULL) { in setSecondaryDisplayStatus() 172 if(binder != NULL) { in configureDynRefreshRate() 186 if(binder != NULL) { in getConfigCount() 204 if(binder != NULL) { in getActiveConfig() 223 if(binder != NULL) { in setActiveConfig() [all …]
|
/aosp12/hardware/qcom/display/msm8909/libqdutils/ |
H A D | display_config.cpp | 53 if(binder != NULL) { in isExternalConnected() 71 if(binder != NULL) { in getDisplayAttributes() 97 if(binder != NULL) { in setHSIC() 110 if(binder != NULL) { in getDisplayVisibleRegion() 136 if(binder != NULL) { in setViewFrame() 154 if(binder != NULL) { in setSecondaryDisplayStatus() 172 if(binder != NULL) { in configureDynRefreshRate() 186 if(binder != NULL) { in getConfigCount() 204 if(binder != NULL) { in getActiveConfig() 223 if(binder != NULL) { in setActiveConfig() [all …]
|
/aosp12/hardware/qcom/display/msm8909w_3100/libqdutils/ |
H A D | display_config.cpp | 53 if(binder != NULL) { in isExternalConnected() 71 if(binder != NULL) { in getDisplayAttributes() 97 if(binder != NULL) { in setHSIC() 110 if(binder != NULL) { in getDisplayVisibleRegion() 136 if(binder != NULL) { in setViewFrame() 154 if(binder != NULL) { in setSecondaryDisplayStatus() 172 if(binder != NULL) { in configureDynRefreshRate() 186 if(binder != NULL) { in getConfigCount() 204 if(binder != NULL) { in getActiveConfig() 223 if(binder != NULL) { in setActiveConfig() [all …]
|
/aosp12/packages/services/Car/car-lib/src/android/car/ |
H A D | CarAppFocusManager.java | 147 IAppFocusListenerImpl binder; in addFocusListener() local 150 if (binder == null) { in addFocusListener() 154 binder.addAppType(appType); in addFocusListener() 169 IAppFocusListenerImpl binder; in removeFocusListener() local 172 if (binder == null) { in removeFocusListener() 196 IAppFocusListenerImpl binder; in removeFocusListener() local 199 if (binder == null) { in removeFocusListener() 250 if (binder == null) { in isOwningFocus() 280 if (binder == null) { in requestAppFocus() 307 if (binder == null) { in abandonAppFocus() [all …]
|
/aosp12/frameworks/native/libs/binder/ |
H A D | Stability.cpp | 46 LOG_ALWAYS_FATAL_IF(!binder || !binder->localBinder(), "Can only downgrade local binder"); in forceDowngradeToStability() 58 forceDowngradeToStability(binder, Level::SYSTEM); in forceDowngradeToSystemStability() 62 forceDowngradeToStability(binder, Level::VENDOR); in forceDowngradeToVendorStability() 70 void Stability::markCompilationUnit(IBinder* binder) { in markCompilationUnit() argument 76 void Stability::markVintf(IBinder* binder) { in markVintf() argument 83 auto stability = getCategory(binder.get()); in debugLogStability() 87 void Stability::markVndk(IBinder* binder) { in markVndk() argument 134 if (binder == nullptr) { 172 BBinder* local = binder->localBinder(); 183 if (binder == nullptr) { in getCategory() [all …]
|
/aosp12/system/gsid/ |
H A D | gsi_service.h | 42 binder::Status closeInstall(int32_t* _aidl_return) override; 45 binder::Status closePartition(int32_t* _aidl_return) override; 52 binder::Status cancelGsiInstall(bool* _aidl_return) override; 56 binder::Status isGsiEnabled(bool* _aidl_return) override; 57 binder::Status removeGsi(bool* _aidl_return) override; 59 binder::Status disableGsi(bool* _aidl_return) override; 60 binder::Status isGsiInstalled(bool* _aidl_return) override; 61 binder::Status isGsiRunning(bool* _aidl_return) override; 67 binder::Status openImageService(const std::string& prefix, 71 binder::Status suggestScratchSize(int64_t* _aidl_return) override; [all …]
|
H A D | gsi_service.cpp | 151 return binder::Status::ok(); in openInstall() 164 return binder::Status::ok(); in closeInstall() 206 return binder::Status::ok(); in createPartition() 221 return binder::Status::ok(); in closePartition() 235 return binder::Status::ok(); in commitGsiChunkFromStream() 266 return binder::Status::ok(); in getInstallProgress() 278 return binder::Status::ok(); in commitGsiChunkFromAshmem() 289 return binder::Status::ok(); in setGsiAshmem() 301 return binder::Status::ok(); in enableGsiAsync() 329 return binder::Status::ok(); in enableGsi() [all …]
|
/aosp12/system/tools/aidl/tests/rust/ |
H A D | test_service.rs | 27 use aidl_test_interface::binder::{ 46 fn GetName(&self) -> binder::Result<String> { in GetName() 93 ) -> binder::Result<Vec<$type>> { 160 ) -> binder::Result<binder::Strong<dyn INamedCallback::INamedCallback>> { in GetOtherTestService() 173 ) -> binder::Result<bool> { in VerifyName() 180 ) -> binder::Result<ParcelFileDescriptor> { in RepeatParcelFileDescriptor() 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() [all …]
|