/packages/modules/DnsResolver/doh/connection/ |
D | driver.rs | 99 driver: Driver, field 254 fn new(driver: Driver, h3_conn: h3::Connection) -> Self { in new() 256 driver, in new() 265 let _ = self.driver.status_tx.send(Status::H3); in drive() 269 .driver in drive() 271 .send(Status::Dead { session: self.driver.quiche_conn.session() }); in drive() 280 let timer = optional_timeout(self.driver.quiche_conn.timeout(), self.driver.net_id); in drive_once() 289 …msg = self.driver.request_rx.recv(), if !self.driver.closing && self.buffered_request.is_none() =>… in drive_once() 297 debug!("H3Driver: Timer expired on network {}", self.driver.net_id); in drive_once() 298 self.driver.quiche_conn.on_timeout() in drive_once() [all …]
|
D | mod.rs | 30 mod driver; module 32 pub use driver::Stream; 33 use driver::{drive, Request}; 151 let driver = async move { in new() localVariable 158 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; 79 let (driver, command_tx, status_rx) = in new() 81 task::spawn(driver.drive()); in new()
|
/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/driver/sample_hidl/ |
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 …]
|
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 | SampleDriverAll.cpp | 33 const auto driver = sp<SampleDriverFull>::make(name.c_str(), perf); in main() local 34 return run(driver, name); in main()
|
D | SampleDriver.h | 129 SamplePreparedModel(const V1_3::Model& model, const SampleDriver* driver, in SamplePreparedModel() argument 132 mDriver(driver), in SamplePreparedModel()
|
/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/Permission/SafetyCenter/ConfigLintChecker/java/android/safetycenter/lint/ |
D | ParserExceptionDetector.kt | 69 context.driver.requestRepeat(this, Scope.OTHER_SCOPE) in afterCheckEachProject() 82 if (context.driver.phase != STRING_MAP_BUILD_PHASE || in visitElement() 102 if (context.driver.phase != CONFIG_PARSE_PHASE || in run()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | ExperimentalCarUserServiceTest.java | 142 UserHandle driver = expectRegularUserExists(mMockedUserHandleHelper, driverId); in testCreatePassenger() local 149 UserHandle driver = expectManagedProfileExists(mMockedUserHandleHelper, 90); in testCreatePassenger_IfMaximumProfileAlreadyCreated() local 152 mockCreateProfile(driver.getIdentifier(), userName, null); in testCreatePassenger_IfMaximumProfileAlreadyCreated() 154 assertThat(mExperimentalCarUserService.createPassenger(userName, driver.getIdentifier())) in testCreatePassenger_IfMaximumProfileAlreadyCreated() 161 UserHandle driver = expectGuestUserExists(mMockedUserHandleHelper, driverId, in testCreatePassenger_IfDriverIsGuest() local
|
/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/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.
|
D | SampleDriverAidl.h | 106 SamplePreparedModel(aidl_hal::Model&& model, const SampleDriver* driver, in SamplePreparedModel() argument 110 mDriver(driver), in SamplePreparedModel()
|
/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/dispatcher/ |
D | mod.rs | 28 mod driver; module 29 use driver::Driver;
|
/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/ |
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/service/src/com/android/car/user/ |
D | ExperimentalCarUserService.java | 237 UserHandle driver = mUserHandleHelper.getExistingUserHandle(driverId); in createPassenger() local 238 if (driver == null) { in createPassenger() 242 if (mUserHandleHelper.isGuestUser(driver)) { in createPassenger() 247 UserManager userManager = mContext.createContextAsUser(driver, /* flags= */ 0) in createPassenger()
|
/packages/modules/NeuralNetworks/driver/sample_shim/ |
D | Android.bp | 107 // To see an example where the driver code is available as a vendor service 110 // packages/modules/NeuralNetworks/driver/sample_aidl/Android.bp.
|
/packages/modules/NeuralNetworks/tools/api/ |
D | NeuralNetworksTypes.t | 137 * NNAPI feature level corrseponds to an NNAPI specification version that a driver 254 * Failure because of a resource limitation within the driver, but future 262 * Failure because of a resource limitation within the driver, and future 303 // Execution time on hardware (not driver, which runs on host processor). 305 // Execution time in driver (including time on hardware). Excludes overhead 307 // communicate with the driver. 315 // Execution time in driver, after all dependencies have been signaled. Excludes 317 // to communicate with the driver. 564 * lifetime of a rapid sequence of executions. For example, a driver may choose
|