Searched refs:occupantRole (Results 1 – 6 of 6) sorted by relevance
/hardware/interfaces/automotive/occupant_awareness/aidl/mock/ |
D | OccupantAwareness.cpp | 68 ScopedAStatus OccupantAwareness::getCapabilityForRole(Role occupantRole, int32_t* capabilities) { in getCapabilityForRole() argument 69 if (!isValidRole(occupantRole)) { in getCapabilityForRole() 73 int intVal = static_cast<int>(occupantRole); in getCapabilityForRole() 76 if (occupantRole != Role::DRIVER) { in getCapabilityForRole() 87 ScopedAStatus OccupantAwareness::getState(Role occupantRole, int detectionCapability, in getState() argument 89 if (!isValidRole(occupantRole)) { in getState() 98 int roleVal = static_cast<int>(occupantRole); in getState() 134 bool OccupantAwareness::isValidRole(Role occupantRole) { in isValidRole() argument 135 int intVal = static_cast<int>(occupantRole); in isValidRole() 137 return (occupantRole != Role::INVALID) && ((intVal & (~allOccupants)) == 0); in isValidRole()
|
/hardware/interfaces/automotive/occupant_awareness/aidl/default/ |
D | OccupantAwareness.cpp | 58 ScopedAStatus OccupantAwareness::getCapabilityForRole(Role occupantRole, int32_t* capabilities) { in getCapabilityForRole() argument 59 if (!isValidRole(occupantRole)) { in getCapabilityForRole() 68 ScopedAStatus OccupantAwareness::getState(Role occupantRole, int detectionCapability, in getState() argument 70 if (!isValidRole(occupantRole)) { in getState() 101 bool OccupantAwareness::isValidRole(Role occupantRole) { in isValidRole() argument 102 int intVal = static_cast<int>(occupantRole); in isValidRole() 104 return (occupantRole != Role::INVALID) && ((intVal & (~allOccupants)) == 0); in isValidRole()
|
D | OccupantAwareness.h | 45 ndk::ScopedAStatus getCapabilityForRole(Role occupantRole, int32_t* capabilities) override; 46 ndk::ScopedAStatus getState(Role occupantRole, int detectionCapability, 53 bool isValidRole(Role occupantRole);
|
/hardware/interfaces/automotive/occupant_awareness/aidl/android/hardware/automotive/occupant_awareness/ |
D | IOccupantAwareness.aidl | 64 int getCapabilityForRole(in Role occupantRole); in getCapabilityForRole() argument 73 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/ |
D | IOccupantAwareness.aidl | 23 int getCapabilityForRole(in android.hardware.automotive.occupant_awareness.Role occupantRole); in getCapabilityForRole() argument 24 …tatus getState(in android.hardware.automotive.occupant_awareness.Role occupantRole, in int detecti… in getState() argument
|
/hardware/interfaces/automotive/occupant_awareness/aidl/aidl_api/android.hardware.automotive.occupant_awareness/1/android/hardware/automotive/occupant_awareness/ |
D | IOccupantAwareness.aidl | 23 int getCapabilityForRole(in android.hardware.automotive.occupant_awareness.Role occupantRole); in getCapabilityForRole() argument 24 …tatus getState(in android.hardware.automotive.occupant_awareness.Role occupantRole, in int detecti… in getState() argument
|