NSW Police at royal commission hearing