Skip to content

Data & cloud

Data governance and privacy

A vehicle knows where you go, who is inside and how you drive. What the law requires, what good practice looks like, and the specific decisions that land on a cockpit engineer.

Intermediate8 minPrivacy · Governance · Regulation

A vehicle is one of the most privacy-sensitive devices a person owns. It knows where they live, where they work, when they are away from home, who travels with them, and how they behave when they think nobody is watching.

That deserves to be treated seriously on its own terms, and separately, it is increasingly enforced.

Why a vehicle is a harder case than a phone#

What the rules actually require#

Details vary by market, but the principles converge, and they are worth knowing as engineering constraints rather than legal text.

PrincipleWhat it means in code
Lawful basisYou need a reason to process each category — consent, contract, or legitimate interest
Purpose limitationData collected for diagnostics may not be quietly reused for marketing
Data minimisationCollect what the purpose needs and no more
Storage limitationDefine a retention period and actually delete
TransparencyThe person can find out what is collected and why
Access and erasureThey can request a copy, and request deletion
SecurityEncrypted in transit and at rest, access controlled
AccountabilityYou can demonstrate all of the above to a regulator

The categories, and how to treat them#

Gotcha

"We anonymise it" is the claim most often wrong in practice. A trip trace is extremely re-identifiable: the pair of locations where a vehicle spends most nights and most weekday hours identifies a household with high confidence.

If you rely on anonymisation, be specific about the technique — aggregation thresholds, spatial and temporal coarsening, noise — and be honest that removing the VIN is not one.

In-cabin sensing deserves its own rules#

Multi-user and the second owner#

Android gives you real tools here, and they are under-used.

What lands on a cockpit engineer#

Concrete habits, not principles:

Ask what personal data your feature touches, at design time. After implementation it is a retrofit; before, it is a five-minute conversation.

Prefer derived over raw. Every step away from the raw observation reduces exposure and usually reduces data volume too.

Default to off for anything optional. A default-on collection that a customer discovers later is the pattern that generates complaints.

Keep it on the vehicle if you can. Data that never leaves cannot leak, cannot be subpoenaed, and cannot outlive its purpose.

Never log personal data at debug level. Debug logs get collected, uploaded and retained by systems that were never reviewed for personal data. Location in a logcat line is a real incident, and it is a common one.

Implement deletion for real, and test it. Including from the cloud, including from backups, and including the analytics store somebody added later.

Test factory reset like a security control. Because it is one. Reset a populated vehicle and go looking for what survived.

Next#

Keeping a consolidated stack safe — functional safety in an SDV.

References & further reading

Code links target the main branch on cs.android.com. AOSP moves — if a path 404s, search the symbol instead.