/system/libhwbinder/include/hwbinder/ |
D | Parcel.h | 67 status_t setDataSize(size_t size); 69 status_t setDataCapacity(size_t size); 71 status_t setData(const uint8_t* buffer, size_t len); 81 status_t writeInterfaceToken(const char* interface); 95 status_t errorCheck() const; 96 void setError(status_t err); 98 status_t write(const void* data, size_t len); 100 status_t writeUnpadded(const void* data, size_t len); 101 status_t writeInt8(int8_t val); 102 status_t writeUint8(uint8_t val); [all …]
|
D | IPCThreadState.h | 48 status_t clearLastError(); 69 status_t handlePolledCommands(); 77 status_t transact(int32_t handle, 85 status_t attemptIncStrongHandle(int32_t handle); 87 status_t requestDeathNotification( int32_t handle, 89 status_t clearDeathNotification( int32_t handle, 115 status_t sendReply(const Parcel& reply, uint32_t flags); 116 status_t waitForResponse(Parcel *reply, 117 status_t *acquireResult=nullptr); 118 status_t talkWithDriver(bool doReceive=true); [all …]
|
/system/core/libutils/include/utils/ |
D | ErrorsMacros.h | 40 StatusT(status_t s) : val_(s) {} in StatusT() 41 const status_t& value() const { return val_; } in value() 42 operator status_t() const { return val_; } in status_t() function 45 status_t val_; 56 ResultError(status_t s) : val_(s) { 66 status_t code() const { return val_; } 69 const status_t val_; 75 ResultError(T&& message, status_t s) : val_(s), message_(std::forward<T>(message)) { 79 ResultError(status_t s) : val_(s) {} 86 status_t code() const { return val_; } [all …]
|
D | RWLock.h | 54 status_t readLock(); 55 status_t tryReadLock(); 56 status_t writeLock(); 57 status_t tryWriteLock(); 104 inline status_t RWLock::readLock() { in readLock() 107 inline status_t RWLock::tryReadLock() { in tryReadLock() 110 inline status_t RWLock::writeLock() { in writeLock() 113 inline status_t RWLock::tryWriteLock() { in tryWriteLock()
|
/system/vold/ |
D | Utils.h | 54 status_t CreateDeviceNode(const std::string& path, dev_t dev); 55 status_t DestroyDeviceNode(const std::string& path); 57 status_t SetDefaultAcl(const std::string& path, mode_t mode, uid_t uid, gid_t gid, 60 status_t AbortFuseConnections(); 75 status_t PrepareDir(const std::string& path, mode_t mode, uid_t uid, gid_t gid, 79 status_t ForceUnmount(const std::string& path); 82 status_t KillProcessesUsingPath(const std::string& path); 85 status_t KillProcessesWithTmpfsMountPrefix(const std::string& path); 88 status_t BindMount(const std::string& source, const std::string& target); 91 status_t Symlink(const std::string& target, const std::string& linkpath); [all …]
|
/system/vold/model/ |
D | VolumeBase.h | 99 status_t setDiskId(const std::string& diskId); 100 status_t setPartGuid(const std::string& partGuid); 101 status_t setMountFlags(int mountFlags); 102 status_t setMountUserId(userid_t mountUserId); 103 status_t setMountCallback(const android::sp<android::os::IVoldMountCallback>& callback); 104 status_t setSilent(bool silent); 116 status_t create(); 117 status_t destroy(); 118 status_t mount(); 119 status_t unmount(); [all …]
|
D | VolumeBase.cpp | 56 status_t VolumeBase::setDiskId(const std::string& diskId) { in setDiskId() 66 status_t VolumeBase::setPartGuid(const std::string& partGuid) { in setPartGuid() 76 status_t VolumeBase::setMountFlags(int mountFlags) { in setMountFlags() 86 status_t VolumeBase::setMountUserId(userid_t mountUserId) { in setMountUserId() 96 status_t VolumeBase::setSilent(bool silent) { in setSilent() 106 status_t VolumeBase::setId(const std::string& id) { in setId() 116 status_t VolumeBase::setPath(const std::string& path) { in setPath() 130 status_t VolumeBase::setInternalPath(const std::string& internalPath) { in setInternalPath() 146 status_t VolumeBase::setMountCallback( in setMountCallback() 181 status_t VolumeBase::create() { in create() [all …]
|
D | PublicVolume.h | 46 status_t doCreate() override; 47 status_t doDestroy() override; 48 status_t doMount() override; 49 status_t doUnmount() override; 50 status_t doFormat(const std::string& fsType) override; 52 status_t readMetadata(); 53 status_t initAsecStage();
|
D | Disk.h | 81 status_t create(); 82 status_t destroy(); 84 status_t readMetadata(); 85 status_t readPartitions(); 88 status_t unmountAll(); 90 status_t partitionPublic(); 91 status_t partitionPrivate(); 92 status_t partitionMixed(int8_t ratio);
|
D | PrivateVolume.h | 49 status_t doCreate() override; 50 status_t doDestroy() override; 51 status_t doMount() override; 53 status_t doUnmount() override; 54 status_t doFormat(const std::string& fsType) override; 56 status_t readMetadata();
|
D | EmulatedVolume.h | 47 status_t doMount() override; 48 status_t doUnmount() override; 51 status_t unmountSdcardFs(); 52 status_t mountFuseBindMounts(); 53 status_t unmountFuseBindMounts(); 55 status_t bindMountVolume(const EmulatedVolume& vol, std::list<std::string>& pathsToUnmount);
|
/system/libvintf/include/vintf/ |
D | FileSystem.h | 40 virtual status_t fetch(const std::string& path, std::string* fetched, 44 virtual status_t listFiles(const std::string& path, std::vector<std::string>* out, 48 virtual status_t modifiedTime(const std::string& path, int64_t* mtime, 56 virtual status_t write(const std::string& path, const std::string& content, 59 virtual status_t deleteFile(const std::string& path, std::string* error) const = 0; 67 status_t fetch(const std::string&, std::string*, std::string*) const override; 68 status_t listFiles(const std::string&, std::vector<std::string>*, std::string*) const override; 69 status_t modifiedTime(const std::string& path, int64_t* mtime, std::string* error) const; 75 status_t fetch(const std::string&, std::string*, std::string*) const override; 76 status_t listFiles(const std::string&, std::vector<std::string>*, std::string*) const override; [all …]
|
/system/libvintf/ |
D | RuntimeInfo-target.cpp | 48 status_t fetchAllInformation(RuntimeInfo::FetchFlags flags); 51 status_t fetchVersion(RuntimeInfo::FetchFlags flags); 52 status_t fetchKernelConfigs(RuntimeInfo::FetchFlags flags); 53 status_t fetchCpuInfo(RuntimeInfo::FetchFlags flags); 54 status_t fetchKernelSepolicyVers(RuntimeInfo::FetchFlags flags); 55 status_t fetchAvb(RuntimeInfo::FetchFlags flags); 56 status_t parseKernelVersion(); 62 status_t RuntimeInfoFetcher::fetchKernelConfigs(RuntimeInfo::FetchFlags) { in fetchKernelConfigs() 74 status_t err = OK; in fetchKernelConfigs() 87 status_t RuntimeInfoFetcher::fetchCpuInfo(RuntimeInfo::FetchFlags) { in fetchCpuInfo() [all …]
|
D | HostFileSystem.cpp | 24 HostFileSystem::HostFileSystem(const Dirmap& dirmap, status_t missingError) in HostFileSystem() 27 HostFileSystem::HostFileSystem(const Dirmap& dirmap, status_t missingError, in HostFileSystem() 33 HostFileSystem::HostFileSystem(const Dirmap& dirmap, status_t missingError, FileSystem* impl) in HostFileSystem() 36 status_t HostFileSystem::fetch(const std::string& path, std::string* fetched, in fetch() 42 status_t status = mImpl->fetch(resolved, fetched, error); in fetch() 47 status_t HostFileSystem::listFiles(const std::string& path, std::vector<std::string>* out, in listFiles() 53 status_t status = mImpl->listFiles(resolved, out, error); in listFiles() 58 status_t HostFileSystem::modifiedTime(const std::string& path, int64_t* mtime, in modifiedTime() 64 status_t status = mImpl->modifiedTime(resolved, mtime, error); in modifiedTime()
|
/system/tools/hidl/ |
D | Coordinator.h | 53 status_t addPackagePath(const std::string& root, const std::string& path, std::string* error); 65 status_t getFilepath(const FQName& fqName, Location location, const std::string& fileName, 74 status_t writeDepFile(const std::string& forFile) const; 97 status_t parseOptional(const FQName& fqName, AST** ast, std::set<AST*>* parsedASTs = nullptr, 106 status_t getPackagePath(const FQName& fqName, bool relative, bool sanitized, 113 status_t getPackageRoot(const FQName& fqName, std::string* root) const; 115 status_t getPackageInterfaceFiles( 120 status_t packageExists(const FQName& package, bool* result) const; 122 status_t appendPackageInterfacesToVector( 126 status_t isTypesOnlyPackage(const FQName& package, bool* result) const; [all …]
|
D | AST.h | 92 status_t postParse(); 95 status_t constantExpressionRecursivePass( 96 const std::function<status_t(ConstantExpression*)>& func, bool processBeforeDependencies); 97 status_t constantExpressionRecursivePass( 98 const std::function<status_t(const ConstantExpression*)>& func, 102 status_t setParseStage(Type::ParseStage oldStage, Type::ParseStage newStage); 105 status_t lookupTypes(); 109 status_t lookupConstantExpressions(); 113 status_t validateDefinedTypesUniqueNames() const; 117 status_t resolveInheritance(); [all …]
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/android/aidl/tests/nested/ |
D | DeeplyNested.cpp | 7 ::android::status_t DeeplyNested::readFromParcel(const ::android::Parcel* _aidl_parcel) { in readFromParcel() 8 ::android::status_t _aidl_ret_status = ::android::OK; in readFromParcel() 21 ::android::status_t DeeplyNested::writeToParcel(::android::Parcel* _aidl_parcel) const { in writeToParcel() 22 ::android::status_t _aidl_ret_status = ::android::OK; in writeToParcel() 41 ::android::status_t DeeplyNested::A::readFromParcel(const ::android::Parcel* _aidl_parcel) { in readFromParcel() 42 ::android::status_t _aidl_ret_status = ::android::OK; in readFromParcel() 63 ::android::status_t DeeplyNested::A::writeToParcel(::android::Parcel* _aidl_parcel) const { in writeToParcel() 64 ::android::status_t _aidl_ret_status = ::android::OK; in writeToParcel() 87 ::android::status_t DeeplyNested::B::readFromParcel(const ::android::Parcel* _aidl_parcel) { in readFromParcel() 88 ::android::status_t _aidl_ret_status = ::android::OK; in readFromParcel() [all …]
|
/system/libhidl/transport/include/hidl/ |
D | LegacySupport.h | 33 std::function<status_t(const sp<::android::hidl::base::V1_0::IBase>&, const std::string&)>; 35 __attribute__((warn_unused_result)) status_t registerPassthroughServiceImplementation( 44 __attribute__((warn_unused_result)) status_t registerPassthroughServiceImplementation( 48 inline __attribute__((warn_unused_result)) status_t registerPassthroughServiceImplementation( 54 __attribute__((warn_unused_result)) status_t registerPassthroughServiceImplementation( 66 __attribute__((warn_unused_result)) status_t defaultPassthroughServiceImplementation( 69 status_t result = registerPassthroughServiceImplementation<Interface, ExpectInterface>(name); 79 __attribute__((warn_unused_result)) status_t defaultPassthroughServiceImplementation( 94 __attribute__((warn_unused_result)) status_t registerLazyPassthroughServiceImplementation( 112 __attribute__((warn_unused_result)) status_t defaultLazyPassthroughServiceImplementation( [all …]
|
D | HidlBinderSupport.h | 53 status_t readEmbeddedFromParcel(const hidl_handle &handle, 56 status_t writeEmbeddedToParcel(const hidl_handle &handle, 61 status_t readEmbeddedFromParcel(const hidl_memory &memory, 64 status_t writeEmbeddedToParcel(const hidl_memory &memory, 69 status_t readEmbeddedFromParcel(const hidl_string &string, 72 status_t writeEmbeddedToParcel(const hidl_string &string, 79 status_t readFromParcel(Status *status, const Parcel& parcel); 80 status_t writeToParcel(const Status &status, Parcel* parcel); 85 status_t readEmbeddedFromParcel( in readEmbeddedFromParcel() 101 status_t writeEmbeddedToParcel( in writeEmbeddedToParcel() [all …]
|
/system/libfmq/include/fmq/ |
D | EventFlag.h | 48 static status_t createEventFlag(std::atomic<uint32_t>* efWordPtr, 60 static status_t deleteEventFlag(EventFlag** ef); 70 status_t wake(uint32_t bitmask); 89 status_t wait(uint32_t bitmask, 101 EventFlag(std::atomic<uint32_t>* efWordPtr, status_t* status); 113 status_t waitHelper(uint32_t bitmask, uint32_t* efState, int64_t timeOutNanoSeconds); 118 static status_t unmapEventFlagWord(std::atomic<uint32_t>* efWordPtr,
|
/system/libhwbinder/ |
D | Parcel.cpp | 176 inline static status_t finish_flatten_binder( in finish_flatten_binder() 182 status_t flatten_binder(const sp<ProcessState>& /*proc*/, in flatten_binder() 224 inline static status_t finish_unflatten_binder( in finish_unflatten_binder() 231 status_t unflatten_binder(const sp<ProcessState>& proc, in unflatten_binder() 301 status_t Parcel::setDataSize(size_t size) in setDataSize() 309 status_t err; in setDataSize() 330 status_t Parcel::setDataCapacity(size_t size) in setDataCapacity() 342 status_t Parcel::setData(const uint8_t* buffer, size_t len) in setData() 350 status_t err = restartWrite(len); in setData() 365 status_t Parcel::writeInterfaceToken(const char* interface) in writeInterfaceToken() [all …]
|
/system/libvintf/include-host/vintf/ |
D | HostFileSystem.h | 32 HostFileSystem(const Dirmap& dirmap, status_t missingError); 34 HostFileSystem(const Dirmap& dirmap, status_t missingError, FileSystem* impl); 36 HostFileSystem(const Dirmap& dirmap, status_t missingError, std::unique_ptr<FileSystem>&& impl); 38 status_t fetch(const std::string& path, std::string* fetched, 40 status_t listFiles(const std::string& path, std::vector<std::string>* out, 42 status_t modifiedTime(const std::string& path, int64_t* mtime, 49 status_t mMissingError;
|
/system/libfmq/ |
D | EventFlag.cpp | 35 status_t EventFlag::createEventFlag(std::atomic<uint32_t>* fwAddr, in createEventFlag() 41 status_t status = NO_MEMORY; in createEventFlag() 60 EventFlag::EventFlag(std::atomic<uint32_t>* fwAddr, status_t* status) { in EventFlag() 73 status_t EventFlag::wake(uint32_t bitmask) { in wake() 81 status_t status = NO_ERROR; in wake() 102 status_t EventFlag::waitHelper(uint32_t bitmask, uint32_t* efState, int64_t timeoutNanoSeconds) { in waitHelper() 110 status_t status = NO_ERROR; in waitHelper() 162 status_t EventFlag::wait(uint32_t bitmask, in wait() 172 status_t status; in wait() 197 status_t EventFlag::unmapEventFlagWord(std::atomic<uint32_t>* efWordPtr, in unmapEventFlagWord() [all …]
|
/system/libvintf/test/ |
D | utils-fake.h | 37 MOCK_CONST_METHOD2(fetch, status_t(const std::string& path, std::string& fetched)); 39 status_t(const std::string&, std::vector<std::string>*, std::string*)); 40 MOCK_CONST_METHOD3(modifiedTime, status_t(const std::string&, int64_t*, std::string*)); 42 status_t fetch(const std::string& path, std::string* fetched, std::string*) const override { in fetch() 52 MOCK_METHOD(status_t, fetch, (const std::string&, std::string*, std::string*), 54 MOCK_METHOD(status_t, listFiles, (const std::string&, std::vector<std::string>*, std::string*), 56 MOCK_METHOD(status_t, modifiedTime, (const std::string&, int64_t*, std::string*), 63 MOCK_METHOD1(fetchAllInformation, status_t(RuntimeInfo::FetchFlags)); 64 status_t doFetch(RuntimeInfo::FetchFlags flags); 98 MOCK_METHOD3(DeviceVintfDirs, status_t(FileSystem*, std::vector<std::string>*, std::string*));
|
/system/media/audio/include/system/audio_effects/ |
D | audio_effects_utils.h | 67 status_t copyDataWithCheck(void* dst, const void* src, size_t len, in copyDataWithCheck() 76 status_t readFromData(void* buf, size_t len, size_t offset, size_t max) { in readFromData() 80 status_t getStatus() const { return mParam.status; } in getStatus() 127 status_t readFromParameter(T* buf, size_t n = 1) { 129 status_t ret = readFromData(buf, len, mParamROffset /* param offset */, 142 status_t readFromValue(T* buf, size_t n = 1) { 144 status_t ret = readFromData(buf, len, mValueROffset /* data offset */, 184 status_t writeToParameter(const T* buf, size_t n = 1) { 186 status_t ret = writeToData(buf, len, mParamWOffset /* data offset */, 194 status_t writeToData(const void* buf, size_t len, size_t offset, size_t max) { in writeToData() [all …]
|