Home
last modified time | relevance | path

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

12345678910

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/util/
DStateMachineShimTest.kt70 val arg1 = 11 in makeSyncStateMachine() constant
71 shimUsingSyncSM.sendMessage(what, arg1) in makeSyncStateMachine()
72 inOrder.verify(mSyncSM).processMessage(what, arg1, 0, null) in makeSyncStateMachine()
74 shimUsingSyncSM.sendMessage(what, arg1, arg2, obj) in makeSyncStateMachine()
75 inOrder.verify(mSyncSM).processMessage(what, arg1, arg2, obj) in makeSyncStateMachine()
82 shimUsingSyncSM.sendMessageAtFrontOfQueueToAsyncSM(what, arg1) in makeSyncStateMachine()
116 val arg1 = 11 in testUsingAsyncStateMachine() constant
117 shimUsingAsyncSM.sendMessage(what, arg1) in testUsingAsyncStateMachine()
118 inOrder.verify(mAsyncSM).sendMessage(what, arg1, 0, null) in testUsingAsyncStateMachine()
120 shimUsingAsyncSM.sendMessage(what, arg1, arg2, obj) in testUsingAsyncStateMachine()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/util/
DStateMachineShim.java115 public void sendMessage(int what, int arg1) { in sendMessage() argument
116 sendMessage(what, arg1, 0, null); in sendMessage()
129 public void sendMessage(int what, int arg1, int arg2, Object obj) { in sendMessage() argument
131 mSyncSM.processMessage(what, arg1, arg2, obj); in sendMessage()
133 mAsyncSM.sendMessage(what, arg1, arg2, obj); in sendMessage()
157 protected void sendMessageAtFrontOfQueueToAsyncSM(int what, int arg1) { in sendMessageAtFrontOfQueueToAsyncSM() argument
163 mAsyncSM.sendMessageAtFrontOfQueueToAsyncSM(what, arg1); in sendMessageAtFrontOfQueueToAsyncSM()
192 public void sendMessageAtFrontOfQueueToAsyncSM(int what, int arg1) { in sendMessageAtFrontOfQueueToAsyncSM() argument
193 sendMessageAtFrontOfQueue(what, arg1); in sendMessageAtFrontOfQueueToAsyncSM()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiP2pConnection.java76 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in handleMessage()
84 Log.e(TAG, "WifiP2pService connection failure, error=" + msg.arg1); in handleMessage()
93 Log.e(TAG, "WifiP2pService channel lost, message.arg1 =" + msg.arg1); in handleMessage()
100 mTemporarilyDisconnectWifi = (msg.arg1 == 1); in handleMessage()
148 public boolean sendMessage(int what, int arg1) { in sendMessage() argument
153 mWifiP2pChannel.sendMessage(what, arg1); in sendMessage()
158 public boolean sendMessage(int what, int arg1, int arg2) { in sendMessage() argument
163 mWifiP2pChannel.sendMessage(what, arg1, arg2); in sendMessage()
/packages/modules/adb/
Dadb_utils.cpp193 char arg0[12], arg1[12]; in dump_header() local
213 if (msg->arg1 < 256U) in dump_header()
214 snprintf(arg1, sizeof arg1, "%d", msg->arg1); in dump_header()
216 snprintf(arg1, sizeof arg1, "0x%x", msg->arg1); in dump_header()
218 return android::base::StringPrintf("[%s] arg0=%s arg1=%s (len=%d) ", cmd, arg0, arg1, len); in dump_header()
Dadb.cpp220 label, tag, p->msg.arg0, p->msg.arg1, p->msg.data_length); in print_packet()
246 p->msg.arg1 = remote; in send_ready()
262 p->msg.arg1 = remote; in send_close()
307 cp->msg.arg1 = t->get_max_payload(); in send_connect()
382 t->update_version(p->msg.arg0, p->msg.arg1); in handle_new_connection()
389 ADB_LOG(Connection) << "received CNXN: version=" << p->msg.arg0 << ", maxdata = " << p->msg.arg1 in handle_new_connection()
478 uint32_t send_bytes = static_cast<uint32_t>(p->msg.arg1); in handle_packet()
527 if (t->online && p->msg.arg0 != 0 && p->msg.arg1 != 0) { in handle_packet()
528 asocket* s = find_local_socket(p->msg.arg1, 0); in handle_packet()
556 p->msg.arg1, s->peer->id, p->msg.arg1, t->serial.c_str()); in handle_packet()
[all …]
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/wfc/
DWfcActivationHelper.java113 msg.arg1 = checkWiFiAvailability() ? WIFI_CONNECTION_SUCCESS : WIFI_CONNECTION_ERROR; in checkWiFi()
163 obtainMessage(EVENT_START_ATTEMPT, msg.arg1, 0), in handleMessage()
180 Log.d(TAG, "Will timeout after " + msg.arg1 + " ms"); in handleMessage()
181 sendEmptyMessageDelayed(EVENT_TIMEOUT, /* delayMillis= */ msg.arg1); in handleMessage()
194 result.arg1 = EPDG_CONNECTION_SUCCESS; in handleMessage()
205 result.arg1 = EPDG_CONNECTION_ERROR; in handleMessage()
223 if (result.arg1 == EPDG_CONNECTION_SUCCESS) { in handleMessage()
279 msg.arg1 = EPDG_CONNECTION_ERROR; in tryEpdgConnectionOverWiFi()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareStateManager.java980 msg.arg1 = COMMAND_TYPE_DELAYED_INITIALIZATION; in delayedInitialization()
990 msg.arg1 = COMMAND_TYPE_GET_AWARE; in getAwareInterface()
1001 msg.arg1 = COMMAND_TYPE_RELEASE_AWARE; in releaseAwareInterface()
1198 msg.arg1 = COMMAND_TYPE_CONNECT; in connect()
1231 msg.arg1 = COMMAND_TYPE_DISCONNECT; in disconnect()
1243 msg.arg1 = COMMAND_TYPE_DISABLE; in deferDisableAware()
1255 msg.arg1 = COMMAND_TYPE_RECONFIGURE; in reconfigure()
1264 msg.arg1 = COMMAND_TYPE_TERMINATE_SESSION; in terminateSession()
1277 msg.arg1 = COMMAND_TYPE_PUBLISH; in publish()
1290 msg.arg1 = COMMAND_TYPE_UPDATE_PUBLISH; in updatePublish()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java150 Session session = (Session) ((SomeArgs) msg.obj).arg1; in onPreHandleMessage()
153 Log.i(this, "Message received: %s=%d, arg1=%d", messageCodeName, msg.what, msg.arg1); in onPreHandleMessage()
229 msg.arg1 == INCLUDE_BLUETOOTH_IN_BASELINE)); in processMessage()
233 msg.arg1 == INCLUDE_BLUETOOTH_IN_BASELINE)); in processMessage()
241 if (mAudioFocusType != NO_FOCUS && msg.arg1 == NO_FOCUS) { in processMessage()
243 } else if (mAudioFocusType == NO_FOCUS && msg.arg1 != NO_FOCUS) { in processMessage()
246 mAudioFocusType = msg.arg1; in processMessage()
366 if (msg.arg1 == NO_FOCUS) { in processMessage()
440 if (msg.arg1 == ACTIVE_FOCUS || msg.arg1 == RINGING_FOCUS) { in processMessage()
592 if (msg.arg1 == NO_FOCUS) { in processMessage()
[all …]
DContactsAsyncHelper.java113 switch (msg.arg1) { in handleMessage()
132 Log.d(this, "Loading image: " + msg.arg1 + in handleMessage()
137 Log.d(this, "Problem with image: " + msg.arg1 + in handleMessage()
237 msg.arg1 = EVENT_LOAD_IMAGE; in startObtainPhotoAsync()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DTestPermissionUtil.kt89 private fun getNonEmptyVarargs(arg1: String, arg2: String, arg3: String): Array<String> { in getNonEmptyVarargs()
91 arg2 == "" -> arrayOf(arg1) in getNonEmptyVarargs()
92 arg3 == "" -> arrayOf(arg1, arg2) in getNonEmptyVarargs()
93 else -> arrayOf(arg1, arg2, arg3) in getNonEmptyVarargs()
/packages/services/Car/car_product/car_ui_portrait/rro/CarUIPortraitCommon/src/com/android/car/caruiportrait/common/service/
DCarUiPortraitService.java187 intToBoolean(msg.arg1)); in handleMessage()
193 intToBoolean(msg.arg1)); in handleMessage()
199 intToBoolean(msg.arg1)); in handleMessage()
203 int val = msg.arg1; in handleMessage()
213 intToBoolean(msg.arg1)); in handleMessage()
215 intToBoolean(msg.arg1)); in handleMessage()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hid/
DHidDeviceService.java110 boolean success = (msg.arg1 != 0); in handleMessage()
166 int halState = msg.arg1; in handleMessage()
186 byte type = (byte) msg.arg1; in handleMessage()
201 byte reportType = (byte) msg.arg1; in handleMessage()
216 byte protocol = (byte) msg.arg1; in handleMessage()
228 byte reportId = (byte) msg.arg1; in handleMessage()
252 int importance = msg.arg1; in handleMessage()
287 message.arg1 = importance;
793 msg.arg1 = registered ? 1 : 0; in onApplicationStateChangedFromNative()
802 msg.arg1 = state; in onConnectStateChangedFromNative()
[all …]
DHidHostService.java460 int transport = msg.arg1; in handleMessageSetPreferredTransport()
503 int transport = msg.arg1; in handleMessageOnGetIdleTime()
523 int transport = msg.arg1; in handleMessageOnVirtualUnplug()
548 int transport = msg.arg1; in handleMessageOnHandshake()
559 int transport = msg.arg1; in handleMessageOnGetReport()
589 byte protocolMode = (byte) msg.arg1; in handleMessageSetProtocolMode()
610 int transport = msg.arg1; in handleMessageOnGetProtocolMode()
630 int transport = msg.arg1; in handleMessageConnectStateChanged()
701 int connectionPolicy = msg.arg1; in handleMessageDisconnect()
1027 msg.arg1 = connectionPolicy; in disconnect()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java124 Log.v(TAG, "Reg masId: " + msg.arg1 + " notfStatus: " + msg.arg2); in handleMessage()
126 handleRegistration(msg.arg1 /*masId*/, msg.arg2 /*status*/); in handleMessage()
133 sendEventHandler((byte[]) msg.obj /*byte[]*/, msg.arg1 /*masId*/); in handleMessage()
139 mMnsLstRegRqst = new MnsSdpSearchInfo(true, msg.arg1, msg.arg2); in handleMessage()
143 MSG_MNS_NOTIFICATION_REGISTRATION, msg.arg1, msg.arg2); in handleMessage()
144 Log.v(TAG, "SearchReg masId: " + msg.arg1 + " notfStatus: " + msg.arg2); in handleMessage()
264 msg.arg1 = masId; in handleRegistration()
298 msgReg.arg1 = mMnsLstRegRqst.lastMasId; in setMnsRecord()
300 Log.v(TAG, "SearchReg masId: " + msgReg.arg1 + " notfStatus: " + msgReg.arg2); in setMnsRecord()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/wfc/
DWfcActivationHelperTest.java137 assertThat(mCaughtMessages[0].arg1).isEqualTo(WfcActivationHelper.WIFI_CONNECTION_SUCCESS); in checkWiFi_networkInfoTypeWiFi_wiFiConnectionSuccess()
150 assertThat(mCaughtMessages[0].arg1).isEqualTo(WfcActivationHelper.WIFI_CONNECTION_ERROR); in checkWiFi_networkInfoTypeMobile_wiFiConnectionError()
169 assertThat(mCaughtMessages[0].arg1).isEqualTo(WfcActivationHelper.WIFI_CONNECTION_ERROR); in tryEpdgConnectionOverWiFi_imsMmTelManagerNull_wiFiConnectionError()
185 assertThat(mCaughtMessages[0].arg1).isEqualTo(WfcActivationHelper.EPDG_CONNECTION_SUCCESS); in tryEpdgConnectionOverWiFi_showVowifiPortalFalse_resultSuccess()
201 assertThat(mCaughtMessages[0].arg1).isEqualTo(WfcActivationHelper.EPDG_CONNECTION_ERROR); in tryEpdgConnectionOverWiFi_showVowifiPortalTrue_resultError()
231 assertThat(mCaughtMessages[0].arg1).isEqualTo(WfcActivationHelper.EPDG_CONNECTION_SUCCESS); in tryEpdgConnectionOverWiFi_success()
261 assertThat(mCaughtMessages[0].arg1).isEqualTo(WfcActivationHelper.EPDG_CONNECTION_ERROR); in tryEpdgConnectionOverWiFi_failure()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPendingRequestArgs.java52 private PendingRequestArgs(int arg1, int objectType, Parcelable object) { in PendingRequestArgs() argument
53 this(arg1, 0, objectType, object); in PendingRequestArgs()
56 private PendingRequestArgs(int arg1, int arg2, int objectType, Parcelable object) { in PendingRequestArgs() argument
57 mArg1 = arg1; in PendingRequestArgs()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesShellCommandTest.java364 String arg1 = "ARG1"; in testExec_validAdServicesShellCommand_withArgs() local
369 mockRunShellCommand(response, DEFAULT_MAX_COMMAND_DURATION_MILLIS, cmd, arg1, arg2); in testExec_validAdServicesShellCommand_withArgs()
371 int result = runCmd(cmd, arg1, arg2); in testExec_validAdServicesShellCommand_withArgs()
381 String arg1 = "ARG1"; in testExec_validAdServicesShellCommandWithTimeout() local
386 mockRunShellCommand(response, timeout - TIMEOUT_OFFSET_MILLIS, cmd, arg1); in testExec_validAdServicesShellCommandWithTimeout()
388 int result = runCmd(cmd, arg1, "--timeout", String.valueOf(timeout)); in testExec_validAdServicesShellCommandWithTimeout()
398 String arg1 = "ARG1"; in testExec_validAdServicesShellCommandWithTimeoutInAnyOrder() local
403 mockRunShellCommand(response, timeout - TIMEOUT_OFFSET_MILLIS, cmd, arg1); in testExec_validAdServicesShellCommandWithTimeoutInAnyOrder()
405 int result = runCmd(cmd, "--timeout", String.valueOf(timeout), arg1); in testExec_validAdServicesShellCommandWithTimeoutInAnyOrder()
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/
Darguments_parser_test.cpp137 const std::vector<std::string> &arg1 = in TEST() local
139 EXPECT_EQ(2u, arg1.size()); in TEST()
140 EXPECT_EQ("arg1", arg1[0]); in TEST()
141 EXPECT_EQ("arg2", arg1[1]); in TEST()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkAgent.java665 + (msg.arg1 == VALID_NETWORK ? "VALID, " : "INVALID, ") in handleMessage()
676 onValidationStatus(msg.arg1 /* status */, uri); in handleMessage()
680 onSaveAcceptUnvalidated(msg.arg1 != 0); in handleMessage()
684 onStartSocketKeepalive(msg.arg1 /* slot */, in handleMessage()
690 onStopSocketKeepalive(msg.arg1 /* slot */); in handleMessage()
703 onAddKeepalivePacketFilter(msg.arg1 /* slot */, in handleMessage()
708 onRemoveKeepalivePacketFilter(msg.arg1 /* slot */); in handleMessage()
713 msg.arg1 /* QoS callback id */, in handleMessage()
719 msg.arg1 /* QoS callback id */); in handleMessage()
732 msg.arg1 /* Policy ID */, in handleMessage()
[all …]
/packages/modules/Virtualization/vmbase/src/
Dentry.rs95 fn main(arg0: u64, arg1: u64, arg2: u64, arg3: u64); in main()
123 fn __main(arg0: u64, arg1: u64, arg2: u64, arg3: u64) {
125 $name(arg0, arg1, arg2, arg3)
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DProcessingTaskController.java44 if (msg.arg1 == RESULT) {
46 } else if (msg.arg1 == UPDATE) {
49 Log.w(LOGTAG, "received unknown message! " + msg.arg1);
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pMonitor.java186 private void sendMessage(String iface, int what, int arg1) { in sendMessage() argument
187 sendMessage(iface, Message.obtain(null, what, arg1, 0)); in sendMessage()
190 private void sendMessage(String iface, int what, int arg1, int arg2) { in sendMessage() argument
191 sendMessage(iface, Message.obtain(null, what, arg1, arg2)); in sendMessage()
194 private void sendMessage(String iface, int what, int arg1, int arg2, Object obj) { in sendMessage() argument
195 sendMessage(iface, Message.obtain(null, what, arg1, arg2, obj)); in sendMessage()
/packages/modules/Bluetooth/system/log/include/bluetooth/
Dlog.h172 fmt::format_string<T0, T1> fmt, T0&& arg0, T1&& arg1,
177 log_internal::format_replace(arg1)));
183 fmt::format_string<T0, T1, T2> fmt, T0&& arg0, T1&& arg1, T2&& arg2,
188 log_internal::format_replace(arg1),
195 fmt::format_string<T0, T1, T2, T3> fmt, T0&& arg0, T1&& arg1, T2&& arg2,
201 log_internal::format_replace(arg1),
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/spe/
DJobUtilTest.java96 String arg1 = "someName"; in testLogV() local
97 String formattedString = String.format(Locale.ENGLISH, stringToLog, arg1); in testLogV()
99 JobUtil.logV(stringToLog, arg1); in testLogV()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java426 mCoverArtPsm = message.arg1; in processMessage()
474 int state = msg.arg1; in processMessage()
500 int newState = msg.arg1; in processMessage()
547 handleAbsVolumeRequest(msg.arg1, msg.arg2); in processMessage()
551 mVolumeNotificationLabel = msg.arg1; in processMessage()
569 passThru(msg.arg1); in processMessage()
573 setRepeat(msg.arg1); in processMessage()
577 setShuffle(msg.arg1); in processMessage()
599 + AvrcpControllerUtils.playbackStateToString(msg.arg1)); in processMessage()
600 mAddressedPlayer.setPlayStatus(msg.arg1); in processMessage()
[all …]

12345678910