Home
last modified time | relevance | path

Searched refs:arg2 (Results 1 – 25 of 30) 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/tests/tests/os/src/android/os/cts/
DMessageTest.java85 assertEquals(0, message.arg2); in testObtain()
100 assertEquals(message.arg2, expected.arg2); in testObtain2()
133 assertEquals(ARG2, expected.arg2); in testObtain7()
141 assertEquals(ARG2, expected.arg2); in testObtain8()
166 assertEquals(ARG2, mMessage.arg2); in testCopyFrom()
177 assertEquals(0, message.arg2); in testRecycle()
197 assertEquals(ARG2, mMessage.arg2); in testWriteToParcel()
DMessengerTest.java105 assertEquals(mMessage.arg2, message.arg2); in testSend()
186 msg.arg2 = MSG_ARG2; in executeTest()
202 if (msg.arg2 != MSG_ARG2) { in handleMessage()
204 + msg.arg2)); in handleMessage()
DHandlerTest.java322 msg.arg2 = 102; in testObtainMessageWithMutiInt()
323 Message msg1 = mHandler.obtainMessage(msg.what, msg.arg1, msg.arg2); in testObtainMessageWithMutiInt()
328 assertEquals(msg.arg2, msg1.arg2); in testObtainMessageWithMutiInt()
337 msg.arg2 = 2000; in testObtainMessageWithMutiIntObject()
339 Message msg1 = mHandler.obtainMessage(msg.what, msg.arg1, msg.arg2, msg.obj); in testObtainMessageWithMutiIntObject()
343 assertEquals(msg.arg2, msg1.arg2); in testObtainMessageWithMutiIntObject()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DShellIdentityUtils.java146 public static <T, U, R> R invokeMethodWithShellPermissions(T arg1, U arg2, in invokeMethodWithShellPermissions() argument
152 return methodHelper.apply(arg1, arg2); in invokeMethodWithShellPermissions()
167 public static <T, U, V, R> R invokeMethodWithShellPermissions(T arg1, U arg2, V arg3, in invokeMethodWithShellPermissions() argument
174 return methodHelper.apply(arg1, arg2, arg3); in invokeMethodWithShellPermissions()
189 public static <T, U, V, W, R> R invokeMethodWithShellPermissions(T arg1, U arg2, V arg3, W arg4, in invokeMethodWithShellPermissions() argument
196 return methodHelper.apply(arg1, arg2, arg3, arg4); in invokeMethodWithShellPermissions()
/cts/common/device-side/bedstead/activitycontext/src/main/java/com/android/activitycontext/
DActivityContext.java134 public static <E, F, G> G getWithContext(E arg1, F arg2, in getWithContext() argument
136 return getWithContext((inContext) -> runnable.apply(inContext, arg1, arg2)); in getWithContext()
140 public static <E, F, G, H> H getWithContext(E arg1, F arg2, G arg3, in getWithContext() argument
142 return getWithContext((inContext) -> runnable.apply(inContext, arg1, arg2, arg3)); in getWithContext()
/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/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.java83 assertEquals(callbackResult.arg2, expectAvailableSais); in testCallbacks()
90 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.java68 args.arg2 = message; in onError()
84 args.arg2 = availableSais; in onAvailableSaisUpdated()
93 args.arg2 = index; in onServiceInterfaceAvailable()
DMbmsStreamingTestBase.java68 args.arg2 = message; in onError()
DMbmsDownloadTestBase.java74 args.arg2 = message; in onError()
/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/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/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DDrawActivity.kt106 val arg2 = if (useHardware) View.LAYER_TYPE_NONE else View.LAYER_TYPE_SOFTWARE in hashCode() constant
110 arg2, canvasClient in hashCode()
113 mHandler.obtainMessage(LAYOUT_MSG, layoutId, arg2) in hashCode()
210 mTestContainer.setLayerType(message.arg2, null) in hashCode()
/cts/tests/tests/media/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/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_range/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/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleService4.java108 msg.arg2 = Process.myUid(); in sendPidBack()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DRcsUceAdapterTest.java2032 deactivatedArgs.arg2 = Long.valueOf(3000L); in testTerminatedCallbackWithCapabilitiesRequest()
2040 probationArgs.arg2 = Long.valueOf(4000L); in testTerminatedCallbackWithCapabilitiesRequest()
2048 rejectedArgs.arg2 = Long.valueOf(5000L); in testTerminatedCallbackWithCapabilitiesRequest()
2056 timeoutArgs.arg2 = Long.valueOf(6000L); in testTerminatedCallbackWithCapabilitiesRequest()
2064 giveupArgs.arg2 = Long.valueOf(7000L); in testTerminatedCallbackWithCapabilitiesRequest()
2072 noresourceArgs.arg2 = Long.valueOf(8000L); in testTerminatedCallbackWithCapabilitiesRequest()
2080 emptyReasonArgs.arg2 = Long.valueOf(9000L); in testTerminatedCallbackWithCapabilitiesRequest()
2089 Long terminatedRetryAfterMillis = (Long) reason.arg2; in testTerminatedCallbackWithCapabilitiesRequest()

12