I think normally 胳膊 refers to upper arm, and 手臂(you'd better say手臂)refers to the whole arm. for example,if there's cut in your upper arm, you could say, 你手臂怎么了?or 你胳膊怎么了?if there's a cut in your lower arm or any other part of your arm,you'd better say 你手臂怎么了?instead of 你胳膊怎么了?