/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/ttls/ |
H A D | EapTtlsTypeDataTest.java | 83 assertFalse(typeData.isLengthIncluded); in testDecodeEapTtlsRequest() 84 assertFalse(typeData.isDataFragmented); in testDecodeEapTtlsRequest() 85 assertFalse(typeData.isStart); in testDecodeEapTtlsRequest() 86 assertEquals(0, typeData.version); in testDecodeEapTtlsRequest() 87 assertEquals(0, typeData.messageLength); in testDecodeEapTtlsRequest() 108 assertFalse(typeData.isLengthIncluded); in testDecodeEapTtlsStart() 109 assertFalse(typeData.isDataFragmented); in testDecodeEapTtlsStart() 110 assertTrue(typeData.isStart); in testDecodeEapTtlsStart() 111 assertEquals(0, typeData.version); in testDecodeEapTtlsStart() 112 assertEquals(0, typeData.messageLength); in testDecodeEapTtlsStart() [all …]
|
/aosp12/frameworks/rs/ |
H A D | rsApiType.cpp | 26 extern "C" void rsaTypeGetNativeData(RsContext con, RsType type, uintptr_t *typeData, uint32_t type… in rsaTypeGetNativeData() argument 32 (*typeData++) = t->getDimX(); in rsaTypeGetNativeData() 33 (*typeData++) = t->getDimY(); in rsaTypeGetNativeData() 34 (*typeData++) = t->getDimZ(); in rsaTypeGetNativeData() 35 (*typeData++) = t->getDimLOD() ? 1 : 0; in rsaTypeGetNativeData() 36 (*typeData++) = t->getDimFaces() ? 1 : 0; in rsaTypeGetNativeData() 37 (*typeData++) = (uintptr_t)t->getElement(); in rsaTypeGetNativeData()
|
H A D | rs.h | 48 void rsaTypeGetNativeData(RsContext, RsType, uintptr_t* typeData, uint32_t typeDataSize)
|
H A D | rsHidlAdaptation.h | 75 static void TypeGetNativeData(RsContext, RsType, uintptr_t *typeData, uint32_t typeDataSize);
|
H A D | rsApiStubs.cpp | 324 extern "C" void rsaTypeGetNativeData(RsContext ctxWrapper, RsType type, uintptr_t *typeData, uint32… in rsaTypeGetNativeData() argument 326 RS_DISPATCH(ctxWrapper, TypeGetNativeData, type, typeData, typeDataSize); in rsaTypeGetNativeData()
|
H A D | rsApiStubs.h | 77 extern "C" void rsaTypeGetNativeData(RsContext con, RsType type, uintptr_t* typeData,
|
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/ttls/ |
H A D | EapTtlsInboundFragmentationHelper.java | 57 public @FragmentationStatus int assembleInboundMessage(EapTtlsTypeData typeData) { in assembleInboundMessage() argument 59 if (typeData.isDataFragmented) { in assembleInboundMessage() 61 mFragmentedData = ByteBuffer.allocate(typeData.messageLength); in assembleInboundMessage() 64 mFragmentedData = ByteBuffer.wrap(typeData.data); in assembleInboundMessage() 67 } else if (typeData.isLengthIncluded) { in assembleInboundMessage() 77 if (typeData.data.length > mFragmentedData.remaining()) { in assembleInboundMessage() 85 mFragmentedData.put(typeData.data); in assembleInboundMessage() 87 if (typeData.isDataFragmented) { in assembleInboundMessage()
|
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/mschapv2/ |
H A D | EapMsChapV2TypeDataTest.java | 56 EapMsChapV2TypeData typeData = new EapMsChapV2TypeData(EAP_MSCHAP_V2_CHALLENGE) {}; in testEapMsChapV2TypeDataConstructor() local 57 assertEquals(EAP_MSCHAP_V2_CHALLENGE, typeData.opCode); in testEapMsChapV2TypeDataConstructor() 68 EapMsChapV2VariableTypeData typeData = in testEapMsChapV2VariableTypeDataConstructor() local 71 assertEquals(EAP_MSCHAP_V2_CHALLENGE, typeData.opCode); in testEapMsChapV2VariableTypeDataConstructor() 72 assertEquals(MSCHAP_V2_ID, typeData.msChapV2Id); in testEapMsChapV2VariableTypeDataConstructor() 73 assertEquals(MS_LENGTH, typeData.msLength); in testEapMsChapV2VariableTypeDataConstructor()
|
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
H A D | EapSimAkaMethodStateMachine.java | 211 boolean isValidMac(String tag, EapMessage message, EapSimAkaTypeData typeData, byte[] extraData) in isValidMac() argument 219 byte[] mac = getMac(message.eapCode, message.eapIdentifier, typeData, extraData); in isValidMac() 221 AtMac atMac = (AtMac) typeData.attributeMap.get(EAP_AT_MAC); in isValidMac() 237 byte[] getMac(int eapCode, int eapIdentifier, EapSimAkaTypeData typeData, byte[] extraData) in getMac() argument 245 AtMac originalMac = (AtMac) typeData.attributeMap.get(EAP_AT_MAC); in getMac() 246 typeData.attributeMap.put(EAP_AT_MAC, originalMac.getAtMacWithMacCleared()); in getMac() 248 byte[] typeDataWithEmptyMac = typeData.encode(); in getMac() 260 typeData.attributeMap.put(EAP_AT_MAC, originalMac); in getMac()
|
H A D | EapAkaPrimeMethodStateMachine.java | 142 protected DecodeResult<EapAkaTypeData> decode(byte[] typeData) { in decode() argument 143 return mEapAkaPrimeTypeDataDecoder.decode(typeData); in decode()
|
H A D | EapAkaMethodStateMachine.java | 150 protected DecodeResult<EapAkaTypeData> decode(byte[] typeData) { in decode() argument 151 return mEapAkaTypeDataDecoder.decode(typeData); in decode()
|
H A D | EapMsChapV2MethodStateMachine.java | 487 String tag, int eapIdentifier, EapMsChapV2TypeData typeData) { in buildEapMessageResponse() argument 489 EapData eapData = new EapData(getEapMethod(), typeData.encode()); in buildEapMessageResponse()
|
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ |
H A D | EapSimAkaMethodStateMachineTest.java | 399 EapSimTypeData typeData = in testHandleEapSimNotificationPreChallenge() local 406 mStateMachine.handleEapSimAkaNotification(TAG, true, ID_INT, typeData); in testHandleEapSimNotificationPreChallenge() 414 EapSimTypeData typeData = in testHandleEapSimNotificationPreChallengeInvalidPBit() local 421 mStateMachine.handleEapSimAkaNotification(TAG, true, ID_INT, typeData); in testHandleEapSimNotificationPreChallengeInvalidPBit() 429 EapSimTypeData typeData = in testHandleEapSimNotificationMultipleNotifications() local 434 mStateMachine.handleEapSimAkaNotification(TAG, true, ID_INT, typeData); in testHandleEapSimNotificationMultipleNotifications() 446 EapSimTypeData typeData = in testHandleEapSimNotificationInvalidAtMac() local 462 EapSimTypeData typeData = in testHandleEapSimNotificationPostChallenge() local 492 EapSimTypeData typeData = in testHandleEapSimNotificationPostChallengeInvalidAtMac() local 536 EapSimAkaTypeData typeData = in testIsValidMac() local [all …]
|
H A D | EapAkaStateTest.java | 116 EapAkaTypeData typeData = in testProcessEapAkaNotification() local 121 DecodeResult<EapAkaTypeData> decodeResult = new DecodeResult<>(typeData); in testProcessEapAkaNotification()
|
H A D | EapSimStateTest.java | 117 EapSimTypeData typeData = in testProcessEapSimNotification() local 122 DecodeResult<EapSimTypeData> decodeResult = new DecodeResult<>(typeData); in testProcessEapSimNotification()
|
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/ |
H A D | EapAkaPrimeTypeData.java | 91 public DecodeResult<EapAkaTypeData> decode(@NonNull byte[] typeData) { in decode() argument 92 return super.decode(typeData); in decode()
|
H A D | EapSimAkaTypeData.java | 117 protected DecodeResult<T> decode(@NonNull byte[] typeData) { in decode() argument 118 if (typeData == null) { in decode() 123 ByteBuffer byteBuffer = ByteBuffer.wrap(typeData); in decode()
|
H A D | EapSimTypeData.java | 121 public DecodeResult<EapSimTypeData> decode(@NonNull byte[] typeData) { in decode() argument 122 return super.decode(typeData); in decode()
|
H A D | EapAkaTypeData.java | 133 public DecodeResult<EapAkaTypeData> decode(@NonNull byte[] typeData) { in decode() argument 134 return super.decode(typeData); in decode()
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/ |
H A D | EmergencyNumberTracker.java | 413 for (int typeData : eccInfo.types) { in convertEmergencyNumberFromEccInfo() 414 switch (typeData) { in convertEmergencyNumberFromEccInfo()
|
/aosp12/frameworks/base/rs/java/android/renderscript/ |
H A D | RenderScript.java | 444 native void rsnTypeGetNativeData(long con, long id, long[] typeData); in rsnTypeGetNativeData() argument 445 synchronized void nTypeGetNativeData(long id, long[] typeData) { in nTypeGetNativeData() argument 447 rsnTypeGetNativeData(mContext, id, typeData); in nTypeGetNativeData()
|
/aosp12/frameworks/rs/support/java/src/androidx/renderscript/ |
H A D | RenderScript.java | 386 native void rsnTypeGetNativeData(long con, long id, long[] typeData); in rsnTypeGetNativeData() argument 387 synchronized void nTypeGetNativeData(long id, long[] typeData) { in nTypeGetNativeData() argument 389 rsnTypeGetNativeData(mContext, id, typeData); in nTypeGetNativeData()
|
/aosp12/frameworks/rs/cpp/ |
H A D | rsDispatch.h | 24 typedef void (*TypeGetNativeDataFnPtr)(RsContext, RsType, uintptr_t *typeData, uint32_t typeDataSiz…
|
/aosp12/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 7358 uint16_t* typeData = reinterpret_cast<uint16_t*>(data); in createIdmap() local 7359 *typeData++ = htods(targetPackageStruct->id); // write: target package id in createIdmap() 7360 *typeData++ = in createIdmap() 7367 *typeData++ = htods(Res_GETTYPE(ei->first) + 1); // write: target type id in createIdmap() 7368 *typeData++ = htods(Res_GETTYPE(ei->second) + 1); // write: overlay type id in createIdmap() 7369 *typeData++ = htods(entryCount); // write: entry count in createIdmap() 7370 *typeData++ = htods(Res_GETENTRY(ei->first)); // write: (target) entry offset in createIdmap() 7371 uint32_t *entryData = reinterpret_cast<uint32_t*>(typeData); in createIdmap() 7379 typeData += entryCount * 2; in createIdmap()
|
/aosp12/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1205 uintptr_t typeData[6]; in nTypeGetNativeData() local 1206 rsaTypeGetNativeData((RsContext)con, (RsType)id, typeData, 6); in nTypeGetNativeData() 1209 const jlong data = (jlong)(uintptr_t)typeData[i]; in nTypeGetNativeData()
|