Home
last modified time | relevance | path

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

12

/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DBusinessLogicDeviceExecutorTest.java247 public void method1(String arg1, String arg2) { in method1() argument
249 mArgsUsed = new Object[]{arg1, arg2}; in method1()
252 public boolean method2(String arg1, String arg2) { in method2() argument
254 mArgsUsed = new Object[]{arg1, arg2}; in method2()
255 return arg1.equals(arg2); in method2()
258 public void method3(String arg1, Context arg2) { in method3() argument
260 mArgsUsed = new Object[]{arg1, arg2}; in method3()
264 public void method4(Context arg1, String arg2) { in method4() argument
266 mArgsUsed = new Object[]{arg1, arg2}; in method4()
282 public void method7(String arg1, Context arg2, String... moreArgs) { in method7() argument
[all …]
/cts/common/device-side/bedstead/activitycontext/src/main/java/com/android/activitycontext/
DActivityContext.java199 public static <E, F, G> G getWithContext(E arg1, F arg2, in getWithContext() argument
201 return getWithContext((inContext) -> runnable.apply(inContext, arg1, arg2)); in getWithContext()
209 public static <E, F, G> G getWithContext(E arg1, F arg2, in getWithContext() argument
212 return getWithContext((inContext) -> runnable.apply(inContext, arg1, arg2), blocking); in getWithContext()
216 public static <E, F, G, H> H getWithContext(E arg1, F arg2, G arg3, in getWithContext() argument
218 return getWithContext((inContext) -> runnable.apply(inContext, arg1, arg2, arg3)); in getWithContext()
226 public static <E, F, G, H> H getWithContext(E arg1, F arg2, G arg3, in getWithContext() argument
229 return getWithContext((inContext) -> runnable.apply(inContext, arg1, arg2, arg3), blocking); in getWithContext()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DShellIdentityUtils.java155 public static <T, U, R> R invokeMethodWithShellPermissions(T arg1, U arg2, in invokeMethodWithShellPermissions() argument
161 return methodHelper.apply(arg1, arg2); in invokeMethodWithShellPermissions()
176 public static <T, U, V, R> R invokeMethodWithShellPermissions(T arg1, U arg2, V arg3, in invokeMethodWithShellPermissions() argument
183 return methodHelper.apply(arg1, arg2, arg3); in invokeMethodWithShellPermissions()
198 public static <T, U, V, W, R> R invokeMethodWithShellPermissions(T arg1, U arg2, V arg3, W arg4, in invokeMethodWithShellPermissions() argument
205 return methodHelper.apply(arg1, arg2, arg3, arg4); in invokeMethodWithShellPermissions()
/cts/tests/signature/tests/src/android/signature/cts/tests/data/
DNormalClass.java30 protected NormalClass(String arg1, String arg2) throws NormalException { } in NormalClass() argument
31 NormalClass(String arg1, String arg2, String arg3) { } in NormalClass() argument
/cts/tests/tests/os/src/android/os/cts/
DMessageTest.java115 assertEquals(0, message.arg2); in testObtain()
131 assertEquals(message.arg2, expected.arg2); in testObtain2()
169 assertEquals(ARG2, expected.arg2); in testObtain7()
178 assertEquals(ARG2, expected.arg2); in testObtain8()
206 assertEquals(ARG2, mMessage.arg2); in testCopyFrom()
218 assertEquals(0, message.arg2); in testRecycle()
240 assertEquals(ARG2, mMessage.arg2); in testWriteToParcel()
DMessengerTest.java107 assertEquals(mMessage.arg2, message.arg2); in testSend()
188 msg.arg2 = MSG_ARG2; in executeTest()
204 if (msg.arg2 != MSG_ARG2) { in handleMessage()
206 + msg.arg2)); in handleMessage()
DHandlerTest.java366 msg.arg2 = 102; in testObtainMessageWithMutiInt()
367 Message msg1 = mHandler.obtainMessage(msg.what, msg.arg1, msg.arg2); in testObtainMessageWithMutiInt()
372 assertEquals(msg.arg2, msg1.arg2); in testObtainMessageWithMutiInt()
382 msg.arg2 = 2000; in testObtainMessageWithMutiIntObject()
384 Message msg1 = mHandler.obtainMessage(msg.what, msg.arg1, msg.arg2, msg.obj); in testObtainMessageWithMutiIntObject()
388 assertEquals(msg.arg2, msg1.arg2); in testObtainMessageWithMutiIntObject()
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsDownloadCallbackTest.java46 args.arg2 = fileInfo; in onStatusUpdated()
69 args.arg2 = fileInfo; in onProgressUpdated()
98 assertEquals(CtsDownloadService.FILE_INFO_1, progressArgs.arg2); in testFullCallback()
107 assertEquals(CtsDownloadService.FILE_INFO_1, stateArgs.arg2); in testFullCallback()
DSomeArgs.java40 public Object arg2; field in SomeArgs
104 arg2 = null; in clear()
DMbmsGroupCallTest.java49 args.arg2 = message; in onError()
58 args.arg2 = reason; in onGroupCallStateChanged()
113 assertEquals(GroupCall.REASON_BY_USER_REQUEST, args.arg2); in testStartGroupCall()
163 assertEquals(MbmsGroupCallTest.class.getSimpleName(), groupCallErrorArgs.arg2); in testGroupCallCallbacks()
DMbmsGroupCallSessionTest.java81 assertEquals(callbackResult.arg2, expectAvailableSais); in testCallbacks()
88 assertEquals(index, callbackResult.arg2); in testCallbacks()
DMbmsStreamingServiceTest.java52 args.arg2 = message; in onError()
61 args.arg2 = reason; in onStreamStateUpdated()
141 assertEquals(StreamingService.REASON_BY_USER_REQUEST, args.arg2); in testStartStreaming()
DMbmsGroupCallTestBase.java79 args.arg2 = message; in onError()
95 args.arg2 = availableSais; in onAvailableSaisUpdated()
104 args.arg2 = index; in onServiceInterfaceAvailable()
/cts/tests/app/app/src/android/app/stubs/
DDisplayEventActivity.java95 msg.arg2 = Process.myUid(); in launched()
108 msg.arg2 = event; in callback()
109 Log.d(TAG, "Msg " + msg.arg1 + " " + msg.arg2); in callback()
DHeartbeatService.java97 msg.arg2 = mUid;
/cts/tests/tests/os/assets/minijail/
Disolated-common-not-i386.policy25 setsockopt: arg1 == 1 && arg2 == 42
34 socket: arg0 == 1 && arg2 == 0
Disolated-common.policy58 getrandom: arg2 == 0 || arg2 & 1
76 madvise: arg2 == 4; return EPERM
85 mprotect: arg2 in 0x7
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DDrawActivity.kt112 val arg2 = if (useHardware) View.LAYER_TYPE_NONE else View.LAYER_TYPE_SOFTWARE in hashCode() constant
116 arg2, canvasClient in hashCode()
119 mHandler.obtainMessage(LAYOUT_MSG, layoutId, arg2) in hashCode()
211 mTestContainer.setLayerType(message.arg2, null) in hashCode()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/
DDrawActivity.kt108 val arg2 = if (useHardware) View.LAYER_TYPE_NONE else View.LAYER_TYPE_SOFTWARE in hashCode() constant
112 arg2, canvasClient in hashCode()
115 mHandler.obtainMessage(LAYOUT_MSG, layoutId, arg2) in hashCode()
211 mTestContainer.setLayerType(message.arg2, null) in hashCode()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/
DTSuper.java43 public int testArgsOrder(int arg1, int arg2) { in testArgsOrder() argument
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/
DTSuper.java43 public int testArgsOrder(int arg1, int arg2) { in testArgsOrder() argument
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super_range/d/
DTSuper.java43 public int testArgsOrder(int arg1, int arg2) { in testArgsOrder() argument
/cts/tests/tests/media/common/src/android/media/cts/
DCompositionTextureView.java67 public void onSurfaceTextureAvailable(SurfaceTexture arg0, int arg1, int arg2) { in onSurfaceTextureAvailable() argument
84 public void onSurfaceTextureSizeChanged(SurfaceTexture arg0, int arg1, int arg2) { in onSurfaceTextureSizeChanged() argument
/cts/tests/tests/display/src/android/display/cts/
DDisplayEventTest.java216 mUid = msg.arg2; in handleMessage()
226 bundle.addDisplayEvent(msg.arg2); in handleMessage()
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleService4.java108 msg.arg2 = Process.myUid(); in sendPidBack()

12