Searched refs:context (Results 51 - 75 of 148) sorted by relevance

123456

/system/keymaster/
H A Doperation_table.h43 keymaster_error_t Add(Operation* operation, const KeymasterContext& context,
H A Doperation_table.cpp34 keymaster_error_t OperationTable::Add(Operation* operation, const KeymasterContext& context, argument
43 keymaster_error_t error = operation->CreateOperationHandle(context, op_handle);
H A Dsymmetric_key.h30 explicit SymmetricKeyFactory(const KeymasterContext* context) : KeyFactory(context) {} argument
H A Dasymmetric_key.cpp148 const KeymasterContext& context,
158 context, &attest_bytes, &attest_bytes_len);
186 const KeymasterContext& context, X509* certificate,
189 *error = build_attestation_extension(attest_params, tee_enforced, sw_enforced, context,
240 static bool copy_attestation_chain(const KeymasterContext& context, argument
245 context.AttestationChain(sign_algorithm, error));
263 keymaster_error_t AsymmetricKey::GenerateAttestation(const KeymasterContext& context, argument
324 EVP_PKEY_Ptr sign_key(context.AttestationKey(sign_algorithm, &error));
328 !add_attestation_extension(attest_params, tee_enforced, sw_enforced, context,
332 if (!copy_attestation_chain(context, sign_algorith
145 build_attestation_extension(const AuthorizationSet& attest_params, const AuthorizationSet& tee_enforced, const AuthorizationSet& sw_enforced, const KeymasterContext& context, X509_EXTENSION_Ptr* extension) argument
183 add_attestation_extension(const AuthorizationSet& attest_params, const AuthorizationSet& tee_enforced, const AuthorizationSet& sw_enforced, const KeymasterContext& context, X509* certificate, keymaster_error_t* error) argument
[all...]
/system/bt/osi/include/
H A Dfixed_queue.h31 typedef void (*fixed_queue_cb)(fixed_queue_t* queue, void* context);
125 // element in the queue, ready_cb will be called. The |context| parameter is
127 // nor |read_cb| may be NULL. |context| may be NULL.
129 fixed_queue_cb ready_cb, void* context);
H A Dlist.h33 // |data| represents the list item currently being iterated, |context| is a
36 typedef bool (*list_iter_cb)(void* data, void* context);
111 // to |callback| returned true. |context| is passed to |callback| on each
118 void* context);
/system/bt/osi/test/
H A Dthread_test.cc42 static void thread_is_self_fn(void* context) { argument
43 thread_t* thread = (thread_t*)context;
H A Dsemaphore_test.cc20 void sleep_then_increment_counter(void* context) { argument
22 reinterpret_cast<SemaphoreTestSequenceHelper*>(context);
H A Dlist_test.cc147 static bool list_callback_sum(void* data, void* context) { argument
149 CHECK(context);
150 int* sum = (int*)context;
156 static bool list_callback_find_int(void* data, void* context) { argument
158 CHECK(context);
159 return (*(int*)data != *(int*)context);
/system/chre/platform/slpi/
H A Dplatform_log.cc99 void *context) {
104 callback(mLogBuffer, mLogBufferSize, context);
98 flushLogBuffer(FlushLogBufferCallback callback, void *context) argument
/system/core/liblog/
H A Dlogd_writer.c53 .context.sock = -EBADF,
65 i = atomic_load(&logdLoggerWrite.context.sock);
84 i = atomic_exchange(&logdLoggerWrite.context.sock, ret);
91 ret = atomic_exchange(&logdLoggerWrite.context.sock, sock);
104 int sock = atomic_exchange(&logdLoggerWrite.context.sock, negative_errno);
118 if (atomic_load(&logdLoggerWrite.context.sock) < 0) {
138 sock = atomic_load(&logdLoggerWrite.context.sock);
271 writev(atomic_load(&logdLoggerWrite.context.sock), newVec, i));
H A Dstderr_write.c60 .context.priv = NULL,
77 if (stderrLoggerWrite.context.priv) {
120 stderrLoggerWrite.context.priv = ctx;
126 struct stderrContext* ctx = stderrLoggerWrite.context.priv;
129 stderrLoggerWrite.context.priv = NULL;
157 struct stderrContext* ctx = stderrLoggerWrite.context.priv;
/system/keymaster/include/keymaster/
H A Dec_key_factory.h29 explicit EcKeyFactory(const KeymasterContext* context) : AsymmetricKeyFactory(context) {} argument
H A Dkey_factory.h36 explicit KeyFactory(const KeymasterContext* context) : context_(context) {} argument
H A Drsa_key_factory.h29 explicit RsaKeyFactory(const KeymasterContext* context) : AsymmetricKeyFactory(context) {} argument
/system/extras/ext4_utils/
H A Dsha1.c144 /* Copy context->state[] to working vars */
180 /* Add the working vars back into context.state[] */
193 * SHA1Init - Initialize new context
195 void SHA1Init(context)
196 SHA1_CTX *context;
199 assert(context != 0);
202 context->state[0] = 0x67452301;
203 context->state[1] = 0xEFCDAB89;
204 context->state[2] = 0x98BADCFE;
205 context
[all...]
/system/bt/stack/l2cap/
H A Dl2cap_client.cc35 void* context; member in struct:l2cap_client_t
90 void* context) {
109 ret->context = context;
201 client->callbacks.disconnected(client, client->context);
210 client->callbacks.disconnected(client, client->context);
259 client->callbacks.connected(client, client->context);
292 client->callbacks.connected(client, client->context);
320 client->callbacks.disconnected(client, client->context);
337 client->callbacks.disconnected(client, client->context);
89 l2cap_client_new(const l2cap_client_callbacks_t* callbacks, void* context) argument
[all...]
/system/update_engine/common/
H A Dhash_calculator.cc116 bool HashCalculator::SetContext(const string& context) { argument
117 TEST_AND_RETURN_FALSE(context.size() == sizeof(ctx_));
118 memcpy(&ctx_, context.data(), sizeof(ctx_));
/system/extras/runconuid/
H A Drunconuid.cpp20 Run a command in the specified security context, as the specified user,
23 -c SELinux context
46 static char* context = nullptr; variable
56 if (context && setexeccon(context) < 0) {
57 perror_exit("Setting context to failed");
151 context = optarg;
/system/bt/osi/src/
H A Dfixed_queue.cc43 static void internal_dequeue_ready(void* context);
217 // Using this list in any context where threads can call other functions
233 fixed_queue_cb ready_cb, void* context) {
242 queue->dequeue_context = context;
257 static void internal_dequeue_ready(void* context) { argument
258 CHECK(context != NULL);
260 fixed_queue_t* queue = static_cast<fixed_queue_t*>(context);
232 fixed_queue_register_dequeue(fixed_queue_t* queue, reactor_t* reactor, fixed_queue_cb ready_cb, void* context) argument
/system/core/adb/
H A Dtransport_mdns.cpp55 void* context);
166 void* context) {
169 reinterpret_cast<ResolvedService*>(context));
182 void* context);
219 void* context) {
222 reinterpret_cast<DiscoveredService*>(context));
250 void* /*context*/) {
159 register_service_ip(DNSServiceRef , DNSServiceFlags , uint32_t , DNSServiceErrorType , const char* , const sockaddr* address, uint32_t , void* context) argument
210 register_resolved_mdns_service(DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char* fullname, const char* hosttarget, uint16_t port, uint16_t , const unsigned char* , void* context) argument
/system/bt/btif/src/
H A Dbtif_a2dp_sink.cc105 static void btif_a2dp_sink_startup_delayed(void* context);
106 static void btif_a2dp_sink_shutdown_delayed(void* context);
107 static void btif_a2dp_sink_command_ready(fixed_queue_t* queue, void* context);
109 static void btif_decode_alarm_cb(void* context);
111 static void btif_a2dp_sink_avk_handle_timer(UNUSED_ATTR void* context);
173 static void btif_a2dp_sink_startup_delayed(UNUSED_ATTR void* context) { argument
202 static void btif_a2dp_sink_shutdown_delayed(UNUSED_ATTR void* context) { argument
218 UNUSED_ATTR void* context) {
296 static void btif_decode_alarm_cb(UNUSED_ATTR void* context) { argument
373 static void btif_a2dp_sink_avk_handle_timer(UNUSED_ATTR void* context) { argument
217 btif_a2dp_sink_command_ready(fixed_queue_t* queue, UNUSED_ATTR void* context) argument
[all...]
/system/core/libunwindstack/
H A DRegs.cpp470 struct x86_mcontext_t context; local
471 if (!process_memory->Read(sp() + 4, &context, sizeof(context))) {
474 regs_[X86_REG_EBP] = context.ebp;
475 regs_[X86_REG_ESP] = context.esp;
476 regs_[X86_REG_EBX] = context.ebx;
477 regs_[X86_REG_EDX] = context.edx;
478 regs_[X86_REG_ECX] = context.ecx;
479 regs_[X86_REG_EAX] = context.eax;
480 regs_[X86_REG_EIP] = context
[all...]
/system/core/libcutils/
H A Dstr_parms.c96 static bool remove_pair(void *key, void *value, void *context) argument
98 struct remove_ctxt *ctxt = context;
339 static bool combine_strings(void *key, void *value, void *context) argument
341 char **old_str = context;
373 static bool dump_entry(void *key, void *value, void *context UNUSED)
/system/sepolicy/tools/fc_sort/
H A Dfc_sort.c31 * the context, as well as information about the regular
40 char *context; member in struct:file_context_node
51 free(x->context);
125 * Merges two sorted file context linked lists into one
252 * This processes a regular expression in a file context
457 /* Parse out the context from the line. */
465 temp->context = (char*)strndup(&line_buf[start], context_len);
466 if (!temp->context) {
497 /* Copy over the file context line into the bucket. */
548 /* Output the context
[all...]

Completed in 299 milliseconds

123456