Home
last modified time | relevance | path

Searched refs:android_app (Results 1 – 9 of 9) sorted by relevance

/cts/hostsidetests/adpf/app/hintsession/src/cpp/external/
Dandroid_native_app_glue.c39 static void free_saved_state(struct android_app* android_app) { in free_saved_state() argument
40 pthread_mutex_lock(&android_app->mutex); in free_saved_state()
41 if (android_app->savedState != NULL) { in free_saved_state()
42 free(android_app->savedState); in free_saved_state()
43 android_app->savedState = NULL; in free_saved_state()
44 android_app->savedStateSize = 0; in free_saved_state()
46 pthread_mutex_unlock(&android_app->mutex); in free_saved_state()
49 int8_t android_app_read_cmd(struct android_app* android_app) { in android_app_read_cmd() argument
51 if (read(android_app->msgread, &cmd, sizeof(cmd)) == sizeof(cmd)) { in android_app_read_cmd()
54 free_saved_state(android_app); in android_app_read_cmd()
[all …]
Dandroid_native_app_glue.h83 struct android_app;
95 struct android_app* app;
99 void (*process)(struct android_app* app, struct android_poll_source* source);
110 struct android_app { struct
116 void (*onAppCmd)(struct android_app* app, int32_t cmd); argument
122 int32_t (*onInputEvent)(struct android_app* app, AInputEvent* event); argument
317 int8_t android_app_read_cmd(struct android_app* android_app);
324 void android_app_pre_exec_cmd(struct android_app* android_app, int8_t cmd);
331 void android_app_post_exec_cmd(struct android_app* android_app, int8_t cmd);
342 extern void android_main(struct android_app* app);
/cts/common/device-side/bedstead/testapp/tools/index/
Dindex_testapps.py133 android_app = AndroidApp()
134 android_app.apk_name = file_name
135 android_app.package_name = root.attributes["package"]
136 android_app.sharedUserId = root.attributes.get("sharedUserId", "")
138 parse_uses_sdk(root, android_app)
139 parse_permissions(root, android_app)
142 android_app.test_only = application_element.attributes.get("testOnly", "false") == "true"
143 android_app.label = application_element.attributes.get("label", "")
144android_app.cross_profile = application_element.attributes.get("crossProfile", "false") == "true"
146 parse_activity_aliases(application_element, android_app)
[all …]
/cts/hostsidetests/adpf/app/hintsession/src/cpp/
DRenderer.h31 struct android_app;
53 inline Renderer(android_app *pApp) in Renderer()
137 android_app *app_;
Dmain.cpp44 Renderer *getRenderer(android_app *pApp) { in getRenderer()
64 FrameStats drawFrames(int count, android_app *pApp, int &events, android_poll_source *&pSource, in drawFrames()
111 FrameStats drawFramesWithTarget(int64_t targetDuration, int &events, android_app *pApp, in drawFramesWithTarget()
119 double calibrate(int &events, android_app *pApp, android_poll_source *&pSource) { in calibrate()
150 void handle_cmd(android_app *pApp, int32_t cmd) { in handle_cmd()
170 void android_main(struct android_app *pApp) { in android_main()
DJNIManager.h46 void setApp(android_app* app) { app_ = app; } in setApp()
72 android_app* app_;
/cts/common/device-side/interactive/automation/
DAndroid.bp5 android_app {
/cts/tools/cts-holo-generation/
DAndroid.bp19 android_app {
/cts/tests/framework/base/windowmanager/appPrereleaseSdk/fake-framework/
DAndroid.bp25 android_app {