/system/hwservicemanager/ |
ServiceManager.h | 20 using ::android::hardware::Return; 30 Return<sp<IBase>> get(const hidl_string& fqName, 32 Return<bool> add(const hidl_string& name, 35 Return<Transport> getTransport(const hidl_string& fqName, 38 Return<void> list(list_cb _hidl_cb) override; 39 Return<void> listByInterface(const hidl_string& fqInstanceName, 42 Return<bool> registerForNotifications(const hidl_string& fqName, 46 Return<void> debugDump(debugDump_cb _cb) override; 47 Return<void> registerPassthroughClient(const hidl_string &fqName, 51 Return<bool> unregisterForNotifications(const hidl_string& fqName [all...] |
/external/google-breakpad/src/common/dwarf/ |
dwarf2diehandler_unittest.cc | 50 using ::testing::Return; 114 .WillOnce(Return(false)); 133 .WillOnce(Return(true)); 137 .WillOnce(Return(false)); 160 .WillOnce(Return(true)); 163 .WillOnce(Return(true)); 166 .WillOnce(Return(false)); 168 .WillOnce(Return()); 200 .WillOnce(Return(true)); 205 .WillOnce(Return(true)) [all...] |
/device/google/wahoo/vibrator/ |
Vibrator.h | 39 Return<Status> on(uint32_t timeoutMs) override; 40 Return<Status> off() override; 41 Return<bool> supportsAmplitudeControl() override; 42 Return<Status> setAmplitude(uint8_t amplitude) override; 46 Return<void> perform(Effect effect, EffectStrength strength, perform_cb _hidl_cb) override; 47 Return<void> perform_1_1(Effect_1_1 effect, EffectStrength strength, perform_cb _hidl_cb) override; 50 Return<Status> on(uint32_t timeoutMs, bool forceOpenLoop, bool isWaveform);
|
/hardware/interfaces/audio/2.0/default/ |
Stream.cpp | 49 return analyzeStatus(funcName, status, empty); 54 return std::find(v.begin(), v.end(), e) != v.end(); 64 case 0: return Result::OK; 65 case -EINVAL: return Result::INVALID_ARGUMENTS; 66 case -ENODATA: return Result::INVALID_STATE; 67 case -ENODEV: return Result::NOT_INITIALIZED; 68 case -ENOSYS: return Result::NOT_SUPPORTED; 69 default: return Result::INVALID_STATE; 74 return mStream->get_parameters(mStream, keys); 78 return mStream->set_parameters(mStream, keysAndValues) [all...] |
/hardware/interfaces/automotive/evs/1.0/default/ |
EvsCamera.h | 42 Return<void> getCameraInfo(getCameraInfo_cb _hidl_cb) override; 43 Return <EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override; 44 Return <EvsResult> startVideoStream(const ::android::sp<IEvsCameraStream>& stream) override; 45 Return<void> doneWithFrame(const BufferDesc& buffer) override; 46 Return<void> stopVideoStream() override; 47 Return <int32_t> getExtendedInfo(uint32_t opaqueIdentifier) override; 48 Return <EvsResult> setExtendedInfo(uint32_t opaqueIdentifier, int32_t opaqueValue) override; 55 const CameraDesc& getDesc() { return mDescription; };
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
VehicleHalManager.h | 64 Return<void> getAllPropConfigs(getAllPropConfigs_cb _hidl_cb) override; 65 Return<void> getPropConfigs(const hidl_vec<int32_t>& properties, 67 Return<void> get(const VehiclePropValue& requestedPropValue, 69 Return<StatusCode> set(const VehiclePropValue& value) override; 70 Return<StatusCode> subscribe(const sp<IVehicleCallback>& callback, 72 Return<StatusCode> unsubscribe(const sp<IVehicleCallback>& callback, 74 Return<void> debugDump(debugDump_cb _hidl_cb = nullptr) override;
|
/hardware/interfaces/camera/device/1.0/default/ |
CameraDevice_1_0.h | 57 using ::android::hardware::Return; 74 bool isInitFailed() { return mInitFail; } 79 Return<void> getResourceCost(getResourceCost_cb _hidl_cb) override; 80 Return<void> getCameraInfo(getCameraInfo_cb _hidl_cb) override; 81 Return<Status> setTorchMode(TorchMode mode) override; 82 Return<Status> dumpState(const hidl_handle& fd) override; 83 Return<Status> open(const sp<ICameraDeviceCallback>& callback) override; 84 Return<Status> setPreviewWindow(const sp<ICameraDevicePreviewCallback>& window) override; 85 Return<void> enableMsgType(uint32_t msgType) override; 86 Return<void> disableMsgType(uint32_t msgType) override [all...] |
/hardware/interfaces/gnss/1.0/default/ |
GnssConfiguration.cpp | 33 Return<bool> GnssConfiguration::setSuplEs(bool enabled) { 36 return false; 41 return true; 44 Return<bool> GnssConfiguration::setSuplVersion(uint32_t version) { 47 return false; 53 return true; 56 Return<bool> GnssConfiguration::setSuplMode(uint8_t mode) { 59 return false; 64 return true; 67 Return<bool> GnssConfiguration::setLppProfile(uint8_t lppProfile) [all...] |
/external/libbrillo/brillo/streams/ |
input_stream_set_unittest.cc | 16 using testing::Return; 42 return reinterpret_cast<void*>(addr); 69 EXPECT_CALL(*itf1_, CanGetSize()).WillOnce(Return(true)); 70 EXPECT_CALL(*itf2_, CanGetSize()).WillOnce(Return(true)); 75 .WillOnce(Return(false)); 83 EXPECT_CALL(*itf1_, CanGetSize()).WillOnce(Return(true)); 84 EXPECT_CALL(*itf2_, CanGetSize()).WillOnce(Return(true)); 87 EXPECT_CALL(*itf1_, CanGetSize()).WillOnce(Return(false)); 90 EXPECT_CALL(*itf1_, CanGetSize()).WillOnce(Return(true)); 91 EXPECT_CALL(*itf2_, CanGetSize()).WillOnce(Return(false)) [all...] |
memory_containers_unittest.cc | 18 using testing::Return; 46 return reinterpret_cast<void*>(addr); 50 return reinterpret_cast<const void*>(addr); 69 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); 71 .WillOnce(Return(const_buffer_)); 85 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); 87 .WillOnce(Return(const_buffer_)); 97 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); 110 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); 112 .WillOnce(DoAll(WithArgs<1>(Invoke(OnReadError)), Return(nullptr))) [all...] |
/system/tpm/tpm_manager/server/ |
tpm2_initializer_test.cc | 36 using testing::Return; 51 return true; 56 return true; 75 .WillRepeatedly(Return(trunks::TPM_RC_FAILURE)); 80 EXPECT_CALL(mock_tpm_status_, IsTpmOwned()).WillRepeatedly(Return(true)); 86 EXPECT_CALL(mock_tpm_status_, IsTpmOwned()).WillRepeatedly(Return(false)); 87 EXPECT_CALL(mock_data_store_, Read(_)).WillRepeatedly(Return(false)); 93 EXPECT_CALL(mock_tpm_status_, IsTpmOwned()).WillRepeatedly(Return(false)); 94 EXPECT_CALL(mock_data_store_, Write(_)).WillRepeatedly(Return(false)); 100 EXPECT_CALL(mock_tpm_status_, IsTpmOwned()).WillOnce(Return(false)) [all...] |
/frameworks/base/services/core/jni/BroadcastRadio/ |
TunerCallback.cpp | 38 using hardware::Return; 106 virtual Return<void> hardwareFailure(); 107 virtual Return<void> configChange(Result result, const BandConfig& config); 108 virtual Return<void> tuneComplete(Result result, const V1_0::ProgramInfo& info); 109 virtual Return<void> afSwitch(const V1_0::ProgramInfo& info); 110 virtual Return<void> antennaStateChange(bool connected); 111 virtual Return<void> trafficAnnouncement(bool active); 112 virtual Return<void> emergencyAnnouncement(bool active); 113 virtual Return<void> newMetadata(uint32_t channel, uint32_t subChannel, 115 virtual Return<void> tuneComplete_1_1(Result result, const ProgramSelector& selector) [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...] |
/hardware/interfaces/tv/cec/1.0/default/ |
HdmiCec.h | 44 using ::android::hardware::Return; 53 Return<Result> addLogicalAddress(CecLogicalAddress addr) override; 54 Return<void> clearLogicalAddress() override; 55 Return<void> getPhysicalAddress(getPhysicalAddress_cb _hidl_cb) override; 56 Return<SendMessageResult> sendMessage(const CecMessage& message) override; 57 Return<void> setCallback(const sp<IHdmiCecCallback>& callback) override; 58 Return<int32_t> getCecVersion() override; 59 Return<uint32_t> getVendorId() override; 60 Return<void> getPortInfo(getPortInfo_cb _hidl_cb) override; 61 Return<void> setOption(OptionKey key, bool value) override [all...] |
/hardware/interfaces/contexthub/1.0/default/ |
Contexthub.h | 35 Return<void> getHubs(getHubs_cb _hidl_cb) override; 37 Return<Result> registerCallback(uint32_t hubId, 40 Return<Result> sendMessageToHub(uint32_t hubId, 43 Return<Result> loadNanoApp(uint32_t hubId, 47 Return<Result> unloadNanoApp(uint32_t hubId, 51 Return<Result> enableNanoApp(uint32_t hubId, 55 Return<Result> disableNanoApp(uint32_t hubId, 59 Return<Result> queryApps(uint32_t hubId) override; 61 Return<Result> reboot(uint32_t hubId);
|
/hardware/interfaces/tests/pointer/1.0/default/ |
Graph.cpp | 19 Return<void> Graph::passAGraph(const IGraph::Graph& g) { 23 return Void(); 26 Return<void> Graph::giveAGraph(giveAGraph_cb _cb) { 30 return Void(); 33 Return<void> Graph::passANode(const IGraph::Node& n) { 35 return Void(); 38 Return<void> Graph::passTwoGraphs(IGraph::Graph const* g1, IGraph::Graph const* g2) { 42 return Void(); 45 Return<void> Graph::passAGamma(const IGraph::Gamma& c) { 47 return Void() [all...] |
/device/google/wahoo/thermal/ |
Thermal.h | 37 using ::android::hardware::Return; 51 Return<void> getTemperatures(getTemperatures_cb _hidl_cb) override; 52 Return<void> getCpuUsages(getCpuUsages_cb _hidl_cb) override; 53 Return<void> getCoolingDevices(getCoolingDevices_cb _hidl_cb) override; 55 Return<void> registerThermalCallback(
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel1CommandsLib/ |
Exit.c | 41 CONST CHAR16 *Return;
69 // return the specified error code
71 Return = ShellCommandLineGetRawValue(Package, 1);
72 if (Return != NULL) {
73 Status = ShellConvertStringToUint64(Return, &RetVal, FALSE, FALSE);
75 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_GEN_PARAM_INV), gShellLevel1HiiHandle, L"exit", Return);
95 return (ShellStatus);
|
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/ |
RTD3.asl | 65 Return(Arg3)
69 Return(Arg3)
88 Return(4) // OS comprehends D3cold, as described via \_SB._OSC
91 Return(3)
105 Return(4)
108 Return(3)
123 Return(4)
126 Return(3)
140 Return(4)
143 Return(3) [all...] |
/external/bsdiff/ |
extents_file_unittest.cc | 18 using testing::Return; 37 return true; 43 return true; 52 EXPECT_CALL(*mock_file_, Close()).WillOnce(Return(true)); 68 EXPECT_CALL(*mock_file_, Close()).WillOnce(Return(false)); 95 EXPECT_CALL(*mock_file_, Seek(offset_pair.second)).WillOnce(Return(true)); 96 EXPECT_CALL(*mock_file_, Read(_, _, _)).WillOnce(Return(false)); 116 EXPECT_CALL(*mock_file_, Seek(10)).WillOnce(Return(true)); 118 EXPECT_CALL(*mock_file_, Seek(20)).WillOnce(Return(true)); 120 EXPECT_CALL(*mock_file_, Seek(27)).WillOnce(Return(true)) [all...] |
/external/clang/lib/Tooling/ |
ArgumentsAdjusters.cpp | 22 return [](const CommandLineArguments &Args, StringRef /*unused*/) { 32 return AdjustedArgs; 37 return [](const CommandLineArguments &Args, StringRef /*unused*/) { 50 return AdjustedArgs; 56 return [Extra, Pos](const CommandLineArguments &Args, StringRef /*unused*/) { 57 CommandLineArguments Return(Args); 61 I = Return.end(); 63 I = Return.begin(); 67 Return.insert(I, Extra.begin(), Extra.end()); 68 return Return [all...] |
/external/webrtc/webrtc/modules/utility/source/ |
process_thread_impl_unittest.cc | 25 using ::testing::Return; 78 EXPECT_CALL(module, TimeUntilNextProcess()).WillRepeatedly(Return(0)); 80 .WillOnce(DoAll(SetEvent(event.get()), Return(0))) 81 .WillRepeatedly(Return(0)); 98 EXPECT_CALL(module, TimeUntilNextProcess()).WillRepeatedly(Return(0)); 100 .WillOnce(DoAll(SetEvent(event.get()), Return(0))) 101 .WillRepeatedly(Return(0)); 121 EXPECT_CALL(module, TimeUntilNextProcess()).WillRepeatedly(Return(0)); 125 Return(0))) 126 .WillRepeatedly(DoAll(Increment(&process_count), Return(0))) [all...] |
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
OmxStore.h | 39 using ::android::hardware::Return; 59 Return<void> listServiceAttributes(listServiceAttributes_cb) override; 60 Return<void> getNodePrefix(getNodePrefix_cb) override; 61 Return<void> listRoles(listRoles_cb) override; 62 Return<sp<IOmx>> getOmx(hidl_string const&) override;
|
/frameworks/native/services/displayservice/include/displayservice/ |
DisplayEventReceiver.h | 34 using ::android::hardware::Return; 39 Return<Status> init(const sp<IEventCallback>& callback) override; 40 Return<Status> setVsyncRate(int32_t count) override; 41 Return<Status> requestNextVsync() override; 42 Return<Status> close() override;
|
/hardware/interfaces/audio/effect/2.0/default/ |
EffectsFactory.h | 38 using ::android::hardware::Return; 46 Return<void> getAllDescriptors(getAllDescriptors_cb _hidl_cb) override; 47 Return<void> getDescriptor(const Uuid& uid, getDescriptor_cb _hidl_cb) override; 48 Return<void> createEffect( 50 Return<void> debugDump(const hidl_handle& fd) override;
|