Home
last modified time | relevance | path

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

1234567891011

/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()
121 return mH.obtainMessage(what, arg1 ? 1 : 0, 0, args); in obtainMessageBOO()
124 public Message obtainMessageO(int what, Object arg1) { in obtainMessageO() argument
125 return mH.obtainMessage(what, 0, 0, arg1); in obtainMessageO()
128 public Message obtainMessageI(int what, int arg1) { in obtainMessageI() argument
129 return mH.obtainMessage(what, arg1, 0); in obtainMessageI()
132 public Message obtainMessageII(int what, int arg1, int arg2) { in obtainMessageII() 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
31 ret sym(type1 arg1) { \
33 return real_##sym(arg1); \
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) { \
[all …]
/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
67 boolean arg1) throws RemoteException { in getEnabledInputMethodSubtypeList() argument
91 public void hideMySoftInput(IBinder arg0, int arg1) throws RemoteException { in hideMySoftInput() 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
124 public void setAdditionalInputMethodSubtypes(String arg0, InputMethodSubtype[] arg1) in setAdditionalInputMethodSubtypes() argument
136 public void setImeWindowStatus(IBinder arg0, int arg1, int arg2) throws RemoteException { in setImeWindowStatus() argument
141 public void setInputMethod(IBinder arg0, String arg1) throws RemoteException { in setInputMethod() argument
147 public void setInputMethodAndSubtype(IBinder arg0, String arg1, InputMethodSubtype arg2) in setInputMethodAndSubtype() argument
154 public boolean setInputMethodEnabled(String arg0, boolean arg1) throws RemoteException { in setInputMethodEnabled() argument
[all …]
DBridgeContentProvider.java51 public int bulkInsert(String callingPackage, Uri arg0, ContentValues[] arg1) in bulkInsert() argument
58 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
78 public Uri insert(String callingPackage, Uri arg0, ContentValues arg1) throws RemoteException { in insert() argument
85 String callingPackage, Uri arg0, String arg1, ICancellationSignal signal) in openAssetFile() argument
93 String callingPackage, Uri arg0, String arg1, ICancellationSignal signal, IBinder token) in openFile() 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
120 public String[] getStreamTypes(Uri arg0, String arg1) throws RemoteException { in getStreamTypes() argument
126 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri arg0, String arg1, 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
94 public void releaseWakeLock(IBinder arg0, int arg1) throws RemoteException { in releaseWakeLock() argument
99 public void updateWakeLockUids(IBinder arg0, int[] arg1) throws RemoteException { in updateWakeLockUids() argument
104 public void setAttentionLight(boolean arg0, int arg1) throws RemoteException { in setAttentionLight() argument
124 …public void updateWakeLockWorkSource(IBinder arg0, WorkSource arg1, String arg2) throws RemoteExce… in updateWakeLockWorkSource() argument
DBridgeContext.java1133 public boolean bindService(Intent arg0, ServiceConnection arg1, int arg2) { in bindService() argument
1145 public int checkCallingOrSelfUriPermission(Uri arg0, int arg1) { in checkCallingOrSelfUriPermission() argument
1157 public int checkCallingUriPermission(Uri arg0, int arg1) { in checkCallingUriPermission() argument
1163 public int checkPermission(String arg0, int arg1, int arg2) { in checkPermission() argument
1175 public int checkPermission(String arg0, int arg1, int arg2, IBinder arg3) { in checkPermission() argument
1181 public int checkUriPermission(Uri arg0, int arg1, int arg2, int arg3) { in checkUriPermission() argument
1187 public int checkUriPermission(Uri arg0, int arg1, int arg2, int arg3, IBinder arg4) { in checkUriPermission() argument
1193 public int checkUriPermission(Uri arg0, String arg1, String arg2, int arg3, in checkUriPermission() argument
1206 public Context createPackageContext(String arg0, int arg1) { in createPackageContext() argument
1212 public Context createPackageContextAsUser(String arg0, int arg1, UserHandle user) { in createPackageContextAsUser() argument
[all …]
/frameworks/base/core/java/com/android/internal/view/
DIInputConnectionWrapper.java65 Object arg1; field in IInputConnectionWrapper.SomeArgs
210 msg.arg1, msg.arg2), args.seq); in executeMessage()
226 msg.arg1, msg.arg2), args.seq); in executeMessage()
242 msg.arg1), args.seq); in executeMessage()
257 args.callback.setCursorCapsMode(ic.getCursorCapsMode(msg.arg1), in executeMessage()
274 (ExtractedTextRequest)args.arg1, msg.arg1), args.seq); in executeMessage()
286 ic.commitText((CharSequence)msg.obj, msg.arg1); in executeMessage()
295 ic.setSelection(msg.arg1, msg.arg2); in executeMessage()
304 ic.performEditorAction(msg.arg1); in executeMessage()
313 ic.performContextMenuAction(msg.arg1); in executeMessage()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DConnectionServiceAdapterServant.java84 (String) args.arg1,
104 mDelegate.setDisconnected((String) args.arg1, (DisconnectCause) args.arg2);
114 mDelegate.setRingbackRequested((String) msg.obj, msg.arg1 == 1);
117 mDelegate.setConnectionCapabilities((String) msg.obj, msg.arg1);
122 mDelegate.setIsConferenced((String) args.arg1, (String) args.arg2);
132 (String) args.arg1, (ParcelableConference) args.arg2);
144 mDelegate.onPostDialWait((String) args.arg1, (String) args.arg2);
153 mDelegate.onPostDialChar((String) args.arg1, (char) args.argi1);
163 mDelegate.setVideoState((String) msg.obj, msg.arg1);
168 mDelegate.setVideoProvider((String) args.arg1,
[all …]
DVideoCallbackServant.java66 (VideoProfile) args.arg1,
94 mDelegate.changeCallDataUsage((long) args.arg1);
105 mDelegate.changeVideoQuality(msg.arg1);
123 args.arg1 = requestedProfile;
146 args.arg1 = dataUsage;
/frameworks/base/core/java/com/android/internal/util/
DAsyncChannel.java296 status = response.arg1; in fullyConnectSync()
505 public void sendMessage(int what, int arg1) { in sendMessage() argument
508 msg.arg1 = arg1; in sendMessage()
519 public void sendMessage(int what, int arg1, int arg2) { in sendMessage() argument
522 msg.arg1 = arg1; in sendMessage()
535 public void sendMessage(int what, int arg1, int arg2, Object obj) { in sendMessage() argument
538 msg.arg1 = arg1; in sendMessage()
592 public void replyToMessage(Message srcMsg, int what, int arg1) { in replyToMessage() argument
595 msg.arg1 = arg1; in replyToMessage()
607 public void replyToMessage(Message srcMsg, int what, int arg1, int arg2) { in replyToMessage() argument
[all …]
DStateMachine.java1571 public final Message obtainMessage(int what, int arg1) { in obtainMessage() argument
1573 return Message.obtain(mSmHandler, what, arg1, 0); in obtainMessage()
1590 public final Message obtainMessage(int what, int arg1, int arg2) { in obtainMessage() argument
1591 return Message.obtain(mSmHandler, what, arg1, arg2); in obtainMessage()
1609 public final Message obtainMessage(int what, int arg1, int arg2, Object obj) { in obtainMessage() argument
1610 return Message.obtain(mSmHandler, what, arg1, arg2, obj); in obtainMessage()
1644 public final void sendMessage(int what, int arg1) { in sendMessage() argument
1649 smh.sendMessage(obtainMessage(what, arg1)); in sendMessage()
1657 public final void sendMessage(int what, int arg1, int arg2) { in sendMessage() argument
1662 smh.sendMessage(obtainMessage(what, arg1, arg2)); in sendMessage()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DIWindowManagerImpl.java75 public void addAppToken(int arg0, IApplicationToken arg1, int arg2, int arg3, int arg4, in addAppToken() argument
83 public void addWindowToken(IBinder arg0, int arg1) throws RemoteException { in addWindowToken() argument
121 public void disableKeyguard(IBinder arg0, String arg1) throws RemoteException { in disableKeyguard() argument
200 IInputContext arg1) throws RemoteException { in openSession() argument
206 public void overridePendingAppTransition(String arg0, int arg1, int arg2, in overridePendingAppTransition() argument
249 public void prepareAppTransition(int arg0, boolean arg1) throws RemoteException { in prepareAppTransition() argument
293 public void setAnimationScale(int arg0, float arg1) throws RemoteException { in setAnimationScale() argument
310 public void setAppTask(IBinder arg0, int arg1) throws RemoteException { in setAppTask() argument
316 public void setAppOrientation(IApplicationToken arg0, int arg1) throws RemoteException { in setAppOrientation() argument
321 public void setAppStartingWindow(IBinder arg0, String arg1, int arg2, CompatibilityInfo arg3, in setAppStartingWindow() argument
[all …]
/frameworks/base/core/java/android/os/
DMessage.java46 public int arg1; field in Message
145 m.arg1 = orig.arg1; in obtain()
228 public static Message obtain(Handler h, int what, int arg1, int arg2) { in obtain() argument
232 m.arg1 = arg1; in obtain()
250 int arg1, int arg2, Object obj) { in obtain() argument
254 m.arg1 = arg1; in obtain()
296 arg1 = 0; in recycleUnchecked()
323 this.arg1 = o.arg1; in copyFrom()
497 if (arg1 != 0) { in toString()
499 b.append(arg1); in toString()
[all …]
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DMessageThreadUtil.java64 callback.updateItemCount(msg.arg1, msg.arg2); in getMainThreadProxy()
68 callback.addTile(msg.arg1, (TileList.Tile<T>) msg.data); in getMainThreadProxy()
71 callback.removeTile(msg.arg1, msg.arg2); in getMainThreadProxy()
135 callback.refresh(msg.arg1); in getBackgroundProxy()
141 msg.arg1, msg.arg2, msg.arg3, msg.arg4, msg.arg5); in getBackgroundProxy()
144 callback.loadTile(msg.arg1, msg.arg2); in getBackgroundProxy()
168 public int arg1;
177 what = arg1 = arg2 = arg3 = arg4 = arg5 = 0;
187 static SyncQueueItem obtainMessage(int what, int arg1, int arg2, int arg3, int arg4,
199 item.arg1 = arg1;
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DMessageQueueTest.java47 assertThat(msg.arg1, is(1)); in testAllArguments()
63 assertThat(msg.arg1, is(2)); in testSendInOrder()
67 assertThat(msg.arg1, is(4)); in testSendInOrder()
71 assertThat(msg.arg1, is(6)); in testSendInOrder()
85 assertThat(msg.arg1, is(4)); in testSendAtFront()
89 assertThat(msg.arg1, is(2)); in testSendAtFront()
93 assertThat(msg.arg1, is(6)); in testSendAtFront()
112 assertThat(msg.arg1, is(0)); in testRemove()
116 assertThat(msg.arg1, is(1)); in testRemove()
120 assertThat(msg.arg1, is(0)); in testRemove()
/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()
90 uint32_t arg1 = 0; in hal_notify_callback() local
95 arg1 = msg.data.error; in hal_notify_callback()
98 arg1 = msg.data.acquired.acquired_info; in hal_notify_callback()
101 arg1 = msg.data.authenticated.finger.fid; in hal_notify_callback()
103 if (arg1 != 0) { in hal_notify_callback()
109 arg1 = msg.data.enroll.finger.fid; in hal_notify_callback()
[all …]
/frameworks/base/media/java/android/media/
DJetPlayer.java420 (short)((msg.arg1 & JET_EVENT_SEG_MASK) >> JET_EVENT_SEG_SHIFT), in handleMessage()
421 (byte) ((msg.arg1 & JET_EVENT_TRACK_MASK) >> JET_EVENT_TRACK_SHIFT), in handleMessage()
424 (byte)(((msg.arg1 & JET_EVENT_CHAN_MASK) >> JET_EVENT_CHAN_SHIFT) + 1), in handleMessage()
425 (byte) ((msg.arg1 & JET_EVENT_CTRL_MASK) >> JET_EVENT_CTRL_SHIFT), in handleMessage()
426 (byte) (msg.arg1 & JET_EVENT_VAL_MASK) ); in handleMessage()
431 listener.onJetUserIdUpdate(mJet, msg.arg1, msg.arg2); in handleMessage()
436 listener.onJetNumQueuedSegmentUpdate(mJet, msg.arg1); in handleMessage()
441 listener.onJetPauseUpdate(mJet, msg.arg1); in handleMessage()
564 int what, int arg1, int arg2) { in postEventFromNative() argument
570 jet.mEventHandler.obtainMessage(what, arg1, arg2, null); in postEventFromNative()
/frameworks/base/core/java/android/content/
DAsyncQueryHandler.java73 int event = msg.arg1; in handleMessage()
113 reply.arg1 = msg.arg1; in handleMessage()
116 Log.d(TAG, "WorkerHandler.handleMsg: msg.arg1=" + msg.arg1 in handleMessage()
169 msg.arg1 = EVENT_ARG_QUERY; in startQuery()
211 msg.arg1 = EVENT_ARG_INSERT; in startInsert()
237 msg.arg1 = EVENT_ARG_UPDATE; in startUpdate()
265 msg.arg1 = EVENT_ARG_DELETE; in startDelete()
335 + ", msg.arg1=" + msg.arg1); in handleMessage()
339 int event = msg.arg1; in handleMessage()
/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/tools/layoutlib/bridge/src/com/android/internal/textservice/
DITextServicesManager_Stub_Delegate.java60 public SpellCheckerSubtype getCurrentSpellCheckerSubtype(String arg0, boolean arg1) in getCurrentSpellCheckerSubtype() argument
73 public void getSpellCheckerService(String arg0, String arg1, in getSpellCheckerService() argument
87 public void setCurrentSpellChecker(String arg0, String arg1) throws RemoteException { in setCurrentSpellChecker() argument
93 public void setCurrentSpellCheckerSubtype(String arg0, int arg1) throws RemoteException { in setCurrentSpellCheckerSubtype() argument
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
DPropertyValuesHolder_Delegate.java75 /*package*/ static void nCallTwoIntMethod(Object target, long methodID, int arg1, in nCallTwoIntMethod() argument
81 /*package*/ static void nCallFourIntMethod(Object target, long methodID, int arg1, in nCallFourIntMethod() argument
93 /*package*/ static void nCallTwoFloatMethod(Object target, long methodID, float arg1, in nCallTwoFloatMethod() argument
99 /*package*/ static void nCallFourFloatMethod(Object target, long methodID, float arg1, in nCallFourFloatMethod() argument
/frameworks/base/docs/html/tools/help/uiautomator/
DUiAutomatorTestCase.jd333 <span class="sympad">assertEquals</span>(short arg0, short arg1)
349 <span class="sympad">assertEquals</span>(String arg0, int arg1, int arg2)
365 <span class="sympad">assertEquals</span>(String arg0, short arg1, short arg2)
381 <span class="sympad">assertEquals</span>(char arg0, char arg1)
397 <span class="sympad">assertEquals</span>(String arg0, String arg1, String arg2)
413 <span class="sympad">assertEquals</span>(int arg0, int arg1)
429 <span class="sympad">assertEquals</span>(String arg0, double arg1, double arg2, double arg3)
445 <span class="sympad">assertEquals</span>(String arg0, long arg1, long arg2)
461 <span class="sympad">assertEquals</span>(byte arg0, byte arg1)
477 <span class="sympad">assertEquals</span>(Object arg0, Object arg1)
[all …]
/frameworks/base/telephony/java/android/telephony/
DPhoneStateListener.java283 PhoneStateListener.this.onSignalStrengthChanged(msg.arg1); in PhoneStateListener()
286 PhoneStateListener.this.onMessageWaitingIndicatorChanged(msg.arg1 != 0); in PhoneStateListener()
289 PhoneStateListener.this.onCallForwardingIndicatorChanged(msg.arg1 != 0); in PhoneStateListener()
295 PhoneStateListener.this.onCallStateChanged(msg.arg1, (String)msg.obj); in PhoneStateListener()
298 PhoneStateListener.this.onDataConnectionStateChanged(msg.arg1, msg.arg2); in PhoneStateListener()
299 PhoneStateListener.this.onDataConnectionStateChanged(msg.arg1); in PhoneStateListener()
302 PhoneStateListener.this.onDataActivity(msg.arg1); in PhoneStateListener()
308 PhoneStateListener.this.onOtaspChanged(msg.arg1); in PhoneStateListener()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DCallbackRegistryTest.java96 int arg1, Integer arg) { in testSimpleNotify()
97 assertEquals(arg1, (int) arg); in testSimpleNotify()
115 int arg1, Integer arg) { in testRemoveWhileNotifying()
142 int arg1, Integer arg) { in testDeepRemoveWhileNotifying()
145 registry.notifyCallbacks(CallbackRegistryTest.this, arg1, null); in testDeepRemoveWhileNotifying()
167 int arg1, Integer arg) { in testAddRemovedListener()
202 int arg1, Integer arg) { in testVeryDeepRemoveWhileNotifying()
206 registry.notifyCallbacks(CallbackRegistryTest.this, arg1, null); in testVeryDeepRemoveWhileNotifying()
228 int arg1, Integer arg) { in testClear()
252 int arg1, Integer arg) { in testNestedClear()
/frameworks/data-binding/compiler/src/test/java/android/databinding/
DCallbackRegistryTest.java96 int arg1, Integer arg) { in testSimpleNotify()
97 assertEquals(arg1, (int) arg); in testSimpleNotify()
116 int arg1, Integer arg) { in testRemoveWhileNotifying()
144 int arg1, Integer arg) { in testDeepRemoveWhileNotifying()
147 registry.notifyCallbacks(CallbackRegistryTest.this, arg1, null); in testDeepRemoveWhileNotifying()
170 int arg1, Integer arg) { in testAddRemovedListener()
206 int arg1, Integer arg) { in testVeryDeepRemoveWhileNotifying()
210 registry.notifyCallbacks(CallbackRegistryTest.this, arg1, null); in testVeryDeepRemoveWhileNotifying()
233 int arg1, Integer arg) { in testClear()
258 int arg1, Integer arg) { in testNestedClear()

1234567891011