Allowance for Doubtful Accounts (Detail) - Allowance for doubtful accounts $ in Millions |
6 Months Ended |
|---|---|
|
Dec. 31, 2017
USD ($)
| |
| Valuation and Qualifying Accounts Disclosure [Line Items] | |
| Balance, beginning of period | $ 361 |
| Charged to costs and other | 45 |
| Write-offs | (53) |
| Balance, end of period | 353 |
| Accounts receivable, net of allowance for doubtful accounts | |
| Valuation and Qualifying Accounts Disclosure [Line Items] | |
| Balance, end of period | 337 |
| Other Long-term Assets | |
| Valuation and Qualifying Accounts Disclosure [Line Items] | |
| Balance, end of period | $ 16 |