Home
last modified time | relevance | path

Searched refs:DeviceStatus (Results 1 – 23 of 23) sorted by relevance

/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/oemextension/
DDeviceStatus.java30 public class DeviceStatus { class
52 private DeviceStatus(int deviceState, String chipId) { in DeviceStatus() method in DeviceStatus
65 public static DeviceStatus fromBundle(PersistableBundle bundle) { in fromBundle()
74 private static DeviceStatus parseVersion1(PersistableBundle bundle) { in parseVersion1()
75 return new DeviceStatus.Builder() in parseVersion1()
86 public DeviceStatus.Builder setDeviceState(int deviceState) { in setDeviceState()
91 public DeviceStatus.Builder setChipId(String chipId) { in setChipId()
96 public DeviceStatus build() { in build()
97 return new DeviceStatus( in build()
/packages/modules/Uwb/service/support_lib/test/
DOemExtensionTests.java32 import com.google.uwb.support.oemextension.DeviceStatus;
51 DeviceStatus deviceState = new DeviceStatus.Builder() in testDeviceState()
59 DeviceStatus fromBundle = DeviceStatus.fromBundle(deviceState.toBundle()); in testDeviceState()
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/
DEvsEnumeratorUnitTest.cpp40 using ::aidl::android::hardware::automotive::evs::DeviceStatus;
57 using StatusCallbackFunc = std::function<::ndk::ScopedAStatus(std::vector<DeviceStatus>)>;
135 ::ndk::ScopedAStatus deviceStatusChanged(const std::vector<DeviceStatus>& status) override { in deviceStatusChanged()
250 std::vector<DeviceStatus> received; in TEST_F()
253 auto func = std::function<::ndk::ScopedAStatus(const std::vector<DeviceStatus>&)>( in TEST_F()
254 [&cv, &received, &gotCallback](const std::vector<DeviceStatus>& deviceStatus) { in TEST_F()
272 auto it = std::find_if(received.begin(), received.end(), [deviceId](DeviceStatus v) { in TEST_F()
284 it = std::find_if(received.begin(), received.end(), [deviceId](DeviceStatus v) { in TEST_F()
DMockEvsHal.cpp40 using ::aidl::android::hardware::automotive::evs::DeviceStatus;
636 std::vector<DeviceStatus> msg(1); in addMockCameraDevice()
658 std::vector<DeviceStatus> msg(1); in removeMockCameraDevice()
718 std::vector<DeviceStatus> msg(1); in addMockDisplayDevice()
741 std::vector<DeviceStatus> msg(1); in removeMockDisplayDevice()
/packages/services/Car/cpp/evs/manager/aidl/include/
DEnumerator.h70 void broadcastDeviceStatusChange(const std::vector<aidlevs::DeviceStatus>& list);
87 const std::vector<aidlevs::DeviceStatus>& status) override;
/packages/modules/NeuralNetworks/common/types/src/
DTypeUtils.cpp307 std::ostream& operator<<(std::ostream& os, const DeviceStatus& deviceStatus) { in operator <<()
309 case DeviceStatus::AVAILABLE: in operator <<()
311 case DeviceStatus::BUSY: in operator <<()
313 case DeviceStatus::OFFLINE: in operator <<()
315 case DeviceStatus::UNKNOWN: in operator <<()
DValidation.cpp90 Result<Version> validateDeviceStatus(const DeviceStatus& deviceStatus) { in validateDeviceStatus()
92 case DeviceStatus::AVAILABLE: in validateDeviceStatus()
93 case DeviceStatus::BUSY: in validateDeviceStatus()
94 case DeviceStatus::OFFLINE: in validateDeviceStatus()
95 case DeviceStatus::UNKNOWN: in validateDeviceStatus()
1826 Result<Version> validate(const DeviceStatus& deviceStatus) { in validate()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DValidation.h46 Result<Version> validate(const DeviceStatus& deviceStatus);
DTypes.h93 enum class DeviceStatus { enum
DTypeUtils.h89 std::ostream& operator<<(std::ostream& os, const DeviceStatus& deviceStatus);
/packages/modules/NeuralNetworks/runtime/test/
DTestExecution.cpp507 hardware::Return<V1_0::DeviceStatus> getStatus() override { return mLatestDriver->getStatus(); } in getStatus()
548 hardware::Return<V1_0::DeviceStatus> getStatus() override { return mLatestDriver->getStatus(); } in getStatus()
583 hardware::Return<V1_0::DeviceStatus> getStatus() override { return mLatestDriver->getStatus(); } in getStatus()
DTestPartitioning.cpp389 hardware::Return<V1_0::DeviceStatus> getStatus() override { in getStatus()
390 return V1_0::DeviceStatus::AVAILABLE; in getStatus()
528 hardware::Return<V1_0::DeviceStatus> getStatus() override { return mLatestDriver->getStatus(); } in getStatus()
567 hardware::Return<V1_0::DeviceStatus> getStatus() override { return mLatestDriver->getStatus(); } in getStatus()
606 hardware::Return<V1_0::DeviceStatus> getStatus() override { return mLatestDriver->getStatus(); } in getStatus()
DTestIntrospectionControl.cpp770 hardware::Return<V1_0::DeviceStatus> getStatus() override { return mLatestDriver->getStatus(); } in getStatus()
/packages/modules/NeuralNetworks/driver/sample_hidl/
DSampleDriver.h109 hardware::Return<V1_0::DeviceStatus> getStatus() override;
DSampleDriver.cpp227 hardware::Return<V1_0::DeviceStatus> SampleDriver::getStatus() { in getStatus()
230 return V1_0::DeviceStatus::AVAILABLE; in getStatus()
/packages/services/Car/cpp/evs/manager/aidl/src/
DEnumerator.cpp881 void Enumerator::broadcastDeviceStatusChange(const std::vector<aidlevs::DeviceStatus>& list) { in broadcastDeviceStatusChange()
894 const std::vector<aidlevs::DeviceStatus>& list) { in deviceStatusChanged()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DTestRandomGraph.cpp85 hardware::Return<V1_0::DeviceStatus> getStatus() override { return mDriverV1_2->getStatus(); } in getStatus()
121 hardware::Return<V1_0::DeviceStatus> getStatus() override { return mDriverV1_2->getStatus(); } in getStatus()
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DUwbManagerTest.java81 import com.google.uwb.support.oemextension.DeviceStatus;
1932 DeviceStatus deviceStatusBundle = DeviceStatus in testOemCallbackExtension()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbServiceCore.java80 import com.google.uwb.support.oemextension.DeviceStatus;
431 PersistableBundle deviceStateBundle = new DeviceStatus.Builder() in oemExtensionDeviceStatusUpdate()
/packages/modules/NeuralNetworks/tools/api/
DTypes.t83 %insert DeviceStatus
Dtypes.spec6841 %section DeviceStatus
6845 %{enum DeviceStatus int32_t} {
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/
DEvsEnumerator.cpp549 std::vector<DeviceStatus> status{{.id = std::string(deviceName), .status = type}}; in notifyDeviceStatusChange()
/packages/modules/Uwb/service/uci/jni/src/
Dnotification_manager_android.rs1024 CoreNotification::DeviceStatus(device_state) => self.cached_jni_call( in on_core_notification()