Home
last modified time | relevance | path

Searched refs:ignoredNodes (Results 1 – 6 of 6) sorted by relevance

/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/utils/
DIgnoredV4L2Nodes.java26 List<String> ignoredNodes = new ArrayList<>(); in getIgnoredNodes() local
34 ignoredNodes.add(node); in getIgnoredNodes()
42 kIgnoredNodes = ignoredNodes.toArray(new String[0]); in getIgnoredNodes()
/packages/services/DeviceAsWebcam/jni/
DDeviceAsWebcamServiceManager.cpp62 std::unordered_set<std::string> ignoredNodes = stringSetFromJavaArray(jIgnoredNodes); in shouldStartService() local
63 return (UVCProvider::getVideoNode(ignoredNodes).length() != 0); in shouldStartService()
74 std::unordered_set<std::string> ignoredNodes = stringSetFromJavaArray(jIgnoredNodes); in setupServicesAndStartListening() local
77 (mUVCProvider->startService(ignoredNodes) != Status::OK)) { in setupServicesAndStartListening()
DUVCProvider.h99 static std::string getVideoNode(const std::unordered_set<std::string>& ignoredNodes);
106 Status startService(const std::unordered_set<std::string>& ignoredNodes);
121 const std::unordered_set<std::string>& ignoredNodes);
DUVCProvider.cpp305 const std::unordered_set<std::string>& ignoredNodes) { in UVCDevice() argument
312 mVideoNode = getVideoNode(ignoredNodes); in UVCDevice()
343 std::string UVCProvider::getVideoNode(const std::unordered_set<std::string>& ignoredNodes) { in getVideoNode() argument
353 if (ignoredNodes.find(node) != ignoredNodes.end()) { continue; } in getVideoNode()
928 Status UVCProvider::startService(const std::unordered_set<std::string>& ignoredNodes) { in startService() argument
934 mUVCDevice = std::make_shared<UVCDevice>(shared_from_this(), ignoredNodes); in startService()
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DDeviceAsWebcamReceiver.java50 String[] ignoredNodes = IgnoredV4L2Nodes.getIgnoredNodes(context); in onReceive() local
51 if (!DeviceAsWebcamFgService.shouldStartServiceNative(ignoredNodes)) { in onReceive()
DDeviceAsWebcamFgService.java135 String[] ignoredNodes = IgnoredV4L2Nodes.getIgnoredNodes(getApplicationContext()); in setupServicesAndStartListening() local
136 return setupServicesAndStartListeningNative(ignoredNodes); in setupServicesAndStartListening()
552 public static native boolean shouldStartServiceNative(String[] ignoredNodes); in shouldStartServiceNative() argument
560 private native int setupServicesAndStartListeningNative(String[] ignoredNodes); in setupServicesAndStartListeningNative() argument