First of all, I appreciate all the information in regards to how Android is used in China. I did have a knowledge gap on how Chinese mobile companies used AOSP. And indeed, from the sound of it, losing access to AOSP in a technological sense, is not really a threat.The so called "platform ban" on Huawei is a non-existence, it is a conceptual wrong understanding. Google apps and its app store are NOT part of Android OS. They are part of Google customization on top of Android, no difference from Samsung or Huawei's customization and apps.
Despite the "platform ban" on Huawei, Chinese harmonyOs users have no problem of installing apps that are simultaneously available through Google app store.
Despite other Chinese phones such as Oppo running on Android, google store isn't available in China and people have no problem in installing apps.
The impact of so called "platform ban" is zero as far as Chinese market and users are concerned. Douyin is exactly this case, no impact.
Even for Huawei, the ban meant nothing even outside of China, such as in Europe. The ban only means that google apps are not officially installed on Huawei phones sold in Europe. Huawei has no problem using Android code base when it wants to because Google does not own Android but AOS community does.
I have just bought a Huawei watch in Europe through EU shop. It runs on HamonyOS which is a shell on top of Android with Huawei appGallery installed. This is in the same way as Samsung's watch.
But I still need to insist on a detail - open source is not equivalent to "no license." Open source software is governed by an open source license (typically some variation of Apache or GPL) granted to users. Like any other license, it can be revoked. If you lose access to the license, then you become subject to copy right infringement claims upon cloning the code. While it means little in countries where the US has no jurisdiction, it means a lot in countries where the US does.
Would companies like Xiaomi, Oppo, etc. risk getting shut out of the US, Europe, etc. in violation of a platform ban on Byte Dance software? Judging by past actions, if the US sanctions Byte Dance, *any* company that does business with it (and which uses any US technology, including chips and other licensed software) can be subject to similar sanctions for violating US export control.
This includes companies that only host the application in China.
This is why having ANY dependency on US software - including open source software - is risky. Of course, you could make the argument that if the US wanted to target a company, it can come up with any reason - or no reason at all - to ban it across all friendly countries. Indeed, the US could create new laws just for that purpose, like with the RESTRICT act. But as the laws stand today, it is the use of US technology that puts you at risk of export control sanctions internationally.