Home
last modified time | relevance | path

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

12345

/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.cpp52 status_t VolumeBase::setDiskId(const std::string& diskId) { in setDiskId()
62 status_t VolumeBase::setPartGuid(const std::string& partGuid) { in setPartGuid()
72 status_t VolumeBase::setMountFlags(int mountFlags) { in setMountFlags()
82 status_t VolumeBase::setMountUserId(userid_t mountUserId) { in setMountUserId()
92 status_t VolumeBase::setSilent(bool silent) { in setSilent()
102 status_t VolumeBase::setId(const std::string& id) { in setId()
112 status_t VolumeBase::setPath(const std::string& path) { in setPath()
123 status_t VolumeBase::setInternalPath(const std::string& internalPath) { in setInternalPath()
163 status_t VolumeBase::create() { in create()
167 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);
DUtils.cpp60 status_t CreateDeviceNode(const std::string& path, dev_t dev) { in CreateDeviceNode()
62 status_t res = 0; in CreateDeviceNode()
88 status_t DestroyDeviceNode(const std::string& path) { in DestroyDeviceNode()
97 status_t PrepareDir(const std::string& path, mode_t mode, uid_t uid, gid_t gid) { in PrepareDir()
121 status_t ForceUnmount(const std::string& path) { in ForceUnmount()
151 status_t KillProcessesUsingPath(const std::string& path) { in KillProcessesUsingPath()
177 status_t BindMount(const std::string& source, const std::string& target) { in BindMount()
185 static status_t readMetadata(const std::string& path, std::string& fsType, in readMetadata()
204 status_t res = ForkExecvp(cmd, output, untrusted ? sBlkidUntrustedContext : sBlkidContext); in readMetadata()
233 status_t ReadMetadata(const std::string& path, std::string& fsType, in ReadMetadata()
[all …]
DPublicVolume.cpp53 status_t PublicVolume::readMetadata() { in readMetadata()
54 status_t res = ReadMetadataUntrusted(mDevPath, mFsType, mFsUuid, mFsLabel); in readMetadata()
61 status_t PublicVolume::initAsecStage() { in initAsecStage()
85 status_t PublicVolume::doCreate() { in doCreate()
89 status_t PublicVolume::doDestroy() { in doDestroy()
93 status_t PublicVolume::doMount() { in doMount()
196 status_t PublicVolume::doUnmount() { in doUnmount()
229 status_t PublicVolume::doFormat(const std::string& fsType) { in doFormat()
/system/nativepower/daemon/
Dpower_manager.h66 status_t acquireWakeLock(int flags,
71 status_t acquireWakeLockWithUid(int flags,
77 status_t releaseWakeLock(const sp<IBinder>& lock,
80 status_t updateWakeLockUids(const sp<IBinder>& lock,
84 status_t powerHint(int hintId, int data) override;
85 status_t goToSleep(int64_t event_time_ms, int reason, int flags) override;
86 status_t reboot(bool confirm, const String16& reason, bool wait) override;
87 status_t shutdown(bool confirm, const String16& reason, bool wait) override;
88 status_t crash(const String16& message) override;
Dpower_manager_stub.cc74 status_t PowerManagerStub::acquireWakeLock(int flags, in acquireWakeLock()
85 status_t PowerManagerStub::acquireWakeLockWithUid(int flags, in acquireWakeLockWithUid()
97 status_t PowerManagerStub::releaseWakeLock(const sp<IBinder>& lock, in releaseWakeLock()
104 status_t PowerManagerStub::updateWakeLockUids(const sp<IBinder>& lock, in updateWakeLockUids()
111 status_t PowerManagerStub::powerHint(int hintId, int data) { in powerHint()
115 status_t PowerManagerStub::goToSleep(int64_t event_time_ms, in goToSleep()
122 status_t PowerManagerStub::reboot(bool confirm, in reboot()
129 status_t PowerManagerStub::shutdown(bool confirm, in shutdown()
136 status_t PowerManagerStub::crash(const String16& message) { in crash()
Dpower_manager.cc60 status_t PowerManager::acquireWakeLock(int flags, in acquireWakeLock()
71 status_t PowerManager::acquireWakeLockWithUid(int flags, in acquireWakeLockWithUid()
82 status_t PowerManager::releaseWakeLock(const sp<IBinder>& lock, in releaseWakeLock()
88 status_t PowerManager::updateWakeLockUids(const sp<IBinder>& lock, in updateWakeLockUids()
97 status_t PowerManager::powerHint(int hintId, int data) { in powerHint()
102 status_t PowerManager::goToSleep(int64_t event_time_ms, int reason, int flags) { in goToSleep()
126 status_t PowerManager::reboot(bool confirm, const String16& reason, bool wait) { in reboot()
142 status_t PowerManager::shutdown(bool confirm, in shutdown()
160 status_t PowerManager::crash(const String16& message) { in crash()
/system/core/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;
DFlattenable.h96 inline status_t flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const;
105 inline status_t unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count);
117 inline status_t Flattenable<T>::flatten( in flatten()
122 inline status_t Flattenable<T>::unflatten( in unflatten()
144 inline status_t flatten(void* buffer, size_t size) const;
147 inline status_t unflatten(void const* buffer, size_t size);
159 inline status_t LightFlattenable<T>::flatten(void* buffer, size_t size) const { in flatten()
163 inline status_t LightFlattenable<T>::unflatten(void const* buffer, size_t size) { in unflatten()
183 inline status_t flatten(void* buffer, size_t size) const { in flatten()
188 inline status_t unflatten(void const* buffer, size_t) { in unflatten()
DMutex.h60 status_t lock();
64 status_t tryLock();
78 status_t timedLock(nsecs_t timeoutNs);
131 inline status_t Mutex::lock() { in lock()
137 inline status_t Mutex::tryLock() { in tryLock()
141 inline status_t Mutex::timedLock(nsecs_t timeoutNs) { in timedLock()
DString16.h70 status_t setTo(const char16_t* other);
71 status_t setTo(const char16_t* other, size_t len);
72 status_t setTo(const String16& other,
76 status_t append(const String16& other);
77 status_t append(const char16_t* other, size_t len);
84 status_t insert(size_t pos, const char16_t* chrs);
85 status_t insert(size_t pos,
96 status_t makeLower();
98 status_t replaceAll(char16_t replaceThis,
101 status_t remove(size_t len, size_t begin=0);
DString8.h75 status_t setTo(const char* other);
76 status_t setTo(const char* other, size_t numChars);
77 status_t setTo(const char16_t* other, size_t numChars);
78 status_t setTo(const char32_t* other,
81 status_t append(const String8& other);
82 status_t append(const char* other);
83 status_t append(const char* other, size_t numChars);
85 status_t appendFormat(const char* fmt, ...)
87 status_t appendFormatV(const char* fmt, va_list args);
125 status_t unlockBuffer(size_t size);
[all …]
/system/nativepower/include/nativepower/
Dpower_manager_stub.h70 status_t acquireWakeLock(int flags,
75 status_t acquireWakeLockWithUid(int flags,
81 status_t releaseWakeLock(const sp<IBinder>& lock,
84 status_t updateWakeLockUids(const sp<IBinder>& lock,
88 status_t powerHint(int hintId, int data) override;
89 status_t goToSleep(int64_t event_time_ms, int reason, int flags) override;
90 status_t reboot(bool confirm, const String16& reason, bool wait) override;
91 status_t shutdown(bool confirm, const String16& reason, bool wait) override;
92 status_t crash(const String16& message) override;
/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/core/fingerprintd/
DIFingerprintDaemonCallback.h42 virtual status_t onEnrollResult(int64_t devId, int32_t fpId, int32_t gpId, int32_t rem) = 0;
43 virtual status_t onAcquired(int64_t devId, int32_t acquiredInfo) = 0;
44 virtual status_t onAuthenticated(int64_t devId, int32_t fingerId, int32_t groupId) = 0;
45 virtual status_t onError(int64_t devId, int32_t error) = 0;
46 virtual status_t onRemoved(int64_t devId, int32_t fingerId, int32_t groupId) = 0;
47 … virtual status_t onEnumerate(int64_t devId, int32_t fingerId, int32_t groupId, int32_t rem) = 0;
/system/vold/fs/
DExt4.h30 status_t Check(const std::string& source, const std::string& target);
31 status_t Mount(const std::string& source, const std::string& target, bool ro,
33 status_t Format(const std::string& source, unsigned long numSectors,
35 status_t Resize(const std::string& source, unsigned long numSectors);
DF2fs.h30 status_t Check(const std::string& source);
31 status_t Mount(const std::string& source, const std::string& target);
32 status_t Format(const std::string& source);
/system/tools/aidl/tests/
Dsimple_parcelable.cpp33 status_t SimpleParcelable::writeToParcel(Parcel* parcel) const { in writeToParcel()
34 status_t status = parcel->writeString16(name_); in writeToParcel()
42 status_t SimpleParcelable::readFromParcel(const Parcel* parcel) { in readFromParcel()
43 status_t status = parcel->readString16(&name_); in readFromParcel()
/system/update_engine/
Dparcelable_update_engine_status.cc24 status_t ParcelableUpdateEngineStatus::writeToParcel(Parcel* parcel) const { in writeToParcel()
25 status_t status; in writeToParcel()
50 status_t ParcelableUpdateEngineStatus::readFromParcel(const Parcel* parcel) { in readFromParcel()
51 status_t status; in readFromParcel()

12345