Home
last modified time | relevance | path

Searched refs:mainExecutor (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/attributionsource/BlamedPermissionApp2/src/android/attributionsource/cts/blamed2/
DMyRecognitionService.kt52 mainExecutor.execute({ in onCancel()
87 mainExecutor.execute({ in performOperationInjectRecoWithoutAttribution()
/cts/tests/contextualsearch/src/android/contextualsearch/cts/
DContextualSearchManagerTest.kt134 token.getContextualSearchState(context.mainExecutor, callback) in testRequestContextualSearchState()
155 token.getContextualSearchState(context.mainExecutor, callback) in testRequestContextualSearchStateWithTokenRefresh()
188 token.getContextualSearchState(context.mainExecutor, callback) in testTokenWithinValidDuration()
191 token.getContextualSearchState(context.mainExecutor, callback) in testTokenWithinValidDuration()
214 token.getContextualSearchState(context.mainExecutor, callback) in testTokenAfterValidDuration()
/cts/tests/tests/companion/AssociationRevokedTestApp/src/android.os.cts.associationrevokedtestapp/
DMainActivity.kt52 this.mainExecutor, in onAttachedToWindow()
/cts/tests/tests/activityrecognition/src/android/activityrecognition/cts/
DActivityRecognizerAttributionTags.kt80 UserHandle.SYSTEM, context.mainExecutor) { in addActivityRecognizer()
/cts/tests/tests/security/src/android/security/cts/
DRolePermissionOverrideTest.kt121 roleName, packageName, 0, user, context.mainExecutor, future in addRoleHolder()
/cts/tests/tests/appop/src/android/app/appops/cts/
DForegroundModeAndActiveTest.kt449 appopsManager.startWatchingActive(arrayOf(OPSTR_FINE_LOCATION), context.mainExecutor) { in <lambda>()
528 context.mainExecutor, in <lambda>()
DHistoricalAppopsTest.kt517 appOpsManager.getHistoricalOps(request, context.mainExecutor, Consumer { ops -> in <lambda>()
592 appOpsManager.getHistoricalOpsFromDiskRaw(request, context.mainExecutor, in <lambda>()
DAppOpsLoggingTest.kt812 context.mainExecutor, in nativeNoteOp()
832 cameraManager!!.openCamera(cameraId, context.mainExecutor, cameraDeviceCallback) in nativeNoteOp()
DDiscreteAppopsTest.kt1108 appOpsManager.getHistoricalOps(request, context.mainExecutor, Consumer { ops -> in <lambda>()
/cts/tests/app/src/android/app/cts/
DUiModeManagerTest.java860 Executor mainExecutor = mContext.getMainExecutor(); in testRemoveContrastChangeListener() local
874 mUiModeManager.addContrastChangeListener(mainExecutor, removedListener); in testRemoveContrastChangeListener()
875 mUiModeManager.addContrastChangeListener(mainExecutor, listener); in testRemoveContrastChangeListener()
/cts/tests/tests/appop/AppThatUsesAppOps/src/android/app/appops/cts/appthatusesappops/
DAppOpsUserService.kt59 appOpsManager.setOnOpNotedCallback(mainExecutor, in noteSyncOpFromNativeCode()
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/
DSystemDataTransferTest.kt353 cdm.startSystemDataTransfer(associationId, context.mainExecutor, callback) in <lambda>()
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/
DRuntimePermissionsAppOpTrackingTest.kt397 context.mainExecutor, listener) in <lambda>()
549 context.mainExecutor, listener) in <lambda>()
847 appOpsManager.getHistoricalOps(request, context.mainExecutor, in <lambda>()