/external/autotest/server/ |
server_job_unittest.py | 71 self.assertEqual(manager.is_valid(10, "MSGTYPE"), True) 76 manager.enable_warnings("MSGTYPE", lambda: 10) 77 self.assertEqual(manager.is_valid(20, "MSGTYPE"), True) 82 manager.disable_warnings("MSGTYPE", lambda: 10) 83 self.assertEqual(manager.is_valid(5, "MSGTYPE"), True) 84 self.assertEqual(manager.is_valid(15, "MSGTYPE"), False) 89 manager.disable_warnings("MSGTYPE", lambda: 10) 90 manager.enable_warnings("MSGTYPE", lambda: 20) 91 self.assertEqual(manager.is_valid(15, "MSGTYPE"), False) 92 self.assertEqual(manager.is_valid(25, "MSGTYPE"), True [all...] |
/hardware/ril/librilutils/proto/ |
sap-api.proto | 21 required MsgType type = 2; 27 enum MsgType { 38 // For MsgType: REQUEST ,MsgId: RIL_SIM_SAP_CONNECT, Error: RIL_E_UNUSED, 40 // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_CONNECT, Error:Valid errors, 46 // For MsgType: REQUEST ,MsgId: RIL_SIM_SAP_DISCONNECT, Error: RIL_E_UNUSED, 48 // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_DISCONNECT, Error:Valid errors, 50 // For MsgType: UNSOL_RESPONSE, MsgId: RIL_SIM_SAP_DISCONNECT, Error: RIL_E_UNUSED, 56 // For MsgType: REQUEST ,MsgId: RIL_SIM_SAP_APDU, Error: RIL_E_UNUSED, 58 // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_APDU, Error:Valid errors, 64 // For MsgType: REQUEST ,MsgId: RIL_SIM_SAP_TRANSFER_ATR, Error: RIL_E_UNUSED [all...] |
/external/nanopb-c/examples/using_union_messages/ |
encode.c | 48 int msgtype = atoi(argv[1]); local 49 if (msgtype == 1) 55 else if (msgtype == 2) 61 else if (msgtype == 3) 69 fprintf(stderr, "Unknown message type: %d\n", msgtype);
|
/frameworks/av/services/camera/libcameraservice/api1/ |
CameraClient.h | 57 virtual status_t takePicture(int msgType); 107 static void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user); 108 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, 110 static void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user); 112 int32_t msgType, const std::vector<HandleTimestampMessage>&, void* user); 115 void handlePreviewData(int32_t msgType, const sp<IMemory>& mem, 120 void handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2); 121 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr, 123 void handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr); 126 int32_t msgType, [all...] |
CameraClient.cpp | 654 status_t CameraClient::takePicture(int msgType) { 655 LOG1("takePicture (pid %d): 0x%x", getCallingPid(), msgType); 661 if ((msgType & CAMERA_MSG_RAW_IMAGE) && 662 (msgType & CAMERA_MSG_RAW_IMAGE_NOTIFY)) { 670 int picMsgType = msgType 786 void CameraClient::enableMsgType(int32_t msgType) { 787 android_atomic_or(msgType, &mMsgEnabled); 788 mHardware->enableMsgType(msgType); 791 void CameraClient::disableMsgType(int32_t msgType) { 792 android_atomic_and(~msgType, &mMsgEnabled) [all...] |
/hardware/interfaces/camera/device/1.0/ |
ICameraDeviceCallback.hal | 23 * The meaning of each parameter is defined by the value of msgType, and 26 * @param msgType The type of the event. 30 notifyCallback(NotifyCallbackMsg msgType, int32_t ext1, int32_t ext2); 59 * @param msgType The kind of image buffer data this call represents. 65 dataCallback(DataCallbackMsg msgType, MemoryId data, uint32_t bufferIndex, 71 * @param msgType The kind of image buffer data this call represents. 79 dataCallbackTimestamp(DataCallbackMsg msgType, MemoryId data, uint32_t bufferIndex, 85 * @param msgType The kind of image buffer data this call represents. 94 handleCallbackTimestamp(DataCallbackMsg msgType, handle frameData, MemoryId data, 105 * @param msgType The kind of image buffer data this call represents [all...] |
/frameworks/base/core/java/android/hardware/location/ |
ContextHubMessage.java | 72 * @param msgType - message type 74 public void setMsgType(int msgType) { 75 mType = msgType; 99 * @param msgType - message type 103 public ContextHubMessage(int msgType, int version, byte[] data) { 104 mType = msgType;
|
/external/selinux/python/sepolgen/tests/test_data/ |
httpd.log | 1 type=USER_AVC msg=audit(1163772866.369:8084): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=signal interface=org.freedesktop.NetworkManager member=DeviceActivationStage dest=org.freedesktop.DBus spid=6687 tpid=3866 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)' 2 type=USER_AVC msg=audit(1163772866.437:8085): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=signal interface=org.freedesktop.NetworkManager member=DeviceActivationStage dest=org.freedesktop.DBus spid=6687 tpid=3866 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)' 3 type=USER_AVC msg=audit(1163772866.449:8086): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=signal interface=org.freedesktop.NetworkManager member=StateChange dest=org.freedesktop.DBus spid=6687 tpid=3866 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)' 4 type=USER_AVC msg=audit(1163772866.449:8087): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=signal interface=org.freedesktop.NetworkManager member=StateChange dest=org.freedesktop.DBus spid=6687 tpid=3866 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)' 5 type=USER_AVC msg=audit(1163772866.449:8088): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=signal interface=org.freedesktop.NetworkManager member=DeviceActivationFailed dest=org.freedesktop.DBus spid=6687 tpid=3866 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)' 6 type=USER_AVC msg=audit(1163772866.453:8089): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=signal interface=org.freedesktop.NetworkManager member=DeviceActivationStage dest=org.freedesktop.DBus spid=6687 tpid=3866 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)' 7 type=USER_AVC msg=audit(1163772866.453:8090): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=signal interface=org.freedesktop.NetworkManager member=DeviceActivationStage dest=org.freedesktop.DBus spid=6687 tpid=3866 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)' 8 type=USER_AVC msg=audit(1163772866.453:8091): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=signal interface=org.freedesktop.NetworkManager member=StateChange dest=org.freedesktop.DBus spid=6687 tpid=3866 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)' 9 type=USER_AVC msg=audit(1163772866.453:8092): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=signal interface=org.freedesktop.NetworkManager member=DeviceActivating dest=org.freedesktop.DBus spid=6687 tpid=3866 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)' 10 type=USER_AVC msg=audit(1163772866.453:8093): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=method_call interface=org.freedesktop.NetworkManager.Devices member=getProperties dest=org.freedes (…) [all...] |
/frameworks/av/camera/ |
ICameraClient.cpp | 47 void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) 52 data.writeInt32(msgType); 59 void dataCallback(int32_t msgType, const sp<IMemory>& imageData, 65 data.writeInt32(msgType); 75 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) 81 data.writeInt32(msgType); 131 int32_t msgType = data.readInt32(); 134 notifyCallback(msgType, ext1, ext2); 140 int32_t msgType = data.readInt32(); 149 dataCallback(msgType, imageData, metadata) [all...] |
/external/parameter-framework/upstream/remote-processor/ |
AnswerMessage.cpp | 38 : base(bSuccess ? MsgType::ESuccessAnswer : MsgType::EFailureAnswer), _strAnswer(strAnswer) 60 /* FIXME this test is buggy because MsgType mixes up two different information: message type 64 return getMsgId() == MsgType::ESuccessAnswer;
|
/hardware/interfaces/camera/device/3.2/ |
Android.bp | 31 "MsgType",
|
/bionic/libc/kernel/uapi/scsi/ |
scsi_netlink.h | 30 uint16_t msgtype; member in struct:scsi_nl_hdr 50 #define INIT_SCSI_NL_HDR(hdr,t,mtype,mlen) { (hdr)->version = SCSI_NL_VERSION; (hdr)->transport = t; (hdr)->magic = SCSI_NL_MAGIC; (hdr)->msgtype = mtype; (hdr)->msglen = mlen; }
|
/external/kernel-headers/original/uapi/scsi/ |
scsi_netlink.h | 47 uint16_t msgtype; member in struct:scsi_nl_hdr 62 /* Transport-based scsi_nl_hdr->msgtype values are defined in each transport */ 65 * GENERIC SCSI scsi_nl_hdr->msgtype Values 70 /* SCSI_NL_SHOST_VENDOR msgtype is kernel->user and user->kernel */ 119 (hdr)->msgtype = mtype; \
|
/frameworks/av/camera/tests/ |
CameraZSLTests.cpp | 47 void notifyCallback(int32_t msgType, int32_t, int32_t) override; 48 void dataCallback(int32_t msgType, const sp<IMemory>&, 98 void CameraZSLTests::notifyCallback(int32_t msgType, int32_t, 100 if (CAMERA_MSG_FOCUS == msgType) { 105 ALOGV("%s: msgType: %d", __FUNCTION__, msgType); 109 void CameraZSLTests::dataCallback(int32_t msgType, const sp<IMemory>& /*data*/, 112 switch (msgType) { 127 ALOGV("%s: msgType: %d", __FUNCTION__, msgType); [all...] |
/frameworks/base/services/net/java/android/net/ip/ |
IpNeighborMonitor.java | 95 final short msgType; 101 public NeighborEvent(long elapsedMs, short msgType, int ifindex, InetAddress ip, 104 this.msgType = msgType; 112 return (msgType != RTM_DELNEIGH) && StructNdMsg.isNudStateConnected(nudState); 116 return (msgType != RTM_DELNEIGH) && StructNdMsg.isNudStateValid(nudState); 123 .add(stringForNlMsgType(msgType)) 212 final short msgType = neighMsg.getHeader().nlmsg_type; 222 (msgType == RTM_DELNEIGH) 227 whenMs, msgType, ifindex, destination, nudState [all...] |
/frameworks/av/camera/include/camera/ |
Camera.h | 42 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2) = 0; 43 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr, 45 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) = 0; 135 status_t takePicture(int msgType); 171 virtual void notifyCallback(int32_t msgType, int32_t ext, int32_t ext2); 172 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, 174 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
|
/frameworks/av/camera/include/camera/android/hardware/ |
ICameraClient.h | 35 virtual void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) = 0; 36 virtual void dataCallback(int32_t msgType, const sp<IMemory>& data, 38 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& data) = 0;
|
/external/syslinux/gpxe/src/net/udp/ |
dhcp.c | 124 * @v msgtype DHCP message type 127 static inline const char * dhcp_msgtype_name ( unsigned int msgtype ) { 128 switch ( msgtype ) { 186 * @v msgtype DHCP message type 192 uint8_t msgtype, struct in_addr server_id ); 392 * @v msgtype DHCP message type 397 struct sockaddr_in *peer, uint8_t msgtype, 408 dhcp_msgtype_name ( msgtype ), inet_ntoa ( peer->sin_addr ), 471 ( ( msgtype == DHCPOFFER ) || ( ! msgtype /* BOOTP */ ) ) 1194 uint8_t msgtype = dhcp->state->tx_msgtype; local 1255 uint8_t msgtype = 0; local [all...] |
/frameworks/base/core/jni/ |
android_hardware_Camera.cpp | 76 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2); 77 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr, 79 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr); 84 void postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata); 85 void addCallbackBuffer(JNIEnv *env, jbyteArray cbb, int msgType); 92 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType); 109 * set whenever method addCallbackBuffer() with msgType = 197 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) 210 * If the notification or msgType is CAMERA_MSG_RAW_IMAGE_NOTIFY, change it 214 if (msgType == CAMERA_MSG_RAW_IMAGE_NOTIFY) [all...] |
/external/libnl/lib/ |
cache_mngt.c | 111 static struct nl_cache_ops *__cache_ops_associate(int protocol, int msgtype) 121 if (ops->co_msgtypes[i].mt_id == msgtype) 131 * @arg msgtype netlink message type 140 struct nl_cache_ops *nl_cache_ops_associate(int protocol, int msgtype) 145 ops = __cache_ops_associate(protocol, msgtype); 154 * @arg msgtype netlink message type 164 struct nl_cache_ops *nl_cache_ops_associate_safe(int protocol, int msgtype) 169 if ((ops = __cache_ops_associate(protocol, msgtype))) 179 * @arg msgtype netlink message type 189 struct nl_msgtype *nl_msgtype_lookup(struct nl_cache_ops *ops, int msgtype) [all...] |
/external/ltp/testcases/kernel/syscalls/ipc/msgget/ |
msgget01.c | 40 } rcv_buf, snd_buf = {MSGTYPE, "hello, world"}; 54 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, MSGTYPE, IPC_NOWAIT);
|
/kernel/tests/net/test/ |
netlink.py | 209 def _ParseNLMsg(self, data, msgtype): 218 nlmsg, data = cstruct.Read(data, msgtype) 227 def _GetMsg(self, msgtype): 231 return self._ParseNLMsg(data, msgtype)[0] 233 def _GetMsgList(self, msgtype, data, expect_done): 236 msg, data = self._ParseNLMsg(data, msgtype) 244 def _Dump(self, command, msg, msgtype, attrs): 250 msgtype: A cstruct.Struct, the data type to parse the dump results as. 254 A list of (msg, attrs) tuples where msg is of type msgtype and attrs is 279 out.extend(self._GetMsgList(msgtype, data, False) [all...] |
/frameworks/av/services/camera/libcameraservice/device1/ |
CameraHardwareInterface.h | 35 typedef void (*notify_callback)(int32_t msgType, 40 typedef void (*data_callback)(int32_t msgType, 46 int32_t msgType, 56 int32_t msgType, 125 * The following three functions all take a msgtype, 133 void enableMsgType(int32_t msgType); 145 void disableMsgType(int32_t msgType); 152 int msgTypeEnabled(int32_t msgType); 377 hardware::camera::device::V1_0::NotifyCallbackMsg msgType, 384 hardware::camera::device::V1_0::DataCallbackMsg msgType, [all...] |
/external/scapy/test/ |
answering_machines.uts | 78 req = IPv6(dst="::1")/UDP()/DHCP6(msgtype=1)/DHCP6OptClientId(duid=DUID_LLT()) 89 req = IPv6(dst="::1")/UDP()/DHCP6(msgtype=11)/DHCP6OptClientId(duid=DUID_LLT()) 99 req = IPv6(dst="::1")/UDP()/DHCP6(msgtype=3)/DHCP6OptClientId(duid=DUID_LLT())/DHCP6OptServerId(duid=a.duid)
|
/external/wpa_supplicant_8/src/ap/ |
dhcp_snoop.c | 40 int res, msgtype = 0, prefixlen = 32; local 84 msgtype = opt[2]; 91 if (msgtype == DHCPACK) {
|