Home
last modified time | relevance | path

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

1234567891011

/system/libhwbinder/include/hwbinder/
DParcel.h56 status_t setDataSize(size_t size);
58 status_t setDataCapacity(size_t size);
60 status_t setData(const uint8_t* buffer, size_t len);
63 status_t writeInterfaceToken(const char* interface);
78 status_t errorCheck() const;
79 void setError(status_t err);
81 status_t write(const void* data, size_t len);
83 status_t writeUnpadded(const void* data, size_t len);
84 status_t writeInt8(int8_t val);
85 status_t writeUint8(uint8_t val);
[all …]
DIPCThreadState.h46 status_t clearLastError();
67 status_t handlePolledCommands();
75 status_t transact(int32_t handle,
83 status_t attemptIncStrongHandle(int32_t handle);
85 status_t requestDeathNotification( int32_t handle,
87 status_t clearDeathNotification( int32_t handle,
141 status_t sendReply(const Parcel& reply, uint32_t flags);
142 status_t waitForResponse(Parcel *reply,
143 status_t *acquireResult=nullptr);
144 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.cpp48 status_t fetchAllInformation(RuntimeInfo::FetchFlags flags);
51 status_t fetchVersion();
52 status_t fetchKernelConfigs();
53 status_t fetchCpuInfo();
54 status_t fetchKernelSepolicyVers();
55 status_t fetchAvb();
56 status_t parseKernelVersion();
62 status_t RuntimeInfoFetcher::fetchKernelConfigs() { in fetchKernelConfigs()
74 status_t err = OK; in fetchKernelConfigs()
87 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.h51 status_t addPackagePath(const std::string& root, const std::string& path, std::string* error);
63 status_t getFilepath(const FQName& fqName, Location location, const std::string& fileName,
72 status_t writeDepFile(const std::string& forFile) const;
95 status_t parseOptional(const FQName& fqName, AST** ast, std::set<AST*>* parsedASTs = nullptr,
104 status_t getPackagePath(const FQName& fqName, bool relative, bool sanitized,
111 status_t getPackageRoot(const FQName& fqName, std::string* root) const;
113 status_t getPackageInterfaceFiles(
117 status_t appendPackageInterfacesToVector(
121 status_t isTypesOnlyPackage(const FQName& package, bool* result) const;
124 status_t addUnreferencedTypes(const std::vector<FQName>& packageInterfaces,
[all …]
DAST.h82 status_t postParse();
85 status_t constantExpressionRecursivePass(
86 const std::function<status_t(ConstantExpression*)>& func, bool processBeforeDependencies);
87 status_t constantExpressionRecursivePass(
88 const std::function<status_t(const ConstantExpression*)>& func,
92 status_t setParseStage(Type::ParseStage oldStage, Type::ParseStage newStage);
95 status_t lookupTypes();
99 status_t lookupConstantExpressions();
103 status_t validateDefinedTypesUniqueNames() const;
107 status_t resolveInheritance();
[all …]
/system/libhidl/transport/include/hidl/
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,
77 status_t writeToParcel(const hidl_version &version, android::hardware::Parcel& parcel);
86 status_t readFromParcel(Status *status, const Parcel& parcel);
87 status_t writeToParcel(const Status &status, Parcel* parcel);
92 status_t readEmbeddedFromParcel( in readEmbeddedFromParcel()
[all …]
DLegacySupport.h30 __attribute__((warn_unused_result)) status_t registerPassthroughServiceImplementation(
43 status_t status = registerServiceCb(service, name);
61 __attribute__((warn_unused_result)) status_t registerPassthroughServiceImplementation(
76 __attribute__((warn_unused_result)) status_t defaultPassthroughServiceImplementation(
79 status_t result = registerPassthroughServiceImplementation<Interface>(name);
90 status_t defaultPassthroughServiceImplementation(size_t maxThreads = 1) {
103 __attribute__((warn_unused_result)) status_t registerLazyPassthroughServiceImplementation(
125 __attribute__((warn_unused_result)) status_t defaultLazyPassthroughServiceImplementation(
128 status_t result = registerLazyPassthroughServiceImplementation<Interface>(name);
138 __attribute__((warn_unused_result)) status_t defaultLazyPassthroughServiceImplementation(
/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/libhwbinder/
DParcel.cpp182 inline static status_t finish_flatten_binder( in finish_flatten_binder()
188 status_t flatten_binder(const sp<ProcessState>& /*proc*/, in flatten_binder()
230 status_t flatten_binder(const sp<ProcessState>& /*proc*/, in flatten_binder()
279 inline static status_t finish_unflatten_binder( in finish_unflatten_binder()
286 status_t unflatten_binder(const sp<ProcessState>& proc, in unflatten_binder()
305 status_t unflatten_binder(const sp<ProcessState>& proc, in unflatten_binder()
402 status_t Parcel::setDataSize(size_t size) in setDataSize()
410 status_t err; in setDataSize()
431 status_t Parcel::setDataCapacity(size_t size) in setDataCapacity()
443 status_t Parcel::setData(const uint8_t* buffer, size_t len) in setData()
[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,
/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/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/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