HomeSort by relevance Sort by last modified time
    Searched refs:cryptohome (Results 1 - 25 of 47) sorted by null

1 2

  /external/chromium_org/chromeos/dbus/
cryptohome_client.cc 11 #include "chromeos/cryptohome/async_method_caller.h"
33 cryptohome::kCryptohomeServiceName,
34 dbus::ObjectPath(cryptohome::kCryptohomeServicePath))),
38 cryptohome::kCryptohomeInterface,
39 cryptohome::kSignalAsyncCallStatus,
45 cryptohome::kCryptohomeInterface,
46 cryptohome::kSignalAsyncCallStatusWithData,
69 dbus::MethodCall method_call(cryptohome::kCryptohomeInterface,
70 cryptohome::kCryptohomeIsMounted);
76 dbus::MethodCall method_call(cryptohome::kCryptohomeInterface
    [all...]
  /external/chromium_org/chrome/browser/chromeos/app_mode/
kiosk_app_launcher.h 23 // to mount a cryptohome for the app. If the mount is successful, it prepares
47 void MountCallback(bool mount_success, cryptohome::MountError mount_error);
51 cryptohome::MountError return_code);
65 // Whether remove existing cryptohome has attempted.
kiosk_app_launcher.cc 19 #include "chromeos/cryptohome/async_method_caller.h"
20 #include "chromeos/cryptohome/cryptohome_library.h"
31 void IgnoreResult(bool mount_success, cryptohome::MountError mount_error) {}
39 // KioskAppLauncher::CryptohomedChecker ensures cryptohome daemon is up
81 LOG(ERROR) << "Cryptohome is mounted before launching kiosk app.";
83 // Proceed only when cryptohome is not mounded or running on dev box.
120 cryptohome::AsyncMethodCaller::GetInstance()->AsyncGetSanitizedUsername(
210 // Nuke old home that uses |app_id_| as cryptohome user id.
212 cryptohome::AsyncMethodCaller::GetInstance()->AsyncRemove(
216 cryptohome::AsyncMethodCaller::GetInstance()->AsyncMountPublic
    [all...]
  /external/chromium_org/chrome/browser/chromeos/login/
parallel_authenticator_unittest.cc 26 #include "chromeos/cryptohome/mock_async_method_caller.h"
27 #include "chromeos/cryptohome/mock_cryptohome_library.h"
67 mock_caller_ = new cryptohome::MockAsyncMethodCaller;
68 cryptohome::AsyncMethodCaller::InitializeForTesting(mock_caller_);
88 cryptohome::AsyncMethodCaller::Shutdown();
205 cryptohome::MockAsyncMethodCaller* mock_caller_;
239 // Set a fake online attempt so that we return intermediate cryptohome state.
242 // Set up state as though a cryptohome mount attempt has occurred
244 state_->PresetCryptohomeStatus(false, cryptohome::MOUNT_ERROR_KEY_FAILURE);
251 // Set up state as though a cryptohome mount attempt has occurre
    [all...]
test_attempt_state.h 38 // Act as though an cryptohome login attempt completed already.
40 cryptohome::MountError cryptohome_code);
49 virtual cryptohome::MountError cryptohome_code() OVERRIDE;
auth_attempt_state.h 63 cryptohome::MountError cryptohome_code);
65 // Blow away locally stored cryptohome login status.
76 virtual cryptohome::MountError cryptohome_code();
104 // Status of our cryptohome op attempt. Can only have one in flight at a time.
107 cryptohome::MountError cryptohome_code_;
auth_attempt_state.cc 35 cryptohome_code_(cryptohome::MOUNT_ERROR_NONE),
51 cryptohome_code_(cryptohome::MOUNT_ERROR_NONE),
68 cryptohome_code_(cryptohome::MOUNT_ERROR_NONE),
91 cryptohome::MountError cryptohome_code) {
113 cryptohome_code_ = cryptohome::MOUNT_ERROR_NONE;
146 cryptohome::MountError AuthAttemptState::cryptohome_code() {
test_attempt_state.cc 46 cryptohome::MountError cryptohome_code) {
76 cryptohome::MountError TestAttemptState::cryptohome_code() {
parallel_authenticator.cc 22 #include "chromeos/cryptohome/async_method_caller.h"
23 #include "chromeos/cryptohome/cryptohome_library.h"
45 cryptohome::MountError return_code) {
67 cryptohome::MountError return_code) {
72 // Calls cryptohome's mount method.
82 cryptohome::AsyncMethodCaller::GetInstance()->AsyncMount(
90 cryptohome::AsyncMethodCaller::GetInstance()->AsyncGetSanitizedUsername(
97 // Calls cryptohome's mount method for guest.
101 cryptohome::AsyncMethodCaller::GetInstance()->AsyncMountGuest(
108 // Calls cryptohome's key migration method
    [all...]
  /external/chromium_org/chromeos/attestation/
attestation_flow_unittest.cc 9 #include "chromeos/cryptohome/mock_async_method_caller.h"
40 void AsyncCallbackFalse(cryptohome::AsyncMethodCaller::Callback callback) {
41 callback.Run(false, cryptohome::MOUNT_ERROR_NONE);
80 StrictMock<cryptohome::MockAsyncMethodCaller> async_caller;
81 async_caller.SetUp(true, cryptohome::MOUNT_ERROR_NONE);
89 cryptohome::MockAsyncMethodCaller::kFakeAttestationEnrollRequest,
94 cryptohome::MockAsyncMethodCaller::kFakeAttestationEnrollRequest;
107 cryptohome::MockAsyncMethodCaller::kFakeAttestationCertRequest,
112 cryptohome::MockAsyncMethodCaller::kFakeAttestationCertRequest;
125 cryptohome::MockAsyncMethodCaller::kFakeAttestationCert)
    [all...]
attestation_flow.h 19 namespace cryptohome { namespace
23 } // namespace cryptohome
57 AttestationFlow(cryptohome::AsyncMethodCaller* async_caller,
125 // not_used - An artifact of the cryptohome D-Bus interface; ignored.
129 cryptohome::MountError not_used);
186 cryptohome::AsyncMethodCaller* async_caller_;
  /external/chromium/chrome/browser/policy/
enterprise_install_attributes.h 32 explicit EnterpriseInstallAttributes(chromeos::CryptohomeLibrary* cryptohome);
52 // up-to-date with what cryptohome has.
enterprise_install_attributes.cc 16 chromeos::CryptohomeLibrary* cryptohome)
17 : cryptohome_(cryptohome),
  /external/chromium/chrome/browser/chromeos/login/
enterprise_enrollment_screen.cc 26 chromeos::CryptohomeLibrary* cryptohome = local
28 if (cryptohome) {
29 if (cryptohome->TpmIsEnabled() &&
30 !cryptohome->TpmIsBeingOwned() &&
31 !cryptohome->TpmIsOwned()) {
32 cryptohome->TpmCanAttemptOwnership();
77 chromeos::CryptohomeLibrary* cryptohome = local
79 if (cryptohome &&
80 cryptohome->InstallAttributesIsReady() &&
81 !cryptohome->InstallAttributesIsFirstInstall())
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/enterprise_platform_keys_private/
enterprise_platform_keys_private_api.h 27 namespace cryptohome { namespace
61 cryptohome::AsyncMethodCaller* async_caller,
101 cryptohome::AsyncMethodCaller* async_caller_;
133 cryptohome::AsyncMethodCaller* async_caller,
168 cryptohome::AsyncMethodCaller* async_caller,
194 cryptohome::MountError return_code);
enterprise_platform_keys_private_api.cc 28 #include "chromeos/cryptohome/async_method_caller.h"
58 async_caller_(cryptohome::AsyncMethodCaller::GetInstance()),
71 cryptohome::AsyncMethodCaller* async_caller,
239 cryptohome::AsyncMethodCaller* async_caller,
358 cryptohome::AsyncMethodCaller* async_caller,
487 RegisterKeyCallback(response, true, cryptohome::MOUNT_ERROR_NONE);
494 cryptohome::MountError return_code) {
495 if (!success || return_code != cryptohome::MOUNT_ERROR_NONE) {
  /external/chromium_org/chrome/browser/chromeos/login/managed/
managed_user_authenticator.cc 11 #include "chromeos/cryptohome/async_method_caller.h"
12 #include "chromeos/cryptohome/cryptohome_library.h"
36 cryptohome::MountError return_code) {
58 cryptohome::MountError return_code) {
63 // Calls cryptohome's mount method.
70 cryptohome::AsyncMethodCaller::GetInstance()->AsyncMount(
79 cryptohome::AsyncMethodCaller::GetInstance()->AsyncGetSanitizedUsername(
84 // Calls cryptohome's addKey method.
91 cryptohome::AsyncMethodCaller::GetInstance()->AsyncAddKey(
138 cryptohome::MOUNT_FLAGS_NONE))
    [all...]
managed_user_authenticator.h 18 // Authenticates locally managed users against the cryptohome.
21 // AuthenticateToMount() calls a Cryptohome to perform offline login,
22 // AuthenticateToCreate() calls a Cryptohome to create new cryptohome.
28 NO_MOUNT, // No cryptohome exist for user.
29 FAILED_MOUNT, // Failed to mount existing cryptohome - login failed.
30 FAILED_TPM, // Failed to mount/create cryptohome because of TPM error.
46 cryptohome::MountError cryptohome_code);
57 cryptohome::MountError cryptohome_code();
70 cryptohome::MountError cryptohome_code_
    [all...]
  /external/chromium_org/chrome/test/functional/
chromeos_oobe.py 16 from autotest.cros import cryptohome namespace
32 cryptohome.remove_all_vaults()
chromeos_accessibility.py 17 from autotest.cros import cryptohome namespace
34 cryptohome.remove_all_vaults()
chromeos_volume.py 16 from autotest.cros import cryptohome namespace
30 cryptohome.remove_all_vaults()
chromeos_ephemeral.py 14 from autotest.cros import cryptohome namespace
21 cryptohome shadow directories or local state prefs should be created for
38 user_hash = cryptohome.get_user_hash(self._usernames[user_index])
74 cryptohome.is_vault_mounted(device_regex=device_regex,
82 self.assertFalse(cryptohome.is_vault_mounted(allow_fail=True),
  /external/chromium_org/chrome/browser/chromeos/policy/
device_policy_cros_browser_test.cc 31 cryptohome::SerializedInstallAttributes install_attrs_proto;
32 cryptohome::SerializedInstallAttributes::Attribute* attribute = NULL;
enterprise_install_attributes_unittest.cc 13 #include "chromeos/cryptohome/cryptohome_library.h"
51 cryptohome::SerializedInstallAttributes* install_attrs_proto,
54 cryptohome::SerializedInstallAttributes::Attribute* attribute;
210 cryptohome::SerializedInstallAttributes install_attrs_proto;
226 cryptohome::SerializedInstallAttributes install_attrs_proto;
  /external/chromium_org/chromeos/cryptohome/
mock_async_method_caller.cc 5 #include "chromeos/cryptohome/mock_async_method_caller.h"
11 namespace cryptohome { namespace
21 : success_(false), return_code_(cryptohome::MOUNT_ERROR_NONE) {
105 } // namespace cryptohome

Completed in 770 milliseconds

1 2