Home
last modified time | relevance | path

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

/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/ttls/
H A DEapTtlsTypeDataTest.java83 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 DrsApiType.cpp26 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 Drs.h48 void rsaTypeGetNativeData(RsContext, RsType, uintptr_t* typeData, uint32_t typeDataSize)
H A DrsHidlAdaptation.h75 static void TypeGetNativeData(RsContext, RsType, uintptr_t *typeData, uint32_t typeDataSize);
H A DrsApiStubs.cpp324 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 DrsApiStubs.h77 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 DEapTtlsInboundFragmentationHelper.java57 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 DEapMsChapV2TypeDataTest.java56 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 DEapSimAkaMethodStateMachine.java211 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 DEapAkaPrimeMethodStateMachine.java142 protected DecodeResult<EapAkaTypeData> decode(byte[] typeData) { in decode() argument
143 return mEapAkaPrimeTypeDataDecoder.decode(typeData); in decode()
H A DEapAkaMethodStateMachine.java150 protected DecodeResult<EapAkaTypeData> decode(byte[] typeData) { in decode() argument
151 return mEapAkaTypeDataDecoder.decode(typeData); in decode()
H A DEapMsChapV2MethodStateMachine.java487 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 DEapSimAkaMethodStateMachineTest.java399 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 DEapAkaStateTest.java116 EapAkaTypeData typeData = in testProcessEapAkaNotification() local
121 DecodeResult<EapAkaTypeData> decodeResult = new DecodeResult<>(typeData); in testProcessEapAkaNotification()
H A DEapSimStateTest.java117 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 DEapAkaPrimeTypeData.java91 public DecodeResult<EapAkaTypeData> decode(@NonNull byte[] typeData) { in decode() argument
92 return super.decode(typeData); in decode()
H A DEapSimAkaTypeData.java117 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 DEapSimTypeData.java121 public DecodeResult<EapSimTypeData> decode(@NonNull byte[] typeData) { in decode() argument
122 return super.decode(typeData); in decode()
H A DEapAkaTypeData.java133 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 DEmergencyNumberTracker.java413 for (int typeData : eccInfo.types) { in convertEmergencyNumberFromEccInfo()
414 switch (typeData) { in convertEmergencyNumberFromEccInfo()
/aosp12/frameworks/base/rs/java/android/renderscript/
H A DRenderScript.java444 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 DRenderScript.java386 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 DrsDispatch.h24 typedef void (*TypeGetNativeDataFnPtr)(RsContext, RsType, uintptr_t *typeData, uint32_t typeDataSiz…
/aosp12/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp7358 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 Dandroid_renderscript_RenderScript.cpp1205 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()