Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。
取り組みを見る
エラーとストリームの処理
エラーの管理
カメラとやり取りする HIDL インターフェース メソッドでは、対応するカメラに固有のステータスを生成する必要があります。
ICameraDeviceCallbacks::notify()
が ERROR_DEVICE
で呼び出される場合、正常に呼び出すことができるのは ICameraDeviceSession::close()
メソッドのみです。他のメソッドでは、いずれも INTERNAL_ERROR
が返されます。
画像キャプチャの一時的なエラーは、ICameraDeviceCallbacks::notify()
を使って、適切なエラーコードでレポートする必要があります。HAL では、一時的なエラーが発生するたびに、適切なキャプチャ結果で ICameraDeviceCallbacks::processCaptureResult()
を呼び出す必要があります。
ストリームの管理
HAL クライアントでは、カメラ ストリームを構成する際には ICameraDeviceSession::configurestreams()
を呼び出す必要があります。
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-03-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"必要な情報がない"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"複雑すぎる / 手順が多すぎる"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"最新ではない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"サンプル / コードに問題がある"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]