Home
last modified time | relevance | path

Searched refs:CallbackType (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/vr/libpdx_default_transport/
Dpdx_tool.cpp98 typedef int (*CallbackType)(const char* path, const struct stat* sb, typedef
106 void CallOnAllFiles(CallbackType callback, const std::string& base_path) { in CallOnAllFiles()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java3281 public static enum CallbackType { ON_STARTED, ON_STOPPED, ON_ERROR }; enum in ConnectivityServiceTest.TestKeepaliveCallback
3284 public CallbackType callbackType;
3287 public CallbackValue(CallbackType type) { in CallbackValue()
3290 assertTrue("onError callback must have error", type != CallbackType.ON_ERROR); in CallbackValue()
3293 public CallbackValue(CallbackType type, int error) { in CallbackValue()
3296 assertEquals("error can only be set for onError", type, CallbackType.ON_ERROR); in CallbackValue()
3316 mCallbacks.add(new CallbackValue(CallbackType.ON_STARTED)); in onStarted()
3321 mCallbacks.add(new CallbackValue(CallbackType.ON_STOPPED)); in onStopped()
3326 mCallbacks.add(new CallbackValue(CallbackType.ON_ERROR, error)); in onError()
3340 expectCallback(new CallbackValue(CallbackType.ON_STARTED)); in expectStarted()
[all …]