Home
last modified time | relevance | path

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

12345678910>>...28

/system/sepolicy/
Dservice.te1 type audioserver_service, service_manager_type;
2 type bluetooth_service, service_manager_type;
3 type cameraserver_service, service_manager_type;
4 type default_android_service, service_manager_type;
5 type drmserver_service, service_manager_type;
6 type gatekeeper_service, app_api_service, service_manager_type;
7 type fingerprintd_service, service_manager_type;
8 type batteryproperties_service, app_api_service, service_manager_type;
9 type gpu_service, service_manager_type;
10 type inputflinger_service, service_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;
10 type proc_drop_caches, fs_type;
12 type usermodehelper, fs_type, sysfs_type;
13 type qtaguid_proc, fs_type, mlstrustedobject;
14 type proc_bluetooth_writable, fs_type;
[all …]
Ddevice.te2 type device, dev_type, fs_type;
3 type alarm_device, dev_type, mlstrustedobject;
4 type adb_device, dev_type;
5 type ashmem_device, dev_type, mlstrustedobject;
6 type audio_device, dev_type;
7 type binder_device, dev_type, mlstrustedobject;
8 type block_device, dev_type;
9 type camera_device, dev_type;
10 type dm_device, dev_type;
11 type loop_device, dev_type;
[all …]
Dproperty.te1 type default_prop, property_type, core_property_type;
2 type shell_prop, property_type, core_property_type;
3 type debug_prop, property_type, core_property_type;
4 type dumpstate_prop, property_type, core_property_type;
5 type persist_debug_prop, property_type, core_property_type;
6 type debuggerd_prop, property_type, core_property_type;
7 type dhcp_prop, property_type, core_property_type;
8 type fingerprint_prop, property_type, core_property_type;
9 type ffs_prop, property_type, core_property_type;
10 type radio_prop, property_type, core_property_type;
[all …]
/system/connectivity/shill/
Derror.cc69 Error::Error(Type type) { in Error() argument
70 Populate(type); in Error()
73 Error::Error(Type type, const string& message) { in Error() argument
74 Populate(type, message); in Error()
79 void Error::Populate(Type type) { in Populate() argument
80 Populate(type, GetDefaultMessage(type)); in Populate()
83 void Error::Populate(Type type, const string& message) { in Populate() argument
84 CHECK(type < kNumErrors) << "Error type out of range: " << type; in Populate()
85 type_ = type; in Populate()
89 void Error::Populate(Type type, in Populate() argument
[all …]
Dpending_activation_store.cc63 string FormattedIdentifier(PendingActivationStore::IdentifierType type, in FormattedIdentifier() argument
66 switch (type) { in FormattedIdentifier()
82 string PendingActivationStore::IdentifierTypeToGroupId(IdentifierType type) { in IdentifierTypeToGroupId() argument
83 switch (type) { in IdentifierTypeToGroupId()
89 SLOG(Cellular, nullptr, 2) << "Incorrect identifier type: " << type; in IdentifierTypeToGroupId()
121 IdentifierType type, in GetActivationState() argument
123 string formatted_identifier = FormattedIdentifier(type, identifier); in GetActivationState()
130 if (!storage_->GetInt(IdentifierTypeToGroupId(type), identifier, &state)) { in GetActivationState()
143 IdentifierType type, in SetActivationState() argument
147 << FormattedIdentifier(type, identifier); in SetActivationState()
[all …]
Derror.h71 explicit Error(Type type); // Uses the default message for |type|.
72 Error(Type type, const std::string& message);
75 void Populate(Type type); // Uses the default message for |type|.
76 void Populate(Type type, const std::string& message);
77 void Populate(Type type,
89 Type type() const { return type_; } in type() function
96 static std::string GetDBusResult(Type type);
97 static std::string GetDefaultMessage(Type type);
102 Error* error, Type type,
/system/connectivity/shill/cellular/
Dcellular_error_mm1.cc65 Error::Type type; in FromMM1ChromeosDBusError() local
68 type = Error::kIncorrectPin; in FromMM1ChromeosDBusError()
70 type = Error::kPinRequired; in FromMM1ChromeosDBusError()
72 type = Error::kPinBlocked; in FromMM1ChromeosDBusError()
74 type = Error::kInvalidApn; in FromMM1ChromeosDBusError()
76 type = Error::kInvalidApn; in FromMM1ChromeosDBusError()
78 type = Error::kWrongState; in FromMM1ChromeosDBusError()
80 type = Error::kOperationFailed; in FromMM1ChromeosDBusError()
83 return error->Populate(type, msg); in FromMM1ChromeosDBusError()
85 return error->Populate(type); in FromMM1ChromeosDBusError()
Dcellular_error.cc52 Error::Type type; in FromChromeosDBusError() local
55 type = Error::kIncorrectPin; in FromChromeosDBusError()
57 type = Error::kPinRequired; in FromChromeosDBusError()
59 type = Error::kPinBlocked; in FromChromeosDBusError()
61 type = Error::kInvalidApn; in FromChromeosDBusError()
63 type = Error::kOperationFailed; in FromChromeosDBusError()
66 return error->Populate(type, msg); in FromChromeosDBusError()
68 return error->Populate(type); in FromChromeosDBusError()
Dcellular_error_unittest.cc75 EXPECT_EQ(Error::kIncorrectPin, shill_error.type()); in TEST_F()
84 EXPECT_EQ(Error::kPinRequired, shill_error.type()); in TEST_F()
93 EXPECT_EQ(Error::kPinBlocked, shill_error.type()); in TEST_F()
102 EXPECT_EQ(Error::kInvalidApn, shill_error.type()); in TEST_F()
111 EXPECT_EQ(Error::kOperationFailed, shill_error.type()); in TEST_F()
120 EXPECT_EQ(Error::kOperationFailed, shill_error.type()); in TEST_F()
137 EXPECT_EQ(Error::kIncorrectPin, shill_error.type()); in TEST_F()
146 EXPECT_EQ(Error::kPinRequired, shill_error.type()); in TEST_F()
155 EXPECT_EQ(Error::kPinBlocked, shill_error.type()); in TEST_F()
164 EXPECT_EQ(Error::kInvalidApn, shill_error.type()); in TEST_F()
[all …]
/system/connectivity/shill/vpn/
Dvpn_provider.cc73 string type = args.LookupString(kProviderTypeProperty, ""); in GetServiceParametersFromArgs() local
74 if (type.empty()) { in GetServiceParametersFromArgs()
87 *type_ptr = type, in GetServiceParametersFromArgs()
132 string type; in GetService() local
136 if (!GetServiceParametersFromArgs(args, &type, &name, &host, error)) { in GetService()
146 VPNServiceRefPtr service = FindService(type, name, host); in GetService()
148 service = CreateService(type, name, storage_id, error); in GetService()
156 string type; in FindSimilarService() local
160 if (!GetServiceParametersFromArgs(args, &type, &name, &host, error)) { in FindSimilarService()
165 VPNServiceRefPtr service = FindService(type, name, host); in FindSimilarService()
[all …]
/system/tools/aidl/
Dtype_namespace.h133 const AidlType& type, std::string* error_msg) const = 0;
172 bool Add(const T* type);
185 const AidlType& type, std::string* error_msg) const override;
193 bool LanguageTypeNamespace<T>::Add(const T* type) { in Add() argument
194 const T* existing = FindTypeByCanonicalName(type->CanonicalName()); in Add()
196 types_.emplace_back(type); in Add()
201 LOG(ERROR) << type->DeclFile() << ":" << type->DeclLine() in Add()
203 << type->CanonicalName(); in Add()
207 if (type->Kind() != existing->Kind()) { in Add()
208 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/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()
270 if (!is_supported_ctl_type(setting->type)) { in path_add_setting()
271 ALOGE("unsupported type %d", (int)setting->type); in path_add_setting()
280 path->setting[path_index].type = setting->type; in path_add_setting()
283 size_t value_sz = sizeof_ctl_type(setting->type); in path_add_setting()
[all …]
/system/media/radio/src/
Dradio_metadata.c99 const radio_metadata_type_t type, in add_metadata() argument
123 entry->type = type; in add_metadata()
204 radio_metadata_type_t type = radio_metadata_type_of_key(key); in radio_metadata_add_int() local
205 if (metadata == NULL || *metadata == NULL || type != RADIO_METADATA_TYPE_INT) { in radio_metadata_add_int()
209 key, type, &value, sizeof(int)); in radio_metadata_add_int()
216 radio_metadata_type_t type = radio_metadata_type_of_key(key); in radio_metadata_add_text() local
217 if (metadata == NULL || *metadata == NULL || type != RADIO_METADATA_TYPE_TEXT || in radio_metadata_add_text()
221 return add_metadata((radio_metadata_buffer_t **)metadata, key, type, value, strlen(value) + 1); in radio_metadata_add_text()
229 radio_metadata_type_t type = radio_metadata_type_of_key(key); in radio_metadata_add_raw() local
230 if (metadata == NULL || *metadata == NULL || type != RADIO_METADATA_TYPE_RAW || value == NULL) { in radio_metadata_add_raw()
[all …]
/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/bt/stack/avct/
Davct_defs.h51 #define AVCT_BLD_HDR(p, label, type, cr_ipid) \ argument
52 *(p)++ = ((label) << 4) | ((type) << 2) | (cr_ipid);
54 #define AVCT_PRS_HDR(p, label, type, cr_ipid) \ argument
56 type = (*(p) >> 2) & 3; \
59 #define AVCT_PRS_PKT_TYPE(p, type) \ argument
60 type = (*(p) >> 2) & 3;
/system/core/include/cutils/
Dsockets.h106 int socket_loopback_client(int port, int type);
107 cutils_socket_t socket_network_client(const char* host, int port, int type);
108 int socket_network_client_timeout(const char* host, int port, int type,
110 int socket_loopback_server(int port, int type);
111 int socket_local_server(const char* name, int namespaceId, int type);
114 int type);
115 int socket_local_client(const char* name, int namespaceId, int type);
116 cutils_socket_t socket_inaddr_any_server(int port, int type);
/system/bt/btcore/src/
Dproperty.c27 static bt_property_t *property_new_(void *val, size_t len, bt_property_type_t type);
51 if (!p1 || !p2 || p1->type != p2->type) { in property_equals()
63 if (p1->type == BT_PROPERTY_BDNAME && p1->len != p2->len) { in property_equals()
85 bt_property_t *property_new_device_type(bt_device_type_t type) { in property_new_device_type() argument
86 return property_new_((void *)&type, sizeof(bt_device_type_t), BT_PROPERTY_TYPE_OF_DEVICE); in property_new_device_type()
128 return property->type == BT_PROPERTY_BDADDR; in property_is_addr()
133 return property->type == BT_PROPERTY_CLASS_OF_DEVICE; in property_is_device_class()
138 return property->type == BT_PROPERTY_TYPE_OF_DEVICE; in property_is_device_type()
143 return property->type == BT_PROPERTY_ADAPTER_DISCOVERY_TIMEOUT; in property_is_discovery_timeout()
148 return property->type == BT_PROPERTY_BDNAME; in property_is_name()
[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/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/bt/stack/avdt/
Davdt_ad.c48 UINT8 avdt_ad_type_to_tcid(UINT8 type, tAVDT_SCB *p_scb) in avdt_ad_type_to_tcid() argument
52 if (type == AVDT_CHAN_SIG) in avdt_ad_type_to_tcid()
62 return ((scb_idx * (AVDT_CHAN_NUM_TYPES - 1)) + type); in avdt_ad_type_to_tcid()
78 UINT8 type; in avdt_ad_tcid_to_type() local
82 type = AVDT_CHAN_SIG; in avdt_ad_tcid_to_type()
91 type = ((tcid + AVDT_CHAN_NUM_TYPES - 2) % (AVDT_CHAN_NUM_TYPES - 1)) + 1; in avdt_ad_tcid_to_type()
93 AVDT_TRACE_DEBUG("tcid: %d, type: %d", tcid, type); in avdt_ad_tcid_to_type()
94 return type; in avdt_ad_tcid_to_type()
135 tAVDT_TC_TBL *avdt_ad_tc_tbl_by_st(UINT8 type, tAVDT_CCB *p_ccb, UINT8 state) in avdt_ad_tc_tbl_by_st() argument
160 if (type == AVDT_CHAN_SIG) in avdt_ad_tc_tbl_by_st()
[all …]
/system/connectivity/shill/test-scripts/
Dcrypto_util_pb2.py40 type=None),
44 type=None),
48 type=None),
52 type=None),
56 type=None),
82 number=1, type=12, cpp_type=9, label=1,
89 number=2, type=12, cpp_type=9, label=2,
117 number=1, type=14, cpp_type=8, label=2,
124 number=2, type=12, cpp_type=9, label=1,
152 number=1, type=12, cpp_type=9, label=1,
[all …]
/system/extras/simpleperf/
Devent_type.h31 EventType(const std::string& name, uint32_t type, uint64_t config) in EventType()
32 : name(name), type(type), config(config) { in EventType()
35 EventType() : type(0), config(0) { in EventType()
39 uint32_t type; member
44 const EventType* FindEventTypeByConfig(uint32_t type, uint64_t config);
/system/bt/hci/src/
Dhci_hal_h4.c118 static size_t read_data(serial_data_type_t type, uint8_t *buffer, size_t max_size) { in read_data() argument
119 if (type < DATA_TYPE_ACL || type > DATA_TYPE_EVENT) { in read_data()
120 LOG_ERROR(LOG_TAG, "%s invalid data type: %d", __func__, type); in read_data()
125 } else if (current_data_type != type) { in read_data()
133 static void packet_finished(serial_data_type_t type) { in packet_finished() argument
136 else if (current_data_type != type) in packet_finished()
142 static uint16_t transmit_data(serial_data_type_t type, uint8_t *data, uint16_t length) { in transmit_data() argument
146 if (type < DATA_TYPE_COMMAND || type > DATA_TYPE_SCO) { in transmit_data()
147 LOG_ERROR(LOG_TAG, "%s invalid data type: %d", __func__, type); in transmit_data()
154 *(data) = type; in transmit_data()

12345678910>>...28