/hardware/google/aemu/base/include/aemu/base/ |
D | Result.h | 64 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/ |
D | store.rs | 32 Ok(()) in store() 37 Ok(optional_val.cloned()) in get() 42 Ok(()) in delete() 47 Ok(()) in delete_all()
|
D | lib.rs | 72 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/ |
D | uwb_chip.rs | 87 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 …]
|
D | uwb.rs | 46 .find(|chip| chip.getName().as_deref() == Ok(name)); in getChip() 48 Ok(chip.clone()) in getChip()
|
/hardware/google/gfxstream/common/detector/ |
D | Subprocess.cpp | 60 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
|
D | GraphicsDetectorVk.cpp | 24 gfxstream::expected<Ok, vkhpp::Result> PopulateVulkanAvailabilityImpl( in PopulateVulkanAvailabilityImpl() 47 return Ok{}; in PopulateVulkanAvailabilityImpl() 52 gfxstream::expected<Ok, std::string> PopulateVulkanAvailability( in PopulateVulkanAvailability()
|
D | Subprocess.h | 29 gfxstream::expected<Ok, std::string> DoWithSubprocessCheck( 30 const std::function<gfxstream::expected<Ok, std::string>()>& function,
|
D | GraphicsDetectorVkExternalMemoryHost.cpp | 119 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()
|
D | Image.h | 34 gfxstream::expected<Ok, std::string> SaveRGBAToBitmapFile( 72 gfxstream::expected<Ok, std::vector<PixelDiff>> CompareImages(
|
D | GraphicsDetectorVk.h | 23 gfxstream::expected<Ok, std::string> PopulateVulkanAvailability(
|
D | GraphicsDetectorVkExternalMemoryHost.h | 23 gfxstream::expected<Ok, std::string> PopulateVulkanExternalMemoryHostQuirk(
|
D | GraphicsDetectorGl.h | 23 gfxstream::expected<Ok, std::string> PopulateEglAndGlesAvailability(
|
D | GraphicsDetectorVkPrecisionQualifiersOnYuvSamplers.h | 23 gfxstream::expected<Ok, std::string>
|
D | Egl.h | 49 gfxstream::expected<Ok, std::string> Init();
|
D | GraphicsDetector.cpp | 30 …using GraphicsCheckFn = gfxstream::expected<Ok, std::string>(::gfxstream::proto::GraphicsAvailabil… in DetectGraphicsAvailability()
|
D | Image.cpp | 120 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/ |
D | lib.rs | 62 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/ |
D | secretkeeper_cli.rs | 206 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/ |
D | lmp_event.rs | 73 Ok(()) 78 Ok(())
|
/hardware/interfaces/security/keymint/aidl/default/ta/ |
D | soft.rs | 32 Ok(crypto::hmac::Key::new([0; 16].to_vec()).into()) in root_kek() 37 Ok(crypto::aes::Key::Aes256([0; 32]).into()) in kak()
|
D | attest.rs | 413 Ok(match key_type.algo_hint { in signing_key() 420 Ok(match key_type.algo_hint { in cert_chain()
|
/hardware/interfaces/light/aidl/default/ |
D | lights.rs | 70 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/ |
D | BufferQueue.h | 39 Ok = 0, enumerator 127 return BufferQueueResult::Ok; in tryPushLocked() 161 return BufferQueueResult::Ok; in tryPopLocked()
|
/hardware/google/gfxstream/host/gl/gl-host-common/opengl/ |
D | OpenglEsPipe.cpp | 338 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()
|