Home
last modified time | relevance | path

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

123456789

/system/libhwbinder/include/hwbinder/
DParcel.h57 status_t setDataSize(size_t size);
59 status_t setDataCapacity(size_t size);
61 status_t setData(const uint8_t* buffer, size_t len);
64 status_t writeInterfaceToken(const char* interface);
79 status_t errorCheck() const;
80 void setError(status_t err);
82 status_t write(const void* data, size_t len);
84 status_t writeUnpadded(const void* data, size_t len);
85 status_t writeInt8(int8_t val);
86 status_t writeUint8(uint8_t val);
[all …]
DIPCThreadState.h41 status_t clearLastError();
56 status_t handlePolledCommands();
64 status_t transact(int32_t handle,
72 status_t attemptIncStrongHandle(int32_t handle);
74 status_t requestDeathNotification( int32_t handle,
76 status_t clearDeathNotification( int32_t handle,
98 status_t sendReply(const Parcel& reply, uint32_t flags);
99 status_t waitForResponse(Parcel *reply,
100 status_t *acquireResult=NULL);
101 status_t talkWithDriver(bool doReceive=true);
[all …]
/system/vold/
DVolumeBase.h87 status_t setDiskId(const std::string& diskId);
88 status_t setPartGuid(const std::string& partGuid);
89 status_t setMountFlags(int mountFlags);
90 status_t setMountUserId(userid_t mountUserId);
91 status_t setSilent(bool silent);
98 status_t create();
99 status_t destroy();
100 status_t mount();
101 status_t unmount();
102 status_t format(const std::string& fsType);
[all …]
DUtils.h46 status_t CreateDeviceNode(const std::string& path, dev_t dev);
47 status_t DestroyDeviceNode(const std::string& path);
50 status_t PrepareDir(const std::string& path, mode_t mode, uid_t uid, gid_t gid);
53 status_t ForceUnmount(const std::string& path);
56 status_t KillProcessesUsingPath(const std::string& path);
59 status_t BindMount(const std::string& source, const std::string& target);
62 status_t ReadMetadata(const std::string& path, std::string& fsType,
66 status_t ReadMetadataUntrusted(const std::string& path, std::string& fsType,
70 status_t ForkExecvp(const std::vector<std::string>& args);
71 status_t ForkExecvp(const std::vector<std::string>& args, security_context_t context);
[all …]
DVolumeBase.cpp50 status_t VolumeBase::setDiskId(const std::string& diskId) { in setDiskId()
60 status_t VolumeBase::setPartGuid(const std::string& partGuid) { in setPartGuid()
70 status_t VolumeBase::setMountFlags(int mountFlags) { in setMountFlags()
80 status_t VolumeBase::setMountUserId(userid_t mountUserId) { in setMountUserId()
90 status_t VolumeBase::setSilent(bool silent) { in setSilent()
100 status_t VolumeBase::setId(const std::string& id) { in setId()
110 status_t VolumeBase::setPath(const std::string& path) { in setPath()
121 status_t VolumeBase::setInternalPath(const std::string& internalPath) { in setInternalPath()
161 status_t VolumeBase::create() { in create()
165 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();
DPrivateVolume.h44 status_t doCreate() override;
45 status_t doDestroy() override;
46 status_t doMount() override;
47 status_t doUnmount() override;
48 status_t doFormat(const std::string& fsType) override;
50 status_t readMetadata();
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);
/system/tools/hidl/
DAST.h80 status_t generateCpp(const std::string &outputPath) const;
81 status_t generateCppHeaders(const std::string &outputPath) const;
82 status_t generateCppSources(const std::string &outputPath) const;
83 status_t generateCppImpl(const std::string &outputPath) const;
85 status_t generateJava(
89 status_t generateJavaTypes(
99 status_t generateVts(const std::string &outputPath) const;
158 status_t lookupAutofilledType(const FQName &fqName, Type **returnedType);
182 status_t generateInterfaceHeader(const std::string &outputPath) const;
183 status_t generateHwBinderHeader(const std::string &outputPath) const;
[all …]
DScope.h53 status_t emitTypeDeclarations(Formatter &out) const override;
54 status_t emitGlobalTypeDeclarations(Formatter &out) const override;
55 status_t emitGlobalHwDeclarations(Formatter &out) const override;
57 status_t emitJavaTypeDeclarations(
60 status_t emitTypeDefinitions(
65 status_t emitVtsTypeDeclarations(Formatter &out) const override;
77 status_t forEachType(std::function<status_t(Type *)> func) const;
DgenerateVts.cpp32 status_t AST::emitVtsTypeDeclarations(Formatter &out) const { in emitVtsTypeDeclarations()
36 status_t status = iface->emitVtsAttributeDeclaration(out); in emitVtsTypeDeclarations()
48 status_t status = type->emitVtsTypeDeclarations(out); in emitVtsTypeDeclarations()
59 status_t AST::generateVts(const std::string &outputPath) const { in generateVts()
117 status_t status = emitVtsTypeDeclarations(out); in generateVts()
124 status_t status = superInterface->emitVtsMethodDeclaration(out); in generateVts()
133 status_t status = emitVtsTypeDeclarations(out); in generateVts()
/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.cpp62 status_t fetchAllInformation();
66 status_t fetchVersion();
67 status_t fetchKernelConfigs();
68 status_t fetchCpuInfo();
69 status_t fetchKernelSepolicyVers();
70 status_t fetchAvb();
71 status_t parseKernelVersion();
77 status_t RuntimeInfoFetcher::fetchKernelConfigs() { in fetchKernelConfigs()
89 status_t err = OK; in fetchKernelConfigs()
139 status_t RuntimeInfoFetcher::fetchCpuInfo() { in fetchCpuInfo()
[all …]
Dutils.h39 virtual status_t fetch(const std::string& path, std::string& fetched) { in fetch()
61 virtual status_t mountSystem() const { return OK; } in mountSystem()
62 virtual status_t mountVendor() const { return OK; } in mountVendor()
63 virtual status_t umountSystem() const { return OK; } in umountSystem()
64 virtual status_t umountVendor() const { return OK; } in umountVendor()
70 status_t fetchAllInformation(const std::string& path, const XmlConverter<T>& converter, in fetchAllInformation()
79 status_t result = gFetcher->fetch(path, info); in fetchAllInformation()
/system/libhwbinder/
DParcel.cpp190 inline static status_t finish_flatten_binder( in finish_flatten_binder()
196 status_t flatten_binder(const sp<ProcessState>& /*proc*/, in flatten_binder()
235 status_t flatten_binder(const sp<ProcessState>& /*proc*/, in flatten_binder()
284 inline static status_t finish_unflatten_binder( in finish_unflatten_binder()
291 status_t unflatten_binder(const sp<ProcessState>& proc, in unflatten_binder()
310 status_t unflatten_binder(const sp<ProcessState>& proc, in unflatten_binder()
407 status_t Parcel::setDataSize(size_t size) in setDataSize()
415 status_t err; in setDataSize()
436 status_t Parcel::setDataCapacity(size_t size) in setDataCapacity()
448 status_t Parcel::setData(const uint8_t* buffer, size_t len) in setData()
[all …]
/system/libfmq/
DEventFlag.cpp31 status_t EventFlag::createEventFlag(int fd, off_t offset, EventFlag** flag) { in createEventFlag()
36 status_t status = NO_MEMORY; in createEventFlag()
51 status_t EventFlag::createEventFlag(std::atomic<uint32_t>* fwAddr, in createEventFlag()
57 status_t status = NO_MEMORY; in createEventFlag()
75 EventFlag::EventFlag(int fd, off_t offset, status_t* status) { in EventFlag()
93 EventFlag::EventFlag(std::atomic<uint32_t>* fwAddr, status_t* status) { in EventFlag()
106 status_t EventFlag::wake(uint32_t bitmask) { in wake()
114 status_t status = NO_ERROR; in wake()
135 status_t EventFlag::waitHelper(uint32_t bitmask, uint32_t* efState, int64_t timeoutNanoSeconds) { in waitHelper()
143 status_t status = NO_ERROR; in waitHelper()
[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.h48 virtual status_t run( const char* name,
58 virtual status_t readyToRun();
64 status_t requestExitAndWait();
68 status_t join();
99 status_t mStatus;
/system/libhidl/transport/include/hidl/
DHidlBinderSupport.h63 status_t readEmbeddedFromParcel(const hidl_memory &memory,
66 status_t writeEmbeddedToParcel(const hidl_memory &memory,
71 status_t readEmbeddedFromParcel(const hidl_string &string,
74 status_t writeEmbeddedToParcel(const hidl_string &string,
79 status_t writeToParcel(const hidl_version &version, android::hardware::Parcel& parcel);
88 status_t readFromParcel(Status *status, const Parcel& parcel);
89 status_t writeToParcel(const Status &status, Parcel* parcel);
94 status_t readEmbeddedFromParcel( in readEmbeddedFromParcel()
110 status_t writeEmbeddedToParcel( in writeEmbeddedToParcel()
125 status_t findInParcel(const hidl_vec<T> &vec, const Parcel &parcel, size_t *handle) { in findInParcel()
[all …]
/system/libhidl/transport/
DHidlBinderSupport.cpp36 status_t readEmbeddedFromParcel(const hidl_memory& memory, in readEmbeddedFromParcel()
39 ::android::status_t _hidl_err = parcel.readNullableEmbeddedNativeHandle( in readEmbeddedFromParcel()
55 status_t writeEmbeddedToParcel(const hidl_memory &memory, in writeEmbeddedToParcel()
57 status_t _hidl_err = parcel->writeEmbeddedNativeHandle( in writeEmbeddedToParcel()
76 status_t readEmbeddedFromParcel(const hidl_string &string , in readEmbeddedFromParcel()
80 status_t status = parcel.readEmbeddedBuffer( in readEmbeddedFromParcel()
100 status_t writeEmbeddedToParcel(const hidl_string &string, in writeEmbeddedToParcel()
110 android::status_t writeToParcel(const hidl_version &version, android::hardware::Parcel& parcel) { in writeToParcel()
116 android::status_t status = parcel.readUint32(&version); in readFromParcel()
124 status_t readFromParcel(Status *s, const Parcel& parcel) { in readFromParcel()
[all …]
/system/netd/server/binder/android/net/
DUidRange.cpp29 using android::status_t;
41 status_t UidRange::writeToParcel(Parcel* parcel) const { in writeToParcel()
46 if (status_t err = parcel->writeInt32(mStart)) { in writeToParcel()
49 if (status_t err = parcel->writeInt32(mStop)) { in writeToParcel()
55 status_t UidRange::readFromParcel(const Parcel* parcel) { in readFromParcel()
60 if (status_t err = parcel->readInt32(&mStart)) { in readFromParcel()
63 if (status_t err = parcel->readInt32(&mStop)) { in readFromParcel()
/system/security/keystore/
Dkeystore_aidl_hidl_marshalling_utils.h37 inline android::status_t nullable(Fn fn, const NullOr<Arg>& arg, android::Parcel* out) { in nullable()
47 inline android::status_t nullable(Fn fn, Arg&& arg, android::Parcel* out) { in nullable()
54 inline android::status_t nullable(android::Parcel* out) { in nullable()
62 android::status_t writeKeymasterBlob(const hidl_vec<uint8_t>& blob, android::Parcel* out);
65 android::status_t writeBlobAsByteArray(const NullOr<const hidl_vec<uint8_t>&>& blob,
69 android::status_t writeKeyParameterToParcel(const KeyParameter& param, android::Parcel* out);
72 android::status_t writeParamSetToParcel(const hidl_vec<KeyParameter>& params, android::Parcel* out);
75 android::status_t writeKeyCharacteristicsToParcel(const KeyCharacteristics& keyChara,
79 android::status_t writeCertificateChainToParcel(const hidl_vec<hidl_vec<uint8_t>>& certs,
/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()
Dscan_result.cc28 using android::status_t;
34 status_t ScanResult::writeToParcel(Parcel* parcel) const { in writeToParcel()
35 status_t status = in writeToParcel()
46 status_t ScanResult::readFromParcel(const Parcel* parcel) { in readFromParcel()
48 status_t status = parcel->readString16(&addr); in readFromParcel()

123456789