Add areaId check.

According to types.hal, a non-global properties should have areaConfigs
that define allowed areaIds. We need to check that the areaId is in
the areaConfigs list before setting the value to prevent unexpected
behavior.

Test: unit test.
Bug: 193831021
Change-Id: I90faf808aa6ac5278e99cf6313454515afaaca2f
3 files changed