Home
last modified time | relevance | path

Searched refs:MOCK_METHOD1 (Results 1 – 25 of 90) sorted by relevance

1234

/external/chromium/chrome/browser/chromeos/cros/
Dmock_network_library.h20 MOCK_METHOD1(AddNetworkManagerObserver, void(NetworkManagerObserver*));
21 MOCK_METHOD1(RemoveNetworkManagerObserver, void(NetworkManagerObserver*));
25 MOCK_METHOD1(RemoveObserverForAllNetworks, void(NetworkObserver*));
30 MOCK_METHOD1(AddCellularDataPlanObserver, void(CellularDataPlanObserver*));
31 MOCK_METHOD1(RemoveCellularDataPlanObserver, void(CellularDataPlanObserver*));
32 MOCK_METHOD1(AddPinOperationObserver, void(PinOperationObserver*));
33 MOCK_METHOD1(RemovePinOperationObserver, void(PinOperationObserver*));
34 MOCK_METHOD1(AddUserActionObserver, void(UserActionObserver*));
35 MOCK_METHOD1(RemoveUserActionObserver, void(UserActionObserver*));
85 MOCK_METHOD1(EnterPin, void(const std::string&));
[all …]
Dmock_input_method_library.h21 MOCK_METHOD1(AddObserver, void(Observer*));
22 MOCK_METHOD1(RemoveObserver, void(Observer*));
27 MOCK_METHOD1(ChangeInputMethod, void(const std::string&));
29 MOCK_METHOD1(InputMethodIsActivated, bool(const std::string&));
35 MOCK_METHOD1(GetKeyboardOverlayId, std::string(const std::string&));
38 MOCK_METHOD1(SetDeferImeStartup, void(bool));
39 MOCK_METHOD1(SetEnableAutoImeShutdown, void(bool));
Dmock_update_library.h19 MOCK_METHOD1(AddObserver, void(Observer*)); // NOLINT
20 MOCK_METHOD1(RemoveObserver, void(Observer*)); // NOLINT
21 MOCK_METHOD1(HasObserver, bool(Observer*));
24 MOCK_METHOD1(SetReleaseTrack, void(const std::string&));
Dmock_mount_library.h25 MOCK_METHOD1(AddObserver, void(MountLibrary::Observer*));
26 MOCK_METHOD1(RemoveObserver, void(MountLibrary::Observer*));
30 MOCK_METHOD1(MountPath, void(const char*));
31 MOCK_METHOD1(UnmountPath, void(const char*));
Dmock_speech_synthesis_library.h18 MOCK_METHOD1(Speak, bool(const char*));
19 MOCK_METHOD1(SetSpeakProperties, bool(const char*));
22 MOCK_METHOD1(InitTts, void(InitStatusCallback));
Dmock_power_library.h18 MOCK_METHOD1(AddObserver, void(Observer*));
19 MOCK_METHOD1(RemoveObserver, void(Observer*));
28 MOCK_METHOD1(EnableScreenLock, void(bool));
Dmock_cryptohome_library.h66 MOCK_METHOD1(MountForBwsi, bool(int*));
67 MOCK_METHOD1(AsyncMountForBwsi, bool(Delegate* callback));
69 MOCK_METHOD1(Remove, bool(const std::string& user_email));
73 MOCK_METHOD1(AsyncDoAutomaticFreeDiskSpaceControl, bool(Delegate* callback));
79 MOCK_METHOD1(TpmGetPassword, bool(std::string* password));
Dmock_touchpad_library.h18 MOCK_METHOD1(SetSensitivity, void(int));
19 MOCK_METHOD1(SetTapToClick, void(bool));
Dmock_screen_lock_library.h18 MOCK_METHOD1(AddObserver, void(Observer*));
19 MOCK_METHOD1(RemoveObserver, void(Observer*));
/external/chromium/chrome/browser/ui/webui/
Dsettings_browsertest.cc22 MOCK_METHOD1(HandleInitialize,
24 MOCK_METHOD1(HandleFetchPrefs,
26 MOCK_METHOD1(HandleObservePrefs,
28 MOCK_METHOD1(HandleSetBooleanPref,
30 MOCK_METHOD1(HandleSetIntegerPref,
32 MOCK_METHOD1(HandleSetDoublePref,
34 MOCK_METHOD1(HandleSetStringPref,
36 MOCK_METHOD1(HandleSetObjectPref,
38 MOCK_METHOD1(HandleClearPref,
40 MOCK_METHOD1(HandleUserMetricsAction,
/external/chromium/chrome/browser/chromeos/login/
Dexisting_user_controller_browsertest.cc42 MOCK_METHOD1(OnUserImageChanged, void(UserManager::User*));
44 MOCK_METHOD1(SetUIEnabled, void(bool));
46 MOCK_METHOD1(OnBeforeUserRemoved, void(const std::string&));
47 MOCK_METHOD1(OnUserRemoved, void(const std::string&));
62 MOCK_METHOD1(SetOobeProgress, void(BackgroundView::LoginStep));
63 MOCK_METHOD1(SetOobeProgressBarVisible, void(bool));
64 MOCK_METHOD1(SetShutdownButtonEnabled, void(bool));
65 MOCK_METHOD1(SetStatusAreaEnabled, void(bool));
66 MOCK_METHOD1(SetStatusAreaVisible, void(bool));
92 MOCK_METHOD1(OnLoginFailure, void(const LoginFailure&));
[all …]
Dmock_user_manager.h24 MOCK_METHOD1(UserLoggedIn, void(const std::string&));
25 MOCK_METHOD1(RemoveUser, void(const std::string&));
26 MOCK_METHOD1(IsKnownUser, bool(const std::string&));
29 MOCK_METHOD1(set_current_user_is_owner, void(bool));
Dmock_screen_observer.h22 MOCK_METHOD1(OnExit, void(ExitCodes));
25 MOCK_METHOD1(set_usage_statistics_reporting, void(bool));
/external/chromium/chrome/browser/sync/notifier/
Dcache_invalidation_packet_handler_unittest.cc24 MOCK_METHOD1(RegisterOutboundListener,
26 MOCK_METHOD1(HandleInboundMessage, void(const invalidation::string&));
27 MOCK_METHOD1(TakeOutboundMessage, void(invalidation::string*));
28 MOCK_METHOD1(AdviseNetworkStatus, void(bool));
33 MOCK_METHOD1(Start, void(const std::string& str));
34 MOCK_METHOD1(Register, void(const invalidation::ObjectId&));
35 MOCK_METHOD1(Unregister, void(const invalidation::ObjectId&));
Dmock_sync_notifier_observer.h21 MOCK_METHOD1(OnIncomingNotification,
23 MOCK_METHOD1(OnNotificationStateChange, void(bool));
24 MOCK_METHOD1(StoreState, void(const std::string&));
/external/chromium/chrome/browser/policy/
Ddevice_management_backend_mock.h21 MOCK_METHOD1(HandleRegisterResponse, void(const em::DeviceRegisterResponse&));
22 MOCK_METHOD1(OnError, void(DeviceManagementBackend::ErrorCode error));
31 MOCK_METHOD1(HandleUnregisterResponse,
33 MOCK_METHOD1(OnError, void(DeviceManagementBackend::ErrorCode error));
42 MOCK_METHOD1(HandlePolicyResponse, void(const em::DevicePolicyResponse&));
43 MOCK_METHOD1(OnError, void(DeviceManagementBackend::ErrorCode error));
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dautocomplete_text_field_unittest_helper.h39 MOCK_METHOD1(SelectionRangeForProposedRange, NSRange(NSRange range));
40 MOCK_METHOD1(OnControlKeyChanged, void(bool pressed));
42 MOCK_METHOD1(CopyToPasteboard, void(NSPasteboard* pboard));
54 MOCK_METHOD1(OnDoCommandBySelector, bool(SEL cmd));
55 MOCK_METHOD1(OnSetFocus, void(bool control_down));
/external/chromium/chrome/browser/password_manager/
Dpassword_manager_unittest.cc30 MOCK_METHOD1(FillPasswordForm, void(
32 MOCK_METHOD1(AddSavePasswordInfoBar, void(PasswordFormManager*));
53 MOCK_METHOD1(RemoveLogin, void(const PasswordForm&));
55 MOCK_METHOD1(AddLogin, void(const PasswordForm&));
56 MOCK_METHOD1(UpdateLogin, void(const PasswordForm&));
59 MOCK_METHOD1(AddLoginImpl, void(const PasswordForm&));
60 MOCK_METHOD1(UpdateLoginImpl, void(const PasswordForm&));
61 MOCK_METHOD1(RemoveLoginImpl, void(const PasswordForm&));
65 MOCK_METHOD1(GetAutofillableLoginsImpl, void(GetLoginsRequest*));
66 MOCK_METHOD1(GetBlacklistLoginsImpl, void(GetLoginsRequest*));
[all …]
/external/chromium/chrome/browser/chromeos/
Dmock_system_access.h19 MOCK_METHOD1(SetTimezone, void(const icu::TimeZone& timezone));
22 MOCK_METHOD1(AddObserver, void(Observer* observer));
23 MOCK_METHOD1(RemoveObserver, void(Observer* observer));
/external/chromium/testing/gmock/test/
Dgmock-generated-function-mockers_test.cc120 MOCK_METHOD1(VoidReturning, void(int n)); // NOLINT
125 MOCK_METHOD1(Unary, bool(int)); // NOLINT
130 MOCK_METHOD1(TakesNonConstReference, bool(int&)); // NOLINT
131 MOCK_METHOD1(TakesConstReference, string(const int&));
133 MOCK_METHOD1(TakesConst, bool(const int)); // NOLINT
136 MOCK_METHOD1(OverloadedOnArgumentNumber, int(int)); // NOLINT
138 MOCK_METHOD1(OverloadedOnArgumentType, int(int)); // NOLINT
139 MOCK_METHOD1(OverloadedOnArgumentType, char(char)); // NOLINT
144 MOCK_METHOD1(TypeWithHole, int(int (*)())); // NOLINT
145 MOCK_METHOD1(TypeWithComma, int(const std::map<int, string>&)); // NOLINT
[all …]
/external/chromium/chrome/browser/ui/webui/chromeos/login/
Dmock_login_ui_helpers.h33 MOCK_METHOD1(CreateBrowser, Browser*(Profile* profile));
34 MOCK_METHOD1(GetLoginBrowser, Browser*(Profile* profile));
50 MOCK_METHOD1(CreateHTMLBytes,
/external/chromium/chrome/browser/extensions/
Dmock_extension_service.h35 MOCK_METHOD1(EnableExtension, void(const std::string&));
36 MOCK_METHOD1(DisableExtension, void(const std::string&));
37 MOCK_METHOD1(UpdateExtensionBlacklist,
/external/chromium/chrome/browser/sync/glue/
Dfrontend_data_type_controller_mock.h20 MOCK_METHOD1(Start, void(StartCallback* start_callback));
41 MOCK_METHOD1(RecordAssociationTime, void(base::TimeDelta time));
42 MOCK_METHOD1(RecordStartFailure, void(StartResult result));
/external/chromium/chrome/browser/sync/
Djs_test_util.h43 MOCK_METHOD1(SetParentJsEventRouter, void(JsEventRouter*));
55 MOCK_METHOD1(AddHandler, void(JsEventHandler*));
56 MOCK_METHOD1(RemoveHandler, void(JsEventHandler*));
Dprofile_sync_service_mock.h45 MOCK_METHOD1(AddObserver, void(Observer*));
46 MOCK_METHOD1(RemoveObserver, void(Observer*));
50 MOCK_METHOD1(ChangePreferredDataTypes,

1234