Searched refs:id (Results 1 - 25 of 283) sorted by relevance

1234567891011>>

/system/connectivity/shill/
H A Dadaptor_stub.cc21 AdaptorStub::AdaptorStub(const std::string& id) : rpc_id_(id) {} argument
H A Dipconfig_adaptor_stub.cc21 IPConfigAdaptorStub::IPConfigAdaptorStub(const std::string& id) argument
22 : AdaptorStub(id) {}
H A Dprofile_adaptor_stub.cc21 ProfileAdaptorStub::ProfileAdaptorStub(const std::string& id) argument
22 : AdaptorStub(id) {}
H A Drpc_task_adaptor_stub.cc21 RPCTaskAdaptorStub::RPCTaskAdaptorStub(const std::string& id) argument
22 : AdaptorStub(id) {}
H A Dthird_party_vpn_adaptor_stub.cc21 ThirdPartyVpnAdaptorStub::ThirdPartyVpnAdaptorStub(const std::string& id) argument
22 : AdaptorStub(id) {}
H A Dtechnology.cc73 string Technology::NameFromIdentifier(Technology::Identifier id) { argument
74 if (id == kEthernet) {
76 } else if (id == kEthernetEap) {
78 } else if (id == kWifi) {
80 } else if (id == kWiMax) {
82 } else if (id == kCellular) {
84 } else if (id == kVPN) {
86 } else if (id == kLoopback) {
88 } else if (id == kTunnel) {
90 } else if (id
[all...]
H A Dmock_dhcp_properties.h31 MOCK_CONST_METHOD2(Save, void(StoreInterface* store, const std::string& id));
32 MOCK_METHOD2(Load, void(StoreInterface* store, const std::string& id));
H A Deap_credentials.cc286 void EapCredentials::Load(StoreInterface* storage, const string& id) { argument
288 storage->GetCryptedString(id,
291 storage->GetString(id, kStorageEapCertID, &cert_id_);
292 storage->GetString(id, kStorageEapClientCert, &client_cert_);
293 storage->GetCryptedString(id, kStorageEapIdentity, &identity_);
294 storage->GetString(id, kStorageEapKeyID, &key_id_);
296 storage->GetString(id, kStorageEapKeyManagement, &key_management);
298 storage->GetCryptedString(id, kStorageEapPassword, &password_);
299 storage->GetString(id, kStorageEapPIN, &pin_);
300 storage->GetString(id, kStorageEapPrivateKe
337 Save(StoreInterface* storage, const string& id, bool save_credentials) const argument
[all...]
/system/bt/service/hal/
H A Dgatt_helpers.cpp24 void GetHALServiceId(const GattIdentifier& id, btgatt_srvc_id_t* hal_id) { argument
26 CHECK(id.IsService());
29 hal_id->is_primary = id.is_primary();
30 hal_id->id.inst_id = id.service_instance_id();
31 hal_id->id.uuid = id.service_uuid().GetBlueDroid();
36 UUID uuid(srvc_id.id.uuid);
39 "", srvc_id.id.inst_id, uuid, srvc_id.is_primary);
/system/connectivity/shill/net/
H A Dattribute_list.cc41 int id, AttributeList::NewFromIdMethod factory) {
42 if (ContainsKey(attributes_, id)) {
43 VLOG(7) << "Trying to re-add attribute " << id << ", not overwriting";
46 attributes_[id] = AttributePointer(factory.Run(id));
50 bool AttributeList::CreateControlAttribute(int id) { argument
52 id, base::Bind(&NetlinkAttribute::NewControlAttributeFromId));
56 int id, NetlinkMessage::MessageContext context) {
58 id, base::Bind(&NetlinkAttribute::NewNl80211AttributeFromId, context));
63 int id, cons
40 CreateAttribute( int id, AttributeList::NewFromIdMethod factory) argument
55 CreateNl80211Attribute( int id, NetlinkMessage::MessageContext context) argument
61 CreateAndInitAttribute( const AttributeList::NewFromIdMethod& factory, int id, const ByteString& value) argument
70 InitAttributeFromValue(int id, const ByteString& value) argument
137 GetU8AttributeValue(int id, uint8_t* value) const argument
144 CreateU8Attribute(int id, const char* id_string) argument
154 SetU8AttributeValue(int id, uint8_t value) argument
164 GetU16AttributeValue(int id, uint16_t* value) const argument
171 CreateU16Attribute(int id, const char* id_string) argument
181 SetU16AttributeValue(int id, uint16_t value) argument
190 GetU32AttributeValue(int id, uint32_t* value) const argument
197 CreateU32Attribute(int id, const char* id_string) argument
207 SetU32AttributeValue(int id, uint32_t value) argument
216 GetU64AttributeValue(int id, uint64_t* value) const argument
223 CreateU64Attribute(int id, const char* id_string) argument
233 SetU64AttributeValue(int id, uint64_t value) argument
242 GetFlagAttributeValue(int id, bool* value) const argument
249 CreateFlagAttribute(int id, const char* id_string) argument
259 SetFlagAttributeValue(int id, bool value) argument
276 GetStringAttributeValue(int id, string* value) const argument
283 CreateStringAttribute(int id, const char* id_string) argument
293 CreateSsidAttribute(int id, const char* id_string) argument
303 SetStringAttributeValue(int id, string value) argument
312 GetNestedAttributeList(int id, AttributeListRefPtr* value) argument
320 ConstGetNestedAttributeList( int id, AttributeListConstRefPtr* value) const argument
328 SetNestedAttributeHasAValue(int id) argument
335 CreateNestedAttribute(int id, const char* id_string) argument
347 GetRawAttributeValue(int id, ByteString* output) const argument
364 SetRawAttributeValue(int id, ByteString value) argument
371 CreateRawAttribute(int id, const char* id_string) argument
380 GetAttributeAsString(int id, std::string* value) const argument
[all...]
H A Dattribute_list.h45 using NewFromIdMethod = base::Callback<NetlinkAttribute*(int id)>;
46 using AttributeMethod = base::Callback<bool(int id, const ByteString& value)>;
50 // Instantiates an NetlinkAttribute of the appropriate type from |id|,
52 bool CreateAttribute(int id, NewFromIdMethod factory);
55 bool CreateControlAttribute(int id);
58 bool CreateNl80211Attribute(int id, NetlinkMessage::MessageContext context);
60 // Instantiates an NetlinkAttribute of the appropriate type from |id|
63 int id, const ByteString& value);
65 // Initializes the attribute |id| from the data in |value|.
66 bool InitAttributeFromValue(int id, cons
[all...]
/system/update_engine/
H A Dboot_control_recovery_stub.cc20 .id = "stub",
/system/bt/bta/sys/
H A Dbta_sys_conn.c127 if ((bta_sys_cb.colli_reg.id[index] == bta_id) ||
128 (bta_sys_cb.colli_reg.id[index] == 0))
130 bta_sys_cb.colli_reg.id[index] = bta_id;
153 if ((bta_sys_cb.colli_reg.id[index] != 0) &&
202 void bta_sys_conn_open(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) argument
207 bta_sys_cb.prm_cb(BTA_SYS_CONN_OPEN, id, app_id, peer_addr);
214 bta_sys_cb.ppm_cb(BTA_SYS_CONN_OPEN, id, app_id, peer_addr);
232 void bta_sys_conn_close(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) argument
237 bta_sys_cb.prm_cb(BTA_SYS_CONN_CLOSE, id, app_id, peer_addr);
244 bta_sys_cb.ppm_cb(BTA_SYS_CONN_CLOSE, id, app_i
261 bta_sys_app_open(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) argument
281 bta_sys_app_close(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) argument
300 bta_sys_sco_open(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) argument
325 bta_sys_sco_close(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) argument
351 bta_sys_sco_use(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) argument
373 bta_sys_sco_unuse(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) argument
395 bta_sys_chg_ssr_config(UINT8 id, UINT8 app_id, UINT16 max_latency, UINT16 min_tout) argument
413 bta_sys_set_policy(UINT8 id, UINT8 policy, BD_ADDR peer_addr) argument
431 bta_sys_clear_policy(UINT8 id, UINT8 policy, BD_ADDR peer_addr) argument
449 bta_sys_set_default_policy(UINT8 id, UINT8 policy) argument
467 bta_sys_clear_default_policy(UINT8 id, UINT8 policy) argument
485 bta_sys_idle(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) argument
512 bta_sys_busy(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) argument
[all...]
H A Dbta_sys.h141 typedef void (tBTA_SYS_CONN_CBACK)(tBTA_SYS_CONN_STATUS status,UINT8 id, UINT8 app_id, BD_ADDR peer_addr);
144 typedef void (tBTA_SYS_SSR_CFG_CBACK)(UINT8 id, UINT8 app_id, UINT16 latency, UINT16 tout);
176 /* Calculate start of event enumeration; id is top 8 bits of event */
177 #define BTA_SYS_EVT_START(id) ((id) << 8)
226 extern void bta_sys_register(UINT8 id, const tBTA_SYS_REG *p_reg);
227 extern void bta_sys_deregister(UINT8 id);
228 extern BOOLEAN bta_sys_is_register(UINT8 id);
246 extern void bta_sys_conn_open(UINT8 id, UINT8 app_id, BD_ADDR peer_addr);
247 extern void bta_sys_conn_close(UINT8 id, UINT
[all...]
/system/core/libutils/
H A DRefBase.cpp143 void addStrongRef(const void* /*id*/) { }
144 void removeStrongRef(const void* /*id*/) { }
146 void addWeakRef(const void* /*id*/) { }
147 void removeWeakRef(const void* /*id*/) { }
175 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref);
189 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref);
202 void addStrongRef(const void* id) { argument
204 // "addStrongRef: RefBase=%p, id=%p", mBase, id);
205 addRef(&mStrongRefs, id, mStron
208 removeStrongRef(const void* id) argument
225 addWeakRef(const void* id) argument
229 removeWeakRef(const void* id) argument
280 const void* id; member in struct:android::RefBase::weakref_impl::ref_entry
287 addRef(ref_entry** refs, const void* id, int32_t mRef) argument
306 removeRef(ref_entry** refs, const void* id) argument
469 incWeak(const void* id) argument
479 decWeak(const void* id) argument
511 attemptIncStrong(const void* id) argument
610 attemptIncWeak(const void* id) argument
[all...]
/system/core/init/
H A Dkeychords.cpp54 keychord->id = keychords_count + 1;
56 svc->set_keychord_id(keychord->id);
68 __u16 id; local
70 ret = read(keychord_fd, &id, sizeof(id));
71 if (ret != sizeof(id)) {
72 ERROR("could not read keychord id\n");
79 Service* svc = ServiceManager::GetInstance().FindServiceByKeychord(id);
81 NOTICE("Starting service '%s' from keychord %d\n", svc->name().c_str(), id);
84 ERROR("Service for keychord %d not found\n", id);
[all...]
/system/core/adb/
H A Dshell_service_protocol_test.cpp90 bool PacketEquals(const ShellProtocol* protocol, ShellProtocol::Id id, argument
92 return (protocol->id() == id &&
101 ShellProtocol::Id id = ShellProtocol::kIdStdout; local
105 ASSERT_TRUE(write_protocol_->Write(id, sizeof(data)));
108 ASSERT_TRUE(PacketEquals(read_protocol_, id, data, sizeof(data)));
113 ShellProtocol::Id id = ShellProtocol::kIdStdin; local
116 ASSERT_TRUE(write_protocol_->Write(id, 10));
120 ASSERT_TRUE(PacketEquals(read_protocol_, id, "1234", 4));
122 ASSERT_TRUE(PacketEquals(read_protocol_, id, "567
129 ShellProtocol::Id id = ShellProtocol::kIdStderr; local
182 ShellProtocol::Id id = ShellProtocol::kIdStdout; local
[all...]
H A Dfile_sync_service.h37 uint32_t id; // ID_STAT, et cetera. member in struct:SyncRequest
44 uint32_t id; member in struct:syncmsg::__anon1487
50 uint32_t id; member in struct:syncmsg::__anon1488
57 uint32_t id; member in struct:syncmsg::__anon1489
61 uint32_t id; member in struct:syncmsg::__anon1490
/system/connectivity/shill/binder/
H A Dbinder_adaptor.cc40 BinderAdaptor::BinderAdaptor(const string& id) : id_(id) { argument
41 SLOG(this, 2) << "BinderAdaptor: " << id;
/system/core/libcutils/
H A Dmultiuser.c31 appid_t multiuser_get_shared_app_gid(uid_t id) { argument
32 return MULTIUSER_FIRST_SHARED_APPLICATION_GID + (id % MULTIUSER_APP_PER_USER_RANGE)
/system/extras/ext4_utils/
H A Dkey_control.h24 long keyctl_revoke(key_serial_t id);
26 long keyctl_setperm(key_serial_t id, int permissions);
/system/bt/btcore/src/
H A Dhal_util.c42 const char *id = BT_STACK_MODULE_ID; local
60 // Check that the id matches.
61 if (strcmp(id, hmi->id) != 0) {
62 HULOGERR("id=%s does not match HAL module ID: %s", id, hmi->id);
70 LOG_TAG, "[%s] loaded HAL id=%s path=%s hmi=%p handle=%p",
71 __func__, id, kBluetoothLibraryName, hmi, handle);
/system/core/logd/
H A DLogBuffer.cpp36 #define log_buffer_size(id) mMaxSize[id]
290 void LogBuffer::maybePrune(log_id_t id) { argument
291 size_t sizes = stats.sizes(id);
292 unsigned long maxSize = log_buffer_size(id);
295 size_t elements = stats.realElements(id);
307 prune(id, pruneRows);
314 log_id_t id = element->getLogId(); local
321 mLastWorstUid[id].find(element->getUid());
322 if ((found != mLastWorstUid[id]
490 prune(log_id_t id, unsigned long pruneRows, uid_t caller_uid) argument
850 clear(log_id_t id, uid_t uid) argument
892 getSizeUsed(log_id_t id) argument
900 setSize(log_id_t id, unsigned long size) argument
912 getSize(log_id_t id) argument
[all...]
H A DCommandListener.cpp94 int id = atoi(argv[1]); local
95 if ((id < LOG_ID_MIN) || (LOG_ID_MAX <= id)) {
100 cli->sendMsg(mBuf.clear((log_id_t) id, uid) ? "busy" : "success");
117 int id = atoi(argv[1]); local
118 if ((id < LOG_ID_MIN) || (LOG_ID_MAX <= id)) {
123 unsigned long size = mBuf.getSize((log_id_t) id);
148 int id = atoi(argv[1]); local
149 if ((id < LOG_ID_MI
177 int id = atoi(argv[1]); local
227 int id = atoi(argv[i]); local
[all...]
/system/vold/
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...]

Completed in 1017 milliseconds

1234567891011>>