I went to go check my memory :)
Android is based off, and runs off a linux kernel: https://en.wikipedia.org/wiki/Android_(operating_system). Android being modified in places including userspace is a fair point, but it's linux derived.
MacOS reminded me of it's BSD intermixings. Although the BSDs are separate from Linux, both were Unix alternatives. MacOS was downported to iOS. While iOS is not Linux at it's core, it's definitely based on an alternative to unix, similar to linux.
BSD references: https://developer.apple.com/library/archive/documentation/Ma...