Home
last modified time | relevance | path

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

123456

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java187 if (msg.arg1 == BluetoothProfile.STATE_CONNECTED) { in processMessage()
241 .sendPassThroughCommandNative(Utils.getByteAddress(device), msg.arg1, in processMessage()
245 a2dpSinkService.informAvrcpPassThroughCmd(device, msg.arg1, msg.arg2); in processMessage()
251 mRemoteDevice.getBluetoothAddress(), msg.arg1, msg.arg2); in processMessage()
256 mGetFolderList.setBounds((int) msg.arg1, (int) msg.arg2); in processMessage()
264 mGetFolderList.setBounds(msg.arg1, msg.arg2); in processMessage()
272 mRemoteDevice.getBluetoothAddress(), (byte) msg.arg1, in processMessage()
279 int direction = msg.arg1; in processMessage()
287 mRemoteDevice.getBluetoothAddress(), (byte) msg.arg1, in processMessage()
291 sendMessage(MESSAGE_INTERNAL_BROWSE_DEPTH_INCREMENT, (byte) msg.arg1); in processMessage()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java180 Log.i(this, "Message received: %s=%d, arg1=%d", messageCodeName, msg.what, msg.arg1); in onPreHandleMessage()
240 msg.arg1 == INCLUDE_BLUETOOTH_IN_BASELINE)); in processMessage()
244 msg.arg1 == INCLUDE_BLUETOOTH_IN_BASELINE)); in processMessage()
247 mAudioFocusType = msg.arg1; in processMessage()
328 if (msg.arg1 == NO_FOCUS) { in processMessage()
392 if (msg.arg1 == ACTIVE_FOCUS || msg.arg1 == RINGING_FOCUS) { in processMessage()
511 if (msg.arg1 == NO_FOCUS) { in processMessage()
575 if (msg.arg1 == ACTIVE_FOCUS || msg.arg1 == RINGING_FOCUS) { in processMessage()
703 if (msg.arg1 == NO_FOCUS) { in processMessage()
705 } else if (msg.arg1 == RINGING_FOCUS) { in processMessage()
[all …]
DContactsAsyncHelper.java102 switch (msg.arg1) { in handleMessage()
121 Log.d(this, "Loading image: " + msg.arg1 + in handleMessage()
126 Log.d(this, "Problem with image: " + msg.arg1 + in handleMessage()
226 msg.arg1 = EVENT_LOAD_IMAGE; in startObtainPhotoAsync()
DAsyncRingtonePlayer.java54 args.arg1 = factory; in play()
117 RingtoneFactory factory = (RingtoneFactory) args.arg1;
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardDataTest.java375 public final int arg1; field in DashboardDataTest.ListUpdateResult.ResultData
378 public ResultData(int operation, int arg1, int arg2) { in ResultData() argument
380 this.arg1 = arg1; in ResultData()
396 return operation == targetData.operation && arg1 == targetData.arg1 in equals()
406 if (arg1 != resultData.arg1) { in compareTo()
407 return arg1 - resultData.arg1; in compareTo()
415 return "op:" + operation + ",arg1:" + arg1 + ",arg2:" + arg2; in toString()
/packages/apps/Calendar/src/com/android/calendar/
DContactsAsyncHelper.java89 switch (msg.arg1) { in handleMessage()
103 if (DBG) Log.d(LOG_TAG, "Loading image: " + msg.arg1 + in handleMessage()
107 if (DBG) Log.d(LOG_TAG, "Problem with image: " + msg.arg1 + in handleMessage()
117 reply.arg1 = msg.arg1; in handleMessage()
165 msg.arg1 = EVENT_LOAD_IMAGE; in updateImageViewWithContactPhotoAsync()
214 msg.arg1 = EVENT_LOAD_DRAWABLE; in retrieveContactPhotoAsync()
230 switch (msg.arg1) { in handleMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidDevService.java82 boolean success = (msg.arg1 != 0);
136 int halState = msg.arg1;
154 byte type = (byte) msg.arg1;
167 byte reportType = (byte) msg.arg1;
181 byte protocol = (byte) msg.arg1;
191 byte reportId = (byte) msg.arg1;
564 msg.arg1 = registered ? 1 : 0; in onApplicationStateChanged()
575 msg.arg1 = state; in onConnectStateChanged()
586 msg.arg1 = type; in onGetReport()
600 msg.arg1 = reportType; in onSetReport()
[all …]
DHidService.java179 int halState = msg.arg1;
215 int protocolMode = msg.arg1;
230 byte protocolMode = (byte) msg.arg1;
261 int status = msg.arg1;
289 int status = msg.arg1;
301 int idleTime = msg.arg1;
535 msg.arg1 = protocolMode; in setProtocolMode()
616 msg.arg1 = mode; in onGetProtocolMode()
623 msg.arg1 = idleTime; in onGetIdleTime()
640 msg.arg1 = status; in onHandshake()
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DContactsAsyncHelper.java76 switch (msg.arg1) {
142 msg.arg1 = EVENT_LOAD_IMAGE; in startObtainPhotoAsync()
174 switch (msg.arg1) { in handleMessage()
194 + msg.arg1 in handleMessage()
205 + msg.arg1 in handleMessage()
230 reply.arg1 = msg.arg1; in handleMessage()
DCallerInfoAsyncQuery.java585 + msg.arg1 in handleMessage()
621 updateData(msg.arg1, cw, cursor); in handleMessage()
628 updateData(msg.arg1, cw, (Cursor) args.result); in handleMessage()
634 reply.arg1 = msg.arg1; in handleMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java126 if (V) Log.v(TAG, "Reg masId: " + msg.arg1 + " notfStatus: " + msg.arg2); in handleMessage()
128 handleRegistration(msg.arg1 /*masId*/, msg.arg2 /*status*/); in handleMessage()
135 sendEventHandler((byte[])msg.obj/*byte[]*/, msg.arg1 /*masId*/); in handleMessage()
141 mMnsLstRegRqst = new MnsSdpSearchInfo(true, msg.arg1, msg.arg2); in handleMessage()
145 msg.arg1, msg.arg2); in handleMessage()
146 if (V) Log.v(TAG, "SearchReg masId: " + msg.arg1 + " notfStatus: " + msg.arg2); in handleMessage()
258 msg.arg1 = masId; in handleRegistration()
288 msgReg.arg1 = mMnsLstRegRqst.lastMasId; in setMnsRecord()
290 if (V) Log.v(TAG, "SearchReg masId: " + msgReg.arg1 in setMnsRecord()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DBondStateMachine.java128 createBond(dev, msg.arg1, oobData, true); in processMessage()
134 int newState = msg.arg1; in processMessage()
195 result = createBond(dev, msg.arg1, oobData, false); in processMessage()
204 int newState = msg.arg1; in processMessage()
235 int passkey = msg.arg1; in processMessage()
412 msg.arg1 = BluetoothDevice.BOND_BONDED; in bondStateChangeCallback()
414 msg.arg1 = BluetoothDevice.BOND_BONDING; in bondStateChangeCallback()
416 msg.arg1 = BluetoothDevice.BOND_NONE; in bondStateChangeCallback()
467 msg.arg1 = passkey; in sspRequestCallback()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcp.java462 mFeatures = msg.arg1; in handleMessage()
467 + ", features=" + msg.arg1 + ", mFeatures=" + mFeatures); in handleMessage()
521 if (DEBUG) Log.v(TAG, "MSG_NATIVE_REQ_REGISTER_NOTIFICATION:event=" + msg.arg1 + in handleMessage()
523 processRegisterNotification((byte[]) msg.obj, msg.arg1, msg.arg2); in handleMessage()
541 byte absVol = (byte) ((byte) msg.arg1 & 0x7f); // discard MSB as it is RFD in handleMessage()
624 if (DEBUG) Log.d(TAG, "MSG_ADJUST_VOLUME: direction=" + msg.arg1); in handleMessage()
639 if (mRemoteVolume != -1 && (msg.arg1 == -1 || msg.arg1 == 1)) { in handleMessage()
642 if (mLocalVolume == 0 && msg.arg1 == -1) { in handleMessage()
646 if (mLocalVolume == mAudioStreamMax && msg.arg1 == 1) { in handleMessage()
651 targetVolIndex = mLocalVolume + msg.arg1; in handleMessage()
[all …]
/packages/apps/MusicFX/src/com/android/musicfx/
DControlPanelEffect.java555 final int audioSession, final Key key, final int arg0, final int arg1) { in setParameterInt() argument
590 if (arg1 == DUMMY_ARGUMENT) { in setParameterInt()
593 final short band = (short) arg1; in setParameterInt()
653 if (arg1 == DUMMY_ARGUMENT) { in setParameterInt()
656 final short band = (short) arg1; in setParameterInt()
690 if (arg1 == DUMMY_ARGUMENT) { in setParameterInt()
693 final short band = (short) arg1; in setParameterInt()
739 if (arg1 == DUMMY_ARGUMENT) { in setParameterInt()
742 final short band = (short) arg1; in setParameterInt()
760 Log.e(TAG, "setParameterInt: " + key + "; " + arg0 + "; " + arg1 + "; " + e); in setParameterInt()
[all …]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgress.java111 if (msg.arg1 != PackageManager.DELETE_SUCCEEDED) { in handleMessage()
115 mResultCode = msg.arg1; in handleMessage()
142 switch (msg.arg1) { in handleMessage()
220 + msg.arg1 + " no blocking user"); in handleMessage()
231 + msg.arg1); in handleMessage()
312 msg.arg1 = returnCode; in packageDeleted()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothRouteManager.java105 args.arg1 = session;
266 args.arg1 = Log.createSubsession(); in enter()
564 Log.continueSession(((Session) args.arg1), "BRM.pM_" + msg.what); in onPreHandleMessage()
620 args.arg1 = Log.createSubsession(); in connectBluetoothAudio()
630 args.arg1 = Log.createSubsession(); in disconnectBluetoothAudio()
640 args.arg1 = Log.createSubsession(); in onDeviceAdded()
647 args.arg1 = Log.createSubsession(); in onDeviceLost()
697 args.arg1 = Log.createSubsession(); in connectHfpAudio()
/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/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);
DProcessingTask.java56 msg.arg1 = ProcessingTaskController.UPDATE; in postUpdate()
64 msg.arg1 = ProcessingTaskController.RESULT; in processRequest()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java344 msg.arg1 = op; in onStart()
346 switch(msg.arg1) { in onStart()
489 int opcode = msg.arg1; in handleMessage()
714 msg.arg1 = OP_RESPONSE; in sendResponse()
763 msg.arg1 = OP_DELAYED_MSG; in callDelayedMsg()
771 msg.arg1 = inst_type; in callSetActivityInstMsg()
1724 msg.arg1 = OP_STOP_TONE; in playTone()
1761 if (msg.arg1 == OP_STOP_TONE) { in handleStopTone()
1766 } else if (msg.arg1 == OP_STOP_TONE_USER) { in handleStopTone()
1807 message.arg1 = OP_RESPONSE; in launchOpenChannelDialog()
[all …]
/packages/services/Telephony/src/com/android/phone/settings/
DVoicemailSettingsActivity.java718 handleForwardingSettingsReadResult(result, msg.arg1);
826 mForwardingChangeResults.put(msg.arg1, result);
828 Log.w(LOG_TAG, "Error in setting fwd# " + msg.arg1 + ": " +
886 mForwardingChangeResults.put(msg.arg1, result);
888 if (DBG) log("Error in reverting fwd# " + msg.arg1 + ": " +
/packages/services/Car/service/src/com/android/car/
DCarVolumeControllerFactory.java285 stream = msg.arg1; in handleMessage()
321 stream = msg.arg1; in handleMessage()
332 Log.d(TAG, "Suppress stream volume " + msg.arg1 + " " + msg.arg2); in handleMessage()
336 mSuppressUiForVolume[0] = msg.arg1; in handleMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppService.java259 if (V) Log.v(TAG, "Update mInfo.id " + msg.arg1 + " for data uri= "
262 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + msg.arg1);
273 Log.v(TAG, "Update mInfo.id " + msg.arg1 + " for MEDIA_SCANNED_FAILED");
275 Uri contentUri1 = Uri.parse(BluetoothShare.CONTENT_URI + "/" + msg.arg1);
1040 msg.arg1 = mInfo.mId; in onScanCompleted()
1047 msg.arg1 = mInfo.mId; in onScanCompleted()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConfirmDialogFragment.java52 public void onClick(DialogInterface arg0, int arg1) {
59 listener.onClick(arg0, arg1);
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPendingRequestArgs.java48 private PendingRequestArgs(int arg1, int objectType, Parcelable object) { in PendingRequestArgs() argument
49 mArg1 = arg1; in PendingRequestArgs()

123456