החל מ-27 במרץ 2025, מומלץ להשתמש ב-android-latest-release
במקום ב-aosp-main
כדי ליצור תרומות ל-AOSP. מידע נוסף זמין במאמר שינויים ב-AOSP.
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הפניה ל-Struct bt_os_callouts_t
#include <
bluetooth.h
>
קבוצת הפונקציות שנדרשות ל-bluedroid כדי להגדיר התראות להפעלה ולהשתמש בחסימות מצב שינה. המבנה הזה מועבר לסטאק דרך הפונקציה |set_os_callouts| ב-|bt_interface_t|.
ההגדרה מופיעה בשורה
427
בקובץ
bluetooth.h
.
התיעוד של המבנה הזה נוצר מהקובץ הבא:
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. 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,["# Android Hardware Abstraction Layer: bt_os_callouts_t Struct Reference\n\nbt_os_callouts_t Struct Reference\n=================================\n\n[Data Fields](#pub-attribs) \nbt_os_callouts_t Struct Reference \n\n`\n#include \u003c\n`[bluetooth.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)`\n\u003e\n`\n\n|-----------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| size_t | [size](/reference/hal/structbt__os__callouts__t#a854352f53b148adc24983a58a1866d66) |\n| ||\n| [set_wake_alarm_callout](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h) | [set_wake_alarm](/reference/hal/structbt__os__callouts__t#ad0636f5f8634bfadded80c597af368bb) |\n| ||\n| [acquire_wake_lock_callout](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h) | [acquire_wake_lock](/reference/hal/structbt__os__callouts__t#ad02d90140b3e3ec97eeb454570b8bdae) |\n| ||\n| [release_wake_lock_callout](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h) | [release_wake_lock](/reference/hal/structbt__os__callouts__t#ab651493a180f462951245675e6b3e1f7) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nThe set of functions required by bluedroid to set wake alarms and grab wake locks. This struct is passed into the stack through the \\|set_os_callouts\\| function on \\|bt_interface_t\\|.\n\n\nDefinition at line\n[427](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\nof file\n[bluetooth.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\n.\n\nField Documentation\n-------------------\n\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| [acquire_wake_lock_callout](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h) acquire_wake_lock |\n\n\nDefinition at line\n[432](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\nof file\n[bluetooth.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\n.\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| [release_wake_lock_callout](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h) release_wake_lock |\n\n\nDefinition at line\n[433](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\nof file\n[bluetooth.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\n.\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| [set_wake_alarm_callout](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h) set_wake_alarm |\n\n\nDefinition at line\n[431](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\nof file\n[bluetooth.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\n.\n\n|-------------|\n| size_t size |\n\n\nDefinition at line\n[429](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\nof file\n[bluetooth.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [bluetooth.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)"]]