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.java254 static boolean isTransformSelectedFrom(Transform[] selected, Transform[] selectFrom) { in isTransformSelectedFrom() argument
257 if ((selected.length > 1) || (selected.length == 0) != (selectFrom.length == 0)) { in isTransformSelectedFrom()
263 return Arrays.asList(selectFrom).contains(selected[0]); in isTransformSelectedFrom()
276 IntegrityTransform[] selected, IntegrityTransform[] selectFrom) { in isIntegrityTransformSelectedFrom() argument
280 if (selectFrom.length == 0) { in isIntegrityTransformSelectedFrom()
281 selectFrom = in isIntegrityTransformSelectedFrom()
284 return isTransformSelectedFrom(selected, selectFrom); in isIntegrityTransformSelectedFrom()
295 DhGroupTransform[] selected, DhGroupTransform[] selectFrom) { in isDhGroupTransformSelectedFrom() argument
299 if (selectFrom.length == 0) { in isDhGroupTransformSelectedFrom()
300 selectFrom = new DhGroupTransform[] {new DhGroupTransform(DH_GROUP_NONE)}; in isDhGroupTransformSelectedFrom()
[all …]