For mileage earning in *A, there are two things that matter
1) it is the flight operator that determines the earning rate (codeshare / marketing airline does not matter).
2) to determine earning you need to find the flight operator's fare code -- which can be difficult in most cases
However on your case, all paid fares on UA & US operated flights earn at least 100% RDMs and 100% PQMs with UA offering their elites 500 mile mins.