Upgrade to Pro — share decks privately, control downloads, hide ads and more …

まったりAndroid Framework Code Reading #5

まったりAndroid Framework Code Reading #5

まったりAndroid Framework Code Reading #5
https://mandroidfcr.connpass.com/event/53922/

operandoOS

April 14, 2017
Tweet

More Decks by operandoOS

Other Decks in Technology

Transcript

  1. ·ͬͨΓAndroid

    Framework Code Reading #5

    View full-size slide

  2. λΠϜςʔϒϧ

    View full-size slide

  3. ϋογϡλά
    #m_android_fcr

    View full-size slide

  4. About Me
    Shinobu Okano
    @operandoOS
    Mercari, Inc.
    Souzoh, Inc.
    Code Readingָ͍͠☺

    View full-size slide

  5. Android Framework??

    View full-size slide

  6. Android Frameworkͱ͸ʁʁ
    • ͬ͘͟ΓݴͬͯAndroidΛߏ੒͍ͯ͠Δ΋ͷ
    • LayerͰͳΜͱͳ͘෼͔Ε͍ͯΔ
    • ͱʹ͔͘޿͍ɾσΧΠɾ΍͹͍

    View full-size slide

  7. Android Frameworkͱ͸ʁʁ

    View full-size slide

  8. Android Frameworkͱ͸ʁʁ
    ΞϓϦ։ൃऀ͕

    ΧδϡΞϧʹ

    ಡΊΔͷ͸͜͜Β΁Μ

    View full-size slide

  9. Android Frameworkͱ͸ʁʁ
    ΞϓϦ։ൃऀ͕

    ΧδϡΞϧʹ

    ಡΊΔͷ͸͜͜Β΁Μ
    https://source.android.com/security/
    Source :

    View full-size slide

  10. ·ͬͨΓAndroid
    Framework Code Reading??

    View full-size slide

  11. Code Readingͷ໨త

    View full-size slide

  12. Code Readingͷ໨త
    • AndroidͷιʔείʔυΛಡΜͰ։ൃ౳ʹ໾ཱͯΔ
    • ΧδϡΞϧʹ·ͬͨΓ৭ΜͳίʔυΛಡΜͰ

    ੒Ռ΍஌ࣝΛڞ༗Ͱ͖Ε͹࠷ߴ

    View full-size slide

  13. Code Reading Q&A

    View full-size slide

  14. Code Reading Q&A
    Q. SDKͷίʔυͰ΋OK??
    A. ΋ͪΖΜOK!
    Q. ϥΠϒϥϦͷίʔυͰ΋OK??
    A. ΋ͪΖΜOK!
    Q. HAL΍KernelɺARTͰ΋OK??
    A. େ׻ܴ!

    View full-size slide

  15. Code Readingͷ੒Ռ

    View full-size slide

  16. Code Readingͷ੒Ռ
    • Github Organizationʹ·ͱΊ͍ͯ͘
    • https://github.com/
    AndroidFrameworkCodeReading
    • ͬ͘͟Γͷ੒ՌͰOK(MarkdownͰͬ͘͟Γͱ͔)
    ※͖ͪΜͱͨ͠੒ՌΛڧ੍͢ΔΘ͚͡Ό͋Γ·ͤΜ

    View full-size slide

  17. ·ͬͨΓAndroid Framework Code Reading
    ʮ΋ͬͱৄ͘͠ʂʯ͸ͪ͜ΒΛಡΜͰ͍ͩ͘͞ʂ
    http://hack-it-iron.hatenablog.com/entry/2015/06/11/143629
    ※ϙΤϜͰ͢

    View full-size slide

  18. ͳʹಡ΋͏͔ͳʔ
    • ͳʹΛಡΉͷ͔ܾΊͯͩ͘͞ʔ͍ʂ
    • ͬ͘͟ΓͰOK
    • ୭͔ͱ૬ஊͨ͠ΓɺҰॹʹಡΜͩΓͰ΋OK

    View full-size slide

  19. ྫ͑͹…
    • Intentͷ࢓૊ΈΛ஌Γ͍ͨʂ
    • Storageͷ࢓૊ΈΛ஌Γ͍ͨʂ
    • JobSchedulerͷ࢓૊ΈΛ஌Γ͍ͨʂ
    • ͱʹ͔͘AndroidΛյ͍ͨ͠ʂ
    • ͱ͔ͱ͔…

    View full-size slide

  20. ͳʹಡΉ͔ܾ·ͬͨΒ
    • ࠷ޙ੒ՌΛ·ͱΊΔ࣌ͷͨΊʹɺͳʹಡΉ͔Λ
    Twitter or Gitterʹॻ͍͍ͯͩ͘͞
    • ޙ೔੒ՌΛ·ͱΊͨϦϯΫ౳Λ

    Twitter or Gitter ʹॻ͍͍͚ͯͨͩΕ͹

    ӡӦͷํͰGithubʹ·ͱΊ·͢ʂ

    View full-size slide

  21. ͜Μͳײ͡Ͱ·ͱΊ·͢
    https://github.com/AndroidFrameworkCodeReading/CodeReadingHistory/wiki/
    %E3%81%BE%E3%81%A3%E3%81%9F%E3%82%8AAndroid-Framework-Code-Reading-%234

    View full-size slide

  22. Enjoy Code Reading!!

    View full-size slide