Home
last modified time | relevance | path

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

123

/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DBusinessLogicDeviceExecutorTest.java241 public void method1(String arg1) { in method1() argument
243 mArgsUsed = new Object[]{arg1}; in method1()
247 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
[all …]
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/
DBusinessLogicDeviceExecutorTest.java240 public void method1(String arg1) { in method1() argument
242 mArgsUsed = new Object[]{arg1}; in method1()
246 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
[all …]
/cts/tests/tests/os/assets/minijail/
Disolated-arm.policy20 …ntl64: arg1 == F_GETFL || arg1 == F_GETFD || arg1 == F_SETFD || arg1 == F_SETLK || arg1 == F_SETLK…
Disolated-i386.policy15 …ntl64: arg1 == F_GETFL || arg1 == F_GETFD || arg1 == F_SETFD || arg1 == F_SETLK || arg1 == F_SETLK…
Disolated-common.policy35 fcntl: arg1 == F_GETFL || arg1 == F_GETFD || arg1 == F_SETFD || arg1 == F_SETLK || arg1 == F_SETLKW…
43 # futex: TODO(rsesek): Restrict op (arg1) to {FUTEX_WAIT,FUTEX_WAKE,FUTEX_REQUEUE,FUTEX_CMP_REQUEUE,
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsStreamingServiceTest.java51 args.arg1 = errorCode; in onError()
60 args.arg1 = state; in onStreamStateUpdated()
74 args.arg1 = signalStrength; in onBroadcastSignalStrengthUpdated()
81 args.arg1 = methodType; in onStreamMethodUpdated()
140 assertEquals(StreamingService.STATE_STARTED, args.arg1); in testStartStreaming()
186 mStreamingServiceCallback.waitOnError().arg1); in testStreamingCallbacks()
194 mStreamingServiceCallback.waitOnBroadcastSignalStrengthUpdated().arg1); in testStreamingCallbacks()
198 mStreamingServiceCallback.waitOnStreamMethodUpdated().arg1); in testStreamingCallbacks()
208 mCallback.waitOnError().arg1); in testStartStreamingFailure()
DMbmsGroupCallTest.java48 args.arg1 = errorCode; in onError()
57 args.arg1 = state; in onGroupCallStateChanged()
66 args.arg1 = signalStrength; in onBroadcastSignalStrengthUpdated()
112 assertEquals(GroupCall.STATE_STARTED, args.arg1); in testStartGroupCall()
162 assertEquals(MbmsErrors.GeneralErrors.ERROR_IN_E911, groupCallErrorArgs.arg1); in testGroupCallCallbacks()
168 mGroupCallCallback.waitOnBroadcastSignalStrengthUpdated().arg1); in testGroupCallCallbacks()
179 mCallback.waitOnError().arg1); in testStartGroupCallFailure()
DMbmsDownloadCallbackTest.java45 args.arg1 = request; in onStatusUpdated()
68 args.arg1 = request; in onProgressUpdated()
97 assertEquals(request, progressArgs.arg1); in testFullCallback()
106 assertEquals(request, stateArgs.arg1); in testFullCallback()
DMbmsGroupCallSessionTest.java70 mCallback.waitOnError().arg1); in testErrorDelivery()
82 assertEquals(callbackResult.arg1, expectCurrentSais); in testCallbacks()
89 assertEquals(interfaceName, callbackResult.arg1); in testCallbacks()
DSomeArgs.java39 public Object arg1; field in SomeArgs
103 arg1 = null; in clear()
DMbmsStreamingSessionTest.java52 (List<StreamingServiceInfo>) mCallback.waitOnStreamingServicesUpdated().arg1; in testRequestUpdateStreamingServices()
92 mCallback.waitOnError().arg1); in testErrorDelivery()
DMbmsGroupCallTestBase.java67 args.arg1 = errorCode; in onError()
83 args.arg1 = currentSais; in onAvailableSaisUpdated()
92 args.arg1 = interfaceName; in onServiceInterfaceAvailable()
/cts/tests/tests/os/src/android/os/cts/
DMessageTest.java84 assertEquals(0, message.arg1); in testObtain()
99 assertEquals(message.arg1, expected.arg1); in testObtain2()
132 assertEquals(ARG1, expected.arg1); in testObtain7()
140 assertEquals(ARG1, expected.arg1); in testObtain8()
165 assertEquals(ARG1, mMessage.arg1); in testCopyFrom()
176 assertEquals(0, message.arg1); in testRecycle()
196 assertEquals(ARG1, mMessage.arg1); in testWriteToParcel()
DMessengerTest.java104 assertEquals(mMessage.arg1, message.arg1); in testSend()
185 msg.arg1 = MSG_ARG1; in executeTest()
197 if (msg.arg1 != MSG_ARG1) { in handleMessage()
199 + msg.arg1)); in handleMessage()
DHandlerTest.java321 msg.arg1 = 101; in testObtainMessageWithMutiInt()
323 Message msg1 = mHandler.obtainMessage(msg.what, msg.arg1, msg.arg2); in testObtainMessageWithMutiInt()
327 assertEquals(msg.arg1, msg1.arg1); in testObtainMessageWithMutiInt()
336 msg.arg1 = 1000; in testObtainMessageWithMutiIntObject()
339 Message msg1 = mHandler.obtainMessage(msg.what, msg.arg1, msg.arg2, msg.obj); in testObtainMessageWithMutiIntObject()
342 assertEquals(msg.arg1, msg1.arg1); in testObtainMessageWithMutiIntObject()
/cts/tests/signature/tests/src/android/signature/cts/tests/data/
DNormalClass.java29 private NormalClass(String arg1) { } in NormalClass() argument
30 protected NormalClass(String arg1, String arg2) throws NormalException { } in NormalClass() argument
31 NormalClass(String arg1, String arg2, String arg3) { } in NormalClass() argument
/cts/hostsidetests/jvmti/base/host/src/android/jvmti/cts/
DJvmtiHostTest.java268 public void testAssumptionFailure(TestDescription arg0, String arg1) { in testAssumptionFailure() argument
270 mErrors.add(arg0.toString() + " " + arg1); in testAssumptionFailure()
274 public void testEnded(TestDescription arg0, Map<String, String> arg1) {} in testEnded() argument
277 public void testFailed(TestDescription arg0, String arg1) { in testFailed() argument
279 mErrors.add(arg0.toString() + " " + arg1); in testFailed()
286 public void testRunEnded(long arg0, Map<String, String> arg1) {} in testRunEnded() argument
295 public void testRunStarted(String arg0, int arg1) { in testRunStarted() argument
/cts/tests/tests/net/src/android/net/cts/
DNetworkAgentTest.kt103 private fun Message(what: Int, arg1: Int, arg2: Int, obj: Any?) = Message.obtain().also { in <lambda>()
105 it.arg1 = arg1 in <lambda>()
173 fun sendMessage(what: Int, arg1: Int = 0, arg2: Int = 0, obj: Any? = null) = in connect()
174 asyncChannel.sendMessage(Message(what, arg1, arg2, obj)) in connect()
426 arg1 = slot, obj = packet) in agent()
428 arg1 = slot, arg2 = interval, obj = packet) in agent()
446 assertEquals(slot, it.arg1) in agent()
450 mFakeConnectivityService.sendMessage(CMD_STOP_SOCKET_KEEPALIVE, arg1 = slot) in agent()
451 mFakeConnectivityService.sendMessage(CMD_REMOVE_KEEPALIVE_PACKET_FILTER, arg1 = slot) in agent()
582 arg1 = VALID_NETWORK, obj = bundle) in agent()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/
DVrListenerVerifierActivity.java541 assertTrue("Activity component must be " + expected + ", but was: " + e.arg1, in test()
542 Objects.equals(expected, e.arg1)); in test()
610 assertTrue("Activity component must be " + expected + ", but was: " + e.arg1, in test()
611 Objects.equals(expected, e.arg1)); in test()
620 assertTrue("Activity component must be " + expected2 + ", but was: " + e.arg1, in test()
621 Objects.equals(expected2, e.arg1)); in test()
628 assertTrue("Activity component must be " + expected + ", but was: " + e.arg1, in test()
629 Objects.equals(expected, e.arg1)); in test()
DMockVrListenerService.java53 public final Object arg1; field in MockVrListenerService.Event
58 arg1 = o; in Event()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioTestRunner.java61 msg.arg1 = testId; in sendMessage()
68 int testId = msg.arg1; //testId in handleMessage()
/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/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdCtsForegroundService.java65 stopSelf(msg.arg1); in handleMessage()
106 msg.arg1 = startId; in onStartCommand()
/cts/hostsidetests/dumpsys/apps/storagedapp/src/com/android/server/cts/storaged/
DSimpleIOService.java90 stopSelf(msg.arg1); in handleMessage()
113 msg.arg1 = startId; in onStartCommand()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DSimpleForegroundService.java61 stopSelf(msg.arg1); in handleMessage()
102 msg.arg1 = startId; in onStartCommand()

123