1 /* 2 * This file is auto-generated. DO NOT MODIFY. 3 * Using: out/host/linux-x86/bin/aidl --lang=ndk -Weverything -Wno-missing-permission-annotation -t --min_sdk_version 31 --ninja -d out/soong/.intermediates/art/dexopt_chroot_setup/binder/dexopt_chroot_setup-aidl-ndk-source/gen/staging/com/android/server/art/IDexoptChrootSetup.cpp.d -h out/soong/.intermediates/art/dexopt_chroot_setup/binder/dexopt_chroot_setup-aidl-ndk-source/gen/include/staging -o out/soong/.intermediates/art/dexopt_chroot_setup/binder/dexopt_chroot_setup-aidl-ndk-source/gen/staging -Nart/dexopt_chroot_setup/binder art/dexopt_chroot_setup/binder/com/android/server/art/IDexoptChrootSetup.aidl 4 * 5 * DO NOT CHECK THIS FILE INTO A CODE TREE (e.g. git, etc..). 6 * ALWAYS GENERATE THIS FILE FROM UPDATED AIDL COMPILER 7 * AS A BUILD INTERMEDIATE ONLY. THIS IS NOT SOURCE CODE. 8 */ 9 #pragma once 10 11 #include "aidl/com/android/server/art/IDexoptChrootSetup.h" 12 13 #include <android/binder_ibinder.h> 14 #include <cassert> 15 16 #ifndef __BIONIC__ 17 #ifndef __assert2 18 #define __assert2(a,b,c,d) ((void)0) 19 #endif 20 #endif 21 22 namespace aidl { 23 namespace com { 24 namespace android { 25 namespace server { 26 namespace art { 27 class BnDexoptChrootSetup : public ::ndk::BnCInterface<IDexoptChrootSetup> { 28 public: 29 BnDexoptChrootSetup(); 30 virtual ~BnDexoptChrootSetup(); 31 protected: 32 ::ndk::SpAIBinder createBinder() override; 33 private: 34 }; 35 class IDexoptChrootSetupDelegator : public BnDexoptChrootSetup { 36 public: IDexoptChrootSetupDelegator(const std::shared_ptr<IDexoptChrootSetup> & impl)37 explicit IDexoptChrootSetupDelegator(const std::shared_ptr<IDexoptChrootSetup> &impl) : _impl(impl) { 38 } 39 setUp(const std::optional<std::string> & in_otaSlot,bool in_mapSnapshotsForOta)40 ::ndk::ScopedAStatus setUp(const std::optional<std::string>& in_otaSlot, bool in_mapSnapshotsForOta) override { 41 return _impl->setUp(in_otaSlot, in_mapSnapshotsForOta); 42 } init()43 ::ndk::ScopedAStatus init() override { 44 return _impl->init(); 45 } tearDown(bool in_allowConcurrent)46 ::ndk::ScopedAStatus tearDown(bool in_allowConcurrent) override { 47 return _impl->tearDown(in_allowConcurrent); 48 } 49 protected: 50 private: 51 std::shared_ptr<IDexoptChrootSetup> _impl; 52 }; 53 54 } // namespace art 55 } // namespace server 56 } // namespace android 57 } // namespace com 58 } // namespace aidl 59