/system/keymaster/ |
H A D | operation_table.h | 43 keymaster_error_t Add(Operation* operation, const KeymasterContext& context,
|
H A D | operation_table.cpp | 34 keymaster_error_t OperationTable::Add(Operation* operation, const KeymasterContext& context, argument 43 keymaster_error_t error = operation->CreateOperationHandle(context, op_handle);
|
H A D | symmetric_key.h | 30 explicit SymmetricKeyFactory(const KeymasterContext* context) : KeyFactory(context) {} argument
|
H A D | asymmetric_key.cpp | 148 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 D | fixed_queue.h | 31 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 D | list.h | 33 // |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 D | thread_test.cc | 42 static void thread_is_self_fn(void* context) { argument 43 thread_t* thread = (thread_t*)context;
|
H A D | semaphore_test.cc | 20 void sleep_then_increment_counter(void* context) { argument 22 reinterpret_cast<SemaphoreTestSequenceHelper*>(context);
|
H A D | list_test.cc | 147 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 D | platform_log.cc | 99 void *context) { 104 callback(mLogBuffer, mLogBufferSize, context); 98 flushLogBuffer(FlushLogBufferCallback callback, void *context) argument
|
/system/core/liblog/ |
H A D | logd_writer.c | 53 .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 D | stderr_write.c | 60 .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 D | ec_key_factory.h | 29 explicit EcKeyFactory(const KeymasterContext* context) : AsymmetricKeyFactory(context) {} argument
|
H A D | key_factory.h | 36 explicit KeyFactory(const KeymasterContext* context) : context_(context) {} argument
|
H A D | rsa_key_factory.h | 29 explicit RsaKeyFactory(const KeymasterContext* context) : AsymmetricKeyFactory(context) {} argument
|
/system/extras/ext4_utils/ |
H A D | sha1.c | 144 /* 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 D | l2cap_client.cc | 35 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 D | hash_calculator.cc | 116 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 D | runconuid.cpp | 20 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 D | fixed_queue.cc | 43 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 D | transport_mdns.cpp | 55 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 D | btif_a2dp_sink.cc | 105 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 D | Regs.cpp | 470 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 D | str_parms.c | 96 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 D | fc_sort.c | 31 * 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...] |