components/bt/host/bluedroid/stack/btm/btm_sec.c
/*******************************************************************************
**
** Function         btm_sec_are_all_trusted
**
** Description      This function is called check if all services are trusted
**
** Returns          TRUE if all are trusted, otherwise FALSE
**
*******************************************************************************/
Function         btm_sec_are_all_trusted
Description      This function is called check if all services are trusted

Returns          TRUE if all are trusted, otherwise FALSE
Function btm_sec_are_all_trusted Description This function is called check if all services are trusted Returns TRUE if all are trusted otherwise FALSE
BOOLEAN btm_sec_are_all_trusted(UINT32 p_mask[])
{
    UINT32 trusted_inx;
    for (trusted_inx = 0; trusted_inx < BTM_SEC_SERVICE_ARRAY_SIZE; trusted_inx++) {
        if (p_mask[trusted_inx] != BTM_SEC_TRUST_ALL) {
            return (FALSE);
        }
    }
    return (TRUE);
}
BOOLEAN btm_sec_are_all_trusted ( UINT32 p_mask [ ] ) { UINT32 trusted_inx ; for ( trusted_inx = 0 ; trusted_inx < BTM_SEC_SERVICE_ARRAY_SIZE ; trusted_inx ++ ) { if ( p_mask [ trusted_inx ] != BTM_SEC_TRUST_ALL ) { return ( FALSE ) ; } } return ( TRUE ) ; }
Function         btm_sec_are_all_trusted
Description      This function is called check if all services are trusted
Function btm_sec_are_all_trusted Description This function is called check if all services are trusted