Searched refs:name (Results 1 - 25 of 693) sorted by relevance

1234567891011>>

/system/extras/simpleperf/runtest/
H A Druntest.conf2 <test name="one_function">
3 <executable name="simpleperf_runtest_one_function"/>
6 <symbol name="Function1()" min="90" max="100"/>
10 <symbol name="main" min="90" max="100"/>
14 <symbol name="Function1()">
15 <symbol name="main"/>
20 <test name="two_functions">
21 <executable name="simpleperf_runtest_two_functions"/>
24 <symbol name="Function1()" min="30" max="70"/>
25 <symbol name
[all...]
/system/core/include/sysutils/
H A DServiceManager.h25 int start(const char *name);
26 int stop(const char *name);
27 bool isRunning(const char *name);
/system/core/libsysutils/src/
H A DServiceManager.cpp13 /* The service name should not exceed SERVICE_NAME_MAX to avoid
16 * - Starting a service is done by writing its name to the "ctl.start"
20 * - Stopping the service is done by writing its name to "ctl.stop"
24 * named "init.svc.<name>"
26 * If strlen(<name>) > (PROPERTY_KEY_MAX-1)-9, then you can start/stop
28 * read its state due to the truncation of "init.svc.<name>" into a
41 int ServiceManager::start(const char *name) { argument
42 if (strlen(name) > SERVICE_NAME_MAX) {
43 SLOGE("Service name '%s' is too long", name);
70 stop(const char *name) argument
100 isRunning(const char *name) argument
[all...]
/system/core/toolbox/
H A Dgenerate-input.h-labels.py45 name = m.group(1) variable
46 if name.startswith("INPUT_PROP_"):
47 input_prop_list.append(name)
48 elif name.startswith("EV_"):
49 ev_list.append(name)
50 elif name.startswith("SYN_"):
51 syn_list.append(name)
52 elif name.startswith("KEY_") or name.startswith("BTN_"):
53 key_list.append(name)
[all...]
H A Dtoolbox.c20 #define TOOL(name) int name##_main(int, char**);
26 const char *name; member in struct:__anon1717
30 #define TOOL(name) { #name, name##_main },
46 char *name = argv[0]; local
55 name = argv[1] + 1;
61 name = cmd + 1;
64 for(i = 0; tools[i].name;
[all...]
/system/connectivity/shill/binder/
H A Ddevice_binder_adaptor.cc48 void DeviceBinderAdaptor::EmitBoolChanged(const string& name, bool /*value*/) { argument
49 SLOG(this, 2) << __func__ << ": " << name; local
50 SendPropertyChangedSignal(name);
53 void DeviceBinderAdaptor::EmitUintChanged(const string& name, argument
55 SLOG(this, 2) << __func__ << ": " << name; local
56 SendPropertyChangedSignal(name);
59 void DeviceBinderAdaptor::EmitUint16Changed(const string& name, argument
61 SLOG(this, 2) << __func__ << ": " << name; local
62 SendPropertyChangedSignal(name);
65 void DeviceBinderAdaptor::EmitIntChanged(const string& name, in argument
66 SLOG(this, 2) << __func__ << ": " << name; local
70 EmitStringChanged(const string& name, const string& ) argument
72 SLOG(this, 2) << __func__ << ": " << name; local
76 EmitStringmapChanged(const string& name, const Stringmap& ) argument
78 SLOG(this, 2) << __func__ << ": " << name; local
82 EmitStringmapsChanged(const string& name, const Stringmaps& ) argument
84 SLOG(this, 2) << __func__ << ": " << name; local
88 EmitStringsChanged(const string& name, const Strings& ) argument
90 SLOG(this, 2) << __func__ << ": " << name; local
94 EmitKeyValueStoreChanged( const string& name, const KeyValueStore& ) argument
96 SLOG(this, 2) << __func__ << ": " << name; local
100 EmitRpcIdentifierChanged( const std::string& name, const std::string& ) argument
102 SLOG(this, 2) << __func__ << ": " << name; local
106 EmitRpcIdentifierArrayChanged( const string& name, const vector<string>& ) argument
108 SLOG(this, 2) << __func__ << ": " << name; local
[all...]
H A Dservice_binder_adaptor.cc46 void ServiceBinderAdaptor::EmitBoolChanged(const string& name, bool /*value*/) { argument
47 SLOG(this, 2) << __func__ << ": " << name; local
48 SendPropertyChangedSignal(name);
51 void ServiceBinderAdaptor::EmitUint8Changed(const string& name, argument
53 SLOG(this, 2) << __func__ << ": " << name; local
54 SendPropertyChangedSignal(name);
57 void ServiceBinderAdaptor::EmitUint16Changed(const string& name, argument
59 SLOG(this, 2) << __func__ << ": " << name; local
60 SendPropertyChangedSignal(name);
63 void ServiceBinderAdaptor::EmitUint16sChanged(const string& name, argument
65 SLOG(this, 2) << __func__ << ": " << name; local
69 EmitUintChanged(const string& name, uint32_t ) argument
71 SLOG(this, 2) << __func__ << ": " << name; local
75 EmitIntChanged(const string& name, int ) argument
76 SLOG(this, 2) << __func__ << ": " << name; local
80 EmitRpcIdentifierChanged(const string& name, const string& ) argument
82 SLOG(this, 2) << __func__ << ": " << name; local
86 EmitStringChanged(const string& name, const string& ) argument
88 SLOG(this, 2) << __func__ << ": " << name; local
92 EmitStringmapChanged(const string& name, const Stringmap& ) argument
94 SLOG(this, 2) << __func__ << ": " << name; local
[all...]
H A Dmanager_binder_adaptor.cc59 void ManagerBinderAdaptor::EmitBoolChanged(const string& name, bool /*value*/) { argument
60 SLOG(this, 2) << __func__ << ": " << name; local
61 SendPropertyChangedSignal(name);
64 void ManagerBinderAdaptor::EmitUintChanged(const string& name, argument
66 SLOG(this, 2) << __func__ << ": " << name; local
67 SendPropertyChangedSignal(name);
70 void ManagerBinderAdaptor::EmitIntChanged(const string& name, int /*value*/) { argument
71 SLOG(this, 2) << __func__ << ": " << name; local
72 SendPropertyChangedSignal(name);
75 void ManagerBinderAdaptor::EmitStringChanged(const string& name, argument
77 SLOG(this, 2) << __func__ << ": " << name; local
81 EmitStringsChanged(const string& name, const vector<string>& ) argument
83 SLOG(this, 2) << __func__ << ": " << name; local
87 EmitRpcIdentifierChanged(const string& name, const string& ) argument
89 SLOG(this, 2) << __func__ << ": " << name; local
93 EmitRpcIdentifierArrayChanged( const string& name, const vector<string>& ) argument
95 SLOG(this, 2) << __func__ << ": " << name; local
[all...]
/system/connectivity/shill/
H A Dprovider_db_unittest.bfd19 name:,Orange
22 name:,Internet Everywhere - Standard
24 name:,Internet Everywhere - Prepaid
26 name:,Internet Everywhere - Intranet Access
28 name:,Swisscom
33 name:,AT&T
36 name:,MEdia Net (phones)
38 name:,LaptopConnect (data cards)
40 name:,Data Connect (old)
42 name
[all...]
H A Dproperty_store.cc67 bool PropertyStore::SetAnyProperty(const string& name, argument
72 ret = SetBoolProperty(name, value.Get<bool>(), error);
74 ret = SetUint8Property(name, value.Get<uint8_t>(), error);
76 ret = SetInt16Property(name, value.Get<int16_t>(), error);
78 ret = SetInt32Property(name, value.Get<int32_t>(), error);
80 ret = SetStringProperty(name, value.Get<dbus::ObjectPath>().value(), error);
82 ret = SetStringProperty(name, value.Get<string>(), error);
84 ret = SetStringmapProperty(name, value.Get<Stringmap>(), error);
90 ret = SetStringsProperty(name, value.Get<Strings>(), error);
92 ret = SetByteArrayProperty(name, valu
238 GetBoolProperty(const string& name, bool* value, Error* error) const argument
244 GetInt16Property(const string& name, int16_t* value, Error* error) const argument
250 GetInt32Property(const string& name, int32_t* value, Error* error) const argument
256 GetKeyValueStoreProperty(const string& name, KeyValueStore* value, Error* error) const argument
263 GetRpcIdentifierProperty(const string& name, RpcIdentifier* value, Error* error) const argument
270 GetStringProperty(const string& name, string* value, Error* error) const argument
276 GetStringmapProperty(const string& name, Stringmap* values, Error* error) const argument
283 GetStringmapsProperty(const string& name, Stringmaps* values, Error* error) const argument
290 GetStringsProperty(const string& name, Strings* values, Error* error) const argument
296 GetUint8Property(const string& name, uint8_t* value, Error* error) const argument
302 GetByteArrayProperty(const string& name, ByteArray* value, Error *error) const argument
308 GetUint16Property(const string& name, uint16_t* value, Error* error) const argument
314 GetUint16sProperty(const string& name, Uint16s* value, Error* error) const argument
321 GetUint32Property(const string& name, uint32_t* value, Error* error) const argument
327 GetUint64Property(const string& name, uint64_t* value, Error* error) const argument
333 SetBoolProperty(const string& name, bool value, Error* error) argument
339 SetInt16Property(const string& name, int16_t value, Error* error) argument
345 SetInt32Property(const string& name, int32_t value, Error* error) argument
351 SetKeyValueStoreProperty(const string& name, const KeyValueStore& value, Error* error) argument
358 SetStringProperty(const string& name, const string& value, Error* error) argument
364 SetStringmapProperty(const string& name, const map<string, string>& values, Error* error) argument
371 SetStringmapsProperty( const string& name, const vector<map<string, string>>& values, Error* error) argument
379 SetStringsProperty(const string& name, const vector<string>& values, Error* error) argument
386 SetUint8Property(const string& name, uint8_t value, Error* error) argument
392 SetByteArrayProperty(const string& name, const ByteArray& value, Error *error) argument
398 SetUint16Property(const string& name, uint16_t value, Error* error) argument
404 SetUint16sProperty(const string& name, const vector<uint16_t>& value, Error* error) argument
411 SetUint32Property(const string& name, uint32_t value, Error* error) argument
417 SetUint64Property(const string& name, uint64_t value, Error* error) argument
423 SetRpcIdentifierProperty(const string& name, const RpcIdentifier& value, Error* error) argument
430 ClearProperty(const string& name, Error* error) argument
559 RegisterBool(const string& name, bool* prop) argument
565 RegisterConstBool(const string& name, const bool* prop) argument
571 RegisterWriteOnlyBool(const string& name, bool* prop) argument
578 RegisterInt16(const string& name, int16_t* prop) argument
584 RegisterConstInt16(const string& name, const int16_t* prop) argument
592 RegisterWriteOnlyInt16(const string& name, int16_t* prop) argument
598 RegisterInt32(const string& name, int32_t* prop) argument
604 RegisterConstInt32(const string& name, const int32_t* prop) argument
612 RegisterWriteOnlyInt32(const string& name, int32_t* prop) argument
619 RegisterString(const string& name, string* prop) argument
625 RegisterConstString(const string& name, const string* prop) argument
633 RegisterWriteOnlyString(const string& name, string* prop) argument
640 RegisterStringmap(const string& name, Stringmap* prop) argument
647 RegisterConstStringmap(const string& name, const Stringmap* prop) argument
655 RegisterWriteOnlyStringmap(const string& name, Stringmap* prop) argument
663 RegisterStringmaps(const string& name, Stringmaps* prop) argument
670 RegisterConstStringmaps(const string& name, const Stringmaps* prop) argument
678 RegisterWriteOnlyStringmaps(const string& name, Stringmaps* prop) argument
686 RegisterStrings(const string& name, Strings* prop) argument
693 RegisterConstStrings(const string& name, const Strings* prop) argument
701 RegisterWriteOnlyStrings(const string& name, Strings* prop) argument
709 RegisterUint8(const string& name, uint8_t* prop) argument
715 RegisterConstUint8(const string& name, const uint8_t* prop) argument
723 RegisterWriteOnlyUint8(const string& name, uint8_t* prop) argument
730 RegisterByteArray(const string& name, ByteArray* prop) argument
737 RegisterConstByteArray(const string& name, const ByteArray* prop) argument
745 RegisterWriteOnlyByteArray(const string& name, ByteArray* prop) argument
753 RegisterUint16(const string& name, uint16_t* prop) argument
760 RegisterUint16s(const string& name, Uint16s* prop) argument
767 RegisterUint32(const std::string& name, uint32_t* prop) argument
774 RegisterConstUint32(const string& name, const uint32_t* prop) argument
782 RegisterConstUint16(const string& name, const uint16_t* prop) argument
790 RegisterConstUint16s(const string& name, const Uint16s* prop) argument
798 RegisterWriteOnlyUint16(const string& name, uint16_t* prop) argument
806 RegisterDerivedBool(const string& name, const BoolAccessor& accessor) argument
813 RegisterDerivedInt32(const string& name, const Int32Accessor& accessor) argument
820 RegisterDerivedKeyValueStore( const string& name, const KeyValueStoreAccessor& acc) argument
828 RegisterDerivedRpcIdentifier( const string& name, const RpcIdentifierAccessor& acc) argument
836 RegisterDerivedRpcIdentifiers( const string& name, const RpcIdentifiersAccessor& accessor) argument
844 RegisterDerivedString(const string& name, const StringAccessor& accessor) argument
851 RegisterDerivedStrings(const string& name, const StringsAccessor& accessor) argument
858 RegisterDerivedStringmap(const string& name, const StringmapAccessor& acc) argument
865 RegisterDerivedStringmaps(const string& name, const StringmapsAccessor& acc) argument
872 RegisterDerivedUint16(const string& name, const Uint16Accessor& acc) argument
879 RegisterDerivedUint64(const string& name, const Uint64Accessor& acc) argument
886 RegisterDerivedByteArray(const string& name, const ByteArrayAccessor& acc) argument
896 GetProperty( const string& name, V* value, Error* error, const map<string, std::shared_ptr<AccessorInterface<V>>>& collection, const string& value_type_english) const argument
925 SetProperty( const string& name, const V& value, Error* error, map<string, std::shared_ptr<AccessorInterface<V>>>* collection, const string& value_type_english) argument
[all...]
H A Dkey_value_store.h54 bool ContainsBool(const std::string& name) const;
55 bool ContainsByteArrays(const std::string& name) const;
56 bool ContainsInt(const std::string& name) const;
57 bool ContainsInt16(const std::string& name) const;
58 bool ContainsKeyValueStore(const std::string& name) const;
59 bool ContainsRpcIdentifier(const std::string& name) const;
60 bool ContainsRpcIdentifiers(const std::string& name) const;
61 bool ContainsString(const std::string& name) const;
62 bool ContainsStringmap(const std::string& name) const;
63 bool ContainsStrings(const std::string& name) cons
[all...]
H A Dkey_value_store.cc51 bool KeyValueStore::ContainsBool(const string& name) const {
52 return ContainsKey(properties_, name) &&
53 properties_.find(name)->second.IsTypeCompatible<bool>();
56 bool KeyValueStore::ContainsByteArrays(const string& name) const {
57 return ContainsKey(properties_, name) &&
58 properties_.find(name)->second
62 bool KeyValueStore::ContainsInt(const string& name) const {
63 return ContainsKey(properties_, name) &&
64 properties_.find(name)->second.IsTypeCompatible<int32_t>();
67 bool KeyValueStore::ContainsInt16(const string& name) cons
253 SetBool(const string& name, bool value) argument
257 SetByteArrays(const string& name, const vector<vector<uint8_t>>& value) argument
262 SetInt(const string& name, int32_t value) argument
266 SetInt16(const string& name, int16_t value) argument
270 SetKeyValueStore(const string& name, const KeyValueStore& value) argument
275 SetRpcIdentifier(const string& name, const string& value) argument
279 SetRpcIdentifiers(const string& name, const vector<string>& value) argument
288 SetString(const string& name, const string& value) argument
292 SetStringmap(const string& name, const map<string, string>& value) argument
297 SetStrings(const string& name, const vector<string>& value) argument
302 SetUint(const string& name, uint32_t value) argument
306 SetUint16(const string& name, uint16_t value) argument
310 SetUint8(const string& name, uint8_t value) argument
314 SetUint8s(const string& name, const vector<uint8_t>& value) argument
319 SetUint32s(const string& name, const vector<uint32_t>& value) argument
324 Set(const string& name, const brillo::Any& value) argument
328 RemoveByteArrays(const string& name) argument
332 RemoveInt(const string& name) argument
336 RemoveInt16(const string& name) argument
340 RemoveKeyValueStore(const string& name) argument
344 RemoveRpcIdentifier(const string& name) argument
348 RemoveString(const string& name) argument
352 RemoveStringmap(const string& name) argument
356 RemoveStrings(const string& name) argument
360 RemoveUint16(const string& name) argument
364 RemoveUint8(const string& name) argument
368 RemoveUint8s(const string& name) argument
372 RemoveUint32s(const string& name) argument
376 Remove(const string& name) argument
380 LookupBool(const string& name, bool default_value) const argument
389 LookupInt(const string& name, int default_value) const argument
398 LookupString(const string& name, const string& default_value) const argument
[all...]
H A Dproperty_store.h46 bool SetAnyProperty(const std::string& name,
56 // |store_| by name. Upon success, these methods return true and return the
59 bool GetBoolProperty(const std::string& name, bool* value,
61 bool GetInt16Property(const std::string& name, int16_t* value,
63 bool GetInt32Property(const std::string& name, int32_t* value,
65 bool GetKeyValueStoreProperty(const std::string& name, KeyValueStore* value,
67 bool GetStringProperty(const std::string& name, std::string* value,
69 bool GetStringmapProperty(const std::string& name, Stringmap* values,
71 bool GetStringmapsProperty(const std::string& name, Stringmaps* values,
73 bool GetStringsProperty(const std::string& name, String
[all...]
/system/core/include/cutils/
H A Dconfig_utils.h32 const char *name; member in struct:cnode
43 cnode* config_node(const char *name, const char *value);
46 cnode* config_find(cnode *root, const char *name);
48 /* look up a child by name and return the boolean value */
49 int config_bool(cnode *root, const char *name, int _default);
51 /* look up a child by name and return the string value */
52 const char* config_str(cnode *root, const char *name, const char *_default);
55 void config_set(cnode *root, const char *name, const char *value);
H A Dtrace.h171 * Trace the beginning of a context. name is used to identify the context.
174 #define ATRACE_BEGIN(name) atrace_begin(ATRACE_TAG, name)
175 static inline void atrace_begin(uint64_t tag, const char* name) argument
179 atrace_begin_body(name);
198 * contexts, asynchronous events do not need to be nested. The name describes
200 * simultaneous events. The name and cookie used to begin an event must be
203 #define ATRACE_ASYNC_BEGIN(name, cookie) \
204 atrace_async_begin(ATRACE_TAG, name, cookie)
205 static inline void atrace_async_begin(uint64_t tag, const char* name, argument
219 atrace_async_end(uint64_t tag, const char* name, int32_t cookie) argument
232 atrace_int(uint64_t tag, const char* name, int32_t value) argument
245 atrace_int64(uint64_t tag, const char* name, int64_t value) argument
[all...]
/system/core/include/netutils/
H A Difc.h28 extern int ifc_get_ifindex(const char *name, int *if_indexp);
29 extern int ifc_get_hwaddr(const char *name, void *ptr);
31 extern int ifc_up(const char *name);
32 extern int ifc_down(const char *name);
43 extern int ifc_get_addr(const char *name, in_addr_t *addr);
44 extern int ifc_set_addr(const char *name, in_addr_t addr);
45 extern int ifc_add_address(const char *name, const char *address,
47 extern int ifc_del_address(const char *name, const char *address,
49 extern int ifc_set_prefixLength(const char *name, int prefixLength);
50 extern int ifc_set_hwaddr(const char *name, cons
[all...]
/system/bt/profile/include/
H A Dmanager.h31 const char *name; member in struct:profile_t
39 // Looks up a previously registered profile by |name|. If no profile was
40 // registered by the given |name|, then this function returns NULL.
41 const profile_t *profile_by_name(const char *name);
/system/bt/test/
H A Drun_unit_tests.sh16 echo " ${binary} [-i <iterations>] [-s <specific device>] [--all] [<test name>[.<filter>] ...] [--<arg> ...]"
22 for name in "${known_tests[@]}"
24 echo " ${name}"
86 name="${spec%%.*}"
87 binary="/data/nativetest/${name}/${name}"
91 if [ "${name}" != "${spec}" ]; then
97 echo "--- ${name} ---"
108 failed_tests+=( "${name} ${failed_count}/${iterations}" )
/system/connectivity/shill/binder/android/system/connectivity/shill/
H A DIPropertyChangedCallback.aidl23 * by |name| has changed. The client receiving this
24 * method call must call shill's getter for |name|
27 * @param name The property whose value changed.
29 oneway void OnPropertyChanged(String name);
/system/bt/osi/include/socket_utils/
H A Dsocket_local.h24 * name in the given namespace. The namespace must be one
31 * constants) or if the name is too long.
35 int osi_socket_make_sockaddr_un(const char *name, int namespaceId,
/system/core/metricsd/uploader/
H A Dmetrics_hashes.h26 uint64_t HashMetricName(const std::string& name);
/system/media/audio_route/include/audio_route/
H A Daudio_route.h28 /* Apply an audio route path by name */
29 int audio_route_apply_path(struct audio_route *ar, const char *name);
31 /* Apply and update mixer with audio route path by name */
32 int audio_route_apply_and_update_path(struct audio_route *ar, const char *name);
34 /* Reset an audio route path by name */
35 int audio_route_reset_path(struct audio_route *ar, const char *name);
37 /* Reset and update mixer with audio route path by name */
38 int audio_route_reset_and_update_path(struct audio_route *ar, const char *name);
/system/core/init/
H A Dproperty_service.h27 const char* name; member in struct:property_audit_data
35 std::string property_get(const char* name);
36 extern int property_set(const char *name, const char *value);
/system/connectivity/shill/dbus/
H A Dchromeos_ipconfig_dbus_adaptor.cc68 void ChromeosIPConfigDBusAdaptor::EmitBoolChanged(const string& name, argument
70 SLOG(this, 2) << __func__ << ": " << name; local
71 SendPropertyChangedSignal(name, brillo::Any(value));
74 void ChromeosIPConfigDBusAdaptor::EmitUintChanged(const string& name, argument
76 SLOG(this, 2) << __func__ << ": " << name; local
77 SendPropertyChangedSignal(name, brillo::Any(value));
80 void ChromeosIPConfigDBusAdaptor::EmitIntChanged(const string& name, argument
82 SLOG(this, 2) << __func__ << ": " << name; local
83 SendPropertyChangedSignal(name, brillo::Any(value));
86 void ChromeosIPConfigDBusAdaptor::EmitStringChanged(const string& name, argument
88 SLOG(this, 2) << __func__ << ": " << name; local
92 EmitStringsChanged( const string& name, const vector<string>& value) argument
94 SLOG(this, 2) << __func__ << ": " << name; local
106 SetProperty( brillo::ErrorPtr* error, const string& name, const brillo::Any& value) argument
108 SLOG(this, 2) << __func__ << ": " << name; local
115 ClearProperty( brillo::ErrorPtr* error, const string& name) argument
117 SLOG(this, 2) << __func__ << ": " << name; local
[all...]
H A Dchromeos_profile_dbus_adaptor.cc61 void ChromeosProfileDBusAdaptor::EmitBoolChanged(const string& name, argument
63 SLOG(this, 2) << __func__ << ": " << name; local
64 SendPropertyChangedSignal(name, brillo::Any(value));
67 void ChromeosProfileDBusAdaptor::EmitUintChanged(const string& name, argument
69 SLOG(this, 2) << __func__ << ": " << name; local
70 SendPropertyChangedSignal(name, brillo::Any(value));
73 void ChromeosProfileDBusAdaptor::EmitIntChanged(const string& name, int value) { argument
74 SLOG(this, 2) << __func__ << ": " << name; local
75 SendPropertyChangedSignal(name, brillo::Any(value));
78 void ChromeosProfileDBusAdaptor::EmitStringChanged(const string& name, argument
80 SLOG(this, 2) << __func__ << ": " << name; local
92 SetProperty( brillo::ErrorPtr* error, const string& name, const brillo::Any& value) argument
94 SLOG(this, 2) << __func__ << ": " << name; local
101 GetEntry( brillo::ErrorPtr* error, const std::string& name, brillo::VariantDictionary* entry_properties) argument
105 SLOG(this, 2) << __func__ << ": " << name; local
116 DeleteEntry(brillo::ErrorPtr* error, const std::string& name) argument
118 SLOG(this, 2) << __func__ << ": " << name; local
[all...]

Completed in 839 milliseconds

1234567891011>>