Searched refs:id (Results 1 - 25 of 283) sorted by last modified time

1234567891011>>

/system/vold/
H A DCommandListener.cpp167 std::string id(argv[2]);
168 auto disk = vm->findDisk(id);
210 std::string id(argv[2]);
211 auto vol = vm->findVolume(id);
230 std::string id(argv[2]);
231 auto vol = vm->findVolume(id);
240 std::string id(argv[2]);
242 auto vol = vm->findVolume(id);
262 std::string id(argv[2]);
263 nsecs_t res = vm->benchmarkPrivate(id);
380 char id[255]; local
[all...]
H A DDisk.cpp125 std::shared_ptr<VolumeBase> Disk::findVolume(const std::string& id) { argument
127 if (vol->getId() == id) {
130 auto stackedVol = vol->findVolume(id);
H A DDisk.h66 std::shared_ptr<VolumeBase> findVolume(const std::string& id);
H A DLoop.cpp83 int Loop::lookupActive(const char *id, char *buffer, size_t len) { argument
117 if (!strncmp((const char*) li.lo_crypt_name, id, LO_NAME_SIZE)) {
130 int Loop::create(const char *id, const char *loopFile, char *loopDeviceBuffer, size_t len) { argument
216 strlcpy((char*) li.lo_crypt_name, id, LO_NAME_SIZE);
H A DLoop.h29 static int lookupActive(const char *id, char *buffer, size_t len);
31 static int create(const char *id, const char *loopFile, char *loopDeviceBuffer, size_t len);
H A DTrimTask.cpp56 for (auto id : privateIds) {
57 auto vol = vm->findVolume(id);
H A DVolumeBase.cpp102 status_t VolumeBase::setId(const std::string& id) { argument
104 LOG(WARNING) << getId() << " id change requires not created";
108 mId = id;
154 std::shared_ptr<VolumeBase> VolumeBase::findVolume(const std::string& id) { argument
156 if (vol->getId() == id) {
H A DVolumeBase.h96 std::shared_ptr<VolumeBase> findVolume(const std::string& id);
113 status_t setId(const std::string& id);
H A DVolumeManager.cpp220 char *VolumeManager::asecHash(const char *id, char *buffer, size_t len) { argument
229 } else if (id == NULL) {
240 MD5(reinterpret_cast<const unsigned char*>(id), strlen(id), sig);
356 std::shared_ptr<android::vold::Disk> VolumeManager::findDisk(const std::string& id) { argument
358 if (disk->getId() == id) {
365 std::shared_ptr<android::vold::VolumeBase> VolumeManager::findVolume(const std::string& id) { argument
366 if (mInternalEmulated->getId() == id) {
370 auto vol = disk->findVolume(id);
386 nsecs_t VolumeManager::benchmarkPrivate(const std::string& id) { argument
705 getAsecMountPath(const char *id, char *buffer, int maxlen) argument
735 getAsecFilesystemPath(const char *id, char *buffer, int maxlen) argument
764 createAsec(const char *id, unsigned long numSectors, const char *fstype, const char *key, const int ownerUid, bool isExternal) argument
958 resizeAsec(const char *id, unsigned long numSectors, const char *key) argument
1101 finalizeAsec(const char *id) argument
1161 fixupAsecPermissions(const char *id, gid_t gid, const char* filename) argument
1360 unmountAsec(const char *id, bool force) argument
1408 unmountLoopImage(const char *id, const char *idHash, const char *fileName, const char *mountPoint, bool force) argument
1496 destroyAsec(const char *id, bool force) argument
1586 findAsec(const char *id, char *asecPath, size_t asecPathLen, const char **directory) const argument
1628 mountAsec(const char *id, const char *key, int ownerUid, bool readOnly) argument
[all...]
H A DVolumeManager.h49 : id(_id)
54 if (id != NULL) {
55 free(id);
56 id = NULL;
60 char *id; member in class:ContainerData
118 std::shared_ptr<android::vold::Disk> findDisk(const std::string& id);
119 std::shared_ptr<android::vold::VolumeBase> findVolume(const std::string& id);
123 nsecs_t benchmarkPrivate(const std::string& id);
144 int findAsec(const char *id, char *asecPath = NULL, size_t asecPathLen = 0,
146 int createAsec(const char *id, unsigne
[all...]
/system/weaved/buffet/
H A Dbinder_command_proxy.cc41 android::binder::Status BinderCommandProxy::getId(android::String16* id) { argument
45 *id = ToString16(command->GetID());
H A Dbinder_command_proxy.h35 android::binder::Status getId(android::String16* id) override;
H A Dhttp_transport_client.cc58 int id,
66 int id,
57 OnSuccessCallback(const HttpClient::SendRequestCallback& callback, int id, std::unique_ptr<brillo::http::Response> response) argument
65 OnErrorCallback(const HttpClient::SendRequestCallback& callback, int id, const brillo::Error* brillo_error) argument
H A Dmanager.cc382 android::binder::Status Manager::getCloudId(android::String16* id) { argument
383 *id = weaved::binder_utils::ToString16(cloud_id_);
387 android::binder::Status Manager::getDeviceId(android::String16* id) { argument
388 *id = weaved::binder_utils::ToString16(device_id_);
419 android::binder::Status Manager::getModelId(android::String16* id) { argument
420 *id = weaved::binder_utils::ToString16(model_id_);
424 android::binder::Status Manager::getPairingSessionId(android::String16* id) { argument
425 *id = weaved::binder_utils::ToString16(pairing_session_id_);
H A Dmanager.h75 android::binder::Status getDeviceId(android::String16* id) override;
76 android::binder::Status getCloudId(android::String16* id) override;
84 android::binder::Status getModelId(android::String16* id) override;
85 android::binder::Status getPairingSessionId(android::String16* id) override;
/system/weaved/libweaved/
H A Dcommand.cc61 std::string id; local
64 id.assign(ToString(id16));
65 return id;
H A Dservice.cc464 for (int id : notification_ids) {
465 switch (id) {
/system/webservd/libwebserv/
H A Ddbus_protocol_handler.cc306 return pair.second->id() == handler_id;
H A Ddbus_server.cc156 VLOG(1) << "Server-side protocol handler with ID '" << handler->id()
159 protocol_handler_id_map_.emplace(handler->GetObjectPath(), handler->id());
163 protocol_handlers_ids_.emplace(handler->id(), registered_handler);
216 const std::string& id) const {
217 auto p = protocol_handlers_ids_.find(id);
219 LOG(ERROR) << "Unable to locate protocol handler with ID '" << id << "'";
H A Ddbus_server.h104 const std::string& id) const;
/system/tools/aidl/
H A Daidl_language.cpp96 unsigned line, const std::string& comments, int id)
103 id_(id) {
94 AidlMethod(bool oneway, AidlType* type, std::string name, std::vector<std::unique_ptr<AidlArgument>>* args, unsigned line, const std::string& comments, int id) argument
H A Daidl_language.h167 unsigned line, const std::string& comments, int id);
180 void SetId(unsigned id) { id_ = id; } argument
/system/tpm/attestation/server/
H A Dpkcs11_key_store.cc286 std::string id = Sha1(modulus); local
301 {CKA_ID, string_as_array(&id), id.size()},
332 {CKA_ID, string_as_array(&id), id.size()},
366 {CKA_ID, string_as_array(&id), id.size()},
/system/update_engine/
H A Dboot_control_android.cc64 strcmp(BOOT_CONTROL_HARDWARE_MODULE_ID, hw_module->id) != 0) {
H A Dboot_control_recovery_stub.cc20 .id = "stub",

Completed in 190 milliseconds

1234567891011>>