Home
last modified time | relevance | path

Searched refs:detectionCapability (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/automotive/occupant_awareness/aidl/default/
DOccupantAwareness.cpp68 ScopedAStatus OccupantAwareness::getState(Role occupantRole, int detectionCapability, in getState() argument
74 if (!isValidDetectionCapabilities(detectionCapability) || in getState()
75 !isSingularCapability(detectionCapability)) { in getState()
112 bool OccupantAwareness::isSingularCapability(int detectionCapability) { in isSingularCapability() argument
114 return (detectionCapability & (detectionCapability - 1)) == 0; in isSingularCapability()
/hardware/interfaces/automotive/occupant_awareness/aidl/mock/
DOccupantAwareness.cpp87 ScopedAStatus OccupantAwareness::getState(Role occupantRole, int detectionCapability, in getState() argument
93 if (!isValidDetectionCapabilities(detectionCapability) || in getState()
94 !isSingularCapability(detectionCapability)) { in getState()
101 ((detectionCapability & DetectionGenerator::getSupportedCapabilities()) != in getState()
102 detectionCapability)) { in getState()
145 bool OccupantAwareness::isSingularCapability(int detectionCapability) { in isSingularCapability() argument
147 return (detectionCapability & (detectionCapability - 1)) == 0; in isSingularCapability()
DOccupantAwareness.h51 ndk::ScopedAStatus getState(Role occupantRole, int detectionCapability,
60 bool isSingularCapability(int detectionCapability);
/hardware/interfaces/automotive/occupant_awareness/aidl/android/hardware/automotive/occupant_awareness/
DIOccupantAwareness.aidl73 OccupantAwarenessStatus getState(in Role occupantRole, in int detectionCapability); in getState() argument
/hardware/interfaces/automotive/occupant_awareness/aidl/aidl_api/android.hardware.automotive.occupant_awareness/current/android/hardware/automotive/occupant_awareness/
DIOccupantAwareness.aidl24 …e(in android.hardware.automotive.occupant_awareness.Role occupantRole, in int detectionCapability); in getState() argument
/hardware/interfaces/automotive/occupant_awareness/aidl/aidl_api/android.hardware.automotive.occupant_awareness/1/android/hardware/automotive/occupant_awareness/
DIOccupantAwareness.aidl24 …e(in android.hardware.automotive.occupant_awareness.Role occupantRole, in int detectionCapability); in getState() argument
/hardware/interfaces/automotive/occupant_awareness/aidl/vts/functional/
DVtsHalOccupantAwarenessV1_0TargetTest.cpp127 for (auto detectionCapability : detectionCapabilities) { in TEST_P() local
129 EXPECT_OK(mOccupantAwarenessService->getState(role, detectionCapability, &oasStatus)); in TEST_P()