Searched refs:Init (Results 1 - 25 of 210) sorted by relevance

123456789

/system/update_engine/update_manager/
H A Dreal_config_provider.cc23 bool RealConfigProvider::Init() { function in class:chromeos_update_manager::RealConfigProvider
H A Dstate_factory.cc79 if (!(config_provider->Init() &&
80 device_policy_provider->Init() &&
81 random_provider->Init() &&
83 shill_provider->Init() &&
85 system_provider->Init() &&
86 time_provider->Init() &&
87 updater_provider->Init())) {
H A Dreal_random_provider.h34 bool Init();
H A Dreal_config_provider.h36 bool Init();
/system/keymaster/tests/
H A Dkdf_test.cpp35 ASSERT_TRUE(kdf.Init(KM_DIGEST_SHA1, key, 128, salt, 128));
36 ASSERT_TRUE(kdf.Init(KM_DIGEST_SHA_2_256, key, 128, salt, 128));
37 ASSERT_TRUE(kdf.Init(KM_DIGEST_SHA1, key, 128, nullptr, 0));
38 ASSERT_FALSE(kdf.Init(KM_DIGEST_MD5, key, 128, salt, 128));
39 ASSERT_FALSE(kdf.Init(KM_DIGEST_SHA1, nullptr, 0, salt, 128));
40 ASSERT_FALSE(kdf.Init(KM_DIGEST_SHA1, nullptr, 128, salt, 128));
41 ASSERT_FALSE(kdf.Init(KM_DIGEST_SHA1, key, 0, salt, 128));
/system/bt/service/test/
H A Dsettings_unittest.cc48 EXPECT_TRUE(base::CommandLine::Init(arraysize(argv), argv));
49 EXPECT_TRUE(settings_.Init());
55 EXPECT_TRUE(base::CommandLine::Init(arraysize(argv), argv));
56 EXPECT_FALSE(settings_.Init());
61 EXPECT_TRUE(base::CommandLine::Init(arraysize(argv), argv));
62 EXPECT_FALSE(settings_.Init());
67 EXPECT_TRUE(base::CommandLine::Init(arraysize(argv), argv));
68 EXPECT_FALSE(settings_.Init());
74 EXPECT_TRUE(base::CommandLine::Init(arraysize(argv), argv));
75 EXPECT_FALSE(settings_.Init());
[all...]
H A Dmock_daemon.h34 MOCK_METHOD0(Init, bool());
H A Dmain.cc25 base::CommandLine::Init(argc, argv);
/system/keymaster/include/keymaster/km_openssl/
H A Dhkdf.h35 bool Init(Buffer& secret, Buffer& salt) { function in class:keymaster::Rfc5869Sha256Kdf
36 return Init(secret.peek_read(), secret.available_read(), salt.peek_read(),
40 bool Init(const uint8_t* secret, size_t secret_len, const uint8_t* salt, size_t salt_len) { function in class:keymaster::Rfc5869Sha256Kdf
41 return Kdf::Init(KM_DIGEST_SHA_2_256, secret, secret_len, salt, salt_len);
H A Diso18033kdf.h37 bool Init(keymaster_digest_t digest_type, const uint8_t* secret, size_t secret_len) { function in class:keymaster::Iso18033Kdf
38 return Kdf::Init(digest_type, secret, secret_len, nullptr /* salt */, 0 /* salt_len */);
H A Dhmac.h32 // Initializes this instance using |key|. Call Init only once. It returns
34 bool Init(const uint8_t* key, size_t key_length);
35 bool Init(const Buffer& key);
37 // Sign calculates the HMAC of |data| with the key supplied to the Init
44 // supplied to Init. |digest| must be exactly |DigestLength()| bytes long.
/system/update_engine/common/
H A Dterminator.cc27 void Terminator::Init() { function in class:chromeos_update_engine::Terminator
33 void Terminator::Init(int exit_status) { function in class:chromeos_update_engine::Terminator
35 Init();
H A Dterminator.h30 static void Init();
31 static void Init(int exit_status);
/system/update_engine/
H A Dtestrunner.cc42 chromeos_update_engine::Terminator::Init(2);
44 base::CommandLine::Init(argc, argv);
H A Domaha_request_params_unittest.cc81 EXPECT_TRUE(params_.Init("", "", false));
87 EXPECT_TRUE(params_.Init("ForcedVersion", "", false));
93 EXPECT_TRUE(params_.Init("", "http://forced.google.com", false));
98 EXPECT_TRUE(params_.Init("", "", false));
103 EXPECT_TRUE(params_.Init("", "", false));
110 EXPECT_TRUE(params_.Init("", "", false));
118 EXPECT_TRUE(params.Init("", "", false));
123 EXPECT_TRUE(params_.Init("", "", false));
132 EXPECT_TRUE(params.Init("", "", false));
137 EXPECT_TRUE(params_.Init("", "", fals
[all...]
H A Ddaemon_state_android.cc56 if (!prefs->Init(non_volatile_path.Append(kPrefsSubDirectory))) {
64 certificate_checker_->Init();
76 update_attempter_->Init();
/system/update_engine/client_library/
H A Dclient.cc39 if (!update_engine_client_impl->Init()) {
/system/core/libunwindstack/
H A DMapInfo.cpp35 if (memory->Init(name, 0)) {
52 if (!memory->Init(name, offset, map_size)) {
60 // Init as if the whole file is an elf.
61 if (memory->Init(name, 0)) {
69 if (memory->Init(name, offset, max_size)) {
73 if (memory->Init(name, offset, map_size)) {
137 elf->Init(init_gnu_debugdata);
/system/tpm/attestation/
H A Dattestation_testrunner.cc24 base::CommandLine::Init(argc, argv);
/system/tpm/tpm_manager/
H A Dtpm_manager_testrunner.cc24 base::CommandLine::Init(argc, argv);
/system/tpm/trunks/
H A Dcommand_transceiver.h48 virtual bool Init() { return true; } function in class:trunks::CommandTransceiver
H A Dtpm_handle.h35 // if (!handle.Init()) {...}
44 bool Init() override;
H A Dtpm_simulator_handle.h36 // if (!handle.Init()) {...}
45 bool Init() override;
H A Dtrunks_testrunner.cc24 base::CommandLine::Init(argc, argv);
/system/core/libziparchive/
H A Dzip_archive_stream_entry.cc40 bool ZipArchiveStreamEntry::Init(const ZipEntry& entry) { function in class:ZipArchiveStreamEntry
57 bool Init(const ZipEntry& entry) override;
66 bool ZipArchiveStreamEntryUncompressed::Init(const ZipEntry& entry) { function in class:ZipArchiveStreamEntryUncompressed
67 if (!ZipArchiveStreamEntry::Init(entry)) {
121 bool Init(const ZipEntry& entry) override;
141 bool ZipArchiveStreamEntryCompressed::Init(const ZipEntry& entry) { function in class:ZipArchiveStreamEntryCompressed
142 if (!ZipArchiveStreamEntry::Init(entry)) {
259 bool Init(const ZipEntry& entry) override;
262 bool ZipArchiveStreamEntryRawCompressed::Init(const ZipEntry& entry) { function in class:ZipArchiveStreamEntryRawCompressed
263 if (!ZipArchiveStreamEntryUncompressed::Init(entr
[all...]

Completed in 299 milliseconds

123456789