Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 801) sorted by relevance

12345678910>>...33

/system/sepolicy/public/
Dservice.te1 type audioserver_service, service_manager_type;
2 type batteryproperties_service, app_api_service, ephemeral_app_api_service, service_manager_type;
3 type bluetooth_service, service_manager_type;
4 type cameraserver_service, service_manager_type;
5 type default_android_service, service_manager_type;
6 type drmserver_service, service_manager_type;
7 type dumpstate_service, service_manager_type;
8 type fingerprintd_service, service_manager_type;
9 type hal_fingerprint_service, service_manager_type;
10 type gatekeeper_service, app_api_service, service_manager_type;
[all …]
Dhwservice.te1 type default_android_hwservice, hwservice_manager_type;
2 type fwk_display_hwservice, hwservice_manager_type, coredomain_hwservice;
3 type fwk_scheduler_hwservice, hwservice_manager_type, coredomain_hwservice;
4 type fwk_sensor_hwservice, hwservice_manager_type, coredomain_hwservice;
5 type hal_audio_hwservice, hwservice_manager_type;
6 type hal_bluetooth_hwservice, hwservice_manager_type;
7 type hal_bootctl_hwservice, hwservice_manager_type;
8 type hal_camera_hwservice, hwservice_manager_type;
9 type hal_configstore_ISurfaceFlingerConfigs, hwservice_manager_type;
10 type hal_contexthub_hwservice, hwservice_manager_type;
[all …]
Dfile.te2 type labeledfs, fs_type;
3 type pipefs, fs_type;
4 type sockfs, fs_type;
5 type rootfs, fs_type;
6 type proc, fs_type;
8 type proc_security, fs_type;
9 type proc_drop_caches, fs_type;
10 type proc_overcommit_memory, fs_type;
12 type usermodehelper, fs_type, sysfs_type;
13 type qtaguid_proc, fs_type, mlstrustedobject;
[all …]
Ddevice.te2 type device, dev_type, fs_type;
3 type alarm_device, dev_type, mlstrustedobject;
4 type ashmem_device, dev_type, mlstrustedobject;
5 type audio_device, dev_type;
6 type audio_timer_device, dev_type;
7 type audio_seq_device, dev_type;
8 type binder_device, dev_type, mlstrustedobject;
9 type hwbinder_device, dev_type, mlstrustedobject;
10 type vndbinder_device, dev_type;
11 type block_device, dev_type;
[all …]
Dproperty.te1 type asan_reboot_prop, property_type;
2 type audio_prop, property_type, core_property_type;
3 type boottime_prop, property_type;
4 type bluetooth_prop, property_type;
5 type config_prop, property_type, core_property_type;
6 type cppreopt_prop, property_type, core_property_type;
7 type ctl_bootanim_prop, property_type;
8 type ctl_bugreport_prop, property_type;
9 type ctl_console_prop, property_type;
10 type ctl_default_prop, property_type;
[all …]
/system/tools/hidl/
DScope.cpp33 bool Scope::addType(NamedType *type, std::string *errorMsg) { in addType() argument
34 const std::string &localName = type->localName(); in addType()
47 mTypes.push_back(type); in addType()
110 for (const NamedType *type : mTypes) { in containsInterfaces() local
111 if (type->isInterface()) { in containsInterfaces()
132 return forEachType([&](Type *type) { in emitTypeDeclarations() argument
133 return type->emitTypeDeclarations(out); in emitTypeDeclarations()
138 return forEachType([&](Type *type) { in emitGlobalTypeDeclarations() argument
139 return type->emitGlobalTypeDeclarations(out); in emitGlobalTypeDeclarations()
144 return forEachType([&](Type *type) { in emitGlobalHwDeclarations() argument
[all …]
DMethod.cpp72 void Method::cppImpl(MethodImplType type, Formatter &out) const { in cppImpl() argument
74 auto it = mCppImpl.find(type); in cppImpl()
82 void Method::javaImpl(MethodImplType type, Formatter &out) const { in javaImpl() argument
84 auto it = mJavaImpl.find(type); in javaImpl()
96 bool Method::overridesCppImpl(MethodImplType type) const { in overridesCppImpl()
98 return mCppImpl.find(type) != mCppImpl.end(); in overridesCppImpl()
101 bool Method::overridesJavaImpl(MethodImplType type) const { in overridesJavaImpl()
103 return mJavaImpl.find(type) != mJavaImpl.end(); in overridesJavaImpl()
133 << elidedReturn->type().getCppResultType( specifyNamespaces) in generateCppSignature()
160 out << arg->type().getCppArgumentType(specifyNamespaces); in emitCppArgResultSignature()
[all …]
/system/tools/aidl/
Dtype_namespace.h136 const AidlType& type, std::string* error_msg,
176 bool Add(const T* type);
189 const AidlType& type, std::string* error_msg,
198 bool LanguageTypeNamespace<T>::Add(const T* type) { in Add() argument
199 const T* existing = FindTypeByCanonicalName(type->CanonicalName()); in Add()
201 types_.emplace_back(type); in Add()
206 LOG(ERROR) << type->DeclFile() << ":" << type->DeclLine() in Add()
208 << type->CanonicalName(); in Add()
212 if (type->Kind() != existing->Kind()) { in Add()
213 LOG(ERROR) << type->DeclFile() << ":" << type->DeclLine() in Add()
[all …]
Daidl_language_y.yy26 AidlType* type;
47 %type<parcelable_list> parcelable_decls
48 %type<parcelable> parcelable_decl
49 %type<members> members
50 %type<interface_obj> interface_decl
51 %type<method> method_decl
52 %type<constant> constant_decl
53 %type<annotation> annotation
54 %type<annotation_list>annotation_list
55 %type<type> type
[all …]
/system/update_engine/scripts/update_payload/
Dupdate_metadata_pb2.py29 type=None),
33 type=None),
37 type=None),
41 type=None),
45 type=None),
49 type=None),
53 type=None),
57 type=None),
61 type=None),
65 type=None),
[all …]
/system/media/audio_route/
Daudio_route.c53 unsigned int type; member
88 static bool is_supported_ctl_type(enum mixer_ctl_type type) in is_supported_ctl_type() argument
90 switch (type) { in is_supported_ctl_type()
102 static size_t sizeof_ctl_type(enum mixer_ctl_type type) { in sizeof_ctl_type() argument
103 switch (type) { in sizeof_ctl_type()
115 LOG_ALWAYS_FATAL("Unsupported mixer ctl type: %d, check type before calling", (int)type); in sizeof_ctl_type()
269 if (!is_supported_ctl_type(setting->type)) { in path_add_setting()
270 ALOGE("unsupported type %d", (int)setting->type); in path_add_setting()
279 path->setting[path_index].type = setting->type; in path_add_setting()
282 size_t value_sz = sizeof_ctl_type(setting->type); in path_add_setting()
[all …]
/system/core/libcutils/include_vndk/cutils/
Dsockets.h88 cutils_socket_t socket_network_client(const char* host, int port, int type);
89 int socket_network_client_timeout(const char* host, int port, int type,
91 int socket_loopback_server(int port, int type);
92 int socket_loopback_server6(int port, int type);
93 int socket_local_server(const char* name, int namespaceId, int type);
96 int type);
97 int socket_local_client(const char* name, int namespaceId, int type);
98 cutils_socket_t socket_inaddr_any_server(int port, int type);
/system/core/libcutils/include/cutils/
Dsockets.h88 cutils_socket_t socket_network_client(const char* host, int port, int type);
89 int socket_network_client_timeout(const char* host, int port, int type,
91 int socket_loopback_server(int port, int type);
92 int socket_loopback_server6(int port, int type);
93 int socket_local_server(const char* name, int namespaceId, int type);
96 int type);
97 int socket_local_client(const char* name, int namespaceId, int type);
98 cutils_socket_t socket_inaddr_any_server(int port, int type);
/system/bt/tools/scripts/
Dbtsnooz.py43 def type_to_direction(type): argument
49 if type in [TYPE_IN_EVT, TYPE_IN_ACL, TYPE_IN_SCO]:
54 def type_to_hci(type): argument
58 if type == TYPE_OUT_CMD:
60 if type == TYPE_IN_ACL or type == TYPE_OUT_ACL:
62 if type == TYPE_IN_SCO or type == TYPE_OUT_SCO:
64 if type == TYPE_IN_EVT:
98 length, delta_time_ms, type = struct.unpack_from('=HIb', decompressed, offset)
105 length, delta_time_ms, type = struct.unpack_from('=HIb', decompressed, offset)
109 sys.stdout.write(struct.pack('>II', type_to_direction(type), 0))
[all …]
/system/media/radio/src/
Dradio_metadata.c103 const radio_metadata_type_t type, in add_metadata() argument
127 entry->type = type; in add_metadata()
216 radio_metadata_type_t type = radio_metadata_type_of_key(key); in radio_metadata_add_int() local
217 if (metadata == NULL || *metadata == NULL || type != RADIO_METADATA_TYPE_INT) { in radio_metadata_add_int()
221 key, type, &value, sizeof(int32_t)); in radio_metadata_add_int()
228 radio_metadata_type_t type = radio_metadata_type_of_key(key); in radio_metadata_add_text() local
229 if (metadata == NULL || *metadata == NULL || type != RADIO_METADATA_TYPE_TEXT || in radio_metadata_add_text()
233 return add_metadata((radio_metadata_buffer_t **)metadata, key, type, value, strlen(value) + 1); in radio_metadata_add_text()
241 radio_metadata_type_t type = radio_metadata_type_of_key(key); in radio_metadata_add_raw() local
242 if (metadata == NULL || *metadata == NULL || type != RADIO_METADATA_TYPE_RAW || value == NULL) { in radio_metadata_add_raw()
[all …]
/system/chre/apps/sensor_world/
Dsensor_world.cc35 const uint8_t type; member
45 { .type = CHRE_SENSOR_TYPE_ACCELEROMETER,
50 { .type = CHRE_SENSOR_TYPE_INSTANT_MOTION_DETECT,
53 { .type = CHRE_SENSOR_TYPE_STATIONARY_DETECT,
56 { .type = CHRE_SENSOR_TYPE_GYROSCOPE,
61 { .type = CHRE_SENSOR_TYPE_GEOMAGNETIC_FIELD,
66 { .type = CHRE_SENSOR_TYPE_PRESSURE,
71 { .type = CHRE_SENSOR_TYPE_LIGHT,
76 { .type = CHRE_SENSOR_TYPE_PROXIMITY,
81 { .type = CHRE_SENSOR_TYPE_ACCELEROMETER_TEMPERATURE,
[all …]
/system/extras/simpleperf/scripts/
Dprofile_pb2.py38 number=1, type=11, cpp_type=10, label=3,
45 number=2, type=11, cpp_type=10, label=3,
52 number=3, type=11, cpp_type=10, label=3,
59 number=4, type=11, cpp_type=10, label=3,
66 number=5, type=11, cpp_type=10, label=3,
73 number=6, type=9, cpp_type=9, label=3,
80 number=7, type=3, cpp_type=2, label=1,
87 number=8, type=3, cpp_type=2, label=1,
94 number=9, type=3, cpp_type=2, label=1,
101 number=10, type=3, cpp_type=2, label=1,
[all …]
/system/extras/perfprofd/quipper/
Dperf_reader.h42 u32 type; member
47 u32 type; member
52 u32 type; member
139 static bool IsSupportedEventType(uint32_t type);
195 bool ReadBuildIDMetadata(const ConstBufferWithSize& data, u32 type,
197 bool ReadStringMetadata(const ConstBufferWithSize& data, u32 type,
199 bool ReadUint32Metadata(const ConstBufferWithSize& data, u32 type,
201 bool ReadUint64Metadata(const ConstBufferWithSize& data, u32 type,
203 bool ReadCPUTopologyMetadata(const ConstBufferWithSize& data, u32 type,
205 bool ReadNUMATopologyMetadata(const ConstBufferWithSize& data, u32 type,
[all …]
/system/bt/btcore/src/
Dproperty.cc28 bt_property_type_t type);
54 if (!p1 || !p2 || p1->type != p2->type) { in property_equals()
66 if (p1->type == BT_PROPERTY_BDNAME && p1->len != p2->len) { in property_equals()
90 bt_property_t* property_new_device_type(bt_device_type_t type) { in property_new_device_type() argument
91 return property_new_((void*)&type, sizeof(bt_device_type_t), in property_new_device_type()
136 return property->type == BT_PROPERTY_BDADDR; in property_is_addr()
141 return property->type == BT_PROPERTY_CLASS_OF_DEVICE; in property_is_device_class()
146 return property->type == BT_PROPERTY_TYPE_OF_DEVICE; in property_is_device_type()
151 return property->type == BT_PROPERTY_ADAPTER_DISCOVERY_TIMEOUT; in property_is_discovery_timeout()
156 return property->type == BT_PROPERTY_BDNAME; in property_is_name()
[all …]
/system/extras/simpleperf/
DUnixSocket_test.cpp27 uint32_t type; in TEST() member
46 send_msg.type = n; in TEST()
72 ASSERT_EQ(msg->len, msg->type + sizeof(UnixSocketMessage)); in TEST()
73 read_data.insert(read_data.end(), msg->data, msg->data + msg->type); in TEST()
92 reply_msg.type = msg.type + 1; in ClientToTestUndelayedMessage()
117 if (msg.len != sizeof(UnixSocketMessage) || msg.type != need_reply_type) { in TEST()
125 new_msg.type = msg.type + 1; in TEST()
126 need_reply_type = msg.type + 2; in TEST()
134 msg.type = 0; in TEST()
149 if (msg.len != sizeof(UnixSocketMessage) || msg.type != 0) { in ClientToTestBufferedMessage()
[all …]
/system/update_engine/common/
Dfake_prefs.cc44 FakePrefs::PrefType const FakePrefs::PrefConsts<string>::type = member in chromeos_update_engine::FakePrefs::PrefConsts<string>
51 FakePrefs::PrefType const FakePrefs::PrefConsts<int64_t>::type = member in chromeos_update_engine::FakePrefs::PrefConsts<int64_t>
58 FakePrefs::PrefType const FakePrefs::PrefConsts<bool>::type = member in chromeos_update_engine::FakePrefs::PrefConsts<bool>
108 string FakePrefs::GetTypeName(PrefType type) { in GetTypeName() argument
109 switch (type) { in GetTypeName()
120 void FakePrefs::CheckKeyType(const string& key, PrefType type) const { in CheckKeyType()
122 EXPECT_TRUE(it == values_.end() || it->second.type == type) in CheckKeyType()
123 << "Key \"" << key << "\" if defined as " << GetTypeName(it->second.type) in CheckKeyType()
124 << " but is accessed as a " << GetTypeName(type); in CheckKeyType()
129 CheckKeyType(key, PrefConsts<T>::type); in SetValue()
[all …]
/system/core/libcutils/
Dsocket_loopback_server_unix.c34 static int _socket_loopback_server(int family, int type, struct sockaddr * addr, size_t size) in _socket_loopback_server() argument
38 s = socket(family, type, 0); in _socket_loopback_server()
50 if (type == SOCK_STREAM) { in _socket_loopback_server()
65 int socket_loopback_server6(int port, int type) in socket_loopback_server6() argument
74 return _socket_loopback_server(AF_INET6, type, (struct sockaddr *) &addr, sizeof(addr)); in socket_loopback_server6()
78 int socket_loopback_server(int port, int type) in socket_loopback_server() argument
87 return _socket_loopback_server(AF_INET, type, (struct sockaddr *) &addr, sizeof(addr)); in socket_loopback_server()
/system/tools/hidl/c2hal/
Dc2hal_y.yy128 %type<expression> array
129 %type<expressions> arrays
130 %type<expression> expr
131 %type<expressions> args
132 %type<type> type
133 %type<type> opt_enum_base_type
134 %type<qualifier> type_qualifier
135 %type<qualifiers> type_qualifiers
136 %type<declaration> declaration
137 %type<declarations> declarations
[all …]
/system/bt/stack/avdt/
Davdt_ad.cc48 uint8_t avdt_ad_type_to_tcid(uint8_t type, tAVDT_SCB* p_scb) { in avdt_ad_type_to_tcid() argument
51 if (type == AVDT_CHAN_SIG) { in avdt_ad_type_to_tcid()
59 return ((scb_idx * (AVDT_CHAN_NUM_TYPES - 1)) + type); in avdt_ad_type_to_tcid()
74 uint8_t type; in avdt_ad_tcid_to_type() local
77 type = AVDT_CHAN_SIG; in avdt_ad_tcid_to_type()
84 type = ((tcid + AVDT_CHAN_NUM_TYPES - 2) % (AVDT_CHAN_NUM_TYPES - 1)) + 1; in avdt_ad_tcid_to_type()
86 AVDT_TRACE_DEBUG("tcid: %d, type: %d", tcid, type); in avdt_ad_tcid_to_type()
87 return type; in avdt_ad_tcid_to_type()
124 tAVDT_TC_TBL* avdt_ad_tc_tbl_by_st(uint8_t type, tAVDT_CCB* p_ccb, in avdt_ad_tc_tbl_by_st() argument
142 if (type == AVDT_CHAN_SIG) { in avdt_ad_tc_tbl_by_st()
[all …]
/system/netd/tests/dns_responder/
Ddns_responder.h49 void addMapping(const char* name, ns_type type, const char* addr);
50 void removeMapping(const char* name, ns_type type);
68 unsigned type; member
69 QueryKey(std::string n, unsigned t) : name(n), type(t) {} in QueryKey()
71 return name == o.name && type == o.type;
76 return type < o.type;
83 static_cast<size_t>(key.type); in operator()

12345678910>>...33