HomeSort by relevance Sort by last modified time
    Searched refs:WithArg (Results 1 - 20 of 20) sorted by null

  /system/core/adb/
bugreport_test.cpp 37 using ::testing::WithArg;
65 // gmock black magic to provide a WithArg<2>(WriteOnStdout(output)) matcher
139 .WillOnce(DoAll(WithArg<2>(WriteOnStderr(version.c_str())),
140 WithArg<2>(ReturnCallbackDone(0))));
162 .WillOnce(DoAll(WithArg<2>(WriteOnStderr("")),
164 WithArg<2>(WriteOnStdout("Dude, where is my bugreportz?")),
165 WithArg<2>(ReturnCallbackDone(0))));
170 .WillOnce(DoAll(WithArg<2>(WriteOnStdout(bugreport)), Return(0)));
185 .WillOnce(DoAll(WithArg<2>(WriteOnStdout("OK:/device/da_bugreport.zip")),
186 WithArg<2>(ReturnCallbackDone())))
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
CStringSyntaxChecker.cpp 46 /// Check if the expression E is a sizeof(WithArg).
47 inline bool isSizeof(const Expr *E, const Expr *WithArg) {
51 return sameDecl(UE->getArgumentExpr(), WithArg);
55 /// Check if the expression E is a strlen(WithArg).
56 inline bool isStrlen(const Expr *E, const Expr *WithArg) {
62 sameDecl(CE->getArg(0), WithArg));
  /external/pdfium/core/fpdfapi/parser/
cpdf_indirect_object_holder_unittest.cpp 33 .WillOnce(::testing::WithArg<0>(::testing::Invoke(
53 .WillOnce(::testing::WithArg<0>(::testing::Invoke(
  /external/libchrome/base/
gmock_unittest.cc 17 using testing::WithArg;
125 // and a WithArg adapter to bridge the interfaces.
129 .WillRepeatedly(WithArg<1>(ReturnVal()));
  /frameworks/native/cmds/dumpsys/tests/
dumpsys_test.cpp 44 using ::testing::WithArg;
69 // gmock black magic to provide a WithArg<0>(WriteOnFd(output)) matcher
159 .WillRepeatedly(DoAll(WithArg<0>(WriteOnFd(output)), Return(0)));
166 .WillRepeatedly(DoAll(WithArg<0>(WriteOnFd(output)), Return(0)));
172 .WillRepeatedly(DoAll(Sleep(timeout_s), WithArg<0>(WriteOnFd(output)), Return(0)));
  /system/tpm/trunks/
tpm_generated_test.cc 35 using testing::WithArg;
341 .WillOnce(WithArg<1>(Invoke(PostResponse(command_response))));
369 .WillOnce(WithArg<1>(Invoke(PostResponse(command_response))));
425 .WillOnce(WithArg<1>(Invoke(PostResponse(command_response))));
  /external/libbrillo/brillo/http/
http_request_unittest.cc 23 using testing::WithArg;
199 .WillOnce(DoAll(WithArg<0>(Invoke(finish_request_async)), Return(23)));
  /external/google-breakpad/src/testing/include/gmock/
gmock-more-actions.h 122 // WithArg<k>(an_action) creates an action that passes the k-th
129 WithArg(const InnerAction& action) {
  /external/googletest/googlemock/include/gmock/
gmock-more-actions.h 139 // WithArg<k>(an_action) creates an action that passes the k-th
146 WithArg(const InnerAction& action) {
  /external/v8/testing/gmock/include/gmock/
gmock-more-actions.h 139 // WithArg<k>(an_action) creates an action that passes the k-th
146 WithArg(const InnerAction& action) {
  /external/webrtc/webrtc/video/
video_capture_input_unittest.cc 30 using ::testing::WithArg;
62 WithArg<0>(Invoke(this, &VideoCaptureInputTest::AddOutputFrame)));
  /external/google-breakpad/src/testing/test/
gmock_link_test.h 55 // WithArg
176 using testing::WithArg;
352 // Tests the linkage of the WithArg action.
357 .WillOnce(WithArg<0>(Invoke(&InvokeHelper::StaticVoidFromString)));
gmock-more-actions_test.cc 67 using testing::WithArg;
477 // Tests using WithArg with an action that takes 1 argument.
479 Action<bool(double x, int n)> b = WithArg<1>(Invoke(Unary)); // NOLINT
  /external/googletest/googlemock/test/
gmock_link_test.h 55 // WithArg
176 using testing::WithArg;
352 // Tests the linkage of the WithArg action.
357 .WillOnce(WithArg<0>(Invoke(&InvokeHelper::StaticVoidFromString)));
gmock-more-actions_test.cc 67 using testing::WithArg;
483 // Tests using WithArg with an action that takes 1 argument.
485 Action<bool(double x, int n)> b = WithArg<1>(Invoke(Unary)); // NOLINT
  /external/v8/testing/gmock/test/
gmock_link_test.h 55 // WithArg
176 using testing::WithArg;
352 // Tests the linkage of the WithArg action.
357 .WillOnce(WithArg<0>(Invoke(&InvokeHelper::StaticVoidFromString)));
gmock-more-actions_test.cc 67 using testing::WithArg;
477 // Tests using WithArg with an action that takes 1 argument.
479 Action<bool(double x, int n)> b = WithArg<1>(Invoke(Unary)); // NOLINT
  /frameworks/native/libs/vr/libpdx/
service_tests.cpp 33 using testing::WithArg;
647 .WillOnce(WithArg<1>(Invoke(make_file_handle)));
679 .WillOnce(WithArg<1>(Invoke(make_channel_handle)));
  /system/netd/server/
XfrmControllerTest.cpp 72 using ::testing::WithArg;
450 .WillOnce(DoAll(WithArg<3>(Invoke(SavePolicy)), SaveArg<4>(&optlen),
  /external/webrtc/webrtc/modules/audio_coding/neteq/
neteq_impl_unittest.cc 40 using ::testing::WithArg;
320 WithArg<0>(Invoke(DeletePacketsAndReturnOk))));
    [all...]

Completed in 1368 milliseconds