I think you are looking for something called FLIRT signature. You can use them to identify common definitions from various libraries. You just need to download the flirt signatures, and let IDA do the work.
A public flirtdb repo can be found on github here. You can search for others on google too.
Edit: My bad, totally missed out the ARM linux part. ...
Arrange your plugin like this:
# your imports
# wait for auto-analysis to complete
###do your thing
def yourthing(): pass
check an example: https://github.com/nadineOzz/polichombr/blob/80805164e85c2d21ffadffdd9ed8e2e4ea36fa9c/skelenox.py
good read: https://hex-rays.com/...