Searched refs:arg1 (Results 1 - 25 of 323) sorted by relevance

1234567891011>>

/frameworks/base/core/java/com/android/internal/os/
H A DHandlerCaller.java113 public Message obtainMessageBO(int what, boolean arg1, Object arg2) { argument
114 return mH.obtainMessage(what, arg1 ? 1 : 0, 0, arg2);
117 public Message obtainMessageBOO(int what, boolean arg1, Object arg2, Object arg3) { argument
119 args.arg1 = arg2;
121 return mH.obtainMessage(what, arg1 ? 1 : 0, 0, args);
124 public Message obtainMessageO(int what, Object arg1) { argument
125 return mH.obtainMessage(what, 0, 0, arg1);
128 public Message obtainMessageI(int what, int arg1) { argument
129 return mH.obtainMessage(what, arg1, 0);
132 public Message obtainMessageII(int what, int arg1, in argument
136 obtainMessageIO(int what, int arg1, Object arg2) argument
140 obtainMessageIIO(int what, int arg1, int arg2, Object arg3) argument
144 obtainMessageIIOO(int what, int arg1, int arg2, Object arg3, Object arg4) argument
152 obtainMessageIOO(int what, int arg1, Object arg2, Object arg3) argument
159 obtainMessageIOOO(int what, int arg1, Object arg2, Object arg3, Object arg4) argument
167 obtainMessageIIOOO(int what, int arg1, int arg2, Object arg3, Object arg4, Object arg5) argument
176 obtainMessageIIOOOO(int what, int arg1, int arg2, Object arg3, Object arg4, Object arg5, Object arg6) argument
186 obtainMessageOO(int what, Object arg1, Object arg2) argument
193 obtainMessageOOO(int what, Object arg1, Object arg2, Object arg3) argument
201 obtainMessageOOOO(int what, Object arg1, Object arg2, Object arg3, Object arg4) argument
211 obtainMessageOOOOO(int what, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5) argument
222 obtainMessageOOOOII(int what, Object arg1, Object arg2, Object arg3, Object arg4, int arg5, int arg6) argument
234 obtainMessageIIII(int what, int arg1, int arg2, int arg3, int arg4) argument
244 obtainMessageIIIIII(int what, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6) argument
256 obtainMessageIIIIO(int what, int arg1, int arg2, int arg3, int arg4, Object arg5) argument
[all...]
/frameworks/base/cmds/interrupter/
H A Dinterrupter.h17 #define CONCATENATE(arg1, arg2) CONCATENATE1(arg1, arg2)
18 #define CONCATENATE1(arg1, arg2) CONCATENATE2(arg1, arg2)
19 #define CONCATENATE2(arg1, arg2) arg1##arg2
31 ret sym(type1 arg1) { \
33 return real_##sym(arg1); \
38 ret sym(type1 arg1, type2 arg2) { \
40 return real_##sym(arg1, arg
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeIInputMethodManager.java43 public void addClient(IInputMethodClient arg0, IInputContext arg1, int arg2, int arg3) argument
69 boolean arg1) throws RemoteException {
93 public void hideMySoftInput(IBinder arg0, int arg1) throws RemoteException { argument
99 public boolean hideSoftInput(IInputMethodClient arg0, int arg1, ResultReceiver arg2) argument
106 public boolean notifySuggestionPicked(SuggestionSpan arg0, String arg1, int arg2) argument
126 public void setAdditionalInputMethodSubtypes(String arg0, InputMethodSubtype[] arg1) argument
138 public void setImeWindowStatus(IBinder arg0, IBinder arg1, int arg2, int arg3) argument
144 public void setInputMethod(IBinder arg0, String arg1) throws RemoteException { argument
150 public void setInputMethodAndSubtype(IBinder arg0, String arg1, InputMethodSubtype arg2) argument
157 public boolean setInputMethodEnabled(String arg0, boolean arg1) throw argument
68 getEnabledInputMethodSubtypeList(String arg0, boolean arg1) argument
163 showInputMethodAndSubtypeEnablerFromClient(IInputMethodClient arg0, String arg1) argument
170 showInputMethodPickerFromClient(IInputMethodClient arg0, int arg1) argument
177 showMySoftInput(IBinder arg0, int arg1) argument
183 showSoftInput(IInputMethodClient arg0, int arg1, ResultReceiver arg2) argument
196 switchToNextInputMethod(IBinder arg0, boolean arg1) argument
219 updateStatusIcon(IBinder arg0, String arg1, int arg2) argument
[all...]
H A DBridgePowerManager.java58 public void acquireWakeLock(IBinder arg0, int arg1, String arg2, String arg2_5, WorkSource arg3, String arg4) argument
64 public void acquireWakeLockWithUid(IBinder arg0, int arg1, String arg2, String arg2_5, int arg3) argument
80 public void goToSleep(long arg0, int arg1, int arg2) throws RemoteException { argument
105 public void releaseWakeLock(IBinder arg0, int arg1) throws RemoteException { argument
110 public void updateWakeLockUids(IBinder arg0, int[] arg1) throws RemoteException { argument
115 public void setAttentionLight(boolean arg0, int arg1) throws RemoteException { argument
135 public void updateWakeLockWorkSource(IBinder arg0, WorkSource arg1, String arg2) throws RemoteException { argument
H A DBridgeContentProvider.java51 public int bulkInsert(String callingPackage, Uri arg0, ContentValues[] arg1) argument
58 public Bundle call(String callingPackage, String arg0, String arg1, Bundle arg2) argument
65 public int delete(String callingPackage, Uri arg0, String arg1, String[] arg2) argument
78 public Uri insert(String callingPackage, Uri arg0, ContentValues arg1) throws RemoteException { argument
85 String callingPackage, Uri arg0, String arg1, ICancellationSignal signal)
93 String callingPackage, Uri arg0, String arg1, ICancellationSignal signal, IBinder token)
100 public Cursor query(String callingPackage, Uri arg0, String[] arg1, argument
107 public int update(String callingPackage, Uri arg0, ContentValues arg1, String arg2, argument
120 public String[] getStreamTypes(Uri arg0, String arg1) throws RemoteException { argument
126 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri arg0, String arg1, argument
84 openAssetFile( String callingPackage, Uri arg0, String arg1, ICancellationSignal signal) argument
92 openFile( String callingPackage, Uri arg0, String arg1, ICancellationSignal signal, IBinder token) argument
[all...]
H A DBridgeWindow.java46 public void executeCommand(String arg0, String arg1, ParcelFileDescriptor arg2) argument
59 public void moved(int arg0, int arg1) throws RemoteException { argument
64 public void windowFocusChanged(boolean arg0, boolean arg1) throws RemoteException { argument
/frameworks/base/tools/preload2/src/com/android/preload/classdataretrieval/hprof/
H A DGeneralHprofDumpHandler.java48 public void onEndFailure(Client arg0, String arg1) { argument
51 h.onEndFailure(arg0, arg1);
56 public void onSuccess(String arg0, Client arg1) { argument
59 h.onSuccess(arg0, arg1);
64 public void onSuccess(byte[] arg0, Client arg1) { argument
67 h.onSuccess(arg0, arg1);
/frameworks/base/core/java/com/android/internal/util/
H A DWakeupMessage.java53 String cmdName, int cmd, int arg1, int arg2, Object obj) {
58 mArg1 = arg1;
63 public WakeupMessage(Context context, Handler handler, String cmdName, int cmd, int arg1) { argument
64 this(context, handler, cmdName, cmd, arg1, 0, null);
68 String cmdName, int cmd, int arg1, int arg2) {
69 this(context, handler, cmdName, cmd, arg1, arg2, null);
52 WakeupMessage(Context context, Handler handler, String cmdName, int cmd, int arg1, int arg2, Object obj) argument
67 WakeupMessage(Context context, Handler handler, String cmdName, int cmd, int arg1, int arg2) argument
H A DAsyncChannel.java103 * msg.arg1 == 0 : STATUS_SUCCESSFUL
123 * msg.arg1 == 0 : Accept connection
144 * msg.arg1 == 0 : STATUS_SUCCESSFUL
296 status = response.arg1;
305 * msg.arg1 = status
351 * msg.arg1 = status
366 * msg.arg1 = status
425 * msg.arg1 = status
503 * @param arg1
505 public void sendMessage(int what, int arg1) { argument
519 sendMessage(int what, int arg1, int arg2) argument
535 sendMessage(int what, int arg1, int arg2, Object obj) argument
592 replyToMessage(Message srcMsg, int what, int arg1) argument
607 replyToMessage(Message srcMsg, int what, int arg1, int arg2) argument
624 replyToMessage(Message srcMsg, int what, int arg1, int arg2, Object obj) argument
678 sendMessageSynchronously(int what, int arg1) argument
694 sendMessageSynchronously(int what, int arg1, int arg2) argument
712 sendMessageSynchronously(int what, int arg1, int arg2, Object obj) argument
[all...]
/frameworks/base/core/proto/android/os/
H A Dmessage.proto30 int32 arg1 = 4;
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
H A DCustomConfigLoader.java43 // delimiters for parsing carrier configs of the form "arg1, arg2 : action1, action2"
81 String arg1 = null;
91 arg1 = intent.getStringExtra(TelephonyIntents.EXTRA_APN_TYPE_KEY);
106 matchConfig(config, arg1, arg2, actionList);
114 Rlog.d(TAG, "no matching entry for signal: " + intent.getAction() + "arg1: " + arg1
122 * passing arg1, arg2 should match the format of the config
123 * case 1: config {actionIdx1, actionIdx2...} arg1 and arg2 must be null
124 * case 2: config {arg1, arg2 : actionIdx1, actionIdx2...} requires full match of non-null args
125 * case 3: config {arg1
132 matchConfig(String config, String arg1, String arg2, List<Integer> actionList) argument
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DConnectionServiceAdapterServant.java94 (String) args.arg1,
118 mDelegate.setDisconnected((String) args.arg1, (DisconnectCause) args.arg2,
129 mDelegate.setRingbackRequested((String) msg.obj, msg.arg1 == 1,
133 mDelegate.setConnectionCapabilities((String) msg.obj, msg.arg1,
137 mDelegate.setConnectionProperties((String) msg.obj, msg.arg1,
143 mDelegate.setIsConferenced((String) args.arg1, (String) args.arg2,
154 (String) args.arg1, (ParcelableConference) args.arg2,
168 mDelegate.onPostDialWait((String) args.arg1, (String) args.arg2,
178 mDelegate.onPostDialChar((String) args.arg1, (char) args.argi1,
190 mDelegate.setVideoState((String) msg.obj, msg.arg1, nul
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DMessageQueueTest.java49 assertThat(msg.arg1, is(1));
65 assertThat(msg.arg1, is(2));
69 assertThat(msg.arg1, is(4));
73 assertThat(msg.arg1, is(6));
87 assertThat(msg.arg1, is(4));
91 assertThat(msg.arg1, is(2));
95 assertThat(msg.arg1, is(6));
114 assertThat(msg.arg1, is(0));
118 assertThat(msg.arg1, is(1));
122 assertThat(msg.arg1, i
[all...]
/frameworks/base/core/java/android/os/
H A DMessage.java44 * arg1 and arg2 are lower-cost alternatives to using
48 public int arg1; field in class:Message
51 * arg1 and arg2 are lower-cost alternatives to using
147 m.arg1 = orig.arg1;
222 * <em>arg1</em>, and <em>arg2</em> members.
226 * @param arg1 The <em>arg1</em> value to set.
230 public static Message obtain(Handler h, int what, int arg1, int arg2) { argument
234 m.arg1
251 obtain(Handler h, int what, int arg1, int arg2, Object obj) argument
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DMessageThreadUtil.java66 callback.updateItemCount(msg.arg1, msg.arg2);
70 callback.addTile(msg.arg1, (TileList.Tile<T>) msg.data);
73 callback.removeTile(msg.arg1, msg.arg2);
146 callback.refresh(msg.arg1);
152 msg.arg1, msg.arg2, msg.arg3, msg.arg4, msg.arg5);
155 callback.loadTile(msg.arg1, msg.arg2);
181 public int arg1; field in class:MessageThreadUtil.SyncQueueItem
190 what = arg1 = arg2 = arg3 = arg4 = arg5 = 0;
200 static SyncQueueItem obtainMessage(int what, int arg1, int arg2, int arg3, int arg4, argument
212 item.arg1
222 obtainMessage(int what, int arg1, int arg2) argument
226 obtainMessage(int what, int arg1, Object data) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DIInputConnectionWrapper.java247 msg.arg1, msg.arg2), callbackSeq);
267 msg.arg1, msg.arg2), callbackSeq);
287 msg.arg1), callbackSeq);
306 callback.setCursorCapsMode(ic.getCursorCapsMode(msg.arg1),
327 (ExtractedTextRequest)args.arg1, msg.arg1), callbackSeq);
341 ic.commitText((CharSequence)msg.obj, msg.arg1);
351 ic.setSelection(msg.arg1, msg.arg2);
360 ic.performEditorAction(msg.arg1);
369 ic.performContextMenuAction(msg.arg1);
588 obtainMessageII(int what, int arg1, int arg2) argument
592 obtainMessageO(int what, Object arg1) argument
596 obtainMessageISC(int what, int arg1, int callbackSeq, IInputContextCallback callback) argument
603 obtainMessageIISC(int what, int arg1, int arg2, int callbackSeq, IInputContextCallback callback) argument
611 obtainMessageIOOSC(int what, int arg1, Object objArg1, Object objArg2, int callbackSeq, IInputContextCallback callback) argument
621 obtainMessageIOSC(int what, int arg1, Object arg2, int callbackSeq, IInputContextCallback callback) argument
630 obtainMessageIO(int what, int arg1, Object arg2) argument
634 obtainMessageOO(int what, Object arg1, Object arg2) argument
[all...]
/frameworks/base/core/java/android/content/
H A DAsyncQueryHandler.java73 int event = msg.arg1;
110 // on top of the event values in arg1.
113 reply.arg1 = msg.arg1;
116 Log.d(TAG, "WorkerHandler.handleMsg: msg.arg1=" + msg.arg1
169 msg.arg1 = EVENT_ARG_QUERY;
211 msg.arg1 = EVENT_ARG_INSERT;
237 msg.arg1 = EVENT_ARG_UPDATE;
265 msg.arg1
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkAgent.java122 * arg1 = either {@code VALID_NETWORK} or {@code INVALID_NETWORK}
149 * arg1 = 1 if true, 0 if false
163 * arg1 = the slot number of the keepalive to start
174 * arg1 = slot number of the keepalive to stop.
188 * arg1 = slot number of the keepalive
294 (msg.arg1 == VALID_NETWORK ? "VALID, " : "INVALID, ") + redirectUrl);
296 networkStatus(msg.arg1, redirectUrl);
300 saveAcceptUnvalidated(msg.arg1 != 0);
335 private void queueOrSendMessage(int what, int arg1, int arg2) { argument
336 queueOrSendMessage(what, arg1, arg
339 queueOrSendMessage(int what, int arg1, int arg2, Object obj) argument
[all...]
/frameworks/base/media/java/android/media/
H A DJetPlayer.java417 // encoded in msg.arg1
420 (short)((msg.arg1 & JET_EVENT_SEG_MASK) >> JET_EVENT_SEG_SHIFT),
421 (byte) ((msg.arg1 & JET_EVENT_TRACK_MASK) >> JET_EVENT_TRACK_SHIFT),
424 (byte)(((msg.arg1 & JET_EVENT_CHAN_MASK) >> JET_EVENT_CHAN_SHIFT) + 1),
425 (byte) ((msg.arg1 & JET_EVENT_CTRL_MASK) >> JET_EVENT_CTRL_SHIFT),
426 (byte) (msg.arg1 & JET_EVENT_VAL_MASK) );
431 listener.onJetUserIdUpdate(mJet, msg.arg1, msg.arg2);
436 listener.onJetNumQueuedSegmentUpdate(mJet, msg.arg1);
441 listener.onJetPauseUpdate(mJet, msg.arg1);
564 int what, int arg1, in
563 postEventFromNative(Object jetplayer_ref, int what, int arg1, int arg2) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DPhoneStateListener.java312 PhoneStateListener.this.onSignalStrengthChanged(msg.arg1);
315 PhoneStateListener.this.onMessageWaitingIndicatorChanged(msg.arg1 != 0);
318 PhoneStateListener.this.onCallForwardingIndicatorChanged(msg.arg1 != 0);
324 PhoneStateListener.this.onCallStateChanged(msg.arg1, (String)msg.obj);
327 PhoneStateListener.this.onDataConnectionStateChanged(msg.arg1, msg.arg2);
328 PhoneStateListener.this.onDataConnectionStateChanged(msg.arg1);
331 PhoneStateListener.this.onDataActivity(msg.arg1);
337 PhoneStateListener.this.onOtaspChanged(msg.arg1);
602 private void send(int what, int arg1, int arg2, Object obj) { argument
605 Message.obtain(listener.mHandler, what, arg1, arg
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_fingerprint_FingerprintService.cpp59 int arg1, arg2, arg3; member in class:android::CallbackHandler
61 CallbackHandler(int type, int arg1, int arg2, int arg3) argument
62 : type(type), arg1(arg1), arg2(arg2), arg3(arg3) { }
65 //ALOG(LOG_VERBOSE, LOG_TAG, "hal_notify(msg=%d, arg1=%d, arg2=%d)\n", msg.type, arg1, arg2);
67 env->CallVoidMethod(gCallback, gFingerprintServiceClassInfo.notify, type, arg1, arg2, arg3);
90 uint32_t arg1 = 0; local
95 arg1 = msg.data.error;
98 arg1
[all...]
/frameworks/base/wifi/java/android/net/wifi/aware/
H A DWifiAwareManager.java554 new WifiAwareSession(mgr, mBinder, msg.arg1));
568 RttManager.RttListener listener = getAndRemoveRangingListener(msg.arg1);
570 Log.e(TAG, "CALLBACK_RANGING_SUCCESS rangingId=" + msg.arg1
579 RttManager.RttListener listener = getAndRemoveRangingListener(msg.arg1);
581 Log.e(TAG, "CALLBACK_RANGING_SUCCESS rangingId=" + msg.arg1
589 RttManager.RttListener listener = getAndRemoveRangingListener(msg.arg1);
591 Log.e(TAG, "CALLBACK_RANGING_SUCCESS rangingId=" + msg.arg1
608 msg.arg1 = clientId;
617 msg.arg1 = reason;
637 msg.arg1
[all...]
/frameworks/base/core/tests/coretests/src/android/os/
H A DMessengerTest.java64 msg.arg1 = 100;
74 if (msg.arg1 != 100) {
76 "Message.arg1 is not 100: " + msg.arg1));
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DIWindowManagerImpl.java78 public void addWindowToken(IBinder arg0, int arg1, int arg2) throws RemoteException { argument
116 public void disableKeyguard(IBinder arg0, String arg1) throws RemoteException { argument
189 IInputContext arg1) throws RemoteException {
195 public void overridePendingAppTransition(String arg0, int arg1, int arg2, argument
245 public void prepareAppTransition(int arg0, boolean arg1) throws RemoteException { argument
257 public void removeWindowToken(IBinder arg0, int arg1) throws RemoteException { argument
270 public void setAnimationScale(int arg0, float arg1) throws RemoteException { argument
292 public void setFocusedApp(IBinder arg0, boolean arg1) throws RemoteException { argument
307 public void setForcedDisplaySize(int displayId, int arg0, int arg1) throws RemoteException { argument
349 public void updateRotation(boolean arg0, boolean arg1) throw argument
188 openSession(IWindowSessionCallback argn1, IInputMethodClient arg0, IInputContext arg1) argument
396 updateOrientationFromAppTokens(Configuration arg0, IBinder arg1, int arg2) argument
403 watchRotation(IRotationWatcher arg0, int arg1) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DTaskChangeNotificationController.java74 l.onTaskCreated(m.arg1, (ComponentName) m.obj);
78 l.onTaskRemoved(m.arg1);
82 l.onTaskMovedToFront(m.arg1);
86 l.onTaskDescriptionChanged(m.arg1, (TaskDescription) m.obj);
90 l.onActivityRequestedOrientationChanged(m.arg1, m.arg2);
94 l.onTaskRemovalStarted(m.arg1);
98 l.onActivityPinned((String) m.obj, m.arg1);
106 l.onPinnedActivityRestartAttempt(m.arg1 != 0);
118 l.onActivityForcedResizable((String) m.obj, m.arg1, m.arg2);
130 l.onTaskProfileLocked(m.arg1,
[all...]

Completed in 583 milliseconds

1234567891011>>