| /system/tpm/attestation/common/ |
| mock_crypto_utility.cc | 41 ON_CALL(*this, GetRandom(_, _)).WillByDefault(Invoke(FakeRandom));
|
| crypto_utility.h | 32 virtual bool GetRandom(size_t num_bytes, std::string* random_data) const = 0;
|
| mock_crypto_utility.h | 33 MOCK_CONST_METHOD2(GetRandom, bool(size_t, std::string*));
|
| crypto_utility_impl_test.cc | 72 EXPECT_TRUE(crypto_utility_->GetRandom(20, &random1)); 74 EXPECT_TRUE(crypto_utility_->GetRandom(20, &random2)); 81 EXPECT_FALSE(crypto_utility_->GetRandom(num_bytes, &buffer));
|
| crypto_utility_impl.h | 38 bool GetRandom(size_t num_bytes, std::string* random_data) const override;
|
| crypto_utility_impl.cc | 71 bool CryptoUtilityImpl::GetRandom(size_t num_bytes, 84 if (!GetRandom(kAesKeySize, aes_key)) { 85 LOG(ERROR) << __func__ << ": GetRandom failed."; 100 if (!GetRandom(kAesBlockSize, &iv)) { 101 LOG(ERROR) << __func__ << ": GetRandom failed."; 224 if (!GetRandom(kAesKeySize, &aes_key)) { 225 LOG(ERROR) << __func__ << ": GetRandom failed."; 427 if (!GetRandom(kAesBlockSize, &iv)) { 428 LOG(ERROR) << __func__ << ": GetRandom failed.";
|
| /system/bt/service/test/ |
| parcel_helpers_unittest.cpp | 145 UUID uuid = UUID::GetRandom(); 151 UUID uuid0 = UUID::GetRandom(); 152 UUID uuid1 = UUID::GetRandom(); 153 UUID uuid2 = UUID::GetRandom(); 186 UUID uuid = UUID::GetRandom(); 190 UUID mask = UUID::GetRandom();
|
| gatt_client_unittest.cpp | 115 UUID uuid0 = UUID::GetRandom(); 132 UUID uuid1 = UUID::GetRandom(); 139 UUID uuid2 = UUID::GetRandom();
|
| gatt_server_unittest.cpp | 198 UUID uuid = UUID::GetRandom(); 244 UUID uuid0 = UUID::GetRandom(); 245 UUID uuid1 = UUID::GetRandom(); 246 UUID uuid2 = UUID::GetRandom(); 323 UUID uuid0 = UUID::GetRandom(); 340 UUID uuid1 = UUID::GetRandom(); 347 UUID uuid2 = UUID::GetRandom(); 399 const UUID uuid = UUID::GetRandom(); 481 const UUID uuid = UUID::GetRandom(); 542 const UUID char_uuid = UUID::GetRandom(); [all...] |
| low_energy_client_unittest.cpp | 221 UUID uuid = UUID::GetRandom(); 317 UUID uuid0 = UUID::GetRandom(); 334 UUID uuid1 = UUID::GetRandom(); 341 UUID uuid2 = UUID::GetRandom(); [all...] |
| /system/bt/service/common/bluetooth/ |
| uuid.h | 39 static UUID GetRandom();
|
| uuid.cpp | 41 UUID UUID::GetRandom() {
|
| /external/deqp/framework/randomshaders/ |
| rsgBinaryOps.cpp | 128 VariableType::Type baseType = state.getRandom().choose<VariableType::Type>(baseTypes.begin(), baseTypes.end()); 129 int numElements = state.getRandom().getInt(1, availableLevels >= 3 ? 4 : 1); 163 ComputeValueRange()(state.getRandom(), dst.getMin().asFloat(), dst.getMax().asFloat(), 167 ComputeValueRange()(state.getRandom(), dst.getMin().asInt(), dst.getMax().asInt(), 173 ComputeValueRange()(state.getRandom(), dst.getMin().asBool(), dst.getMax().asBool(), 299 struct GetRandom 306 T subRangeLen = GetRandom()(random, T(0), rangeLen); 307 T aOffset = GetRandom()(random, T(-8), T(8)); 349 struct GetRandom 356 T subRangeLen = GetRandom()(random, T(0), rangeLen) [all...] |
| /system/core/gatekeeperd/ |
| SoftGateKeeper.h | 89 virtual void GetRandom(void *random, uint32_t requested_length) const { 162 GetRandom(&salt, sizeof(salt));
|
| /system/gatekeeper/include/gatekeeper/ |
| gatekeeper.h | 99 virtual void GetRandom(void *random, uint32_t requested_size) const = 0;
|
| /external/webrtc/webrtc/base/ |
| helpers.cc | 155 static_cast<uint8_t*>(buf)[i] = static_cast<uint8_t>(GetRandom()); 161 int GetRandom() {
|
| /system/bt/service/ipc/binder/ |
| interface_with_instances_base.cpp | 37 bluetooth::UUID app_uuid = bluetooth::UUID::GetRandom();
|
| /system/gatekeeper/ |
| gatekeeper.cpp | 38 GetRandom(&user_id, sizeof(secure_id_t)); 91 GetRandom(&salt, sizeof(salt));
|
| /external/tpm2/ |
| Android.mk | 86 GetRandom.c \
|
| Makefile | 66 SOURCES += GetRandom.c
|
| /system/tpm/attestation/server/ |
| attestation_service_test.cc | 309 EXPECT_CALL(mock_crypto_utility_, GetRandom(_, _)) 323 EXPECT_CALL(mock_crypto_utility_, GetRandom(_, _)) 788 EXPECT_CALL(mock_crypto_utility_, GetRandom(_, _)) [all...] |
| attestation_service.cc | 616 if (!crypto_utility_->GetRandom(kNonceSize, message_id)) { 617 LOG(ERROR) << __func__ << ": GetRandom(message_id) failed."; 735 if (!crypto_utility_->GetRandom(kNonceSize, &nonce)) { 736 LOG(ERROR) << __func__ << ": GetRandom(nonce) failed.";
|
| /system/tpm/trunks/ |
| mock_tpm.h | 447 MOCK_METHOD3(GetRandom, [all...] |
| tpm_generated.h | [all...] |
| tpm_generated.cc | [all...] |