/external/chromium_org/device/bluetooth/test/ |
mock_bluetooth_gatt_connection.cc | 7 using ::testing::Return; 13 ON_CALL(*this, GetDeviceAddress()).WillByDefault(Return(device_address)); 14 ON_CALL(*this, IsConnected()).WillByDefault(Return(true));
|
mock_bluetooth_gatt_notify_session.cc | 7 using testing::Return; 14 .WillByDefault(Return(characteristic_identifier)); 15 ON_CALL(*this, IsActive()).WillByDefault(Return(true));
|
mock_bluetooth_device.cc | 22 .WillByDefault(testing::Return(bluetooth_class_)); 24 .WillByDefault(testing::Return(name_)); 26 .WillByDefault(testing::Return(address_)); 28 .WillByDefault(testing::Return(DEVICE_UNKNOWN)); 30 .WillByDefault(testing::Return(kUnknownPower)); 32 .WillByDefault(testing::Return(kUnknownPower)); 34 .WillByDefault(testing::Return(kUnknownPower)); 36 .WillByDefault(testing::Return(VENDOR_ID_UNKNOWN)); 38 .WillByDefault(testing::Return(0)); 40 .WillByDefault(testing::Return(0)) [all...] |
mock_bluetooth_gatt_characteristic.cc | 9 using testing::Return; 22 ON_CALL(*this, GetIdentifier()).WillByDefault(Return(identifier)); 23 ON_CALL(*this, GetUUID()).WillByDefault(Return(uuid)); 24 ON_CALL(*this, IsLocal()).WillByDefault(Return(is_local)); 27 ON_CALL(*this, GetService()).WillByDefault(Return(service)); 28 ON_CALL(*this, GetProperties()).WillByDefault(Return(properties)); 29 ON_CALL(*this, GetPermissions()).WillByDefault(Return(permissions)); 30 ON_CALL(*this, IsNotifying()).WillByDefault(Return(false)); 32 .WillByDefault(Return(std::vector<BluetoothGattDescriptor*>()));
|
mock_bluetooth_gatt_service.cc | 9 using testing::Return; 20 ON_CALL(*this, GetIdentifier()).WillByDefault(Return(identifier)); 21 ON_CALL(*this, GetUUID()).WillByDefault(Return(uuid)); 22 ON_CALL(*this, IsLocal()).WillByDefault(Return(is_local)); 23 ON_CALL(*this, IsPrimary()).WillByDefault(Return(is_primary)); 24 ON_CALL(*this, GetDevice()).WillByDefault(Return(device)); 26 .WillByDefault(Return(std::vector<BluetoothGattCharacteristic*>())); 28 .WillByDefault(Return(std::vector<BluetoothGattService*>())); 30 .WillByDefault(Return(static_cast<BluetoothGattCharacteristic*>(NULL)));
|
mock_bluetooth_gatt_descriptor.cc | 9 using testing::Return; 20 ON_CALL(*this, GetIdentifier()).WillByDefault(Return(identifier)); 21 ON_CALL(*this, GetUUID()).WillByDefault(Return(uuid)); 22 ON_CALL(*this, IsLocal()).WillByDefault(Return(is_local)); 25 ON_CALL(*this, GetCharacteristic()).WillByDefault(Return(characteristic)); 26 ON_CALL(*this, GetPermissions()).WillByDefault(Return(permissions));
|
/external/chromium_org/chrome/browser/media_galleries/ |
media_galleries_dialog_controller_mock.cc | 10 using ::testing::Return; 14 WillByDefault(Return(base::ASCIIToUTF16("Title"))); 16 WillByDefault(Return(base::ASCIIToUTF16("Desc"))); 18 WillByDefault(Return(base::ASCIIToUTF16("OK"))); 20 WillByDefault(Return(base::ASCIIToUTF16("Button"))); 22 WillByDefault(Return(Entries()));
|
/external/chromium_org/chrome/browser/ui/autofill/ |
mock_address_validator.cc | 11 using testing::Return; 12 ON_CALL(*this, ValidateAddress(_, _, _)).WillByDefault(Return(SUCCESS)); 13 ON_CALL(*this, GetSuggestions(_, _, _, _)).WillByDefault(Return(SUCCESS)); 14 ON_CALL(*this, CanonicalizeAdministrativeArea(_)).WillByDefault(Return(true));
|
/external/chromium_org/gpu/command_buffer/service/ |
gles2_cmd_decoder_mock.cc | 13 .WillByDefault(testing::Return("")); 15 .WillByDefault(testing::Return(true));
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/iterator/detail/ |
enable_if.hpp | 67 class Return> 70 : enabled<(Cond::value)>::template base<Return> 72 : mpl::identity<Return> 76 typedef Return type;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
AMDILUtilityFunctions.h | 17 // However, these macro's do not return anything unlike the second set below. 52 // Macros that expand into statements with return values 53 #define ExpandCaseTo32bitIntReturn(Instr, Return) \ 54 case Instr##_i32: return Return##_i32; 56 #define ExpandCaseToIntReturn(Instr, Return) \ 57 ExpandCaseTo32bitIntReturn(Instr, Return) 59 #define ExpandCaseToFloatReturn(Instr, Return) \ 60 case Instr##_f32: return Return##_f32; [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
AMDILUtilityFunctions.h | 17 // However, these macro's do not return anything unlike the second set below. 52 // Macros that expand into statements with return values 53 #define ExpandCaseTo32bitIntReturn(Instr, Return) \ 54 case Instr##_i32: return Return##_i32; 56 #define ExpandCaseToIntReturn(Instr, Return) \ 57 ExpandCaseTo32bitIntReturn(Instr, Return) 59 #define ExpandCaseToFloatReturn(Instr, Return) \ 60 case Instr##_f32: return Return##_f32; [all...] |
/external/chromium_org/chrome/browser/sync/ |
about_sync_util_unittest.cc | 14 using ::testing::Return; 33 .WillOnce(Return(true)); 35 .WillOnce(Return(false)); 38 .WillRepeatedly(Return(true)); 41 .WillOnce(Return(str));
|
sync_ui_util_unittest.cc | 26 using ::testing::Return; 58 .WillRepeatedly(Return(is_signed_in)); 89 .WillRepeatedly(Return(false)); 91 .WillRepeatedly(Return(true)); 93 .WillRepeatedly(Return(true)); 109 .WillRepeatedly(Return(false)); 112 .WillRepeatedly(Return(true)); 114 .WillRepeatedly(Return(true)); 116 .WillRepeatedly(Return(true)); 139 .WillRepeatedly(Return(false)) [all...] |
sync_startup_tracker_unittest.cc | 16 using ::testing::Return; 46 .WillByDefault(Return(syncer::ModelTypeSet())); 57 EXPECT_CALL(*mock_pss_, sync_initialized()).WillRepeatedly(Return(false)); 59 .WillRepeatedly(Return(false)); 61 .WillRepeatedly(Return(true)); 72 EXPECT_CALL(*mock_pss_, sync_initialized()).WillRepeatedly(Return(true)); 74 .WillRepeatedly(Return(true)); 82 EXPECT_CALL(*mock_pss_, sync_initialized()).WillRepeatedly(Return(false)); 84 Return(false)); 92 EXPECT_CALL(*mock_pss_, sync_initialized()).WillRepeatedly(Return(false)) [all...] |
/external/chromium_org/chrome/common/ |
content_settings_pattern_parser_unittest.cc | 36 ::testing::Return(&builder)); 38 ::testing::Return(&builder)); 40 ::testing::Return(&builder)); 45 ::testing::Return(&builder)); 47 ::testing::Return(&builder)); 49 ::testing::Return(&builder)); 55 ::testing::Return(&builder)); 57 ::testing::Return(&builder)); 59 ::testing::Return(&builder)); 64 ::testing::Return(&builder)) [all...] |
/external/chromium_org/base/nix/ |
xdg_util_unittest.cc | 12 using ::testing::Return; 37 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); 39 .WillOnce(DoAll(SetArgumentPointee<1>(kGnome), Return(true))); 47 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); 49 .WillOnce(DoAll(SetArgumentPointee<1>(kKDE4), Return(true))); 57 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); 59 .WillOnce(DoAll(SetArgumentPointee<1>(kKDE), Return(true))); 67 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); 69 .WillOnce(DoAll(SetArgumentPointee<1>(kXFCE), Return(true)));
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
DefaultAllocator.h | 55 return partitionAllocActualSize(Partitions::getBufferPartition(), count * sizeof(T)); 73 template <typename Return, typename Metadata> 74 static Return backingMalloc(size_t size) 76 return reinterpret_cast<Return>(backingAllocate(size)); 78 template <typename Return, typename Metadata> 79 static Return zeroedBackingMalloc(size_t size) 83 return reinterpret_cast<Return>(result); 85 template <typename Return, typename Metadata [all...] |
/external/chromium_org/gpu/command_buffer/common/ |
command_buffer_mock.cc | 11 .WillByDefault(testing::Return(scoped_refptr<gpu::Buffer>()));
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
kernel_wrap_test.cc | 37 using ::testing::Return; 47 return false; \ 62 return true; 126 .WillOnce(Return(0)) 127 .WillOnce(Return(1)) 128 .WillOnce(Return(2)); 156 return -1; 158 return nwrote; 165 EXPECT_CALL(mock, access(kDummyConstChar, kDummyInt)) .WillOnce(Return(0)); 169 .WillOnce(DoAll(SetErrno(kDummyErrno), Return(-1))) [all...] |
/external/chromium_org/chrome/browser/speech/extension_api/ |
tts_extension_apitest.cc | 33 using ::testing::Return; 52 return true; 73 return; 158 return; 175 return online_ ? 201 .WillOnce(Return(true)); 203 .WillOnce(Return(true)); 205 .WillOnce(Return(true)); 207 .WillOnce(Return(true)); 209 .WillOnce(Return(true)) [all...] |
/external/chromium_org/media/filters/ |
ffmpeg_glue_unittest.cc | 17 using ::testing::Return; 42 EXPECT_CALL(*protocol_.get(), IsStreaming()).WillOnce(Return(true)); 58 return glue_->format_context()->pb->read_packet( 63 return glue_->format_context()->pb->seek(protocol_.get(), offset, whence); 124 .WillOnce(Return(0)); 126 .WillOnce(Return(kBufferSize)); 128 .WillOnce(Return(DataSource::kReadError)); 138 // successful will return the result from GetPosition(). 141 .WillOnce(Return(false)); 144 .WillOnce(Return(true)) [all...] |
/external/chromium_org/android_webview/browser/net/ |
input_stream_reader_unittest.cc | 25 using testing::Return; 50 return input_stream_reader_.Seek(byte_range); 54 return input_stream_reader_.ReadRawData(buffer.get(), bytesToRead); 63 .WillOnce(Return(false)); 74 Return(true))); 77 .WillOnce(Return(false)); 88 Return(true))); 92 Return(true))); 104 Return(true))); 112 Return(true)) [all...] |
/external/markdown/markdown/ |
inlinepatterns.py | 98 return string[1:-1] 100 return string 108 return ATTR_RE.sub(attributeCallback, text) 137 """ Return a compiled regular expression. """ 138 return self.compiled_re 141 """Return a ElementTree element from the given match. 153 """ Return class name, to define pattern type """ 154 return self.__class__.__name__ 159 """ Return a simple text of group(2) of a Pattern. """ 163 return Non [all...] |
/external/chromium_org/media/audio/alsa/ |
alsa_output_unittest.cc | 26 using testing::Return; 96 return base::MessageLoop::current()->message_loop_proxy(); 113 return CreateStream(layout, kTestFramesPerPacket); 120 return new AlsaPcmOutputStream(kTestDeviceName, 128 return strdup(static_cast<const char*>(name)); 133 return strdup("Output"); 260 Return(0))); 264 .WillOnce(Return(0)); 268 Return(0))); 275 EXPECT_CALL(mock_alsa_wrapper_, PcmClose(kFakeHandle)).WillOnce(Return(0)) [all...] |