Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DSaProposal.java348 static boolean isTransformSelectedFrom(Transform[] selected, Transform[] selectFrom) { in isTransformSelectedFrom() argument
351 if ((selected.length > 1) || (selected.length == 0) != (selectFrom.length == 0)) { in isTransformSelectedFrom()
357 return Arrays.asList(selectFrom).contains(selected[0]); in isTransformSelectedFrom()
370 IntegrityTransform[] selected, IntegrityTransform[] selectFrom) { in isIntegrityTransformSelectedFrom() argument
374 if (selectFrom.length == 0) { in isIntegrityTransformSelectedFrom()
375 selectFrom = in isIntegrityTransformSelectedFrom()
378 return isTransformSelectedFrom(selected, selectFrom); in isIntegrityTransformSelectedFrom()
389 DhGroupTransform[] selected, DhGroupTransform[] selectFrom) { in isDhGroupTransformSelectedFrom() argument
393 if (selectFrom.length == 0) { in isDhGroupTransformSelectedFrom()
394 selectFrom = new DhGroupTransform[] {new DhGroupTransform(DH_GROUP_NONE)}; in isDhGroupTransformSelectedFrom()
[all …]