Home
last modified time | relevance | path

Searched refs:Ok (Results 1 – 25 of 48) sorted by relevance

12

/hardware/google/aemu/base/include/aemu/base/
DResult.h64 struct Ok { struct
65 Ok(const T& value) : value(value) {} in Ok() function
66 Ok(T&& value) : value(std::move(value)) {} in Ok() function
68 Ok(Ok&& other) : value(std::move(other.value)) {} in Ok() function
74 struct Ok<void> { argument
75 Ok() = default;
94 ResultStorage(Ok<U>&& ok) : ok(std::move(ok.value)) {}
106 ResultStorage(Ok<void>&& ok) {}
117 detail::Ok<Value> Ok(T&& value) {
118 return detail::Ok<Value>(std::forward<T>(value));
[all …]
/hardware/interfaces/security/secretkeeper/default/src/
Dstore.rs32 Ok(()) in store()
37 Ok(optional_val.cloned()) in get()
42 Ok(()) in delete()
47 Ok(()) in delete_all()
Dlib.rs72 Ok(data) => data, in new()
89 Ok(_) => {} in new()
117 Ok(self in execute()
130 Ok(self in execute()
/hardware/interfaces/uwb/aidl/default/src/
Duwb_chip.rs87 Ok(()) in close()
112 Ok(file) in makeraw()
121 Ok(0) => panic!("unexpectedly reached end of file"), in read_exact()
122 Ok(read_len) => buf = &mut buf[read_len..], in read_exact()
127 Ok(()) in read_exact()
135 Ok(self.name.clone()) in getName()
206 Ok(0) => { in open()
210 Ok(read_len) => break read_len, in open()
259 Ok(()) in open()
279 Ok(()) in coreInit()
[all …]
Duwb.rs46 .find(|chip| chip.getName().as_deref() == Ok(name)); in getChip()
48 Ok(chip.clone()) in getChip()
/hardware/google/gfxstream/common/detector/
DSubprocess.cpp60 gfxstream::expected<Ok, std::string> WaitForChild(pid_t pid) { in WaitForChild()
73 return Ok{}; in WaitForChild()
78 gfxstream::expected<Ok, std::string> WaitForChildWithTimeoutFallback( in WaitForChildWithTimeoutFallback()
107 gfxstream::expected<Ok, std::string> WaitForChildWithTimeout( in WaitForChildWithTimeout()
139 gfxstream::expected<Ok, std::string> DoWithSubprocessCheck( in DoWithSubprocessCheck()
140 const std::function<gfxstream::expected<Ok, std::string>()>& function, in DoWithSubprocessCheck() argument
DGraphicsDetectorVk.cpp24 gfxstream::expected<Ok, vkhpp::Result> PopulateVulkanAvailabilityImpl( in PopulateVulkanAvailabilityImpl()
47 return Ok{}; in PopulateVulkanAvailabilityImpl()
52 gfxstream::expected<Ok, std::string> PopulateVulkanAvailability( in PopulateVulkanAvailability()
DSubprocess.h29 gfxstream::expected<Ok, std::string> DoWithSubprocessCheck(
30 const std::function<gfxstream::expected<Ok, std::string>()>& function,
DGraphicsDetectorVkExternalMemoryHost.cpp119 gfxstream::expected<Ok, std::string> CheckImportingSharedMemory( in CheckImportingSharedMemory()
186 return Ok{}; in CheckImportingSharedMemory()
190 gfxstream::expected<Ok, vkhpp::Result> PopulateVulkanExternalMemoryHostQuirkImpl( in PopulateVulkanExternalMemoryHostQuirkImpl()
225 return Ok{}; in PopulateVulkanExternalMemoryHostQuirkImpl()
230 gfxstream::expected<Ok, std::string> PopulateVulkanExternalMemoryHostQuirk( in PopulateVulkanExternalMemoryHostQuirk()
DImage.h34 gfxstream::expected<Ok, std::string> SaveRGBAToBitmapFile(
72 gfxstream::expected<Ok, std::vector<PixelDiff>> CompareImages(
DGraphicsDetectorVk.h23 gfxstream::expected<Ok, std::string> PopulateVulkanAvailability(
DGraphicsDetectorVkExternalMemoryHost.h23 gfxstream::expected<Ok, std::string> PopulateVulkanExternalMemoryHostQuirk(
DGraphicsDetectorGl.h23 gfxstream::expected<Ok, std::string> PopulateEglAndGlesAvailability(
DGraphicsDetectorVkPrecisionQualifiersOnYuvSamplers.h23 gfxstream::expected<Ok, std::string>
DEgl.h49 gfxstream::expected<Ok, std::string> Init();
DGraphicsDetector.cpp30 …using GraphicsCheckFn = gfxstream::expected<Ok, std::string>(::gfxstream::proto::GraphicsAvailabil… in DetectGraphicsAvailability()
DImage.cpp120 gfxstream::expected<Ok, std::string> SaveRGBAToBitmapFile( in SaveRGBAToBitmapFile()
193 return Ok{}; in SaveRGBAToBitmapFile()
311 gfxstream::expected<Ok, std::vector<PixelDiff>> CompareImages( in CompareImages()
353 return Ok{}; in CompareImages()
/hardware/interfaces/security/authgraph/default/src/
Dlib.rs62 Ok(data) => data, in new()
70 Ok(_) => {} in new()
79 Ok(Self { in new()
95 Ok(channels.out_rx.recv().expect("failed to receive response")) in execute()
/hardware/interfaces/security/secretkeeper/aidl/vts/
Dsecretkeeper_cli.rs206 Ok(()) in store()
225 Ok(Some(Secret(get_response.secret.0))) in get()
230 Ok(None) in get()
252 if let Ok(data) = hex::decode(s) { in string_to_id()
274 if let Ok(data) = hex::decode(s) { in value_to_secret()
277 return Ok((Secret(data.try_into().unwrap()), s.to_string().to_lowercase())); in value_to_secret()
287 Ok(if show_hex { in value_to_secret()
348 Ok(None) => println!("not found"), in main()
349 Ok(Some(s)) => println!("{}", secret_to_value_display(&s, cli.hex)), in main()
383 Ok(()) in main()
/hardware/interfaces/bluetooth/lmp_event/aidl/default/src/
Dlmp_event.rs73 Ok(())
78 Ok(())
/hardware/interfaces/security/keymint/aidl/default/ta/
Dsoft.rs32 Ok(crypto::hmac::Key::new([0; 16].to_vec()).into()) in root_kek()
37 Ok(crypto::aes::Key::Aes256([0; 32]).into()) in kak()
Dattest.rs413 Ok(match key_type.algo_hint { in signing_key()
420 Ok(match key_type.algo_hint { in cert_chain()
/hardware/interfaces/light/aidl/default/
Dlights.rs70 Ok(()) in setLightState()
78 Ok(self.lights.lock().unwrap().values().map(|light| light.hw_light).collect()) in getLights()
/hardware/google/aemu/base/include/aemu/base/containers/
DBufferQueue.h39 Ok = 0, enumerator
127 return BufferQueueResult::Ok; in tryPushLocked()
161 return BufferQueueResult::Ok; in tryPopLocked()
/hardware/google/gfxstream/host/gl/gl-host-common/opengl/
DOpenglEsPipe.cpp338 if (result == IoResult::Ok) { in onGuestRecv()
380 if (result != IoResult::Ok) { in onGuestRecv()
416 if (result != IoResult::Ok) { in onGuestRecv()
484 if (result != IoResult::Ok) { in onGuestSend()

12