Skip to content
Snippets Groups Projects
Select Git revision
  • android-7.1.2_r28_klist
  • master default protected
  • pie-cts-release
  • pie-vts-release
  • pie-cts-dev
  • oreo-mr1-iot-release
  • sdk-release
  • oreo-m6-s4-release
  • oreo-m4-s12-release
  • pie-release
  • pie-r2-release
  • pie-r2-s1-release
  • oreo-vts-release
  • oreo-cts-release
  • oreo-dev
  • oreo-mr1-dev
  • pie-gsi
  • pie-platform-release
  • pie-dev
  • oreo-cts-dev
  • android-o-mr1-iot-release-1.0.4
  • android-9.0.0_r8
  • android-9.0.0_r7
  • android-9.0.0_r6
  • android-9.0.0_r5
  • android-8.1.0_r46
  • android-8.1.0_r45
  • android-n-iot-release-smart-display-r2
  • android-vts-8.1_r5
  • android-cts-8.1_r8
  • android-cts-8.0_r12
  • android-cts-7.1_r20
  • android-cts-7.0_r24
  • android-o-mr1-iot-release-1.0.3
  • android-cts-9.0_r1
  • android-8.1.0_r43
  • android-8.1.0_r42
  • android-n-iot-release-smart-display
  • android-p-preview-5
  • android-9.0.0_r3
40 results

profman.te

Blame
    • Calin Juravle's avatar
      ebcec9b8
      Allow profman to analyze profiles for the secondary dex files · ebcec9b8
      Calin Juravle authored
      The secondary dex files are application dex files which gets reported
      back to the framework when using BaseDexClassLoader.
      
      Also, give dex2oat lock permissions as it needs to lock the profile
      during compilation.
      
      Example of SElinux denial:
      03-15 12:38:46.967  7529  7529 I profman : type=1400 audit(0.0:225):
      avc: denied { read } for
      path="/data/data/com.google.android.googlequicksearchbox/files/velour/verified_jars/JDM5LaUbYP1JPOLzJ81GLzg_1.jar.prof"
      dev="sda35" ino=877915 scontext=u:r:profman:s0
      tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=file permissive=1
      
      Test: adb shell cmd package bg-dexopt-job works for sercondary dex files
      Bug: 26719109
      Change-Id: Ie1890d8e36c062450bd6c54f4399fc0730767dbf
      ebcec9b8
      History
      Allow profman to analyze profiles for the secondary dex files
      Calin Juravle authored
      The secondary dex files are application dex files which gets reported
      back to the framework when using BaseDexClassLoader.
      
      Also, give dex2oat lock permissions as it needs to lock the profile
      during compilation.
      
      Example of SElinux denial:
      03-15 12:38:46.967  7529  7529 I profman : type=1400 audit(0.0:225):
      avc: denied { read } for
      path="/data/data/com.google.android.googlequicksearchbox/files/velour/verified_jars/JDM5LaUbYP1JPOLzJ81GLzg_1.jar.prof"
      dev="sda35" ino=877915 scontext=u:r:profman:s0
      tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=file permissive=1
      
      Test: adb shell cmd package bg-dexopt-job works for sercondary dex files
      Bug: 26719109
      Change-Id: Ie1890d8e36c062450bd6c54f4399fc0730767dbf