/system/update_engine/ |
H A D | chrome_browser_proxy_resolver.cc | 94 const ProxyRequestId id = next_request_id_++; local 98 weak_ptr_factory_.GetWeakPtr(), id), 100 weak_ptr_factory_.GetWeakPtr(), id), 102 pending_callbacks_[id] = callback; 103 return id;
|
H A D | omaha_request_action.cc | 208 string id; member in struct:chromeos_update_engine::__anon2620::OmahaAppData 280 "appid=\"" + XmlEncodeWithDefault(app_data.id, "") + "\" " + 322 OmahaAppData product_app = {.id = params->GetAppId(), 334 OmahaAppData system_app = {.id = params->system_app_id(),
|
/system/vold/ |
H A D | CommandListener.cpp | 170 std::string id(argv[2]); 171 auto disk = vm->findDisk(id); 213 std::string id(argv[2]); 214 auto vol = vm->findVolume(id); 233 std::string id(argv[2]); 234 auto vol = vm->findVolume(id); 243 std::string id(argv[2]); 245 auto vol = vm->findVolume(id); 265 std::string id(argv[2]); 266 nsecs_t res = vm->benchmarkPrivate(id); 383 char id[255]; local [all...] |
H A D | Disk.cpp | 129 std::shared_ptr<VolumeBase> Disk::findVolume(const std::string& id) { argument 131 if (vol->getId() == id) { 134 auto stackedVol = vol->findVolume(id);
|
H A D | Loop.cpp | 90 int Loop::lookupActive(const char *id, char *buffer, size_t len) { argument 124 if (!strncmp((const char*) li.lo_crypt_name, id, LO_NAME_SIZE)) { 137 int Loop::create(const char *id, const char *loopFile, char *loopDeviceBuffer, size_t len) { argument 223 strlcpy((char*) li.lo_crypt_name, id, LO_NAME_SIZE);
|
H A D | VolumeBase.cpp | 100 status_t VolumeBase::setId(const std::string& id) { argument 102 LOG(WARNING) << getId() << " id change requires not created"; 106 mId = id; 152 std::shared_ptr<VolumeBase> VolumeBase::findVolume(const std::string& id) { argument 154 if (vol->getId() == id) {
|
H A D | VolumeManager.cpp | 229 char *VolumeManager::asecHash(const char *id, char *buffer, size_t len) { argument 238 } else if (id == NULL) { 249 MD5(reinterpret_cast<const unsigned char*>(id), strlen(id), sig); 418 std::shared_ptr<android::vold::Disk> VolumeManager::findDisk(const std::string& id) { argument 420 if (disk->getId() == id) { 427 std::shared_ptr<android::vold::VolumeBase> VolumeManager::findVolume(const std::string& id) { argument 431 if (mInternalEmulated != nullptr && mInternalEmulated->getId() == id) { 435 auto vol = disk->findVolume(id); 451 nsecs_t VolumeManager::benchmarkPrivate(const std::string& id) { argument 786 getAsecMountPath(const char *id, char *buffer, int maxlen) argument 816 getAsecFilesystemPath(const char *id, char *buffer, int maxlen) argument 845 createAsec(const char *id, unsigned long numSectors, const char *fstype, const char *key, const int ownerUid, bool isExternal) argument 1039 resizeAsec(const char *id, unsigned long numSectors, const char *key) argument 1180 finalizeAsec(const char *id) argument 1240 fixupAsecPermissions(const char *id, gid_t gid, const char* filename) argument 1439 unmountAsec(const char *id, bool force) argument 1487 unmountLoopImage(const char *id, const char *idHash, const char *fileName, const char *mountPoint, bool force) argument 1575 destroyAsec(const char *id, bool force) argument 1665 findAsec(const char *id, char *asecPath, size_t asecPathLen, const char **directory) const argument 1707 mountAsec(const char *id, const char *key, int ownerUid, bool readOnly) argument [all...] |
H A D | VolumeManager.h | 49 : id(_id) 54 if (id != NULL) { 55 free(id); 56 id = NULL; 60 char *id; member in class:ContainerData 121 std::shared_ptr<android::vold::Disk> findDisk(const std::string& id); 122 std::shared_ptr<android::vold::VolumeBase> findVolume(const std::string& id); 126 nsecs_t benchmarkPrivate(const std::string& id); 147 int findAsec(const char *id, char *asecPath = NULL, size_t asecPathLen = 0, 149 int createAsec(const char *id, unsigne [all...] |
/system/tools/hidl/c2hal/ |
H A D | Expression.cpp | 205 ArraySubscript(std::string id, Expression* subscript) argument 206 : mId(id), mSubscript(subscript) 227 FunctionCall(std::string id, std::vector<Expression *> *args) argument 228 : mId(id), mArgs(args) 285 Expression *Expression::arraySubscript(std::string id, Expression *subscript) { argument 286 return new ArraySubscript(id, subscript); 289 Expression *Expression::functionCall(std::string id, std::vector<Expression *> *args) { argument 290 return new FunctionCall(id, args);
|
H A D | Type.cpp | 141 std::string id = (*it)->id; local 142 std::string conversion = cToHidlType(id); 146 std::string baseName = StringHelper::RTrim(id, "_t"); 163 std::string unsignedType = signedToUnsigned((*next)->id); 209 std::string id = mQualifiers->at(mQualifiers->size() - 2)->id; local 211 if (id == "char") { 215 // return "vec<" + id + ">"; 239 (*mQualifiers)[1]->id [all...] |
H A D | Type.h | 49 std::string id; member in union:android::Type::Qualifier::__anon2527 55 Qualifier(Qualification qualification, std::string id) argument 56 : qualification(qualification), id(id) {}
|
/system/tpm/attestation/server/ |
H A D | pkcs11_key_store.cc | 264 std::string id = Sha1(modulus); local 279 {CKA_ID, string_as_array(&id), id.size()}, 308 {CKA_ID, string_as_array(&id), id.size()}, 337 {CKA_ID, string_as_array(&id), id.size()},
|
/system/sepolicy/tools/sepolicy-analyze/ |
H A D | neverallow.c | 27 char *start, *id; local 107 id = calloc(1, len + 1); 108 if (!id) 110 memcpy(id, start, len); 112 printf(" %s", id); 113 type = hashtab_search(policydb->p_types.table, id); 116 fprintf(stderr, "Warning! Type or attribute %s used in neverallow undefined in policy being checked.\n", id); 120 free(id); 187 char *id, *start; local 241 id [all...] |
/system/tools/aidl/ |
H A D | aidl_language.cpp | 134 unsigned line, const std::string& comments, int id) 141 id_(id) { 132 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 D | aidl_language.h | 204 unsigned line, const std::string& comments, int id); 217 void SetId(unsigned id) { id_ = id; } argument
|
/system/media/audio/include/system/ |
H A D | audio.h | 111 static inline audio_unique_id_use_t audio_unique_id_get_use(audio_unique_id_t id) argument 113 return (audio_unique_id_use_t) (id & AUDIO_UNIQUE_ID_USE_MASK); 410 audio_port_handle_t id; /* port unique ID */ member in struct:audio_port_config 456 audio_port_handle_t id; /* port unique ID */ member in struct:audio_port 490 audio_patch_handle_t id; /* patch unique ID */ member in struct:audio_patch
|
H A D | sound_trigger.h | 109 unsigned int id; /* keyphrase ID */ member in struct:sound_trigger_phrase 185 unsigned int id; /* keyphrase ID */ member in struct:sound_trigger_phrase_recognition_extra
|
/system/media/audio_route/ |
H A D | audio_route.c | 136 ALOGE(" id=%d: ctl=%s", i, mixer_ctl_get_name(ctl)); 139 ALOGE(" id=%d value=0x%02x", j, path->setting[i].value.bytes[j]); 142 ALOGE(" id=%d value=%d", j, path->setting[i].value.enumerated[j]); 145 ALOGE(" id=%d value=%ld", j, path->setting[i].value.integer[j]); 457 unsigned int id; local 461 /* Get name, id and value attributes (these may be empty) */ 465 if (strcmp(attr[i], "id") == 0) 529 id = atoi((char *)attr_id); 530 if (id < ar->mixer_state[ctl_index].num_values) 532 ar->mixer_state[ctl_index].new_value.bytes[id] [all...] |
/system/media/brillo/audio/audioservice/test/ |
H A D | brillo_audio_client_test.cpp | 107 int id = 0; local 111 EXPECT_EQ(client_.RegisterAudioCallback(callback, &id), 0); 112 EXPECT_NE(id, 0); 120 int id = -1; local 125 EXPECT_EQ(client_.RegisterAudioCallback(callback, &id), 0); 126 EXPECT_NE(id, 0); 127 id = -1; 128 EXPECT_EQ(client_.RegisterAudioCallback(callback, &id), EINVAL); 129 EXPECT_EQ(id, 0); 137 int id local [all...] |
/system/media/camera/docs/ |
H A D | metadata_model.py | 601 name: alias for id 602 id: The name of the tag, e.g. for <tag id="BC"/> id = 'BC' 608 self._name = name # 'id' attribute in XML 617 def id(self): member in class:Tag 960 id: An optional numeric string, e.g. '0' or '0xFF' 969 id=None, deprecated=False, optional=False, hidden=False, notes=None, ndk_hidden=False): 971 self._id = id # int, e.g. '0' 980 def id(sel member in class:EnumValue [all...] |
/system/media/camera/src/ |
H A D | camera_metadata.c | 909 metadata_vendor_id_t id) { 912 id != CAMERA_METADATA_INVALID_VENDOR_ID) { 913 return vendor_cache_ops->get_section_name(tag, id); 927 metadata_vendor_id_t id) { 930 id != CAMERA_METADATA_INVALID_VENDOR_ID) { 931 return vendor_cache_ops->get_tag_name(tag, id); 947 metadata_vendor_id_t id) { 950 id != CAMERA_METADATA_INVALID_VENDOR_ID) { 951 return vendor_cache_ops->get_tag_type(tag, id); 979 metadata_vendor_id_t id local 908 get_local_camera_metadata_section_name_vendor_id(uint32_t tag, metadata_vendor_id_t id) argument 926 get_local_camera_metadata_tag_name_vendor_id(uint32_t tag, metadata_vendor_id_t id) argument 946 get_local_camera_metadata_tag_type_vendor_id(uint32_t tag, metadata_vendor_id_t id) argument 987 metadata_vendor_id_t id = (NULL == meta) ? CAMERA_METADATA_INVALID_VENDOR_ID : local 995 metadata_vendor_id_t id = (NULL == meta) ? CAMERA_METADATA_INVALID_VENDOR_ID : local 1022 set_camera_metadata_vendor_id(camera_metadata_t *meta, metadata_vendor_id_t id) argument [all...] |
/system/netd/server/ |
H A D | CommandListener.cpp | 1497 return syntaxError(client, "Missing id"); 1510 unsigned id = strtoul(argv[nextArg], &endPtr, 0); local 1512 return syntaxError(client, "Invalid id"); 1514 ids.push_back(id);
|
H A D | MDnsSdListener.cpp | 693 DNSServiceRef *MDnsSdListener::Monitor::allocateServiceRef(int id, Context *context) { argument 694 if (lookupServiceRef(id) != NULL) { 698 Element *e = new Element(id, context); 706 DNSServiceRef *MDnsSdListener::Monitor::lookupServiceRef(int id) { argument 710 if (cur->mId == id) { 721 void MDnsSdListener::Monitor::startMonitoring(int id) { argument 722 if (VDBG) ALOGD("startMonitoring %d", id); 726 if (cur->mId == id) { 740 void MDnsSdListener::Monitor::freeServiceRef(int id) { argument 741 if (VDBG) ALOGD("freeServiceRef %d", id); [all...] |
H A D | MDnsSdListener.h | 75 DNSServiceRef *allocateServiceRef(int id, Context *c); 76 void startMonitoring(int id); 77 DNSServiceRef *lookupServiceRef(int id); 78 void freeServiceRef(int id); 92 Element(int id, Context *context) argument 93 : mId(id), mNext(NULL), mContext(context), mReady(0) {}
|
/system/netd/tests/dns_responder/ |
H A D | dns_responder.cpp | 365 unsigned id; member in struct:test::DNSHeader 383 uint16_t id; member in struct:test::DNSHeader::Header 458 header.id = htons(id); 500 id = ntohs(header.id);
|