Searched refs:type (Results 51 - 75 of 592) sorted by relevance

1234567891011>>

/system/core/libpixelflinger/
H A Draster.h28 void gglCopyPixels(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height, GGLenum type);
/system/extras/ext4_utils/
H A Dkey_control.cpp22 key_serial_t add_key(const char *type, argument
28 return syscall(__NR_add_key, type, description, payload, plen, ringid);
41 long keyctl_search(key_serial_t ringid, const char *type, argument
44 return keyctl(KEYCTL_SEARCH, ringid, type, description, destringid);
/system/extras/simpleperf/
H A DUnixSocket_test.cpp27 uint32_t type; member in struct:Message
46 send_msg.type = n;
72 ASSERT_EQ(msg->len, msg->type + sizeof(UnixSocketMessage));
73 read_data.insert(read_data.end(), msg->data, msg->data + msg->type);
85 // with type + 1.
92 reply_msg.type = msg.type + 1;
115 // with type + 1, and exits when type reaches 10.
117 if (msg.len != sizeof(UnixSocketMessage) || msg.type !
[all...]
H A Dutils_test.cpp33 return sym1.addr == sym2.addr && sym1.type == sym2.type &&
45 expected_symbol.type = 'd';
53 expected_symbol.type = 'T';
H A Drecord_equal_test.h63 ASSERT_EQ(r1.type(), r2.type());
66 if (r1.type() == PERF_RECORD_SAMPLE) {
72 if (r1.type() == PERF_RECORD_MMAP) {
74 } else if (r1.type() == PERF_RECORD_COMM) {
76 } else if (r1.type() == PERF_RECORD_BUILD_ID) {
/system/tools/hidl/c2hal/
H A 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<qualifie
[all...]
H A DExpression.h42 static std::string getTypeDescription(Type type) { argument
43 switch (type) {
54 static std::string getTypeName(Type type) { argument
55 switch (type) {
70 static Expression *atom(Type type, const std::string &value, bool isId = false);
/system/update_engine/common/
H A Dhttp_common.cc71 const char *GetHttpContentTypeString(HttpContentType type) { argument
73 HttpContentType type; member in struct:chromeos_update_engine::__anon2550
82 if ((is_found = (http_content_type_table[i].type == type)))
/system/update_engine/
H A Dconnection_manager_android.cc34 ConnectionType type, ConnectionTethering tethering) const {
33 IsUpdateAllowedOver( ConnectionType type, ConnectionTethering tethering) const argument
H A Dconnection_manager_android.h35 bool IsUpdateAllowedOver(ConnectionType type,
H A Dmock_connection_manager.h38 bool(ConnectionType type, ConnectionTethering tethering));
/system/core/init/
H A Ddescriptors.cpp34 DescriptorInfo::DescriptorInfo(const std::string& name, const std::string& type, uid_t uid, argument
36 : name_(name), type_(type), uid_(uid), gid_(gid), perm_(perm), context_(context) {
71 SocketInfo::SocketInfo(const std::string& name, const std::string& type, uid_t uid, argument
73 : DescriptorInfo(name, type, uid, gid, perm, context) {
81 int flags = ((type() == "stream" ? SOCK_STREAM :
82 (type() == "dgram" ? SOCK_DGRAM :
91 FileInfo::FileInfo(const std::string& name, const std::string& type, uid_t uid, argument
94 : DescriptorInfo(name, type, uid, gid, perm, context) {
98 int flags = (type() == "r") ? O_RDONLY :
99 (type()
[all...]
/system/extras/tests/icachetest/
H A DProfiler.cpp82 pe.type = PERF_TYPE_HARDWARE;
103 pe.type = PERF_TYPE_HARDWARE;
113 pe.type = PERF_TYPE_HARDWARE;
123 pe.type = PERF_TYPE_HARDWARE;
133 pe.type = PERF_TYPE_HARDWARE;
143 pe.type = PERF_TYPE_HARDWARE;
154 pe.type = PERF_TYPE_RAW;
164 pe.type = PERF_TYPE_RAW;
174 pe.type = PERF_TYPE_HW_CACHE;
185 pe.type
[all...]
/system/media/radio/src/
H A Dradio_metadata.c103 const radio_metadata_type_t type,
127 entry->type = type;
216 radio_metadata_type_t type = radio_metadata_type_of_key(key); local
217 if (metadata == NULL || *metadata == NULL || type != RADIO_METADATA_TYPE_INT) {
221 key, type, &value, sizeof(int32_t));
228 radio_metadata_type_t type = radio_metadata_type_of_key(key); local
229 if (metadata == NULL || *metadata == NULL || type != RADIO_METADATA_TYPE_TEXT ||
233 return add_metadata((radio_metadata_buffer_t **)metadata, key, type, value, strlen(value) + 1);
241 radio_metadata_type_t type local
101 add_metadata(radio_metadata_buffer_t **metadata_ptr, const radio_metadata_key_t key, const radio_metadata_type_t type, const void *value, const size_t size) argument
251 radio_metadata_type_t type = radio_metadata_type_of_key(key); local
286 radio_metadata_type_t type; local
370 radio_metadata_get_at_index(const radio_metadata_t *metadata, const uint32_t index, radio_metadata_key_t *key, radio_metadata_type_t *type, void **value, size_t *size) argument
398 radio_metadata_get_from_key(const radio_metadata_t *metadata, const radio_metadata_key_t key, radio_metadata_type_t *type, void **value, size_t *size) argument
[all...]
/system/tools/hidl/
H A DMethod.cpp72 void Method::cppImpl(MethodImplType type, Formatter &out) const { argument
74 auto it = mCppImpl.find(type);
82 void Method::javaImpl(MethodImplType type, Formatter &out) const { argument
84 auto it = mJavaImpl.find(type);
96 bool Method::overridesCppImpl(MethodImplType type) const {
98 return mCppImpl.find(type) != mCppImpl.end();
101 bool Method::overridesJavaImpl(MethodImplType type) const {
103 return mJavaImpl.find(type) != mJavaImpl.end();
133 << elidedReturn->type().getCppResultType( specifyNamespaces)
160 out << arg->type()
239 TypedVar(const char *name, Type *type) argument
248 const Type &TypedVar::type() const { function in class:android::TypedVar
[all...]
H A DCompoundType.cpp41 const Type &type = field->type(); local
43 if (type.isBinder()
44 || (type.isVector()
46 &type)->isVectorOfBinders())) {
54 if (type.needsEmbeddedReadWrite()) {
77 if (!field->type().canCheckEquality()) {
352 out << field->type().getCppStackType()
368 field->type().getAlignmentAndSize(&fieldAlign, &fieldSize);
376 out << field->type()
1108 CompoundField(const char *name, Type *type) argument
1117 const Type &CompoundField::type() const { function in class:android::CompoundField
[all...]
H A DMethod.h59 bool overridesCppImpl(MethodImplType type) const;
60 bool overridesJavaImpl(MethodImplType type) const;
61 void cppImpl(MethodImplType type, Formatter &out) const;
62 void javaImpl(MethodImplType type, Formatter &out) const;
114 TypedVar(const char *name, Type *type);
117 const Type &type() const;
H A DAST.cpp125 // all previous single type imports are ignored.
147 // all previous single type imports are ignored.
154 // import a single type from this file
166 // probably a type in types.hal, like android.hardware.foo@1.0::Abc.Internal
205 bool AST::addTypeDef(const char *localName, Type *type, const Location &location, argument
207 // The reason we wrap the given type in a TypeDef is simply to suppress
208 // emitting any type definitions later on, since this is just an alias
209 // to a type defined elsewhere.
211 new TypeDef(localName, location, type), errorMsg);
214 bool AST::addScopedType(NamedType *type, st argument
219 addScopedTypeInternal( NamedType *type, std::string *errorMsg) argument
252 Type *type = lookupType(enumTypeName); local
308 Type *type = mScopePath[i]->lookupType(fqName); local
491 Type* type = pair.second; local
[all...]
/system/bt/btif/src/
H A Dbtif_debug_btsnoop.cc32 #define REDUCE_HCI_TYPE_TO_SIGNIFICANT_BITS(type) ((type) >> 8)
49 static size_t btsnoop_calculate_packet_length(uint16_t type,
53 static void btsnoop_cb(const uint16_t type, const uint8_t* data, argument
57 size_t included_length = btsnoop_calculate_packet_length(type, data, length);
71 header.type = REDUCE_HCI_TYPE_TO_SIGNIFICANT_BITS(type);
72 header.length = included_length + 1; // +1 for type byte
73 header.packet_length = length + 1; // +1 for type byte.
82 static size_t btsnoop_calculate_packet_length(uint16_t type, argument
[all...]
/system/core/libsparse/
H A Dbacked_block.c29 enum backed_block_type type; member in struct:backed_block
77 assert(bb->type == BACKED_BLOCK_DATA);
83 assert(bb->type == BACKED_BLOCK_FILE);
89 assert(bb->type == BACKED_BLOCK_FD);
95 assert(bb->type == BACKED_BLOCK_FILE || bb->type == BACKED_BLOCK_FD);
96 if (bb->type == BACKED_BLOCK_FILE) {
98 } else { /* bb->type == BACKED_BLOCK_FD */
105 assert(bb->type == BACKED_BLOCK_FILL);
111 return bb->type;
[all...]
/system/bt/test/suite/adapter/
H A Dbluetooth_test.cc83 bt_property_t* BluetoothTest::GetProperty(bt_property_type_t type) { argument
85 if (last_changed_properties_[i].type == type) {
93 bt_property_type_t type) {
97 if (remote_device_last_changed_properties_[i].type == type) {
92 GetRemoteDeviceProperty(const bt_bdaddr_t* addr, bt_property_type_t type) argument
/system/bt/vendor_libs/test_vendor_lib/src/
H A Dpacket_stream.cc59 LOG_ERROR(LOG_TAG, "Error: Could not receive packet type.");
62 // Check that the type octet received is in the valid range, i.e. the packet
64 const serial_data_type_t type = local
66 if (!ValidateTypeOctet(type)) {
68 LOG_ERROR(LOG_TAG, "Error: Received invalid packet type.");
70 return type;
80 LOG_ERROR(LOG_TAG, "Error: Could not send event type.");
96 bool PacketStream::ValidateTypeOctet(serial_data_type_t type) const {
99 return (type >= DATA_TYPE_COMMAND) && (type <
[all...]
/system/core/adb/
H A Dadb_client.h41 void adb_set_transport(TransportType type, const char* _Nullable serial);
57 // Create a host command corresponding to selected transport type/serial.
58 std::string format_host_command(const char* _Nonnull command, TransportType type,
/system/core/libcutils/
H A Dsocket_network_client_windows.c33 SOCKET socket_network_client(const char* host, int port, int type) { argument
41 hints.ai_socktype = type;
/system/extras/memory_replay/
H A DThread.cpp60 Action* Thread::CreateAction(uintptr_t key_pointer, const char* type, const char* line) { argument
61 return Action::CreateAction(key_pointer, type, line, action_memory_);

Completed in 538 milliseconds

1234567891011>>