/system/update_engine/payload_generator/ |
D | cycle_breaker_unittest.cc | 49 int counter = 0; in TEST() local 50 const Vertex::Index n_a = counter++; in TEST() 51 const Vertex::Index n_b = counter++; in TEST() 52 const Vertex::Index n_c = counter++; in TEST() 53 const Vertex::Index n_d = counter++; in TEST() 54 const Vertex::Index n_e = counter++; in TEST() 55 const Vertex::Index n_f = counter++; in TEST() 56 const Vertex::Index n_g = counter++; in TEST() 57 const Vertex::Index n_h = counter++; in TEST() 58 const Graph::size_type kNodeCount = counter++; in TEST() [all …]
|
D | topological_sort_unittest.cc | 53 int counter = 0; in TEST() local 54 const Vertex::Index n_a = counter++; in TEST() 55 const Vertex::Index n_b = counter++; in TEST() 56 const Vertex::Index n_c = counter++; in TEST() 57 const Vertex::Index n_d = counter++; in TEST() 58 const Vertex::Index n_e = counter++; in TEST() 59 const Vertex::Index n_f = counter++; in TEST() 60 const Vertex::Index n_g = counter++; in TEST() 61 const Vertex::Index n_h = counter++; in TEST() 62 const Vertex::Index n_i = counter++; in TEST() [all …]
|
D | cycle_breaker.cc | 162 static int counter = 0; in Circuit() local 163 counter++; in Circuit() 164 if (counter == 10000) { in Circuit() 165 counter = 0; in Circuit()
|
/system/extras/simpleperf/ |
D | event_fd.cpp | 91 PerfCounter counter; in Id() local 92 if (ReadCounter(&counter)) { in Id() 93 id_ = counter.id; in Id() 99 bool EventFd::ReadCounter(PerfCounter* counter) const { in ReadCounter() 100 CHECK(counter != nullptr); in ReadCounter() 101 if (!android::base::ReadFully(perf_event_fd_, counter, sizeof(*counter))) { in ReadCounter()
|
D | cmd_stat.cpp | 359 ReadableCountValue(counter_info.counter.value, *event_type).c_str(), in ShowCounters() 360 counter_info.counter.time_enabled, counter_info.counter.time_running, in ShowCounters() 361 counter_info.counter.id); in ShowCounters() 372 value_sum += counter_info.counter.value; in ShowCounters() 373 time_enabled_sum += counter_info.counter.time_enabled; in ShowCounters() 374 time_running_sum += counter_info.counter.time_running; in ShowCounters()
|
D | event_fd.h | 57 bool ReadCounter(PerfCounter* counter) const;
|
D | event_selection_set.h | 35 PerfCounter counter; member
|
/system/keymaster/ |
D | iso18033kdf.cpp | 44 UniquePtr<uint8_t[]> counter(new uint8_t[4]); in GenerateKey() local 46 if (counter.get() == nullptr || digest_result.get() == nullptr) in GenerateKey() 63 !Uint32ToBigEndianByteArray(block + start_counter_, counter.get()) || in GenerateKey() 64 !EVP_DigestUpdate(&ctx, counter.get(), 4)) in GenerateKey()
|
/system/tpm/tpm_manager/server/ |
D | tpm2_status_impl.cc | 53 bool Tpm2StatusImpl::GetDictionaryAttackInfo(int* counter, in GetDictionaryAttackInfo() argument 60 if (counter) { in GetDictionaryAttackInfo() 61 *counter = trunks_tpm_state_->GetLockoutCounter(); in GetDictionaryAttackInfo()
|
D | mock_tpm_status.cc | 25 bool GetDefaultDictionaryAttackInfo(int* counter, in GetDefaultDictionaryAttackInfo() argument 29 *counter = 0; in GetDefaultDictionaryAttackInfo()
|
D | tpm_status_impl.cc | 44 bool TpmStatusImpl::GetDictionaryAttackInfo(int* counter, in GetDictionaryAttackInfo() argument 60 if (counter) { *counter = da_info.currentCount; } in GetDictionaryAttackInfo()
|
D | tpm_status.h | 34 virtual bool GetDictionaryAttackInfo(int* counter,
|
D | mock_tpm_status.h | 34 bool(int* counter,
|
D | tpm_status_impl.h | 41 bool GetDictionaryAttackInfo(int* counter,
|
D | tpm2_status_impl.h | 40 bool GetDictionaryAttackInfo(int* counter,
|
D | tpm_manager_service.cc | 78 int counter; in GetTpmStatusTask() local 82 if (tpm_status_->GetDictionaryAttackInfo(&counter, &threshold, &lockout, in GetTpmStatusTask() 84 result->set_dictionary_attack_counter(counter); in GetTpmStatusTask()
|
/system/bt/osi/test/ |
D | semaphore_test.cpp | 17 int counter; member 27 ++helper->counter; in sleep_then_increment_counter() 82 EXPECT_EQ(sequence_helper.counter, 1) << in TEST_F()
|
/system/core/adb/ |
D | sysdeps_test.cpp | 30 std::atomic<int> counter(0); in TEST() local 33 ASSERT_TRUE(adb_thread_create(increment_atomic_int, &counter)); in TEST() 37 ASSERT_EQ(100, counter.load()); in TEST() 41 std::atomic<int> counter(0); in TEST() local 44 ASSERT_TRUE(adb_thread_create(increment_atomic_int, &counter, &threads[i])); in TEST() 47 int current = counter.load(); in TEST() 58 ASSERT_EQ(500, counter.load()); in TEST()
|
/system/bt/stack/gatt/ |
D | gatt_cl.c | 164 if (!p_clcb->counter) in gatt_act_read() 331 p_rsp_value->len != p_clcb->counter || in gatt_check_write_long_terminate() 395 p_clcb->counter = to_send; in gatt_send_prepare_write() 865 p_clcb->counter = len - 2; in gatt_process_read_by_type_rsp() 867 if ( p_clcb->counter == (p_clcb->p_tcb->payload_size -4)) in gatt_process_read_by_type_rsp() 872 if (p_clcb->counter <= GATT_MAX_ATTR_LEN) { in gatt_process_read_by_type_rsp() 873 memcpy(p_clcb->p_attr_buf, p, p_clcb->counter); in gatt_process_read_by_type_rsp() 874 gatt_act_read(p_clcb, p_clcb->counter); in gatt_process_read_by_type_rsp() 954 UINT16 offset = p_clcb->counter; in gatt_process_read_rsp() 963 p_clcb->counter = len; in gatt_process_read_rsp() [all …]
|
D | gatt_auth.c | 98 UINT32 counter; in gatt_verify_signature() local 107 STREAM_TO_UINT32(counter, p); in gatt_verify_signature() 109 if (BTM_BleVerifySignature(p_tcb->peer_bda, p_orig, cmd_len, counter, p)) in gatt_verify_signature() 148 gatt_act_read(p_clcb, p_clcb->counter); in gatt_sec_check_complete()
|
/system/core/libsync/tests/ |
D | sync_test.cpp | 443 int counter = 0; in TEST() local 458 ASSERT_EQ(counter, i * 2 + threadId); in TEST() 459 counter++; in TEST() 472 ASSERT_EQ(counter, iterations * 2); in TEST() 479 int counter = 0; in TEST_P() local 505 counter++; in TEST_P() 536 ASSERT_EQ(counter, GetParam()*i); in TEST_P()
|
/system/tpm/trunks/ |
D | hmac_authorization_delegate.cc | 251 std::string counter; in CreateKey() local 253 if (Serialize_uint32_t(1, &counter) != TPM_RC_SUCCESS || in CreateKey() 258 CHECK_EQ(counter.size(), sizeof(uint32_t)); in CreateKey() 263 data.append(counter); in CreateKey()
|
D | mock_tpm.cc | 134 UINT16* counter, in CommitSync() argument 137 l, e, counter, authorization_delegate); in CommitSync()
|
/system/tpm/tpm_manager/common/ |
D | tpm_ownership_interface.proto | 39 // The current dictionary attack counter value. 41 // The current dictionary attack counter threshold.
|
/system/bt/stack/btm/ |
D | btm_ble.c | 1116 p_dev_rec->ble.keys.counter++; in btm_ble_increment_sign_ctr() 1120 p_dev_rec->ble.keys.counter); in btm_ble_increment_sign_ctr() 1251 p_rec->ble.keys.counter = p_keys->pcsrk_key.counter; in btm_sec_save_le_key() 1263 p_rec->ble.keys.counter ); in btm_sec_save_le_key() 1284 p_rec->ble.keys.local_counter = p_keys->lcsrk_key.counter; in btm_sec_save_le_key() 2246 BOOLEAN BTM_BleVerifySignature (BD_ADDR bd_addr, UINT8 *p_orig, UINT16 len, UINT32 counter, in BTM_BleVerifySignature() argument 2258 else if (counter < p_rec->ble.keys.counter) in BTM_BleVerifySignature() 2268 BTM_TRACE_DEBUG ("%s rcv_cnt=%d >= expected_cnt=%d", __func__, counter, in BTM_BleVerifySignature() 2269 p_rec->ble.keys.counter); in BTM_BleVerifySignature()
|