Update copyright to The Linux Foundation

Change-Id: Ib59177382b287d3fd798d6f6e5e2fca04526104f
Tighten enforcement of file modes.

Bug: 8275867
Change-Id: I4da14f2dd0049aca69636999696c1f3c02b3b792
(cherry picked from commit 68b66180000508b0cac61eb144c1d27ba022a505)
CMify: framework_ext -> framework2

Change-Id: Iaa3c2391e445c94da76c2728da33db40b05d941a
installd: Delete cache properly for devices using datadata partition

The java side already checks /data/data for free space but installd
still checks /data causing it to never reap the cache (because it
thinks that enough free space is available.)

Change-Id: I191f3ceb84df1101ab2918ec0038213d72ec1ce2
DexOpt anything on /system in /cache/dalvik-cache

Allow property to disable dexopt on /cache

(cherry-picked commit e2319e46f16b71e71e5e9cd593019edaa48c1be0)

Conflicts:

	cmds/installd/installd.h

Change-Id: I79e5de4b466c6b5175145592f1ca4e6331e4a4ac