OrchestratorCallback


interface OrchestratorCallback : IInterface

Known direct subclasses
OrchestratorCallback.Default

Default implementation for OrchestratorCallback.

OrchestratorCallback.Stub

Local-side IPC implementation stub class.


Defines an interface for remote Instrumentation service to speak to the AndroidTestOrchestrator

Summary

Nested types

Default implementation for OrchestratorCallback.

Local-side IPC implementation stub class.

Constants

const String!
DESCRIPTOR = "androidx.test.orchestrator.callback.OrchestratorCallback"

Public functions

Unit
addTest(test: String!)

Remote instrumentations, when given the parameter listTestsForOrchestrator, must add each test they wish executed to AndroidTestOrchestrator before terminating.

Unit

Remote instrumentations should pass a notification along to AndroidTestOrchestrator whenever they get a notification of test progress.

Inherited functions

From android.os.IInterface

Constants

DESCRIPTOR

const val DESCRIPTOR = "androidx.test.orchestrator.callback.OrchestratorCallback": String!

Public functions

addTest

fun addTest(test: String!): Unit

Remote instrumentations, when given the parameter listTestsForOrchestrator, must add each test they wish executed to AndroidTestOrchestrator before terminating.

sendTestNotification

fun sendTestNotification(bundle: Bundle!): Unit

Remote instrumentations should pass a notification along to AndroidTestOrchestrator whenever they get a notification of test progress. Use OrchestratorService constants to determine the notification type.