Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
mem_range_t Struct Reference
#include <
context_hub.h
>
The following structure defines each memory block in detail
Definition at line
115
of file
context_hub.h
.
The documentation for this struct was generated from the following file:
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 2019-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-10-02 UTC."],[],[],null,["# Android Hardware Abstraction Layer: mem_range_t Struct Reference\n\nmem_range_t Struct Reference\n============================\n\n[Data Fields](#pub-attribs) \nmem_range_t Struct Reference \n\n`\n#include \u003c\n`[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)`\n\u003e\n`\n\n|----------|-------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| uint32_t | [total_bytes](/reference/hal/structmem__range__t#ae119b9b7fd782f82434b2711a779fe3f) |\n| ||\n| uint32_t | [free_bytes](/reference/hal/structmem__range__t#a32feb1d5b4bbc45db32a2cb440d9de4b) |\n| ||\n| uint32_t | [type](/reference/hal/structmem__range__t#ad44b615021ed3ccb734fcaf583ef4a03) |\n| ||\n| uint32_t | [mem_flags](/reference/hal/structmem__range__t#a3ba23ff9bb84c6844b710f3c6b17c094) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nThe following structure defines each memory block in detail\n\n\nDefinition at line\n[115](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\nField Documentation\n-------------------\n\n\n|---------------------|\n| uint32_t free_bytes |\n\n\nDefinition at line\n[117](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\n|--------------------|\n| uint32_t mem_flags |\n\n\nDefinition at line\n[119](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\n|----------------------|\n| uint32_t total_bytes |\n\n\nDefinition at line\n[116](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\n|---------------|\n| uint32_t type |\n\n\nDefinition at line\n[118](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)"]]