Searched refs:mainExecutor (Results 1 – 13 of 13) sorted by relevance
/cts/tests/tests/attributionsource/BlamedPermissionApp2/src/android/attributionsource/cts/blamed2/ |
D | MyRecognitionService.kt | 52 mainExecutor.execute({ in onCancel() 87 mainExecutor.execute({ in performOperationInjectRecoWithoutAttribution()
|
/cts/tests/contextualsearch/src/android/contextualsearch/cts/ |
D | ContextualSearchManagerTest.kt | 134 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/ |
D | MainActivity.kt | 52 this.mainExecutor, in onAttachedToWindow()
|
/cts/tests/tests/activityrecognition/src/android/activityrecognition/cts/ |
D | ActivityRecognizerAttributionTags.kt | 80 UserHandle.SYSTEM, context.mainExecutor) { in addActivityRecognizer()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | RolePermissionOverrideTest.kt | 121 roleName, packageName, 0, user, context.mainExecutor, future in addRoleHolder()
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | ForegroundModeAndActiveTest.kt | 449 appopsManager.startWatchingActive(arrayOf(OPSTR_FINE_LOCATION), context.mainExecutor) { in <lambda>() 528 context.mainExecutor, in <lambda>()
|
D | HistoricalAppopsTest.kt | 517 appOpsManager.getHistoricalOps(request, context.mainExecutor, Consumer { ops -> in <lambda>() 592 appOpsManager.getHistoricalOpsFromDiskRaw(request, context.mainExecutor, in <lambda>()
|
D | AppOpsLoggingTest.kt | 812 context.mainExecutor, in nativeNoteOp() 832 cameraManager!!.openCamera(cameraId, context.mainExecutor, cameraDeviceCallback) in nativeNoteOp()
|
D | DiscreteAppopsTest.kt | 1108 appOpsManager.getHistoricalOps(request, context.mainExecutor, Consumer { ops -> in <lambda>()
|
/cts/tests/app/src/android/app/cts/ |
D | UiModeManagerTest.java | 860 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/ |
D | AppOpsUserService.kt | 59 appOpsManager.setOnOpNotedCallback(mainExecutor, in noteSyncOpFromNativeCode()
|
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/ |
D | SystemDataTransferTest.kt | 353 cdm.startSystemDataTransfer(associationId, context.mainExecutor, callback) in <lambda>()
|
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/ |
D | RuntimePermissionsAppOpTrackingTest.kt | 397 context.mainExecutor, listener) in <lambda>() 549 context.mainExecutor, listener) in <lambda>() 847 appOpsManager.getHistoricalOps(request, context.mainExecutor, in <lambda>()
|