Home
last modified time | relevance | path

Searched refs:arg2 (Results 1 – 25 of 195) sorted by relevance

12345678

/frameworks/base/core/java/com/android/internal/os/
DHandlerCaller.java113 public Message obtainMessageBO(int what, boolean arg1, Object arg2) { in obtainMessageBO() argument
114 return mH.obtainMessage(what, arg1 ? 1 : 0, 0, arg2); in obtainMessageBO()
117 public Message obtainMessageBOO(int what, boolean arg1, Object arg2, Object arg3) { in obtainMessageBOO() argument
119 args.arg1 = arg2; in obtainMessageBOO()
120 args.arg2 = arg3; in obtainMessageBOO()
132 public Message obtainMessageII(int what, int arg1, int arg2) { in obtainMessageII() argument
133 return mH.obtainMessage(what, arg1, arg2); in obtainMessageII()
136 public Message obtainMessageIO(int what, int arg1, Object arg2) { in obtainMessageIO() argument
137 return mH.obtainMessage(what, arg1, 0, arg2); in obtainMessageIO()
140 public Message obtainMessageIIO(int what, int arg1, int arg2, Object arg3) { in obtainMessageIIO() argument
[all …]
/frameworks/base/cmds/interrupter/
Dinterrupter.h17 #define CONCATENATE(arg1, arg2) CONCATENATE1(arg1, arg2) argument
18 #define CONCATENATE1(arg1, arg2) CONCATENATE2(arg1, arg2) argument
19 #define CONCATENATE2(arg1, arg2) arg1##arg2 argument
38 ret sym(type1 arg1, type2 arg2) { \
40 return real_##sym(arg1, arg2); \
45 ret sym(type1 arg1, type2 arg2, type3 arg3) { \
47 return real_##sym(arg1, arg2, arg3); \
52 ret sym(type1 arg1, type2 arg2, type3 arg3, type4 arg4) { \
54 return real_##sym(arg1, arg2, arg3, arg4); \
59 ret sym(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5) { \
[all …]
/frameworks/base/telecomm/java/android/telecom/
DConnectionServiceAdapterServant.java88 (ConnectionRequest) args.arg2,
107 mDelegate.setDisconnected((String) args.arg1, (DisconnectCause) args.arg2);
128 mDelegate.setIsConferenced((String) args.arg1, (String) args.arg2);
138 (String) args.arg1, (ParcelableConference) args.arg2);
150 mDelegate.onPostDialWait((String) args.arg1, (String) args.arg2);
175 (IVideoProvider) args.arg2);
187 mDelegate.setStatusHints((String) args.arg1, (StatusHints) args.arg2);
196 mDelegate.setAddress((String) args.arg1, (Uri) args.arg2, args.argi1);
206 (String) args.arg1, (String) args.arg2, args.argi1);
216 (String) args.arg1, (List<String>) args.arg2);
[all …]
/frameworks/base/core/java/com/android/internal/util/
DCallbackRegistry.java91 public synchronized void notifyCallbacks(T sender, int arg, A arg2) { in notifyCallbacks() argument
93 notifyRecurseLocked(sender, arg, arg2); in notifyCallbacks()
122 private void notifyFirst64Locked(T sender, int arg, A arg2) { in notifyFirst64Locked() argument
124 notifyCallbacksLocked(sender, arg, arg2, 0, maxNotified, mFirst64Removed); in notifyFirst64Locked()
142 private void notifyRecurseLocked(T sender, int arg, A arg2) { in notifyRecurseLocked() argument
148 notifyRemainderLocked(sender, arg, arg2, remainderIndex); in notifyRecurseLocked()
155 notifyCallbacksLocked(sender, arg, arg2, startCallbackIndex, callbackCount, 0); in notifyRecurseLocked()
170 private void notifyRemainderLocked(T sender, int arg, A arg2, int remainderIndex) { in notifyRemainderLocked() argument
172 notifyFirst64Locked(sender, arg, arg2); in notifyRemainderLocked()
177 notifyRemainderLocked(sender, arg, arg2, remainderIndex - 1); in notifyRemainderLocked()
[all …]
DAsyncChannel.java519 public void sendMessage(int what, int arg1, int arg2) { in sendMessage() argument
523 msg.arg2 = arg2; in sendMessage()
535 public void sendMessage(int what, int arg1, int arg2, Object obj) { in sendMessage() argument
539 msg.arg2 = arg2; in sendMessage()
607 public void replyToMessage(Message srcMsg, int what, int arg1, int arg2) { in replyToMessage() argument
611 msg.arg2 = arg2; in replyToMessage()
624 public void replyToMessage(Message srcMsg, int what, int arg1, int arg2, Object obj) { in replyToMessage() argument
628 msg.arg2 = arg2; in replyToMessage()
694 public Message sendMessageSynchronously(int what, int arg1, int arg2) { in sendMessageSynchronously() argument
698 msg.arg2 = arg2; in sendMessageSynchronously()
[all …]
DStateMachine.java1617 public final Message obtainMessage(int what, int arg1, int arg2) { in obtainMessage() argument
1618 return Message.obtain(mSmHandler, what, arg1, arg2); in obtainMessage()
1636 public final Message obtainMessage(int what, int arg1, int arg2, Object obj) { in obtainMessage() argument
1637 return Message.obtain(mSmHandler, what, arg1, arg2, obj); in obtainMessage()
1684 public final void sendMessage(int what, int arg1, int arg2) { in sendMessage() argument
1689 smh.sendMessage(obtainMessage(what, arg1, arg2)); in sendMessage()
1697 public final void sendMessage(int what, int arg1, int arg2, Object obj) { in sendMessage() argument
1702 smh.sendMessage(obtainMessage(what, arg1, arg2, obj)); in sendMessage()
1762 public final void sendMessageDelayed(int what, int arg1, int arg2, long delayMillis) { in sendMessageDelayed() argument
1767 smh.sendMessageDelayed(obtainMessage(what, arg1, arg2), delayMillis); in sendMessageDelayed()
[all …]
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
DCallbackRegistry.java89 public synchronized void notifyCallbacks(T sender, int arg, A arg2) { in notifyCallbacks() argument
91 notifyRecurse(sender, arg, arg2); in notifyCallbacks()
120 private void notifyFirst64(T sender, int arg, A arg2) { in notifyFirst64() argument
122 notifyCallbacks(sender, arg, arg2, 0, maxNotified, mFirst64Removed); in notifyFirst64()
139 private void notifyRecurse(T sender, int arg, A arg2) { in notifyRecurse() argument
145 notifyRemainder(sender, arg, arg2, remainderIndex); in notifyRecurse()
152 notifyCallbacks(sender, arg, arg2, startCallbackIndex, callbackCount, 0); in notifyRecurse()
167 private void notifyRemainder(T sender, int arg, A arg2, int remainderIndex) { in notifyRemainder() argument
169 notifyFirst64(sender, arg, arg2); in notifyRemainder()
174 notifyRemainder(sender, arg, arg2, remainderIndex - 1); in notifyRemainder()
[all …]
/frameworks/base/core/java/android/os/
DMessage.java53 public int arg2; field in Message
146 m.arg2 = orig.arg2; in obtain()
228 public static Message obtain(Handler h, int what, int arg1, int arg2) { in obtain() argument
233 m.arg2 = arg2; in obtain()
250 int arg1, int arg2, Object obj) { in obtain() argument
255 m.arg2 = arg2; in obtain()
297 arg2 = 0; in recycleUnchecked()
324 this.arg2 = o.arg2; in copyFrom()
502 if (arg2 != 0) { in toString()
504 b.append(arg2); in toString()
[all …]
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DMessageThreadUtil.java65 callback.updateItemCount(msg.arg1, msg.arg2); in getMainThreadProxy()
72 callback.removeTile(msg.arg1, msg.arg2); in getMainThreadProxy()
150 msg.arg1, msg.arg2, msg.arg3, msg.arg4, msg.arg5); in getBackgroundProxy()
153 callback.loadTile(msg.arg1, msg.arg2); in getBackgroundProxy()
180 public int arg2;
188 what = arg1 = arg2 = arg3 = arg4 = arg5 = 0;
198 static SyncQueueItem obtainMessage(int what, int arg1, int arg2, int arg3, int arg4,
211 item.arg2 = arg2;
220 static SyncQueueItem obtainMessage(int what, int arg1, int arg2) {
221 return obtainMessage(what, arg1, arg2, 0, 0, 0, null);
/frameworks/base/core/java/com/android/internal/view/
DIInputConnectionWrapper.java79 Object arg2; field in IInputConnectionWrapper.SomeArgs
269 msg.arg1, msg.arg2), args.seq); in executeMessage()
285 msg.arg1, msg.arg2), args.seq); in executeMessage()
355 ic.setSelection(msg.arg1, msg.arg2); in executeMessage()
410 ic.setComposingRegion(msg.arg1, msg.arg2); in executeMessage()
451 ic.deleteSurroundingText(msg.arg1, msg.arg2); in executeMessage()
460 ic.deleteSurroundingTextInCodePoints(msg.arg1, msg.arg2); in executeMessage()
506 (Bundle)args.arg2); in executeMessage()
563 Message obtainMessageII(int what, int arg1, int arg2) { in obtainMessageII() argument
564 return mH.obtainMessage(what, arg1, arg2); in obtainMessageII()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/
DWifiNanStateManager.java122 msg.arg2 = events; in connect()
143 msg.arg2 = sessionId; in stopSession()
150 msg.arg2 = sessionId; in destroySession()
162 msg.arg2 = sessionId; in createSession()
176 msg.arg2 = sessionId; in publish()
189 msg.arg2 = sessionId; in subscribe()
203 msg.arg2 = messageLength; in sendMessage()
224 msg.arg2 = reason; in onConfigFailed()
231 msg.arg2 = publishId; in onPublishSuccess()
238 msg.arg2 = status; in onPublishFail()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
DPropertyValuesHolder_Delegate.java150 int arg2) { in nCallTwoIntMethod() argument
151 callMethod(target, methodID, arg1, arg2); in nCallTwoIntMethod()
156 int arg2, int arg3, int arg4) { in nCallFourIntMethod() argument
157 callMethod(target, methodID, arg1, arg2, arg3, arg4); in nCallFourIntMethod()
175 float arg2) { in nCallTwoFloatMethod() argument
176 callMethod(target, methodID, arg1, arg2); in nCallTwoFloatMethod()
181 float arg2, float arg3, float arg4) { in nCallFourFloatMethod() argument
182 callMethod(target, methodID, arg1, arg2, arg3, arg4); in nCallFourFloatMethod()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeIInputMethodManager.java41 public void addClient(IInputMethodClient arg0, IInputContext arg1, int arg2, int arg3) in addClient() argument
97 public boolean hideSoftInput(IInputMethodClient arg0, int arg1, ResultReceiver arg2) in hideSoftInput() argument
104 public boolean notifySuggestionPicked(SuggestionSpan arg0, String arg1, int arg2) in notifySuggestionPicked() argument
136 public void setImeWindowStatus(IBinder arg0, int arg1, int arg2) throws RemoteException { in setImeWindowStatus() argument
147 public void setInputMethodAndSubtype(IBinder arg0, String arg1, InputMethodSubtype arg2) in setInputMethodAndSubtype() argument
180 public boolean showSoftInput(IInputMethodClient arg0, int arg1, ResultReceiver arg2) in showSoftInput() argument
216 public void updateStatusIcon(IBinder arg0, String arg1, int arg2) throws RemoteException { in updateStatusIcon() argument
DBridgeContentProvider.java58 public Bundle call(String callingPackage, String arg0, String arg1, Bundle arg2) in call() argument
65 public int delete(String callingPackage, Uri arg0, String arg1, String[] arg2) in delete() argument
100 public Cursor query(String callingPackage, Uri arg0, String[] arg1, String arg2, String[] arg3, in query() argument
107 public int update(String callingPackage, Uri arg0, ContentValues arg1, String arg2, in update() argument
127 Bundle arg2, ICancellationSignal signal) throws RemoteException, FileNotFoundException { in openTypedAssetFile() argument
DBridgePowerManager.java52 …public void acquireWakeLock(IBinder arg0, int arg1, String arg2, String arg2_5, WorkSource arg3, S… in acquireWakeLock() argument
58 public void acquireWakeLockWithUid(IBinder arg0, int arg1, String arg2, String arg2_5, int arg3) in acquireWakeLockWithUid() argument
74 public void goToSleep(long arg0, int arg1, int arg2) throws RemoteException { in goToSleep() argument
129 …public void updateWakeLockWorkSource(IBinder arg0, WorkSource arg1, String arg2) throws RemoteExce… in updateWakeLockWorkSource() argument
/frameworks/base/core/jni/
Dandroid_animation_PropertyValuesHolder.cpp89 JNIEnv* env, jclass pvhObject, jobject target, jlong methodID, float arg1, float arg2) in android_animation_PropertyValuesHolder_callTwoFloatMethod() argument
91 env->CallVoidMethod(target, reinterpret_cast<jmethodID>(methodID), arg1, arg2); in android_animation_PropertyValuesHolder_callTwoFloatMethod()
95 JNIEnv* env, jclass pvhObject, jobject target, jlong methodID, float arg1, float arg2, in android_animation_PropertyValuesHolder_callFourFloatMethod() argument
98 env->CallVoidMethod(target, reinterpret_cast<jmethodID>(methodID), arg1, arg2, arg3, arg4); in android_animation_PropertyValuesHolder_callFourFloatMethod()
116 JNIEnv* env, jclass pvhObject, jobject target, jlong methodID, int arg1, int arg2) in android_animation_PropertyValuesHolder_callTwoIntMethod() argument
118 env->CallVoidMethod(target, reinterpret_cast<jmethodID>(methodID), arg1, arg2); in android_animation_PropertyValuesHolder_callTwoIntMethod()
122 JNIEnv* env, jclass pvhObject, jobject target, jlong methodID, int arg1, int arg2, in android_animation_PropertyValuesHolder_callFourIntMethod() argument
125 env->CallVoidMethod(target, reinterpret_cast<jmethodID>(methodID), arg1, arg2, arg3, arg4); in android_animation_PropertyValuesHolder_callFourIntMethod()
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java316 Object listener = getListener(message.arg2); in handleMessage()
318 Log.d(TAG, "Stale key " + message.arg2); in handleMessage()
321 NsdServiceInfo ns = getNsdService(message.arg2); in handleMessage()
328 removeListener(message.arg2); in handleMessage()
339 removeListener(message.arg2); in handleMessage()
344 removeListener(message.arg2); in handleMessage()
348 removeListener(message.arg2); in handleMessage()
356 removeListener(message.arg2); in handleMessage()
360 removeListener(message.arg2); in handleMessage()
364 removeListener(message.arg2); in handleMessage()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_fingerprint_FingerprintService.cpp59 int arg1, arg2, arg3; member in android::CallbackHandler
61 CallbackHandler(int type, int arg1, int arg2, int arg3) in CallbackHandler() argument
62 : type(type), arg1(arg1), arg2(arg2), arg3(arg3) { } in CallbackHandler()
67 env->CallVoidMethod(gCallback, gFingerprintServiceClassInfo.notify, type, arg1, arg2, arg3); in handleMessage()
91 uint32_t arg2 = 0; in hal_notify_callback() local
102 arg2 = msg.data.authenticated.finger.gid; in hal_notify_callback()
110 arg2 = msg.data.enroll.finger.gid; in hal_notify_callback()
115 arg2 = msg.data.removed.finger.gid; in hal_notify_callback()
124 gLooper->sendMessage(new CallbackHandler(msg.type, arg1, arg2, arg3), Message()); in hal_notify_callback()
/frameworks/native/libs/binder/tests/
DbinderDriverInterfaceTest.cpp239 binder_transaction_data arg2; in TEST_F() member
267 EXPECT_EQ(0u, br.arg2.target.ptr); in TEST_F()
268 EXPECT_EQ(0u, br.arg2.cookie); in TEST_F()
269 EXPECT_EQ(0u, br.arg2.code); in TEST_F()
270 EXPECT_EQ(0u, br.arg2.flags); in TEST_F()
271 EXPECT_EQ(0u, br.arg2.data_size); in TEST_F()
272 EXPECT_EQ(0u, br.arg2.offsets_size); in TEST_F()
283 .arg1 = br.arg2.data.ptr.buffer, in TEST_F()
305 struct binder_handle_cookie arg2; in TEST_F() member
317 .arg2 = { in TEST_F()
/frameworks/base/core/java/android/service/notification/
DNotificationRankerService.java244 args.arg2 = time; in onNotificationVisibilityChanged()
254 args.arg2 = time; in onNotificationClick()
263 args.arg2 = time; in onNotificationActionClick()
273 args.arg2 = time; in onNotificationRemovedReason()
309 final long time = (long) args.arg2; in handleMessage()
318 final long time = (long) args.arg2; in handleMessage()
326 final long time = (long) args.arg2; in handleMessage()
335 final long time = (long) args.arg2; in handleMessage()
/frameworks/base/core/java/android/hardware/radio/
DRadioModule.java138 callback.onAntennaState(msg.arg2 == 1); in NativeEventHandlerDelegate()
171 callback.onTrafficAnnouncement(msg.arg2 == 1); in NativeEventHandlerDelegate()
176 callback.onEmergencyAnnouncement(msg.arg2 == 1); in NativeEventHandlerDelegate()
180 callback.onControlChanged(msg.arg2 == 1); in NativeEventHandlerDelegate()
207 int what, int arg1, int arg2, Object obj) { in postEventFromNative() argument
217 Message m = handler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative()
/frameworks/base/wifi/java/android/net/wifi/nan/
DWifiNanSessionListener.java210 msg.getData().getByteArray(MESSAGE_BUNDLE_KEY_MESSAGE2), msg.arg2); in WifiNanSessionListener()
216 WifiNanSessionListener.this.onMessageSendFail(msg.arg1, msg.arg2); in WifiNanSessionListener()
219 WifiNanSessionListener.this.onMessageReceived(msg.arg2, in WifiNanSessionListener()
398 msg.arg2 = matchFilterLength;
418 msg.arg2 = reason;
434 msg.arg2 = peerId;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DRttService.java313 int key = msg.arg2; in processMessage()
347 } else if (ci.addRttRequest(msg.arg2, params) == false) { in processMessage()
359 if (request.key == msg.arg2) { in processMessage()
368 int key = msg.arg2; in processMessage()
430 if (DBG) Log.d(TAG, "Received an RTT response from: " + msg.arg2); in processMessage()
438 && msg.arg2 == mOutstandingRequest.key) { in processMessage()
439 if (DBG) Log.d(TAG, "Cancelling ongoing RTT of: " + msg.arg2); in processMessage()
474 int key = msg.arg2; in processMessage()
512 reply.arg2 = msg.arg2; in replySucceeded()
528 reply.arg2 = msg.arg2; in replyFailed()
/frameworks/base/core/tests/coretests/src/android/os/
DMessengerTest.java65 msg.arg2 = 1000; in executeTest()
79 if (msg.arg2 != 1000) { in handleMessage()
81 "Message.arg2 is not 1000: " + msg.arg2)); in handleMessage()
DMessageQueueTest.java165 msg.arg2 = 789; in testFieldIntegrity()
190 if (newMsg.arg2 != 789) { in testFieldIntegrity()
192 "newMsg.arg2 is %d should be %d after copyFrom", msg.arg2, 789))); in testFieldIntegrity()
237 if (msg.arg2 != 789) { in testFieldIntegrity()
240 msg.arg2, 789, msg.what))); in testFieldIntegrity()

12345678