/system/bt/osi/src/ |
H A D | socket.cc | 45 void* context; // Not owned, do not free. member in struct:socket_t 48 static void internal_read_ready(void* context); 49 static void internal_write_ready(void* context); 195 void socket_register(socket_t* socket, reactor_t* reactor, void* context, argument 204 socket->context = context; 220 static void internal_read_ready(void* context) { argument 221 CHECK(context != NULL); 223 socket_t* socket = static_cast<socket_t*>(context); 224 socket->read_ready(socket, socket->context); 227 internal_write_ready(void* context) argument [all...] |
H A D | reactor.cc | 54 void* context; // a context that's passed back to the *_ready functions. member in struct:reactor_object_t 58 void (*read_ready)(void* context); // function to call when the file 60 void (*write_ready)(void* context); // function to call when the file 139 reactor_object_t* reactor_register(reactor_t* reactor, int fd, void* context, argument 140 void (*read_ready)(void* context), 141 void (*write_ready)(void* context)) { 150 object->context = context; 173 void (*read_ready)(void* context), 172 reactor_change_registration(reactor_object_t* object, void (*read_ready)(void* context), void (*write_ready)(void* context)) argument [all...] |
H A D | thread.cc | 59 void* context; member in struct:__anon752 63 static void work_queue_read_cb(void* context); 126 bool thread_post(thread_t* thread, thread_fn func, void* context) { argument 138 item->context = context; 217 void* context = thread->work_queue; local 220 reactor_register(thread->reactor, fd, context, work_queue_read_cb, NULL); 231 item->func(item->context); 246 static void work_queue_read_cb(void* context) { argument 247 CHECK(context ! [all...] |
/system/core/init/ |
H A D | descriptors.h | 31 gid_t gid, int perm, const std::string& context); 46 const std::string& context() const { return context_; } function in class:android::init::DescriptorInfo 65 gid_t gid, int perm, const std::string& context); 68 virtual int Create(const std::string& context) const override; 75 gid_t gid, int perm, const std::string& context); 77 virtual int Create(const std::string& context) const override;
|
H A D | descriptors.cpp | 38 gid_t gid, int perm, const std::string& context) 39 : name_(name), type_(type), uid_(uid), gid_(gid), perm_(perm), context_(context) { 75 gid_t gid, int perm, const std::string& context) 76 : DescriptorInfo(name, type, uid, gid, perm, context) { 84 int SocketInfo::Create(const std::string& context) const { 89 return CreateSocket(name().c_str(), flags, passcred, perm(), uid(), gid(), context.c_str(), 98 gid_t gid, int perm, const std::string& context) 100 : DescriptorInfo(name, type, uid, gid, perm, context) { 37 DescriptorInfo(const std::string& name, const std::string& type, uid_t uid, gid_t gid, int perm, const std::string& context) argument 74 SocketInfo(const std::string& name, const std::string& type, uid_t uid, gid_t gid, int perm, const std::string& context) argument 97 FileInfo(const std::string& name, const std::string& type, uid_t uid, gid_t gid, int perm, const std::string& context) argument
|
H A D | ueventd_test.cpp | 108 for (const char* context : contexts) { 109 files_and_contexts.emplace_back(dir.path + "/context_"s + context, context); 112 WriteFromMultipleThreads(files_and_contexts, [](const std::string& context) { 113 EXPECT_EQ(0, setfscreatecon(context.c_str()));
|
/system/bt/btcore/src/ |
H A D | module.cc | 171 static void run_wrapped_start_up(void* context); 172 static void post_result_to_callback(void* context); 189 static void run_wrapped_start_up(void* context) { argument 190 CHECK(context); 192 callbacked_wrapper_t* wrapper = (callbacked_wrapper_t*)context; 199 static void post_result_to_callback(void* context) { argument 200 CHECK(context); 202 callbacked_wrapper_t* wrapper = (callbacked_wrapper_t*)context;
|
/system/bt/osi/include/ |
H A D | socket.h | 30 typedef void (*socket_cb)(socket_t* socket, void* context); 101 // be called. The |context| parameter is passed, untouched, to each of the 103 // |write_cb|, and |context| may be NULL. 104 void socket_register(socket_t* socket, reactor_t* reactor, void* context,
|
/system/bt/stack/btu/ |
H A D | btu_init.cc | 50 void btu_task_start_up(void* context); 51 void btu_task_shut_down(void* context);
|
H A D | btu_task.cc | 88 void btu_message_loop_run(UNUSED_ATTR void* context) { argument 106 void btu_task_start_up(UNUSED_ATTR void* context) { argument 136 void btu_task_shut_down(UNUSED_ATTR void* context) { argument
|
/system/keymaster/ |
H A D | aes_key.h | 31 explicit AesKeyFactory(const KeymasterContext* context) : SymmetricKeyFactory(context) {} argument
|
H A D | hmac_key.h | 30 explicit HmacKeyFactory(const KeymasterContext* context) : SymmetricKeyFactory(context) {} argument
|
H A D | asymmetric_key.h | 36 keymaster_error_t GenerateAttestation(const KeymasterContext& context,
|
H A D | attestation_record.h | 47 const KeymasterContext& context,
|
/system/keymaster/include/keymaster/ |
H A D | asymmetric_key_factory.h | 30 explicit AsymmetricKeyFactory(const KeymasterContext* context) : KeyFactory(context) {} argument
|
/system/tools/aidl/tests/java_app/src/android/aidl/tests/ |
H A D | TestLogger.java | 28 public TestLogger(Context context) { argument 30 mLogFile = new PrintWriter(context.openFileOutput(
|
/system/tpm/tpm_manager/server/ |
H A D | org.chromium.TpmManager.conf | 13 <policy context="default">
|
/system/bt/embdrv/sbc/decoder/srce/ |
H A D | decoder-private.c | 45 INLINE OI_STATUS internal_DecoderReset(OI_CODEC_SBC_DECODER_CONTEXT* context, argument 53 for (i = 0; i < sizeof(*context); i++) { 54 ((char*)context)[i] = 0; 58 context->enhancedEnabled = enhanced ? TRUE : FALSE; 60 context->enhancedEnabled = FALSE; 66 status = OI_CODEC_SBC_Alloc(&context->common, decoderData, decoderDataBytes, 73 context->common.codecInfo = OI_Codec_Copyright; 74 context->common.maxBitneed = 0; 75 context->limitFrameFormat = FALSE; 76 OI_SBC_ExpandFrameFields(&context 178 OI_SBC_ReadSamples(OI_CODEC_SBC_DECODER_CONTEXT* context, OI_BITSTREAM* global_bs) argument [all...] |
/system/bt/hci/include/ |
H A D | hci_layer.h | 66 typedef void (*command_complete_cb)(BT_HDR* response, void* context); 68 void* context); 79 command_status_cb status_cb, void* context);
|
/system/core/libusbhost/include/usbhost/ |
H A D | usbhost.h | 73 void usb_host_cleanup(struct usb_host_context *context); 76 int usb_host_get_fd(struct usb_host_context *context); 78 /* Call this to initialize the usb host context. */ 79 int usb_host_load(struct usb_host_context *context, 86 int usb_host_read_event(struct usb_host_context *context); 97 void usb_host_run(struct usb_host_context *context,
|
/system/netd/server/ |
H A D | MDnsSdListener.cpp | 72 Context *context = new Context(requestId, mListener); local 73 DNSServiceRef *ref = mMonitor->allocateServiceRef(requestId, context); 85 domain, &MDnsSdListenerDiscoverCallback, context); 102 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); local 104 int refNumber = context->mRefNumber; 108 context->mListener->sendBroadcast(ResponseCode::ServiceDiscoveryFailed, msg, false); 128 context->mListener->sendBroadcast(respCode, msg, false); 164 Context *context = new Context(requestId, mListener); local 165 DNSServiceRef *ref = mMonitor->allocateServiceRef(requestId, context); 177 context); 195 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); local 220 Context *context = new Context(requestId, mListener); local 250 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); local 286 Context *context = new Context(requestId, mListener); local 315 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); local 346 Context *context = new Context(requestId, mListener); local 372 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); local 693 allocateServiceRef(int id, Context *context) argument [all...] |
/system/bt/embdrv/sbc/decoder/include/ |
H A D | oi_codec_sbc.h | 233 /** Opaque parameter to decoding functions; maintains decoder context. */ 259 * This function resets the decoder. The context must be reset when 263 * @param context Pointer to the decoder context structure to be reset. 272 OI_STATUS OI_CODEC_SBC_DecoderReset(OI_CODEC_SBC_DECODER_CONTEXT* context, 286 * @param context Pointer to the decoder context structure to be limited. 297 OI_STATUS OI_CODEC_SBC_DecoderLimit(OI_CODEC_SBC_DECODER_CONTEXT* context, 305 * @param context Decoder context structur [all...] |
/system/bt/hci/src/ |
H A D | hci_inject.cc | 53 static void accept_ready(socket_t* socket, void* context); 54 static void read_ready(socket_t* socket, void* context); 127 static void accept_ready(socket_t* socket, UNUSED_ATTR void* context) { argument 147 static void read_ready(UNUSED_ATTR socket_t* socket, void* context) { argument 149 CHECK(context != NULL); 151 client_t* client = (client_t*)context;
|
/system/bt/stack/test/ |
H A D | stack_btu_test.cc | 63 void btu_message_loop_run(void* context); 64 void btu_task_start_up(void* context); 65 void btu_task_shut_down(void* context);
|
/system/core/liblog/ |
H A D | pmsg_writer.c | 45 .context.fd = -1, 54 int fd = atomic_load(&pmsgLoggerWrite.context.fd); 59 i = atomic_exchange(&pmsgLoggerWrite.context.fd, fd); 69 int fd = atomic_exchange(&pmsgLoggerWrite.context.fd, -1); 83 if (atomic_load(&pmsgLoggerWrite.context.fd) < 0) { 118 if (atomic_load(&pmsgLoggerWrite.context.fd) < 0) { 173 writev(atomic_load(&pmsgLoggerWrite.context.fd), newVec, i)); 274 if (atomic_load(&pmsgLoggerWrite.context.fd) < 0) { 278 weOpened = atomic_load(&pmsgLoggerWrite.context.fd) < 0;
|