/aosp12/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/ |
H A D | IpNeighborMonitor.java | 80 final short msgType; field in IpNeighborMonitor.NeighborEvent 86 public NeighborEvent(long elapsedMs, short msgType, int ifindex, InetAddress ip, in NeighborEvent() argument 89 this.msgType = msgType; in NeighborEvent() 97 return (msgType != RTM_DELNEIGH) && StructNdMsg.isNudStateConnected(nudState); in isConnected() 101 return (msgType != RTM_DELNEIGH) && StructNdMsg.isNudStateValid(nudState); in isValid() 108 .add(stringForNlMsgType(msgType, NETLINK_ROUTE)) in toString() 138 final short msgType = neighMsg.getHeader().nlmsg_type; in processNetlinkMessage() local 148 (msgType == RTM_DELNEIGH) in processNetlinkMessage() 153 whenMs, msgType, ifindex, destination, nudState, in processNetlinkMessage()
|
H A D | ConntrackMonitor.java | 61 public final short msgType; field in ConntrackMonitor.ConntrackEvent 80 this.msgType = msg.getHeader().nlmsg_type; in ConntrackEvent() 88 public ConntrackEvent(short msgType, ConntrackMessage.Tuple tupleOrig, in ConntrackEvent() argument 90 this.msgType = msgType; in ConntrackEvent() 102 return this.msgType == that.msgType in equals() 111 return Objects.hash(msgType, tupleOrig, tupleReply, status, timeoutSec); in hashCode() 118 + NetlinkConstants.stringForNlMsgType(msgType, OsConstants.NETLINK_NETFILTER) in toString()
|
/aosp12/frameworks/av/camera/ |
H A D | ICameraClient.cpp | 47 void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) in notifyCallback() argument 52 data.writeInt32(msgType); in notifyCallback() 59 void dataCallback(int32_t msgType, const sp<IMemory>& imageData, in dataCallback() argument 65 data.writeInt32(msgType); in dataCallback() 81 data.writeInt32(msgType); in dataCallbackTimestamp() 131 int32_t msgType = data.readInt32(); in onTransact() local 134 notifyCallback(msgType, ext1, ext2); in onTransact() 140 int32_t msgType = data.readInt32(); in onTransact() local 154 dataCallback(msgType, imageData, &metadata); in onTransact() 161 int32_t msgType = data.readInt32(); in onTransact() local [all …]
|
H A D | Camera.cpp | 225 status_t Camera::takePicture(int msgType) in takePicture() argument 227 ALOGV("takePicture: 0x%x", msgType); in takePicture() 230 return c->takePicture(msgType); in takePicture() 298 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) in notifyCallback() argument 300 return CameraBaseT::notifyCallback(msgType, ext1, ext2); in notifyCallback() 304 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, in dataCallback() argument 313 listener->postData(msgType, dataPtr, metadata); in dataCallback() 318 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) in dataCallbackTimestamp() argument 327 listener->postDataTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp()
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 214 if (msgType == CAMERA_MSG_RAW_IMAGE_NOTIFY) { in notify() 215 msgType = CAMERA_MSG_RAW_IMAGE; in notify() 269 if (msgType == CAMERA_MSG_RAW_IMAGE) { in copyAndPost() 301 mCameraJObjectWeak, msgType, 0, 0, obj); in copyAndPost() 357 postData(msgType, dataPtr, NULL); in postDataTimestamp() 474 JNIEnv *env, jbyteArray cbb, int msgType) in addCallbackBuffer() argument 476 ALOGV("addCallbackBuffer: 0x%x", msgType); in addCallbackBuffer() 479 switch (msgType) { in addCallbackBuffer() 787 ALOGV("addCallbackBuffer: 0x%x", msgType); in android_hardware_Camera_addCallbackBuffer() 836 if (msgType & CAMERA_MSG_RAW_IMAGE) { in android_hardware_Camera_takePicture() [all …]
|
/aosp12/frameworks/av/camera/include/camera/ |
H A D | Camera.h | 41 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2) = 0; 42 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr, 44 …virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) = 0; 130 status_t takePicture(int msgType); 168 virtual void notifyCallback(int32_t msgType, int32_t ext, int32_t ext2); 169 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, 171 …virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& d…
|
/aosp12/hardware/interfaces/camera/device/1.0/ |
H A D | 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 …]
|
/aosp12/frameworks/av/camera/tests/ |
H A D | 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, in notifyCallback() argument 100 if (CAMERA_MSG_FOCUS == msgType) { in notifyCallback() 105 ALOGV("%s: msgType: %d", __FUNCTION__, msgType); in notifyCallback() 109 void CameraZSLTests::dataCallback(int32_t msgType, const sp<IMemory>& /*data*/, in dataCallback() argument 112 switch (msgType) { in dataCallback() 127 ALOGV("%s: msgType: %d", __FUNCTION__, msgType); in dataCallback()
|
/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
H A D | ConntrackMonitorTest.java | 199 private ConntrackEvent makeTestConntrackEvent(short msgType, int status, int timeoutSec) { in makeTestConntrackEvent() argument 208 (short) (NetlinkConstants.NFNL_SUBSYS_CTNETLINK << 8 | msgType), in makeTestConntrackEvent() 239 final ConntrackEvent typeNotEqual = new ConntrackEvent((short) (e.msgType + 1) /* diff */, in testConntrackEventNotEquals() 243 final ConntrackEvent tupleOrigNotEqual = new ConntrackEvent(e.msgType, in testConntrackEventNotEquals() 247 final ConntrackEvent tupleReplyNotEqual = new ConntrackEvent(e.msgType, in testConntrackEventNotEquals() 251 final ConntrackEvent statusNotEqual = new ConntrackEvent(e.msgType, in testConntrackEventNotEquals() 255 final ConntrackEvent timeoutSecNotEqual = new ConntrackEvent(e.msgType, in testConntrackEventNotEquals()
|
/aosp12/frameworks/base/core/java/android/hardware/location/ |
H A D | ContextHubMessage.java | 77 public void setMsgType(int msgType) { in setMsgType() argument 78 mType = msgType; in setMsgType() 106 public ContextHubMessage(int msgType, int version, byte[] data) { in ContextHubMessage() argument 107 mType = msgType; in ContextHubMessage()
|
/aosp12/frameworks/av/camera/include/camera/android/hardware/ |
H A D | 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…
|
/aosp12/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
H A D | BearerData.java | 230 bData.userData.msgType = 0; in decodeUserData() 234 bData.userData.msgType = inStream.read(8); in decodeUserData() 339 int msgType) in decodeGsmDcs() argument 341 if ((msgType & 0xC0) != 0) { in decodeGsmDcs() 343 + msgType + ")"); in decodeGsmDcs() 346 switch ((msgType >> 2) & 0x3) { in decodeGsmDcs() 355 + msgType + ")"); in decodeGsmDcs() 416 userData.numFields, userData.msgType); in decodeUserDataPayload() 517 alertUserData.msgType = 0; in decodeCmasUserData()
|
H A D | UserData.java | 128 public int msgType; field in UserData 149 builder.append(", msgType=" + msgType); in toString()
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
H A D | NetworkRequestErrorDialogFragment.java | 58 ERROR_DIALOG_TYPE msgType = ERROR_DIALOG_TYPE.TIME_OUT; in onCreateDialog() local 60 msgType = (ERROR_DIALOG_TYPE) getArguments().getSerializable(DIALOG_TYPE); in onCreateDialog() 64 if (msgType == ERROR_DIALOG_TYPE.TIME_OUT) { in onCreateDialog()
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/wifi/networkrequest/ |
H A D | NetworkRequestErrorDialogFragment.java | 54 ERROR_DIALOG_TYPE msgType = ERROR_DIALOG_TYPE.TIME_OUT; in onCreateDialog() local 56 msgType = (ERROR_DIALOG_TYPE) getArguments().getSerializable(DIALOG_TYPE); in onCreateDialog() 60 if (msgType == ERROR_DIALOG_TYPE.TIME_OUT) { in onCreateDialog()
|
/aosp12/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/ |
H A D | camera_service_fuzzer.cpp | 130 void notifyCallback(int32_t msgType, int32_t, int32_t) override; 131 void dataCallback(int32_t msgType, const sp<IMemory> &, camera_frame_metadata_t *) override; 140 void CameraFuzzer::notifyCallback(int32_t msgType, int32_t, int32_t) { in notifyCallback() argument 141 if (CAMERA_MSG_FOCUS == msgType) { in notifyCallback() 148 void CameraFuzzer::dataCallback(int32_t msgType, const sp<IMemory> & /*data*/, in dataCallback() argument 150 switch (msgType) { in dataCallback() 392 int msgType; in invokeCameraAPIs() local 394 msgType = mFuzzedDataProvider->ConsumeIntegral<int>(); in invokeCameraAPIs() 396 msgType = kCameraMsg[mFuzzedDataProvider->ConsumeIntegralInRange<size_t>( in invokeCameraAPIs() 399 cameraDevice->takePicture(msgType); in invokeCameraAPIs()
|
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | NetworkRequestErrorDialogFragment.java | 58 ERROR_DIALOG_TYPE msgType = ERROR_DIALOG_TYPE.TIME_OUT; in onCreateDialog() local 60 msgType = (ERROR_DIALOG_TYPE) getArguments().getSerializable(DIALOG_TYPE); in onCreateDialog() 64 if (msgType == ERROR_DIALOG_TYPE.TIME_OUT) { in onCreateDialog()
|
/aosp12/frameworks/base/services/core/java/com/android/server/powerstats/ |
H A D | PowerStatsLogTrigger.java | 34 protected void logPowerStatsData(int msgType) { in logPowerStatsData() argument 35 Message.obtain(mPowerStatsLogger, msgType).sendToTarget(); in logPowerStatsData()
|
/aosp12/system/chre/platform/slpi/ |
H A D | host_link.cc | 91 PendingMessage(PendingMessageType msgType, uint16_t hostClientId) { in PendingMessage() 92 type = msgType; in PendingMessage() 96 PendingMessage(PendingMessageType msgType, in PendingMessage() 98 type = msgType; in PendingMessage() 102 PendingMessage(PendingMessageType msgType, ChreFlatBufferBuilder *builder) { in PendingMessage() 103 type = msgType; in PendingMessage() 186 bool buildAndEnqueueMessage(PendingMessageType msgType, in buildAndEnqueueMessage() argument 194 static_cast<int>(msgType)); in buildAndEnqueueMessage() 200 if (!enqueueMessage(PendingMessage(msgType, builder.get()))) { in buildAndEnqueueMessage() 202 static_cast<int>(msgType)); in buildAndEnqueueMessage()
|
/aosp12/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
H A D | UserDataTest.java | 35 userdata.msgType = UserData.ENCODING_GSM_DCS_7BIT; in testToString() 43 userdataForComp.msgType = UserData.ENCODING_GSM_DCS_8BIT; in testToString()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
H A D | PduPersister.java | 551 final PduBody body = loadBody(msgId, msgType); in load() 552 return createPdu(msgType, headers, body); in load() 619 final PduBody body = loadBody(msgId, msgType); in load() 620 pdu = createPdu(msgType, headers, body); in load() 662 switch (msgType) { in createPdu() 709 if ((msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF) in loadBody() 710 || (msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)) { in loadBody() 1403 final int msgType = pdu.getMessageType(); in persist() local 1408 if ((msgType == PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND) in persist() 1410 || (msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)) { in persist() [all …]
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapAppObserver.java | 262 BluetoothMapUtils.TYPE msgType = BluetoothMapUtils.TYPE.NONE; in createReceiver() 288 msgType = BluetoothMapUtils.TYPE.EMAIL; in createReceiver() 291 msgType = BluetoothMapUtils.TYPE.IM; in createReceiver() 303 + " application of type " + msgType); in createReceiver() 306 mLoader.createAppItem(resolveInfo, false, msgType); in createReceiver()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
H A D | EventReport.java | 133 private Bmessage.Type parseMsgType(String msgType) throws IllegalArgumentException { in parseMsgType() argument 135 if (t.name().equals(msgType)) { in parseMsgType() 140 throw new IllegalArgumentException("Invalid value for msg_type: " + msgType); in parseMsgType()
|
/aosp12/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPConnection.cpp | 977 uint8_t msgType = data[0] & 0x1f; in parseTSFB() local 985 switch(msgType) { in parseTSFB() 1024 if (msgType == 3) in parseTSFB() 1027 else if (msgType == 4) in parseTSFB() 1034 notify->setInt32("feedback-type", msgType); in parseTSFB() 1044 ALOGI("Not supported TSFB type %d", msgType); in parseTSFB() 1059 uint8_t msgType = data[0] & 0x1f; in parsePSFB() local 1066 switch(msgType) { in parsePSFB() 1076 notify->setInt32("feedback-type", msgType); in parsePSFB() 1092 notify->setInt32("feedback-type", msgType); in parsePSFB() [all …]
|
/aosp12/hardware/qcom/camera/msm8998/QCamera2/HAL/test/ |
H A D | qcamera_test.h | 123 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2); 124 virtual void postData(int32_t msgType, 129 int32_t msgType, 132 int32_t msgType,
|