Home
last modified time | relevance | path

Searched refs:new_key (Results 1 – 8 of 8) sorted by relevance

/aosp12/system/core/libcrypto_utils/
H A Dandroid_pubkey.cpp58 RSA* new_key = RSA_new(); in android_pubkey_decode() local
61 if (!new_key) { in android_pubkey_decode()
85 if (!RSA_set0_key(new_key, n, e, NULL)) { in android_pubkey_decode()
100 *key = new_key; in android_pubkey_decode()
101 new_key = NULL; in android_pubkey_decode()
105 RSA_free(new_key); in android_pubkey_decode()
/aosp12/system/gsid/
H A Dlibgsi.cpp88 std::string new_key; in CanBootIntoGsi() local
94 new_key = kInstallStatusDisabled; in CanBootIntoGsi()
96 new_key = std::to_string(attempts + 1); in CanBootIntoGsi()
98 if (!WriteAndSyncFile(new_key, kDsuInstallStatusFile)) { in CanBootIntoGsi()
/aosp12/system/core/libcrypto_utils/tests/
H A Dandroid_pubkey_test.cpp111 RSA* new_key = nullptr; in SetUp() local
112 ASSERT_TRUE(android_pubkey_decode(kKey2048, sizeof(kKey2048), &new_key)); in SetUp()
113 key_.reset(new_key); in SetUp()
/aosp12/bionic/libc/kernel/uapi/linux/
H A Dpr.h37 __u64 new_key; member
43 __u64 new_key; member
/aosp12/system/bt/common/
H A Dlru_unittest.cc217 int new_key = key + max_size; in TEST() local
218 cache.Put(new_key, new_key); in TEST()
220 EXPECT_TRUE(cache.HasKey(new_key)); in TEST()
/aosp12/frameworks/base/libs/androidfw/
H A DAssetManager2.cpp1047 uint32_t new_key = dtohl(map_entry->name.ident); in GetBag() local
1048 if (!is_internal_resid(new_key)) { in GetBag()
1051 if (UNLIKELY(entry->dynamic_ref_table->lookupResourceId(&new_key) != NO_ERROR)) { in GetBag()
1052 LOG(ERROR) << base::StringPrintf("Failed to resolve key 0x%08x in bag 0x%08x.", new_key, in GetBag()
1059 new_entry->key = new_key; in GetBag()
1068 new_entry->value.data, new_key); in GetBag()
1165 uint32_t new_key = dtohl(map_entry->name.ident); in GetBag() local
1166 if (!is_internal_resid(new_key)) { in GetBag()
1167 if (UNLIKELY(entry->dynamic_ref_table->lookupResourceId(&new_key) != NO_ERROR)) { in GetBag()
1168 LOG(ERROR) << base::StringPrintf("Failed to resolve key 0x%08x in bag 0x%08x.", new_key, in GetBag()
[all …]
/aosp12/system/bt/gd/common/
H A Dlru_cache_test.cc438 int new_key = key + capacity; in TEST() local
439 cache.insert_or_assign(new_key, new_key); in TEST()
441 EXPECT_TRUE(cache.contains(new_key)); in TEST()
/aosp12/art/libprofile/profile/
H A Dprofile_compilation_info.cc1130 std::string_view new_key(dex_file_data->profile_key); in GetOrAddDexFileData() local
1131 profile_index_it = profile_key_map_.PutBefore(profile_index_it, new_key, new_profile_index); in GetOrAddDexFileData()