camera/camera-extensions/src/androidTest/java/androidx/camera/extensions/util/ExtensionsTestUtil.java
/**
     * Returns whether the target camera device can support the test for a specific extension mode.
     */
Returns whether the target camera device can support the test for a specific extension mode.
Returns whether the target camera device can support the test for a specific extension mode .
public static boolean isTargetDeviceAvailableForExtensions(
            @CameraSelector.LensFacing int lensFacing, @ExtensionMode.Mode int mode) {
        return CameraUtil.hasCameraWithLensFacing(lensFacing) && isLimitedAboveDevice(lensFacing)
                && !isSpecificSkippedDevice() && !isSpecificSkippedDeviceWithExtensionMode(mode);
    }
public static boolean isTargetDeviceAvailableForExtensions ( @ CameraSelector . LensFacing int lensFacing , @ ExtensionMode . Mode int mode ) { return CameraUtil . hasCameraWithLensFacing ( lensFacing ) && isLimitedAboveDevice ( lensFacing ) && ! isSpecificSkippedDevice ( ) && ! isSpecificSkippedDeviceWithExtensionMode ( mode ) ; }
Returns whether the target camera device can support the test for a specific extension mode.
Returns whether the target camera device can support the test for a specific extension mode .