Home
last modified time | relevance | path

Searched refs:status_t (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/system/libhwbinder/include/hwbinder/
DParcel.h67 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 …]
DIPCThreadState.h48 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/vold/
DUtils.h51 status_t CreateDeviceNode(const std::string& path, dev_t dev);
52 status_t DestroyDeviceNode(const std::string& path);
54 status_t SetDefaultAcl(const std::string& path, mode_t mode, uid_t uid, gid_t gid,
57 status_t AbortFuseConnections();
72 status_t PrepareDir(const std::string& path, mode_t mode, uid_t uid, gid_t gid,
76 status_t ForceUnmount(const std::string& path);
79 status_t KillProcessesUsingPath(const std::string& path);
82 status_t KillProcessesWithTmpfsMountPrefix(const std::string& path);
85 status_t BindMount(const std::string& source, const std::string& target);
88 status_t Symlink(const std::string& target, const std::string& linkpath);
[all …]
/system/vold/model/
DVolumeBase.h93 status_t setDiskId(const std::string& diskId);
94 status_t setPartGuid(const std::string& partGuid);
95 status_t setMountFlags(int mountFlags);
96 status_t setMountUserId(userid_t mountUserId);
97 status_t setMountCallback(const android::sp<android::os::IVoldMountCallback>& callback);
98 status_t setSilent(bool silent);
107 status_t create();
108 status_t destroy();
109 status_t mount();
110 status_t unmount();
[all …]
DVolumeBase.cpp56 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 …]
DPublicVolume.h46 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();
DPrivateVolume.h49 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();
DDisk.h79 status_t create();
80 status_t destroy();
82 status_t readMetadata();
83 status_t readPartitions();
86 status_t unmountAll();
88 status_t partitionPublic();
89 status_t partitionPrivate();
90 status_t partitionMixed(int8_t ratio);
DStubVolume.h39 status_t doCreate() override;
40 status_t doDestroy() override;
41 status_t doMount() override;
42 status_t doUnmount() override;
43 status_t doFormat(const std::string& fsType) override;
/system/libfmq/include/fmq/
DEventFlag.h47 static status_t createEventFlag(int fd, off_t offset, EventFlag** ef);
64 static status_t createEventFlag(std::atomic<uint32_t>* efWordPtr,
76 static status_t deleteEventFlag(EventFlag** ef);
86 status_t wake(uint32_t bitmask);
105 status_t wait(uint32_t bitmask,
116 EventFlag(int fd, off_t offset, status_t* status);
122 EventFlag(std::atomic<uint32_t>* efWordPtr, status_t* status);
134 status_t waitHelper(uint32_t bitmask, uint32_t* efState, int64_t timeOutNanoSeconds);
139 static status_t unmapEventFlagWord(std::atomic<uint32_t>* efWordPtr,
/system/libvintf/
DRuntimeInfo-target.cpp51 status_t fetchAllInformation(RuntimeInfo::FetchFlags flags);
54 status_t fetchVersion(RuntimeInfo::FetchFlags flags);
55 status_t fetchKernelConfigs(RuntimeInfo::FetchFlags flags);
56 status_t fetchCpuInfo(RuntimeInfo::FetchFlags flags);
57 status_t fetchKernelSepolicyVers(RuntimeInfo::FetchFlags flags);
58 status_t fetchAvb(RuntimeInfo::FetchFlags flags);
59 status_t parseKernelVersion();
65 status_t RuntimeInfoFetcher::fetchKernelConfigs(RuntimeInfo::FetchFlags) { in fetchKernelConfigs()
77 status_t err = OK; in fetchKernelConfigs()
90 status_t RuntimeInfoFetcher::fetchCpuInfo(RuntimeInfo::FetchFlags) { in fetchCpuInfo()
[all …]
/system/bt/test/mock/
Dmock_system_libfmq_eventflag.cc57 EventFlag::EventFlag(int fd, off_t offset, status_t* status) { in EventFlag()
60 EventFlag::EventFlag(std::atomic<uint32_t>* fwAddr, status_t* status) { in EventFlag()
64 status_t EventFlag::createEventFlag(int fd, off_t offset, EventFlag** flag) { in createEventFlag()
68 status_t EventFlag::createEventFlag(std::atomic<uint32_t>* fwAddr, in createEventFlag()
73 status_t EventFlag::deleteEventFlag(EventFlag** evFlag) { in deleteEventFlag()
77 status_t EventFlag::unmapEventFlagWord(std::atomic<uint32_t>* efWordPtr, in unmapEventFlagWord()
82 status_t EventFlag::wait(uint32_t bitmask, uint32_t* efState, in wait()
87 status_t EventFlag::waitHelper(uint32_t bitmask, uint32_t* efState, in waitHelper()
92 status_t EventFlag::wake(uint32_t bitmask) { in wake()
/system/tools/hidl/
DCoordinator.h53 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 …]
DAST.h92 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/libhidl/transport/include/hidl/
DLegacySupport.h33 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 …]
DHidlBinderSupport.h53 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/libvintf/include/vintf/
DFileSystem.h40 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,
52 virtual status_t write(const std::string& path, const std::string& content,
55 virtual status_t deleteFile(const std::string& path, std::string* error) const = 0;
63 status_t fetch(const std::string&, std::string*, std::string*) const;
64 status_t listFiles(const std::string&, std::vector<std::string>*, std::string*) const;
70 status_t fetch(const std::string&, std::string*, std::string*) const;
71 status_t listFiles(const std::string&, std::vector<std::string>*, std::string*) const;
78 virtual status_t fetch(const std::string& path, std::string* fetched,
80 virtual status_t listFiles(const std::string& path, std::vector<std::string>* out,
DKernelConfigParser.h34 status_t process(const char* buf, size_t len);
35 status_t finish();
36 status_t processAndFinish(const char* buf, size_t len);
37 status_t processAndFinish(const std::string& content);
43 status_t processRemaining();
/system/libfmq/
DEventFlag.cpp35 status_t EventFlag::createEventFlag(int fd, off_t offset, EventFlag** flag) { in createEventFlag()
40 status_t status = NO_MEMORY; in createEventFlag()
55 status_t EventFlag::createEventFlag(std::atomic<uint32_t>* fwAddr, in createEventFlag()
61 status_t status = NO_MEMORY; in createEventFlag()
79 EventFlag::EventFlag(int fd, off_t offset, status_t* status) { in EventFlag()
97 EventFlag::EventFlag(std::atomic<uint32_t>* fwAddr, status_t* status) { in EventFlag()
110 status_t EventFlag::wake(uint32_t bitmask) { in wake()
118 status_t status = NO_ERROR; in wake()
139 status_t EventFlag::waitHelper(uint32_t bitmask, uint32_t* efState, int64_t timeoutNanoSeconds) { in waitHelper()
147 status_t status = NO_ERROR; in waitHelper()
[all …]
/system/libhwbinder/
DParcel.cpp176 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/core/libutils/include/utils/
DRWLock.h54 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()
DThread.h51 virtual status_t run( const char* name,
61 virtual status_t readyToRun();
67 status_t requestExitAndWait();
71 status_t join();
102 status_t mStatus;
/system/libvintf/include-host/vintf/
DHostFileSystem.h32 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,
41 status_t listFiles(const std::string& path, std::vector<std::string>* out,
48 status_t mMissingError;
/system/bt/binder/android/bluetooth/
Dbluetooth_device.cc23 using android::status_t;
30 status_t BluetoothDevice::writeToParcel(Parcel* parcel) const { in writeToParcel()
31 status_t status = parcel->writeString16(String16(address.ToString().c_str())); in writeToParcel()
35 status_t BluetoothDevice::readFromParcel(const Parcel* parcel) { in readFromParcel()
38 status_t status = parcel->readString16(&tmp); in readFromParcel()
/system/bt/service/common/android/bluetooth/
Dadvertise_data.cc24 status_t AdvertiseData::writeToParcel(Parcel* parcel) const { in writeToParcel()
25 status_t status = parcel->writeByteVector(data_); in writeToParcel()
29 status_t AdvertiseData::readFromParcel(const Parcel* parcel) { in readFromParcel()
30 status_t status = parcel->readByteVector(&data_); in readFromParcel()

12345678910>>...13