Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DStructNfGenMsg.java41 final public short res_id; // N.B.: this is big endian in the kernel field in StructNfGenMsg
61 final short res_id = byteBuffer.getShort(); in parse() local
64 return new StructNfGenMsg(nfgen_family, version, res_id); in parse()
70 res_id = id; in StructNfGenMsg()
76 res_id = (short) 0; in StructNfGenMsg()
85 byteBuffer.putShort(res_id); in pack()
100 + "res_id{" + Short.toUnsignedInt(res_id) + "} " in toString()
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DConntrackMessageTest.java169 assertEquals((short) 0, nfmsgHdr.res_id); in testConntrackParseIPv4TcpTimeoutUpdate()
218 assertEquals((short) 0, nfmsgHdr.res_id); in testConntrackParseIPv4UdpTimeoutUpdate()
312 assertEquals((short) 0x1234, nfmsgHdr.res_id); in testParseCtNew()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestNotificationService.java172 int res_id = android_context.getResources().getIdentifier(CANCEL_RES_NAME, in doCancel() local
174 final String cancel_label = android_context.getResources().getString(res_id); in doCancel()