Home
last modified time | relevance | path

Searched refs:mExecutor (Results 1 – 14 of 14) sorted by relevance

/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DBusinessLogicDeviceExecutorTest.java69 private BusinessLogicExecutor mExecutor; field in BusinessLogicDeviceExecutorTest
74 mExecutor = new BusinessLogicDeviceExecutor(mContext, this); in setUp()
84 mExecutor.invokeMethod(METHOD_1); in testInvokeMethodInThisClass()
91 mExecutor.invokeMethod(OTHER_METHOD_1); in testInvokeMethodInOtherClass()
99 mExecutor.invokeMethod(METHOD_2, ARG_STRING_1, ARG_STRING_2); in testInvokeMethodWithStringArgs()
108 mExecutor.invokeMethod(METHOD_3, ARG_STRING_1); in testInvokeMethodWithStringAndContextArgs()
117 mExecutor.invokeMethod(METHOD_4, ARG_STRING_1); in testInvokeMethodWithContextAndStringArgs()
126 mExecutor.invokeMethod(METHOD_5, ARG_STRING_1, ARG_STRING_2); in testInvokeMethodWithStringArrayArg()
135 mExecutor.invokeMethod(METHOD_5); in testInvokeMethodWithEmptyStringArrayArg()
143 mExecutor.invokeMethod(METHOD_6, ARG_STRING_1, ARG_STRING_2); in testInvokeMethodWithStringAndStringArrayArgs()
[all …]
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/
DBusinessLogicDeviceExecutorTest.java68 private BusinessLogicExecutor mExecutor; field in BusinessLogicDeviceExecutorTest
73 mExecutor = new BusinessLogicDeviceExecutor(mContext, this); in setUp()
83 mExecutor.invokeMethod(METHOD_1); in testInvokeMethodInThisClass()
90 mExecutor.invokeMethod(OTHER_METHOD_1); in testInvokeMethodInOtherClass()
98 mExecutor.invokeMethod(METHOD_2, ARG_STRING_1, ARG_STRING_2); in testInvokeMethodWithStringArgs()
107 mExecutor.invokeMethod(METHOD_3, ARG_STRING_1); in testInvokeMethodWithStringAndContextArgs()
116 mExecutor.invokeMethod(METHOD_4, ARG_STRING_1); in testInvokeMethodWithContextAndStringArgs()
125 mExecutor.invokeMethod(METHOD_5, ARG_STRING_1, ARG_STRING_2); in testInvokeMethodWithStringArrayArg()
134 mExecutor.invokeMethod(METHOD_5); in testInvokeMethodWithEmptyStringArrayArg()
142 mExecutor.invokeMethod(METHOD_6, ARG_STRING_1, ARG_STRING_2); in testInvokeMethodWithStringAndStringArrayArgs()
[all …]
/cts/tests/tests/net/src/android/net/cts/
DDnsResolverTest.java89 private Executor mExecutor; field in DnsResolverTest
101 mExecutor = new Handler(Looper.getMainLooper())::post; in setUp()
281 doTestRawQuery(mExecutor); in testRawQuery()
289 doTestRawQueryBlob(mExecutor); in testRawQueryBlob()
297 doTestRawQueryRoot(mExecutor); in testRawQueryRoot()
305 doTestRawQueryNXDomain(mExecutor); in testRawQueryNXDomain()
396 mExecutor, cancelSignal, callback); in testRawQueryCancel()
397 mExecutor.execute(() -> { in testRawQueryCancel()
424 mDns.rawQuery(network, TEST_BLOB, FLAG_EMPTY, mExecutor, cancelSignal, callback); in testRawQueryBlobCancel()
425 mExecutor.execute(() -> { in testRawQueryBlobCancel()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaDrmMockTest.java654 private ThreadPoolExecutor mExecutor; field in MediaDrmMockTest
671 mExecutor = new ScheduledThreadPoolExecutor(1); in testEventNoSessionNoDataWithExecutor()
701 if (mExecutor != null) { in testEventNoSessionNoData()
702 mMediaDrm.setOnEventListener(mExecutor, MediaDrmMockTest.this); in testEventNoSessionNoData()
737 mExecutor = new ScheduledThreadPoolExecutor(1); in testEventWithSessionAndDataWithExecutor()
775 if (mExecutor != null) { in testEventWithSessionAndData()
776 mMediaDrm.setOnEventListener(mExecutor, MediaDrmMockTest.this); in testEventWithSessionAndData()
823 mExecutor = new ScheduledThreadPoolExecutor(1); in testExpirationUpdateWithExecutor()
857 if (mExecutor != null) { in testExpirationUpdate()
858 mMediaDrm.setOnExpirationUpdateListener(mExecutor, MediaDrmMockTest.this); in testExpirationUpdate()
[all …]
D.goutputstream-9KZYJZ383 mPlayer.setMediaPlayer2EventCallback(mExecutor, ecb);
447 mPlayer.setMediaPlayer2EventCallback(mExecutor, ecb);
495 mPlayer.setMediaPlayer2EventCallback(mExecutor, ecb);
665 mPlayer.setMediaPlayer2EventCallback(mExecutor, ecb);
769 mp.setMediaPlayer2EventCallback(mExecutor, ecb);
/cts/tests/tests/hardware/src/android/hardware/biometrics/cts/
DBiometricPromptTest.java44 private final Executor mExecutor = new Executor() { field in BiometricPromptTest
88 builder.setNegativeButton("Negative", mExecutor, new DialogInterface.OnClickListener() { in test_authenticate_fingerprint()
97 prompt.authenticate(cancellationSignal, mExecutor, mAuthenticationCallback); in test_authenticate_fingerprint()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DBiometricPromptBoundKeysTest.java48 private final Executor mExecutor = (runnable) -> { field in BiometricPromptBoundKeysTest
106 .setNegativeButton("Cancel", mExecutor, in showAuthenticationScreen()
117 mCancellationSignal, mExecutor, mDialogCallback); in showAuthenticationScreen()
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayApp/src/com/android/cts/overlay/app/
DOverlayableTest.java59 private Executor mExecutor; field in OverlayableTest
63 mExecutor = (command) -> new Thread(command).start(); in setUp()
82 mExecutor.execute(task); in assertOverlayEnabled()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java67 private final Executor mExecutor; field in TestSensorOperation
97 mExecutor = executor; in TestSensorOperation()
135 mExecutor.execute(mSensorManager, listener); in execute()
144 mExecutor.execute(mSensorManager, listener); in execute()
169 TestSensorOperation operation = new TestSensorOperation(mEnvironment, mExecutor); in clone()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DHidDeviceActivity.java54 private ExecutorService mExecutor; field in HidDeviceActivity
113 mExecutor = Executors.newSingleThreadExecutor(); in onCreate()
174 && mBluetoothHidDevice.registerApp(mSdpSettings, null, mOutQos, mExecutor, in register()
/cts/tests/tests/net/src/android/net/wifi/rtt/cts/
DTestBase.java61 protected final Executor mExecutor; field in TestBase
64 mExecutor = new HandlerExecutor(new Handler(mHandlerThread.getLooper()));
DWifiRttTest.java90 mWifiRttManager.startRanging(request, mExecutor, callback); in testRangingToTestAp()
204 mWifiRttManager.startRanging(builder.build(), mExecutor, new ResultCallback()); in testRequestTooLarge() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DBiometricTest.java92 private Executor mExecutor = (runnable) -> { field in BiometricTest
261 builder.setNegativeButton(negativeButtonText, mExecutor, in showBiometricPrompt()
266 bp.authenticate(mCancellationSignal, mExecutor, mAuthenticationCallback); in showBiometricPrompt()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/mtp/
DMtpHostTestActivity.java114 private ExecutorService mExecutor; field in MtpHostTestActivity
157 mExecutor = Executors.newSingleThreadExecutor(); in onCreate()
184 mExecutor.execute(new Runnable() { in handleMessage()