The key to remember is that this is a partnership in some cases but not in others. Basically, the routes that qualify are routes where B6 does not directly compete with AA.
Earning AA on a B6 BOS-PHX flight? Yes, because AA doesn't operate that route.
Earning AA on a B6 BOS-DFW flight? Absolutely NOT. It's direct competition with AA.