Home
last modified time | relevance | path

Searched defs:cb (Results 1 – 25 of 43) sorted by relevance

12

/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0953/src/android/security/cts/CVE_2021_0953/
DDeviceTest.java50 RemoteCallback cb = new RemoteCallback((Bundle result) -> { in testMutablePendingIntent() local
71 private void launchActivity(Class<? extends Activity> clazz, RemoteCallback cb) { in launchActivity()
76 intent.putExtra(context.getResources().getString(R.string.callback_key), cb); in launchActivity() local
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DTestRcsCapabilityExchangeImpl.java37 void execute(DeviceCapPublishListener listener, String pidfXml, PublishResponseCallback cb) in execute()
43 void execute(Collection<Uri> uris, SubscribeResponseCallback cb) throws ImsException; in execute()
83 public void publishCapabilities(String pidfXml, PublishResponseCallback cb) { in publishCapabilities()
92 public void subscribeForCapabilities(Collection<Uri> uris, SubscribeResponseCallback cb) { in subscribeForCapabilities()
DRcsUceAdapterTest.java593 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testCapabilitiesRequestAllowed() argument
675 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testCapabilitiesRequestWithCmdError() argument
810 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testCapabilitiesRequestWithResponseError() argument
846 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testCapabilitiesRequestWithResponseError() argument
887 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testCapabilitiesRequestWithResponseError() argument
989 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testRequestCapabilitiesWithPresenceMechanism() argument
1028 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testRequestCapabilitiesWithPresenceMechanism() argument
1056 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testRequestCapabilitiesWithPresenceMechanism() argument
1151 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testCacheQuerySuccessWhenNetworkBlocked() argument
1173 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testCacheQuerySuccessWhenNetworkBlocked() argument
[all …]
DImsServiceTest.java1282 capExchangeImpl.setPublishOperator((listener, pidfXml, cb) -> { in testRcsDeviceCapabilitiesPublish() argument
1381 capExchangeImpl.setPublishOperator((listener, pidfXml, cb) -> { in testRcsDeviceCapabilitiesPublish() argument
1457 capExchangeImpl.setPublishOperator((listener, pidfXml, cb) -> { in testPublishImsReg() argument
1592 capExchangeImpl.setPublishOperator((listener, pidfXml, cb) -> { in testPublishWithImsAssociatedUri() argument
1744 capExchangeImpl.setPublishOperator((listener, pidfXml, cb) -> { in testRcsCapabilitiesPublishNetworkResponseWithReasonHeader() argument
1784 capExchangeImpl.setPublishOperator((listener, pidfXml, cb) -> { in testRcsCapabilitiesPublishNetworkResponseWithReasonHeader() argument
1845 capExchangeImpl.setPublishOperator((listener, pidfXml, cb) -> { in testRcsPublishThrottle() argument
1976 capExchangeImpl.setPublishOperator((listener, pidfXml, cb) -> { in testRcsPublishWithSipOptions() argument
2054 capExchangeImpl.setPublishOperator((listener, pidfXml, cb) -> { in testRcsPublishWithSipOptions() argument
2136 capExchangeImpl.setPublishOperator((listener, pidfXml, cb) -> { in testRcsPublishWithAuthorizedErrorResponse() argument
[all …]
/cts/tests/tests/security/src/android/security/cts/
DCVE_2021_0339.java54 private void launchActivity(Class<? extends Activity> clazz, RemoteCallback cb) { in launchActivity()
71 RemoteCallback cb = new RemoteCallback((Bundle result) -> in testPocCVE_2021_0339() local
94 private RemoteCallback cb; field in CVE_2021_0339.FirstActivity
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20004/test-app/src/android/security/cts/CVE_2022_20004_test/
DDeviceTest.java54 RemoteCallback cb = new RemoteCallback((Bundle result) -> { in testCVE_2022_20004() local
63 intent.putExtra(res.getString(R.string.callback_key), cb); in testCVE_2022_20004() local
DPocActivity.java121 RemoteCallback cb = (RemoteCallback) extras.get(getString(R.string.callback_key)); in sendTestResult() local
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedImageDrawableTest.java184 Callback cb = new Callback(drawable); in testRegisterWithoutLooper() local
195 Callback cb = new Callback(drawable); in testRegisterCallback() local
239 Callback cb = new Callback(drawable); in testUnregisterCallback() local
265 Callback cb = new Callback(drawable); in testLifeCycle() local
300 Callback cb = new Callback(drawable); in testLifeCycleSoftware() local
342 Callback cb = new Callback(drawable); in testAddCallbackAfterStart() local
363 Callback cb = new Callback(drawable); in testStop() local
395 Callback cb = new Callback(drawable); in testRepeatCounts() local
425 Callback cb = new Callback(drawable); in testRepeatCountInfinite() local
747 final Callback cb = new Callback(drawable); in decodeInBackground() local
DTransitionDrawableTest.java84 Drawable.Callback cb = mock(Drawable.Callback.class); in testStartTransition() local
112 Drawable.Callback cb = mock(Drawable.Callback.class); in testResetTransition() local
138 Drawable.Callback cb = mock(Drawable.Callback.class); in testReverseTransition() local
DDrawableWrapperTest.java103 Drawable.Callback cb = mock(Drawable.Callback.class); in testInvalidateDrawable() local
123 Drawable.Callback cb = mock(Drawable.Callback.class); in testScheduleDrawable() local
143 Drawable.Callback cb = mock(Drawable.Callback.class); in testUnscheduleDrawable() local
/cts/tests/tests/view/jni/
DChoreographerTestUtils.h111 Callback* cb = static_cast<Callback*>(data); in vsyncCallback() local
121 VsyncCallback* cb = static_cast<VsyncCallback*>(data); in vsyncCallback() local
138 static void verifyCallback(JNIEnv* env, const Callback& cb, int expectedCount, in verifyCallback()
Dandroid_view_cts_ChoreographerNativeTest.cpp71 RefreshRateCallback* cb = static_cast<RefreshRateCallback*>(data); in refreshRateCallback() local
78 RefreshRateCallbackWithDisplayManager* cb = in refreshRateCallbackWithDisplayManager() local
98 static void verifyRefreshRateCallback(JNIEnv* env, const T& cb, int expectedMin) { in verifyRefreshRateCallback()
115 static void resetRefreshRateCallback(RefreshRateCallback& cb) { in resetRefreshRateCallback()
389 RefreshRateCallback cb("cb"); in android_view_cts_ChoreographerNativeTest_testRefreshRateCallback() local
474 RefreshRateCallback cb("cb"); in android_view_cts_ChoreographerNativeTest_testRefreshRateCallbackMixedWithFrameCallbacks() local
514 RefreshRateCallbackWithDisplayManager cb("cb", env, clazz); in android_view_cts_ChoreographerNativeTest_testRefreshRateCallbacksAreSyncedWithDisplayManager() local
/cts/tests/uwb/src/android/uwb/cts/
DUwbManagerTest.java460 UwbManager.UwbVendorUciCallback cb = in testRegisterVendorUciCallbackWithoutUwbPrivileged() local
464 Executors.newSingleThreadExecutor(), cb); in testRegisterVendorUciCallbackWithoutUwbPrivileged() local
477 UwbManager.UwbVendorUciCallback cb = in testUnregisterVendorUciCallbackWithoutUwbPrivileged() local
483 Executors.newSingleThreadExecutor(), cb); in testUnregisterVendorUciCallbackWithoutUwbPrivileged() local
502 UwbManager.UwbVendorUciCallback cb = in testInvalidCallbackUnregisterVendorUciCallback() local
506 Executors.newSingleThreadExecutor(), cb); in testInvalidCallbackUnregisterVendorUciCallback() local
953 UwbVendorUciCallback cb = in testSendVendorUciMessage() local
959 Executors.newSingleThreadExecutor(), cb); in testSendVendorUciMessage() local
987 UwbVendorUciCallback cb = in testSendVendorUciMessageWithFragmentedPackets() local
993 Executors.newSingleThreadExecutor(), cb); in testSendVendorUciMessageWithFragmentedPackets() local
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DStartActivityAsUserActivity.java36 RemoteCallback cb = (RemoteCallback) extra.get(EXTRA_CALLBACK); in onCreate() local
/cts/tests/tests/permission/AppThatRunsRationaleTests/src/android/permission/cts/appthatrunsrationaletests/
DTestActivity.java33 RemoteCallback cb = (RemoteCallback) getIntent().getExtras().get(CALLBACK_KEY); in onCreate() local
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0963/src/android/security/cts/CVE_2021_0963/
DPocActivity.java52 RemoteCallback cb = in sendTestResult() local
DDeviceTest.java127 RemoteCallback cb = in testOverlayButtonPresence() local
137 intent.putExtra(mContext.getString(R.string.callback), cb); in testOverlayButtonPresence() local
DPocService.java89 RemoteCallback cb = in sendTestResult() local
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/
DAppPredictionServiceTest.java139 RequestVerifier cb = new RequestVerifier(mReporter); in testRegisterPredictionUpdatesLifecycle() local
140 client.registerPredictionUpdates(Executors.newSingleThreadExecutor(), cb); in testRegisterPredictionUpdatesLifecycle() local
223 RequestVerifier cb = new RequestVerifier(mReporter); in testSortTargets() local
DServiceReporter.java63 void setPredictionsProvider(PredictionsProvider cb) { in setPredictionsProvider()
71 void setSortedPredictionsProvider(SortedPredictionsProvider cb) { in setSortedPredictionsProvider()
/cts/tests/tests/transition/src/android/transition/cts/
DSharedElementCallbackTest.java57 Callback cb = new Callback(); in testSnapshot() local
/cts/tests/tests/security/src/android/security/cts/CVE_2022_20358/
DCVE_2022_20358.java65 RemoteCallback cb = new RemoteCallback((Bundle result) -> { in testPocCVE_2022_20358() local
/cts/tests/tests/systemui/src/android/systemui/cts/
DColorUtils.java50 final float cb = (V - b) / vtemp; in hue() local
/cts/tests/tests/telephony/current/src/android/telephony/gba/cts/
DGbaServiceTest.java124 TelephonyManager.BootstrapAuthenticationCallback cb = new in testAuthSuccess() local
187 TelephonyManager.BootstrapAuthenticationCallback cb = new in runGbaFailCase() local
/cts/tests/tests/permission/src/android/permission/cts/
DActivityPermissionRationaleTest.java74 RemoteCallback cb = new RemoteCallback((Bundle result) -> in assertAppShowRationaleIs() local

12