Home
last modified time | relevance | path

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

/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/util/tests/src/com/android/compatibility/common/util/
DBusinessLogicDeviceExecutorTest.java246 public void method1(String arg1, String arg2) { in method1() argument
248 mArgsUsed = new Object[]{arg1, arg2}; in method1()
251 public boolean method2(String arg1, String arg2) { in method2() argument
253 mArgsUsed = new Object[]{arg1, arg2}; in method2()
254 return arg1.equals(arg2); in method2()
257 public void method3(String arg1, Context arg2) { in method3() argument
259 mArgsUsed = new Object[]{arg1, arg2}; in method3()
263 public void method4(Context arg1, String arg2) { in method4() argument
265 mArgsUsed = new Object[]{arg1, arg2}; in method4()
281 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/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()
DMbmsGroupCallTestBase.java68 args.arg2 = message; in onError()
84 args.arg2 = availableSais; in onAvailableSaisUpdated()
93 args.arg2 = index; in onServiceInterfaceAvailable()
DMbmsStreamingServiceTest.java52 args.arg2 = message; in onError()
61 args.arg2 = reason; in onStreamStateUpdated()
141 assertEquals(StreamingService.REASON_BY_USER_REQUEST, args.arg2); in testStartStreaming()
DMbmsStreamingTestBase.java68 args.arg2 = message; in onError()
DMbmsDownloadTestBase.java74 args.arg2 = message; in onError()
/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/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.kt107 val arg2 = if (useHardware) View.LAYER_TYPE_NONE else View.LAYER_TYPE_SOFTWARE in hashCode() constant
111 arg2, canvasClient in hashCode()
114 mHandler.obtainMessage(LAYOUT_MSG, layoutId, arg2) in hashCode()
211 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/tests/camera/src/android/hardware/multiprocess/camera/cts/
DErrorLoggingService.java159 mEventWaiters.add(new Pair<Integer, Messenger>(msg.arg2, msg.replyTo)); in handleMessage()
/cts/tools/release-parser/tests/resources/
DShell.apk.pb.txt721 name: "arg2"