Home
last modified time | relevance | path

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

1234567891011

/system/libhwbinder/include/hwbinder/
DParcel.h63 status_t setDataSize(size_t size);
65 status_t setDataCapacity(size_t size);
67 status_t setData(const uint8_t* buffer, size_t len);
70 status_t writeInterfaceToken(const char* interface);
84 status_t errorCheck() const;
85 void setError(status_t err);
87 status_t write(const void* data, size_t len);
89 status_t writeUnpadded(const void* data, size_t len);
90 status_t writeInt8(int8_t val);
91 status_t writeUint8(uint8_t val);
[all …]
DIPCThreadState.h44 status_t clearLastError();
65 status_t handlePolledCommands();
73 status_t transact(int32_t handle,
81 status_t attemptIncStrongHandle(int32_t handle);
83 status_t requestDeathNotification( int32_t handle,
85 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.h45 status_t CreateDeviceNode(const std::string& path, dev_t dev);
46 status_t DestroyDeviceNode(const std::string& path);
49 status_t PrepareDir(const std::string& path, mode_t mode, uid_t uid, gid_t gid);
52 status_t ForceUnmount(const std::string& path);
55 status_t KillProcessesUsingPath(const std::string& path);
58 status_t BindMount(const std::string& source, const std::string& target);
61 status_t Symlink(const std::string& target, const std::string& linkpath);
64 status_t Unlink(const std::string& linkpath);
67 status_t CreateDir(const std::string& dir, mode_t mode);
72 status_t ReadMetadata(const std::string& path, std::string* fsType, std::string* fsUuid,
[all …]
/system/vold/model/
DVolumeBase.h91 status_t setDiskId(const std::string& diskId);
92 status_t setPartGuid(const std::string& partGuid);
93 status_t setMountFlags(int mountFlags);
94 status_t setMountUserId(userid_t mountUserId);
95 status_t setSilent(bool silent);
104 status_t create();
105 status_t destroy();
106 status_t mount();
107 status_t unmount();
108 status_t format(const std::string& fsType);
[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()
171 status_t VolumeBase::create() { in create()
175 status_t res = doCreate(); 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();
DDisk.h70 status_t create();
71 status_t destroy();
73 status_t readMetadata();
74 status_t readPartitions();
76 status_t unmountAll();
78 status_t partitionPublic();
79 status_t partitionPrivate();
80 status_t partitionMixed(int8_t ratio);
DPrivateVolume.h47 status_t doCreate() override;
48 status_t doDestroy() override;
49 status_t doMount() override;
50 status_t doUnmount() override;
51 status_t doFormat(const std::string& fsType) override;
53 status_t readMetadata();
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/libvintf/
DRuntimeInfo-target.cpp51 status_t fetchAllInformation(RuntimeInfo::FetchFlags flags);
54 status_t fetchVersion();
55 status_t fetchKernelConfigs();
56 status_t fetchCpuInfo();
57 status_t fetchKernelSepolicyVers();
58 status_t fetchAvb();
59 status_t parseKernelVersion();
65 status_t RuntimeInfoFetcher::fetchKernelConfigs() { in fetchKernelConfigs()
77 status_t err = OK; in fetchKernelConfigs()
90 status_t RuntimeInfoFetcher::fetchCpuInfo() { in fetchCpuInfo()
[all …]
/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/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 …]
/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/core/libutils/include/utils/
DPropertyMap.h81 static status_t load(const String8& filename, PropertyMap** outMap);
91 status_t parse();
94 status_t parseType();
95 status_t parseKey();
96 status_t parseKeyProperty();
97 status_t parseModifier(const String8& token, int32_t* outMetaState);
98 status_t parseCharacterLiteral(char16_t* outCharacter);
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/libfmq/
DEventFlag.cpp34 status_t EventFlag::createEventFlag(int fd, off_t offset, EventFlag** flag) { in createEventFlag()
39 status_t status = NO_MEMORY; in createEventFlag()
54 status_t EventFlag::createEventFlag(std::atomic<uint32_t>* fwAddr, in createEventFlag()
60 status_t status = NO_MEMORY; in createEventFlag()
78 EventFlag::EventFlag(int fd, off_t offset, status_t* status) { in EventFlag()
96 EventFlag::EventFlag(std::atomic<uint32_t>* fwAddr, status_t* status) { in EventFlag()
109 status_t EventFlag::wake(uint32_t bitmask) { in wake()
117 status_t status = NO_ERROR; in wake()
138 status_t EventFlag::waitHelper(uint32_t bitmask, uint32_t* efState, int64_t timeoutNanoSeconds) { in waitHelper()
146 status_t status = NO_ERROR; in waitHelper()
[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,
53 status_t fetch(const std::string&, std::string*, std::string*) const;
54 status_t listFiles(const std::string&, std::vector<std::string>*, std::string*) const;
60 status_t fetch(const std::string&, std::string*, std::string*) const;
61 status_t listFiles(const std::string&, std::vector<std::string>*, std::string*) const;
68 virtual status_t fetch(const std::string& path, std::string* fetched,
70 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/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()
360 status_t Parcel::writeInterfaceToken(const char* interface) in writeInterfaceToken()
[all …]
/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/iorap/include/binder/
Dapp_launch_event.h76 ::android::status_t readFromParcel(const android::Parcel* parcel) override { in readFromParcel()
79 if (::android::status_t res = function(__VA_ARGS__); res != ::android::NO_ERROR) { \ in readFromParcel()
123 if (::android::status_t res = function(__VA_ARGS__); res != ::android::NO_ERROR) { \
127 ::android::status_t writeToParcel(android::Parcel* parcel) const override { in writeToParcel()
162 static expected<std::unique_ptr<T>, ::android::status_t>
166 ::android::status_t res; in ReadProto()
192 static expected<std::unique_ptr<T>, ::android::status_t>
198 ::android::status_t res; in ReadNullableProto()
213 static ::android::status_t
227 ::android::status_t res; in WriteProto()
[all …]
/system/libhidl/transport/
DHidlBinderSupport.cpp56 status_t readEmbeddedFromParcel(const hidl_handle& /* handle */, in readEmbeddedFromParcel()
59 status_t _hidl_err = parcel.readNullableEmbeddedNativeHandle( in readEmbeddedFromParcel()
67 status_t writeEmbeddedToParcel(const hidl_handle &handle, in writeEmbeddedToParcel()
69 status_t _hidl_err = parcel->writeEmbeddedNativeHandle( in writeEmbeddedToParcel()
82 status_t readEmbeddedFromParcel(const hidl_memory& memory, in readEmbeddedFromParcel()
86 ::android::status_t _hidl_err = parcel.readNullableEmbeddedNativeHandle( in readEmbeddedFromParcel()
111 status_t writeEmbeddedToParcel(const hidl_memory &memory, in writeEmbeddedToParcel()
114 status_t _hidl_err = parcel->writeEmbeddedNativeHandle( in writeEmbeddedToParcel()
132 status_t readEmbeddedFromParcel(const hidl_string &string , in readEmbeddedFromParcel()
136 status_t status = parcel.readEmbeddedBuffer( in readEmbeddedFromParcel()
[all …]
/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()

1234567891011