| Flutter Impeller |

Namespaces | Macros | Functions
toolkit_android_unittests.cc File Reference
`#include "flutter/fml/synchronization/waitable_event.h"`
`#include "flutter/testing/testing.h"`
`#include "impeller/toolkit/android/choreographer.h"`
`#include "impeller/toolkit/android/hardware_buffer.h"`
`#include "impeller/toolkit/android/proc_table.h"`
`#include "impeller/toolkit/android/surface_control.h"`
`#include "impeller/toolkit/android/surface_transaction.h"`

Go to the source code of this file.

## Namespaces
| impeller
| impeller::android
| impeller::android::testing

## Macros
#define | DISABLE_ANDROID_PROC(name)

## Functions
| impeller::android::testing::TEST (ToolkitAndroidTest, CanCreateProcTable)
| impeller::android::testing::TEST (ToolkitAndroidTest, GuardsAgainstZeroSizedDescriptors)
| impeller::android::testing::TEST (ToolkitAndroidTest, CanCreateHardwareBuffer)
| impeller::android::testing::TEST (ToolkitAndroidTest, CanGetHardwareBufferIDs)
| impeller::android::testing::TEST (ToolkitAndroidTest, HardwareBufferNullIDIfAPIUnavailable)
| impeller::android::testing::TEST (ToolkitAndroidTest, CanDescribeHardwareBufferHandles)
| impeller::android::testing::TEST (ToolkitAndroidTest, CanApplySurfaceTransaction)
| impeller::android::testing::TEST (ToolkitAndroidTest, SurfacControlsAreAvailable)
| impeller::android::testing::TEST (ToolkitAndroidTest, ChoreographerIsAvailable)
| impeller::android::testing::TEST (ToolkitAndroidTest, CanPostAndNotWaitForFrameCallbacks)
| impeller::android::testing::TEST (ToolkitAndroidTest, CanPostAndWaitForFrameCallbacks)

## Macro Definition Documentation

## ◆ DISABLE_ANDROID_PROC

#define DISABLE_ANDROID_PROC | ( |  | name | ) |

Value:
struct Disable##name { \
Disable##name() { \
real_proc = GetMutableProcTable().name.proc; \
GetMutableProcTable().name.proc = nullptr; \
} \
~Disable##name() { \
GetMutableProcTable().name.proc = real_proc; \
} \
decltype(name)* real_proc; \
} disable##name;

Definition at line 15 of file toolkit_android_unittests.cc.

impeller::android::GetMutableProcTable
ProcTable & GetMutableProcTable()
Definition: proc_table.cc:18