Biosecurity rules apply to EVERYTHING you're bringing in... checked bags, carry on, stuffed down your bra...
If you're unsure (ie brought your own snacks for the flight, prescription meds, or muddy hiking boots, etc. etc.), just declare it. The officers at the border are decent and there's no penalty for declaring something that's then confiscated (ie if your foodstuff was deemed to be unwelcome in Australia cos it's got seeds in it or something... generally anything processed & packaged is totally fine).
If you hide it... and are caught... then you'll see their bad side.