/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/mschapv2/ |
D | EapMsChapV2TypeData.java | 68 public final int opCode; field in EapMsChapV2TypeData 70 EapMsChapV2TypeData(int opCode) throws EapMsChapV2ParsingException { in EapMsChapV2TypeData() argument 71 this.opCode = opCode; in EapMsChapV2TypeData() 73 if (!SUPPORTED_OP_CODES.contains(opCode)) { in EapMsChapV2TypeData() 74 throw new EapMsChapV2ParsingException("Unsupported opCode provided: " + opCode); in EapMsChapV2TypeData() 92 EapMsChapV2VariableTypeData(int opCode, int msChapV2Id, int msLength) in EapMsChapV2VariableTypeData() argument 94 super(opCode); in EapMsChapV2VariableTypeData() 486 int opCode = Byte.toUnsignedInt(buffer.get()); in decodeChallengeRequest() local 488 if (opCode != EAP_MSCHAP_V2_CHALLENGE) { in decodeChallengeRequest() 494 opCode, "Unknown (" + opCode + ")")))); in decodeChallengeRequest() [all …]
|
/packages/modules/NetworkStack/src/com/android/networkstack/arp/ |
D | ArpPacket.java | 48 public final short opCode; field in ArpPacket 54 ArpPacket(short opCode, MacAddress senderHwAddress, Inet4Address senderIp, in ArpPacket() argument 56 this.opCode = opCode; in ArpPacket() 69 final short opCode) { in buildArpPacket() argument 82 buf.putShort(opCode); // op in buildArpPacket() 133 final short opCode = buffer.getShort(); in parseArpPacket() local 134 if (opCode != ARP_REQUEST && opCode != ARP_REPLY) { in parseArpPacket() 135 throw new ParseException("Incorrect opCode: " + opCode); in parseArpPacket() 148 return new ArpPacket(opCode, MacAddress.fromBytes(senderHwAddress), in parseArpPacket()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | Metrics.java | 200 @MetricConsts.FileOp int opCode = MetricConsts.FILEOP_OTHER_ERROR; in logFileOperationErrors() local 203 opCode = MetricConsts.FILEOP_COPY_ERROR; in logFileOperationErrors() 206 opCode = MetricConsts.FILEOP_COMPRESS_ERROR; in logFileOperationErrors() 209 opCode = MetricConsts.FILEOP_EXTRACT_ERROR; in logFileOperationErrors() 212 opCode = MetricConsts.FILEOP_DELETE_ERROR; in logFileOperationErrors() 215 opCode = MetricConsts.FILEOP_MOVE_ERROR; in logFileOperationErrors() 221 MetricConsts.PROVIDER_SYSTEM, opCode); in logFileOperationErrors() 226 MetricConsts.PROVIDER_EXTERNAL, opCode); in logFileOperationErrors()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/mschapv2/ |
D | EapMsChapV2SuccessRequestTest.java | 68 assertEquals(EAP_MSCHAP_V2_SUCCESS, successRequest.opCode); in testDecodeSuccessRequest() 83 assertEquals(EAP_MSCHAP_V2_SUCCESS, successRequest.opCode); in testDecodeSuccessRequestEmptyMessage() 98 assertEquals(EAP_MSCHAP_V2_SUCCESS, successRequest.opCode); in testDecodeSuccessRequestMissingMessage() 113 assertEquals(EAP_MSCHAP_V2_SUCCESS, successRequest.opCode); in testDecodeSuccessRequestMissingMessageWithSpace()
|
D | EapMsChapV2FailureRequestTest.java | 66 assertEquals(EAP_MSCHAP_V2_FAILURE, failureRequest.opCode); in testDecodeFailureRequest() 84 assertEquals(EAP_MSCHAP_V2_FAILURE, failureRequest.opCode); in testDecodeFailureRequestMissingMessage() 102 assertEquals(EAP_MSCHAP_V2_FAILURE, failureRequest.opCode); in testDecodeFailureRequestMissingMessageWithSpace()
|
D | EapMsChapV2TypeDataTest.java | 57 assertEquals(EAP_MSCHAP_V2_CHALLENGE, typeData.opCode); in testEapMsChapV2TypeDataConstructor() 71 assertEquals(EAP_MSCHAP_V2_CHALLENGE, typeData.opCode); in testEapMsChapV2VariableTypeDataConstructor()
|
D | EapMsChapV2SuccessResponseTest.java | 34 assertEquals(EAP_MSCHAP_V2_SUCCESS, successResponse.opCode); in testGetEapMsChapV2SuccessResponse()
|
D | EapMsChapV2FailureResponseTest.java | 34 assertEquals(EAP_MSCHAP_V2_FAILURE, failureResponse.opCode); in testGetEapMsChapV2FailureResponse()
|
D | EapMsChapV2ChallengeResponseTest.java | 46 assertEquals(EAP_MSCHAP_V2_RESPONSE, challengeResponse.opCode); in testConstructor()
|
D | EapMsChapV2ChallengeRequestTest.java | 63 assertEquals(EAP_MSCHAP_V2_CHALLENGE, challengeRequest.opCode); in testDecodeChallengeRequest()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapMsChapV2MethodStateMachine.java | 332 int opCode; in process() local 334 opCode = mTypeDataDecoder.getOpCode(message.eapData.eapTypeData); in process() 343 + EAP_OP_CODE_STRING.getOrDefault(opCode, "Unknown") in process() 344 + " (" + opCode + ")"); in process() 346 switch (opCode) { in process() 413 LOG.e(mTAG, "Invalid OpCode: " + opCode); in process()
|
/packages/modules/NetworkStack/src/android/net/util/ |
D | ConnectivityPacketSummary.java | 179 final int opCode = asUint(mPacket.getShort()); in parseARP() local 186 if (opCode == ARP_REQUEST) { in parseARP() 188 } else if (opCode == ARP_REPLY) { in parseARP() 191 sj.add("unknown opcode").add(asString(opCode)); in parseARP()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/arp/ |
D | ArpPacketTest.java | 164 assertEquals(packet.opCode, ARP_REQUEST); in testParseArpProbePacket() 175 assertEquals(packet.opCode, ARP_REQUEST); in testParseArpAnnouncePacket()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | FrameParser.java | 326 int opCode = getUnsignedShort(data); in parseArpPacket() local 327 switch (opCode) { in parseArpPacket() 335 mTypeString = "Operation " + opCode; in parseArpPacket()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomServiceImpl.java | 2019 final int opCode = AppOpsManager.permissionToOpCode(permission); in enforceAnswerCallPermission() 2020 if (opCode != AppOpsManager.OP_NONE in enforceAnswerCallPermission() 2021 && mAppOpsManager.checkOp(opCode, uid, packageName) in enforceAnswerCallPermission() 2038 final int opCode = AppOpsManager.permissionToOpCode(Manifest.permission.ACCEPT_HANDOVER); in enforceAcceptHandoverPermission() local 2039 if (opCode != AppOpsManager.OP_ACCEPT_HANDOVER || ( in enforceAcceptHandoverPermission() 2040 mAppOpsManager.checkOp(opCode, uid, packageName) in enforceAcceptHandoverPermission()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 1561 return (packet.opCode == ARP_REQUEST && packet.senderIp.equals(INADDR_ANY) in isArpProbe() 1589 + (packet.opCode == ARP_REQUEST ? "ARP Request" : "ARP Reply") in hasIpAddressConflict()
|
/packages/modules/NeuralNetworks/common/include/ |
D | LegacyHalUtils.h | 151 std::string getOperationName(V1_3::OperationType opCode);
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 1134 assertEquals(packet.opCode, ARP_REQUEST); 1150 assertEquals(packet.opCode, ARP_REPLY);
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestValidateOperations.cpp | 331 OperationTestBase(ANeuralNetworksOperationType opCode, in OperationTestBase() argument 335 : mOpCode(opCode), mValidInputs(), mValidOutputs(), mInputRankMutators(inputRankMutators) {
|