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

1234567891011>>

/system/bt/test/
H A Drun_unit_tests.sh15 for name in ${known_tests[*]}
17 echo " $name"
22 for name in $*
24 echo "--- $name ---"
26 adb push {$ANDROID_PRODUCT_OUT,}/data/nativetest/$name/$name
28 adb shell data/nativetest/$name/$name
/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.py43 name = m.group(1) variable
44 if name.startswith("INPUT_PROP_"):
45 input_prop_list.append(name)
46 elif name.startswith("EV_"):
47 ev_list.append(name)
48 elif name.startswith("SYN_"):
49 syn_list.append(name)
50 elif name.startswith("KEY_") or name.startswith("BTN_"):
51 key_list.append(name)
[all...]
H A Dtoolbox.c20 #define TOOL(name) int name##_main(int, char**);
26 const char *name; member in struct:__anon1510
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...]
H A Dwatchprops.c23 static void announce(char *name, char *value) argument
31 fprintf(stderr,"%10d %s = '%s'\n", (int) time(0), name, value);
34 static void add_to_watchlist(Hashmap *watchlist, const char *name, argument
37 char *key = strdup(name);
49 char name[PROP_NAME_MAX]; local
52 __system_property_read(pi, name, value_unused);
53 add_to_watchlist(watchlist, name, pi);
59 char name[PROP_NAME_MAX]; local
63 __system_property_read(pi, name, value);
64 serial = hashmapGet(watchlist, name);
[all...]
/system/bt/osi/include/
H A Datomic.h30 // atomic_<name>_t
37 // atomic_<operation>_<name>(atomic_t *, ...)
49 #define ATOMIC_TYPE(name, type) \
50 struct atomic_##name { \
53 typedef struct atomic_##name atomic_##name##_t;
55 #define ATOMIC_STORE(name, type, sz) \
56 static inline void atomic_store_##name(volatile atomic_##name##_t *atomic, type val) { \
60 #define ATOMIC_LOAD(name, typ
[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.h168 * Trace the beginning of a context. name is used to identify the context.
171 #define ATRACE_BEGIN(name) atrace_begin(ATRACE_TAG, name)
172 static inline void atrace_begin(uint64_t tag, const char* name) argument
176 atrace_begin_body(name);
195 * contexts, asynchronous events do not need to be nested. The name describes
197 * simultaneous events. The name and cookie used to begin an event must be
200 #define ATRACE_ASYNC_BEGIN(name, cookie) \
201 atrace_async_begin(ATRACE_TAG, name, cookie)
202 static inline void atrace_async_begin(uint64_t tag, const char* name, argument
216 atrace_async_end(uint64_t tag, const char* name, int32_t cookie) argument
229 atrace_int(uint64_t tag, const char* name, int32_t value) argument
242 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/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/bt/btcore/include/
H A Dcounter.h29 typedef bool (*counter_iter_cb)(const char *name, counter_data_t val, void *context);
32 void counter_set(const char *name, counter_data_t val);
33 void counter_add(const char *name, counter_data_t val);
/system/core/libcutils/
H A Dtrace-host.c31 void atrace_begin_body(const char* name __unused) { }
32 void atrace_async_begin_body(const char* name __unused, int32_t cookie __unused) { }
33 void atrace_async_end_body(const char* name __unused, int32_t cookie __unused) { }
34 void atrace_int_body(const char* name __unused, int32_t value __unused) { }
35 void atrace_int64_body(const char* name __unused, int64_t value __unused) { }
H A Dsocket_local.h25 * name in the given namespace. The namespace must be one
32 * constants) or if the name is too long.
36 int socket_make_sockaddr_un(const char *name, int namespaceId,
/system/bt/profile/src/
H A Dmanager.c61 .name = PROFILE_MANAGER_MODULE,
76 assert(profile->name != NULL);
77 assert(!hash_map_has_key(profile_map, profile->name));
79 hash_map_set(profile_map, profile->name, (void *) profile);
82 const profile_t *profile_by_name(const char *name) { argument
84 assert(name != NULL);
86 return (profile_t *)hash_map_get(profile_map, name);
/system/extras/ext4_utils/
H A Dunencrypted_properties.h31 template<typename t> t Get(const char* name, t default_value = t()) const;
34 template<typename t> bool Set(const char* name, t const& value);
37 UnencryptedProperties GetChild(const char* name) const;
40 bool Remove(const char* name);
51 template<typename t> t UnencryptedProperties::Get(const char* name, argument
56 std::ifstream(folder_ + "/" + name) >> value;
60 template<typename t> bool UnencryptedProperties::Set(const char* name, argument
64 std::ofstream o(folder_ + "/" + name);
70 template<> std::string UnencryptedProperties::Get(const char* name,
73 template<> bool UnencryptedProperties::Set(const char* name,
[all...]
/system/bt/btif/src/
H A Dbtif_sock_sdp.c104 // Adds a protocol list and service name (if provided) to an SDP record given by
111 static bool create_base_record(const uint32_t sdp_handle, const char *name, argument
113 APPL_TRACE_DEBUG("create_base_record: scn: %d, name: %s, with_obex: %d",
114 channel, name, with_obex);
137 // Add the name to the SDP record.
138 if (name[0] != '\0') {
141 TEXT_STR_DESC_TYPE, (uint32_t)(strlen(name) + 1),
142 (uint8_t *)name))
153 "record, handle: 0x%08x, scn: %d, name: %s, with_obex: %d",
154 sdp_handle, channel, name, with_obe
167 add_sdp_by_uuid(const char *name, const uint8_t *uuid, const uint16_t channel) argument
219 add_pbap_sdp(const char *name, const int channel) argument
268 add_ops_sdp(const char *name, const int channel) argument
337 add_spp_sdp(const char *name, const int channel) argument
373 add_rfc_sdp_by_uuid(const char *name, const uint8_t *uuid, const int channel) argument
438 add_rfc_sdp_rec(const char *name, const uint8_t *uuid, const int channel) argument
[all...]
/system/netd/server/
H A DNetlinkHandler.h38 void notifyInterfaceAdded(const char *name);
39 void notifyInterfaceRemoved(const char *name);
40 void notifyInterfaceChanged(const char *name, bool isUp);
41 void notifyInterfaceLinkChanged(const char *name, bool isUp);
42 void notifyQuotaLimitReached(const char *name, const char *iface);
43 void notifyInterfaceClassActivity(const char *name, bool isActive,
/system/bt/osi/src/
H A Dhash_functions.c37 const char *name = (const char *)key; local
38 size_t string_len = strlen(name);
40 hash = ((hash << 5) + hash ) + name[i];
/system/core/debuggerd/test/
H A Dproperty_fake.cpp26 extern "C" int property_set(const char* name, const char* value) { argument
27 if (g_properties.count(name) != 0) {
28 g_properties.erase(name);
30 g_properties[name] = value;
/system/core/init/
H A Dproperty_service.h29 extern int __property_get(const char *name, char *value);
30 extern int property_set(const char *name, const char *value);
46 int property_get(const char *name, char *value) argument
52 return __property_get(name, value);
H A Dueventd_parser.h26 struct ueventd_subsystem *ueventd_subsystem_find_by_name(const char *name);
/system/core/libsync/
H A Dsw_sync.h31 int sw_sync_fence_create(int fd, const char *name, unsigned value);
/system/extras/simpleperf/
H A Dcommand_test.cpp23 MockCommand(const std::string& name) : Command(name, name + "_short_help", name + "_long_help") { argument

Completed in 485 milliseconds

1234567891011>>