/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
ProtocolVersionTest.java | 39 * Class under test for boolean isSupported(byte[]) 42 assertTrue(ProtocolVersion.isSupported(new byte[] { 3, 0 })); 43 assertTrue(ProtocolVersion.isSupported(new byte[] { 3, 1 })); 44 assertFalse(ProtocolVersion.isSupported(new byte[] { 3, 2 })); 56 * Class under test for boolean isSupported(String) 59 assertTrue(ProtocolVersion.isSupported("SSLv3")); 60 assertTrue(ProtocolVersion.isSupported("SSL")); 61 assertTrue(ProtocolVersion.isSupported("TLSv1")); 62 assertTrue(ProtocolVersion.isSupported("TLS")); 63 assertFalse(ProtocolVersion.isSupported("SSLv4")) [all...] |
/frameworks/base/core/java/android/hardware/location/ |
IActivityRecognitionHardwareClient.aidl | 32 * @param isSupported whether the platform has hardware support for the feature 35 void onAvailabilityChanged(in boolean isSupported, in IActivityRecognitionHardware instance);
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
AbstractDozeModeTestCase.java | 31 if (!isSupported()) return; 45 if (!isSupported()) return; 55 protected boolean isSupported() throws Exception { 81 if (!isSupported()) return; 101 if (!isSupported()) return; 117 if (!isSupported()) return; 127 if (!isSupported()) return;
|
AbstractAppIdleTestCase.java | 30 if (!isSupported()) return; 45 if (!isSupported()) return; 56 protected boolean isSupported() throws Exception { 82 if (!isSupported()) return; 113 if (!isSupported()) return; 134 if (!isSupported()) return;
|
AbstractBatterySaverModeTestCase.java | 30 if (!isSupported()) return; 44 if (!isSupported()) return; 54 protected boolean isSupported() throws Exception { 80 if (!isSupported()) return; 108 if (!isSupported()) return; 124 if (!isSupported()) return;
|
DataSaverModeTest.java | 33 if (!isSupported()) return; 49 if (!isSupported()) return; 59 if (!isSupported()) return; 73 if (!isSupported()) return; 92 if (!isSupported()) return; 121 if (!isSupported()) return; 151 if (!isSupported()) return;
|
/frameworks/base/media/java/android/mtp/ |
MtpDeviceInfo.java | 150 return isSupported(mOperationsSupported, code); 159 return isSupported(mEventsSupported, code); 166 private static boolean isSupported(int[] set, int code) {
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
ActivityRecognitionProviderClient.java | 40 boolean isSupported, 49 provider = isSupported ? new ActivityRecognitionProvider(instance) : null; 54 onProviderChanged(isSupported, provider); 69 * @param isSupported whether the platform supports the provider natively 73 boolean isSupported,
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
NodeIsSupported.java | 38 * The method "isSupported(feature,version)" Tests whether the DOM 42 * Call the isSupported method on the document element node with a combination 103 success = element.isSupported(featureXML, version); 105 success = element.isSupported(featureXML, version1); 110 success = element.isSupported(featureCore, version); 112 success = element.isSupported(featureCore, version1); 113 success = element.isSupported(featureCore, version2); 138 success = attribute.isSupported(featureXML, version); 140 success = attribute.isSupported(featureXML, version1); 145 success = attribute.isSupported(featureCore, version) [all...] |
IsSupported.java | 12 * The "feature" parameter in the isSupported(feature,version)" method is the 19 * "isSupported(feature,version)" method is invoked with "feature" equal to 28 public final class IsSupported extends DOMTestCase { 63 state = rootNode.isSupported("XXX", "1.0"); 72 state = rootNode.isSupported("XML", "9.0"); 81 state = rootNode.isSupported("xml", "1.0"); 90 state = rootNode.isSupported("core", "2.0"); 99 state = rootNode.isSupported("xml", "2.0"); 108 state = rootNode.isSupported("XML", ""); 117 state = rootNode.isSupported("XML", "1.0") [all...] |
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
MtpDeviceRecord.java | 46 static boolean isSupported(@Nullable int[] supportedList, int code) { 59 if (isSupported(supportedList, MtpConstants.OPERATION_GET_PARTIAL_OBJECT_64)) { 64 isSupported(supportedList, MtpConstants.OPERATION_GET_PARTIAL_OBJECT)) { 71 return isSupported(supportedList, MtpConstants.OPERATION_SEND_OBJECT_INFO) && 72 isSupported(supportedList, MtpConstants.OPERATION_SEND_OBJECT);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
OptionalMethodTest.java | 105 public void isSupported() throws Exception { 108 assertTrue(STRING_METHOD_RETURNS_ANY.isSupported(base)); 109 assertTrue(STRING_METHOD_RETURNS_STRING.isSupported(base)); 110 assertFalse(STRING_METHOD_RETURNS_INT.isSupported(base)); 111 assertTrue(VOID_METHOD_RETURNS_ANY.isSupported(base)); 112 assertTrue(VOID_METHOD_RETURNS_VOID.isSupported(base)); 113 assertFalse(SUBCLASS_METHOD_RETURNS_ANY.isSupported(base)); 114 assertFalse(SUBCLASS_METHOD_RETURNS_STRING.isSupported(base)); 115 assertFalse(SUBCLASS_METHOD_RETURNS_INT.isSupported(base)); 116 assertFalse(METHOD_WITH_ARGS_WRONG_PARAMS.isSupported(base)) [all...] |
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
HPRecommendationPlugin.java | 55 boolean isSupported; 59 isSupported = isSupportedDesignjet(printerModel); 61 isSupported = !(modelToUpper.contains(TAG_LATEX) || modelToUpper.contains(TAG_SCITEX)) && !(modelToUpper.contains(TAG_PAGEWIDE) && modelToUpper.contains(TAG_XL)); 63 isSupported = false; 66 return isSupported; 70 boolean isSupported = false; 75 isSupported = true; 79 return isSupported;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BlurMaskFilter_Delegate.java | 46 public boolean isSupported() {
|
PaintFlagsDrawFilter_Delegate.java | 46 public boolean isSupported() {
|
ComposePathEffect_Delegate.java | 53 public boolean isSupported() {
|
CornerPathEffect_Delegate.java | 53 public boolean isSupported() {
|
DiscretePathEffect_Delegate.java | 53 public boolean isSupported() {
|
DrawFilter_Delegate.java | 53 public abstract boolean isSupported();
|
EmbossMaskFilter_Delegate.java | 46 public boolean isSupported() {
|
LayerRasterizer_Delegate.java | 46 public boolean isSupported() {
|
/system/core/libnativebridge/tests/ |
DummyNativeBridge.cpp | 51 .isSupported = &native_bridge_isSupported,
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
nodeissupported01.java | 34 * The method "isSupported(feature,version)" Tests whether the DOM implementation 37 * Call the isSupported method on the document element node with a combination of features 87 success = element.isSupported(featureXML, version); 89 success = element.isSupported(featureXML, version1); 94 success = element.isSupported(featureCore, version); 96 success = element.isSupported(featureCore, version1); 97 success = element.isSupported(featureCore, version2);
|
nodeissupported02.java | 34 * The method "isSupported(feature,version)" Tests whether the DOM implementation 37 * Call the isSupported method on a new attribute node with a combination of features 87 success = attribute.isSupported(featureXML, version); 89 success = attribute.isSupported(featureXML, version1); 94 success = attribute.isSupported(featureCore, version); 96 success = attribute.isSupported(featureCore, version1); 97 success = attribute.isSupported(featureCore, version2);
|
/frameworks/base/location/java/android/location/ |
IFusedGeofenceHardware.aidl | 37 boolean isSupported();
|