हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main के बजाय android-latest-release का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
वाहन के हार्डवेयर ऐब्स्ट्रैक्शन लेयर (वीएचएएल) इंटरफ़ेस से उन प्रॉपर्टी के बारे में पता चलता है जिन्हें OEM लागू कर सकते हैं. साथ ही, इसमें प्रॉपर्टी का मेटाडेटा भी होता है. उदाहरण के लिए, क्या कोई प्रॉपर्टी पूर्णांक है और बदलाव करने के लिए कौनसे मोड इस्तेमाल किए जा सकते हैं. VHAL इंटरफ़ेस, किसी प्रॉपर्टी को ऐक्सेस करने (पढ़ने, लिखने, और
सदस्यता लेने) पर आधारित होता है. यह किसी खास फ़ंक्शन के लिए एक एब्स्ट्रैक्शन होता है.
Android 13 और इसके बाद के वर्शन में, IVehicle.aidl पर VHAL को एआईडीएल पर माइग्रेट किया गया
Android 12 और इससे पहले के वर्शन में, IVehicle.hal में वीएचएएल को एचआईडीएल भाषा में तय किया गया है
CarService और Android के नेटिव कॉम्पोनेंट, HIDL और AIDL बैकएंड के साथ काम करते हैं. साथ ही, उपलब्ध होने पर AIDL बैकएंड का इस्तेमाल करते हैं.
मार्गदर्शन
ब्यौरा
ज़रूरी है
एचआईडीएल वाले मौजूदा वीएचएएल को लागू करने के लिए, नए एआईडीएल इंटरफ़ेस पर माइग्रेट करें.
ज़रूरी है
वीएचएएल को नए तरीके से लागू करने के लिए, एआईडीएल इंटरफ़ेस का इस्तेमाल करें.
वीएचएएल के बारे में ज़्यादा जानने के लिए, ये पेज देखें:
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया."],[],[],null,["# Overview\n\nThe vehicle hardware abstraction layer (VHAL) interface defines the properties OEMs can\nimplement and contains property metadata. For example, whether a property is an integer and\nwhich change modes are allowed. The VHAL interface is based on accessing (reading, writing, and\nsubscribing) a property, which is an abstraction for a specific function.\n\n- In Android 13 and higher, VHAL migrated to AIDL at `IVehicle.aidl`\n- In Android 12 and lower, VHAL is defined with HIDL language in `IVehicle.hal`\n\n| **Note:** All new features, including new property definitions, will be added to the AIDL interface **only.**\n\nCarService and Android native components support HIDL and AIDL backend and prefer the AIDL\nbackend when it's available.\n\n| Guidance | Description |\n|--------------------|----------------------------------------------------------------------------------|\n| STRONGLY RECOMMEND | For **existing** HIDL VHAL implementations, migrate to the newer AIDL interface. |\n| MUST | For **new** VHAL implementations, use the AIDL interface. |\n\n\nTo learn more about the VHAL, see these pages:\n\n- [VHAL interface](/docs/automotive/vhal/vhal-interface)\n[](/docs/automotive/vhal/vhal-interface)\n- [](/docs/automotive/vhal/vhal-interface)[Property configurations](/docs/automotive/vhal/property-configuration)\n[](/docs/automotive/vhal/property-configuration)\n- [](/docs/automotive/vhal/property-configuration)[Supported system properties](/docs/automotive/vhal/system-properties)\n[](/docs/automotive/vhal/system-properties)\n- [](/docs/automotive/vhal/system-properties)[Special properties](/docs/automotive/vhal/special-properties)\n[](/docs/automotive/vhal/special-properties)\n- [](/docs/automotive/vhal/special-properties)[SEAT and STEERING_WHEEL properties](/docs/automotive/vhal/seat-steering)\n[](/docs/automotive/vhal/seat-steering)\n- [](/docs/automotive/vhal/seat-steering)[ADAS properties](/docs/automotive/vhal/adas-properties)\n[](/docs/automotive/vhal/adas-properties)\n- [](/docs/automotive/vhal/adas-properties)[Reference implementation](/docs/automotive/vhal/reference-implementation)\n[](/docs/automotive/vhal/reference-implementation)\n- [](/docs/automotive/vhal/reference-implementation)[Debug the VHAL](/docs/automotive/vhal/vhal_debug)\n[](/docs/automotive/vhal/vhal_debug)\n- [](/docs/automotive/vhal/vhal_debug)[Use VHAL with the native client](/docs/automotive/vhal/native-client)\n[](/docs/automotive/vhal/native-client)\n- [](/docs/automotive/vhal/native-client)[HIDL VHAL migration guide](/docs/automotive/vhal/hidl-vhal-migration)\n- [HIDL VHAL interface](/docs/automotive/vhal/hidl-vhal-interface)"]]