/packages/modules/DnsResolver/doh/connection/ |
D | driver.rs | 146 driver: Driver, field 330 fn new(driver: Driver, h3_conn: h3::Connection) -> Self { in new() 332 driver, in new() 341 let _ = self.driver.status_tx.send(Status::H3); in drive() 344 let session = self.driver.quiche_conn.session().map(<[_]>::to_vec); in drive() 345 let _ = self.driver.status_tx.send(Status::Dead { session }); in drive() 354 let timer = optional_timeout(self.driver.quiche_conn.timeout(), self.driver.net_id); in drive_once() 359 self.driver.flush_tx().await?; in drive_once() 365 …msg = self.driver.request_rx.recv(), if !self.driver.closing && self.buffered_request.is_none() =>… in drive_once() 373 info!("H3Driver: Timer expired on network {}", self.driver.net_id); in drive_once() [all …]
|
D | mod.rs | 19 use crate::connection::driver::Cause; 20 use crate::connection::driver::HandshakeInfo; 33 pub mod driver; module 35 pub use driver::Stream; 36 use driver::{drive, Request}; 171 let driver = async move { in new() localVariable 179 task::spawn(driver); in new()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestCompilationCaching.cpp | 376 void compileModel(const sp<CachingDriver>& driver, bool withToken) { in compileModel() argument 377 DeviceManager::get()->forTest_registerDevice(makeSharedDevice(kDeviceName.data(), driver)); in compileModel() 403 sp<CachingDriver> driver = in createCache() local 406 compileModel(driver, /*withToken=*/true); in createCache() 423 sp<CachingDriver> driver = in TEST_P() local 426 compileModel(driver, /*withToken=*/true); in TEST_P() 429 EXPECT_FALSE(driver->hasCalledPrepareModelFromCache()); in TEST_P() 432 EXPECT_EQ(driver->hasCalledPrepareModel(), kIsCachingSupported in TEST_P() 442 sp<CachingDriver> driver = in TEST_P() local 445 compileModel(driver, /*withToken=*/true); in TEST_P() [all …]
|
D | HalUtils.h | 43 inline SharedDevice makeSharedDevice(std::string name, sp<V1_0::IDevice> driver) { in makeSharedDevice() argument 52 if (auto driver13 = V1_3::IDevice::castFrom(driver).withDefault(nullptr); driver13 != nullptr) { in makeSharedDevice() 55 if (auto driver12 = V1_2::IDevice::castFrom(driver).withDefault(nullptr); driver12 != nullptr) { in makeSharedDevice() 58 if (auto driver11 = V1_1::IDevice::castFrom(driver).withDefault(nullptr); driver11 != nullptr) { in makeSharedDevice() 61 return handleError(V1_0::utils::Device::create(std::move(name), std::move(driver))); in makeSharedDevice()
|
/packages/modules/DnsResolver/doh/network/ |
D | mod.rs | 31 mod driver; module 33 use driver::{Command, Driver}; 35 pub use driver::Status; 82 let (driver, command_tx, status_rx) = in new() 84 task::spawn(driver.drive()); in new()
|
/packages/modules/NeuralNetworks/driver/sample_hidl/ |
D | SampleDriverAll.cpp | 33 const auto driver = sp<SampleDriverFull>::make(name.c_str(), perf); in main() local 34 return run(driver, name); in main()
|
D | SampleDriverUtils.h | 57 V1_3::ErrorStatus prepareModelBase(const T_Model& model, const SampleDriver* driver, 87 std::thread([model, driver, preference, userId, priority, callback] { 89 new SamplePreparedModel(convertToV1_3(model), driver, preference, userId, priority);
|
D | SampleDriver.cpp | 371 createRunTimePoolInfos(const V1_3::Request& request, const SampleDriver& driver, in createRunTimePoolInfos() argument 391 auto bufferWrapper = driver.getHalBufferTracker()->get(pool.token()); in createRunTimePoolInfos() 450 const V1_3::Model& model, const SampleDriver& driver, in asyncExecute() argument 459 createRunTimePoolInfos(request, driver, preparedModel); in asyncExecute() 467 CpuExecutor executor = driver.getExecutor(); in asyncExecute() 506 const V1_3::Model& model, const SampleDriver& driver, in executeBase() argument 534 std::thread([&model, &driver, preparedModel, &poolInfos, request, measure, driverStart, in executeBase() 536 asyncExecute(request, measure, driverStart, model, driver, preparedModel, poolInfos, in executeBase() 570 const V1_3::Model& model, const SampleDriver& driver, in executeSynchronouslyBase() argument 593 createRunTimePoolInfos(request, driver, preparedModel); in executeSynchronouslyBase() [all …]
|
/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | SampleDriverAidlAll.cpp | 32 const std::shared_ptr<SampleDriverFull> driver = in main() local 34 return run(driver, name); in main()
|
D | SampleDriverAidlUtils.cpp | 84 aidl_hal::Model&& model, const SampleDriver* driver, in prepareModelBase() argument 139 [driver, preference, userId, priority, callback](aidl_hal::Model&& model) { in prepareModelBase() 141 ndk::SharedRefBase::make<SamplePreparedModel>(std::move(model), driver, in prepareModelBase()
|
D | Android.bp | 94 // packages/modules/NeuralNetworks/driver/sample/Android.bp. 98 // packages/modules/NeuralNetworks/driver/sample_shim/Android.bp.
|
/packages/modules/Virtualization/virtualizationservice/vfio_handler/src/ |
D | aidl.rs | 204 fn try_bind_driver(path: &Path, driver: &str) -> binder::Result<()> { in try_bind_driver() 205 if Some(driver) == current_driver(path).as_deref() { in try_bind_driver() 230 write(path.join("driver_override"), driver.as_bytes()) in try_bind_driver() 240 if new_driver.is_none() || Some(driver) != new_driver.as_deref() && driver != DEFAULT_DRIVER { in try_bind_driver()
|
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/ |
D | README.md | 34 library) and `libneuralnetworks_driver_fuzzer` which tests an in-process driver 35 at the NNAPI HAL layer (the sample driver, unless the test is modified to do 65 ### Modifying `libneuralnetworks_driver_fuzzer` to test custom driver 68 driver. In the section `“TODO: INSERT CUSTOM DEVICE HERE”`, replace 69 `“std::make_shared<const sample::Device>("example-driver")”` ([link][5]) with 70 your own driver. 72 This code employs an in-process driver (as opposed to retrieving it on the 74 faster because it does not need to communicate with the driver via IPC because 75 the driver is created in the same process. Second, it ensures that the 76 `libFuzzer` can use the coverage from the driver to guide the test [all …]
|
/packages/modules/NeuralNetworks/extensions/ |
D | README.md | 28 an app directly using the NNAPI driver HAL interface. 84 another extension, the driver must support the other extension. 157 ## Adding extension support to an NNAPI driver 186 When handling an operation or operand type, the driver must check the extension 196 The driver must validate extension operations and data types because the NNAPI 208 device manufacturers to provide custom, driver-specific functionality. These
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | Android.bp | 84 // is used as a prebuilt in packages/modules/NeuralNetworks/driver/sample_shim/. 86 // To see an example where the driver code is available as a vendor service 89 // packages/modules/NeuralNetworks/driver/sample_aidl/Android.bp.
|
/packages/modules/DnsResolver/doh/ |
D | metrics.rs | 17 use crate::connection::driver::Cause; 18 use crate::connection::driver::HandshakeInfo; 19 use crate::connection::driver::HandshakeResult;
|
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/java/android/safetycenter/lint/ |
D | ParserExceptionDetector.kt | 73 context.driver.requestRepeat(this, Scope.OTHER_SCOPE) in afterCheckEachProject() 88 context.driver.phase != STRING_MAP_BUILD_PHASE || in visitElement() 118 context.driver.phase != CONFIG_PARSE_PHASE || in run()
|
/packages/modules/NeuralNetworks/tools/systrace_parser/ |
D | contract-between-code-and-parser.txt | 146 … t10: t_m_w:E|T1 stub code. For the driver side, the 161 … process from the driver process (used for 163 … fallback from sample driver). 168 … Note: the driver-side HIDL traces get us 170 … With a different driver threading model 174 … TODO: attribute driver process IPC call
|
/packages/modules/DnsResolver/doh/dispatcher/ |
D | mod.rs | 28 mod driver; module 29 use driver::Driver;
|
/packages/modules/NeuralNetworks/ |
D | README.txt | 27 ./sample_driver: Sample driver that uses the CPU to execute queries. 32 e.g. runtime, driver, or tests. Includes source code and
|
/packages/services/Car/car-lib/src/android/car/navigation/ |
D | navigation_state.proto | 92 // provided. If empty, the distance shouldn’t be displayed to the driver. 109 // Information about a maneuver that the driver will be required to perform. 396 // For example, if the driver is joining a counter-clockwise roundabout 399 // and the one used by the driver to join the roundabout would be exit #4. 436 // navigation. It describes all possible directions the driver could go 437 // from this lane, and indicates which directions the driver could take 440 // One of the possible directions a driver can go when using a particular 482 // True if this is a valid direction the driver can take in order to stay 488 // The possible directions a driver can take from this lane. 546 // An action that the driver should take in order to remain on the current [all …]
|
/packages/modules/NeuralNetworks/driver/sample_shim/ |
D | Android.bp | 110 // To see an example where the driver code is available as a vendor service 113 // packages/modules/NeuralNetworks/driver/sample_aidl/Android.bp.
|
D | generate_prebuilts.sh | 34 …TARGETDIR=packages/modules/NeuralNetworks/driver/sample_shim/android_${arch}/neuralnetworks_sample…
|
/packages/services/Car/service/src/com/android/car/user/ |
D | ExperimentalCarUserService.java | 250 UserHandle driver = mUserHandleHelper.getExistingUserHandle(driverId); in createPassenger() local 251 if (driver == null) { in createPassenger() 255 if (mUserHandleHelper.isGuestUser(driver)) { in createPassenger() 260 UserManager userManager = mContext.createContextAsUser(driver, /* flags= */ 0) in createPassenger()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | ExperimentalCarUserServiceTest.java | 153 UserHandle driver = expectManagedProfileExists(mMockedUserHandleHelper, 90); in testCreatePassenger_IfMaximumProfileAlreadyCreated() local 156 mockCreateProfile(driver.getIdentifier(), userName, null); in testCreatePassenger_IfMaximumProfileAlreadyCreated() 158 assertThat(mExperimentalCarUserService.createPassenger(userName, driver.getIdentifier())) in testCreatePassenger_IfMaximumProfileAlreadyCreated()
|