Phrase, meaning to appease another by being a sort of yes man. As if you were stroking their dick to please them into granting you the smallest of favours. Fig.
Jimmy: College essays sound like they want you to respite what you've said at them.
Timmy: That it is Jimmy. Just stroke the dick. Please that admissions person.
Timmy: Dick Stroking, it's figurative dumb shit.