Home
last modified time | relevance | path

Searched refs:Int (Results 1 – 25 of 46) sorted by relevance

12

/cts/tests/tests/widget/src/android/widget/cts/util/
DStretchEdgeUtil.kt38 deltaX: Int, in fling()
39 deltaY: Int in fling()
68 dragX: Int, in dragStretches()
69 dragY: Int in dragStretches()
100 dragX: Int = 0, in dragAndHoldExecute()
101 dragY: Int = 0, in dragAndHoldExecute()
152 dragX: Int = 0, in dragAndHoldKeepsStretch()
153 dragY: Int = 0 in dragAndHoldKeepsStretch()
208 dragStartX: Int, in emulateDragGesture()
209 dragStartY: Int, in emulateDragGesture()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DFutureResultActivity.kt34 private val requests = ConcurrentHashMap<Int, CompletableFuture<Int>>()
37 fun doAndAwaitStart(act: () -> Unit): CompletableFuture<Int> { in doAndAwaitStart()
47 override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { in onActivityResult()
51 fun startActivityForResult(intent: Intent): CompletableFuture<Int> { in startActivityForResult()
53 val future = CompletableFuture<Int>() in startActivityForResult()
/cts/tests/tests/systemui/src/android/systemui/cts/tv/
DTvTestBase.kt94 flags: Set<Int> = setOf(), in onSetUp()
96 intExtras: Map<String, Int> = mapOf(), in onSetUp()
117 flags: Set<Int> = setOf(), in sendBroadcast()
119 intExtras: Map<String, Int> = mapOf(), in sendBroadcast()
137 flags: Set<Int> = setOf(), in composeAmShellCommand()
139 intExtras: Map<String, Int> = mapOf(), in composeAmShellCommand()
196 override fun onForegroundActivitiesChanged(pid: Int, uid: Int, foreground: Boolean) {} in onForegroundActivitiesChanged()
198 override fun onForegroundServicesChanged(pid: Int, uid: Int, serviceTypes: Int) {} in onForegroundServicesChanged()
200 override fun onProcessDied(pid: Int, uid: Int) { in onProcessDied()
/cts/tests/app/shared/src/android/app/cts/
DNotificationTemplateTestBase.kt50 @DimenRes heightDimen: Int? = null, in <lambda>()
70 protected fun createBitmap(width: Int, height: Int): Bitmap = in <lambda>()
138 private fun getAndroidRes(resType: String, resName: String): Int = in <lambda>()
142 protected fun getAndroidRId(idName: String): Int = getAndroidRes("id", idName) in <lambda>()
145 protected fun getAndroidRString(stringName: String): Int = getAndroidRes("string", stringName) in <lambda>()
148 protected fun getAndroidRBool(boolName: String): Int = getAndroidRes("bool", boolName) in <lambda>()
/cts/tests/tests/appop/AppThatCanBeForcedIntoForegroundStates/src/android/app/appops/cts/appthatcanbeforcedintoforegroundstates/
DAppOpsForegroundControlForegroundService.kt57 override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int { in onStartCommand()
DAppOpsForegroundControlLocationForegroundService.kt58 override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int { in onStartCommand()
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DPackageInstallerTestBase.kt78 private var installSessionResult = LinkedBlockingQueue<Int>() in <lambda>()
129 protected fun getInstallSessionResult(timeout: Long = TIMEOUT): Int? { in <lambda>()
136 protected fun startInstallationViaSession(): CompletableFuture<Int> { in <lambda>()
140 protected fun startInstallationViaSession(installFlags: Int): CompletableFuture<Int> { in <lambda>()
176 protected fun startInstallationViaIntent(): CompletableFuture<Int> { in <lambda>()
211 fun setSecureSetting(secureSetting: String, value: Int) { in <lambda>()
/cts/tests/tests/appop/AppForDiscreteTest/src/android/app/appops/cts/appfordiscretetest/
DAppOpsForegroundControlLocationForegroundService.kt58 override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int { in onStartCommand()
/cts/tests/tests/permission3/src/android/permission3/cts/
DStartForFutureActivity.kt32 override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { in onActivityResult()
DPermissionReviewTest.kt118 val results = LinkedBlockingQueue<Int>() in testReviewPermissionWhenServiceIsBound()
131 override fun onReceiveResult(resultCode: Int, resultData: Bundle?) { in testReviewPermissionWhenServiceIsBound()
/cts/tests/inputmethod/mockspellchecker/src/com/android/cts/mockspellchecker/
DMockSpellChecker.kt62 suggestionsLimit: Int in onGetSentenceSuggestionsMultiple()
90 suggestionsLimit: Int in onGetSuggestions()
108 cookie: Int, in suggestionsInfo()
109 sequence: Int in suggestionsInfo()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DAnimatedImageDrawableTest.kt81 resizer: (Drawable, Int, Int) -> Unit, in <lambda>()
86 override fun draw(canvas: Canvas, width: Int, height: Int) { in <lambda>()
101 resizer: (Drawable, Int, Int) -> Unit in <lambda>()
DNinePatchTests.kt42 override fun draw(canvas: Canvas, width: Int, height: Int) { in <lambda>()
/cts/tests/input/src/android/input/cts/
DInputShellCommandTest.kt32 private fun getViewCenterOnScreen(v: View): Pair<Int, Int> { in getViewCenterOnScreen()
105 private fun assertToolType(event: MotionEvent, toolType: Int) { in assertToolType()
113 private fun assertTapToolType(toolType: Int) { in assertTapToolType()
/cts/tests/tests/permission3/UsePermissionApp30WithBluetooth/src/android/permission3/cts/usepermission/
DAccessBluetoothOnCommand.kt57 override fun onScanResult(callbackType: Int, result: ScanResult) { in call()
68 override fun onScanFailed(errorCode: Int) { in call()
124 override fun delete(uri: Uri, selection: String?, selectionArgs: Array<String>?): Int { in delete()
133 ): Int { in update()
/cts/tests/tests/packageinstaller/install_appop_default/src/android/packageinstaller/install_appop_default/cts/
DPackageInstallerTestBase.kt74 private var installSessionResult = LinkedBlockingQueue<Int>() in <lambda>()
125 protected fun getInstallSessionResult(timeout: Long = TIMEOUT): Int? { in <lambda>()
132 protected fun startInstallationViaSession(): CompletableFuture<Int> { in <lambda>()
162 protected fun startInstallationViaIntent(): CompletableFuture<Int> { in <lambda>()
197 fun setSecureSetting(secureSetting: String, value: Int) { in <lambda>()
/cts/tests/tests/permission3/PermissionPolicyApp25/src/android/permission3/cts/permissionpolicy/
DTestProtectionFlagsActivity.kt67 private fun protectionToString(protection: Int): String = in <lambda>()
76 private fun protectionFlagsToString(protectionFlags: Int): String { in <lambda>()
79 val appendProtectionFlag = { protectionFlag: Int, protectionFlagString: String -> in <lambda>()
/cts/hostsidetests/packagemanager/domainverification/lib/constants/java/src/com/android/cts/packagemanager/verify/domain/java/
DDomainUtils.kt49 fun setAppLinksAllowed(packageName: String, userId: Int, enabled: Boolean) =
54 userId: Int,
/cts/tests/app/NotificationProvider/src/com/android/test/notificationprovider/
DAssetFileProvider.kt56 override fun delete(uri: Uri, selection: String?, selectionArgs: Array<String>?): Int { in delete()
65 ): Int { in update()
/cts/tests/app/app/src/android/app/stubs/
DAssetFileProvider.kt49 override fun delete(uri: Uri, selection: String?, selectionArgs: Array<String>?): Int =
57 ): Int = throw UnsupportedOperationException()
/cts/tests/tests/appop/appopsTestUtilLib/src/android/app/appops/cts/
DAppOpsUtils.kt53 fun setOpMode(packageName: String, opStr: String, mode: Int): String { in setOpMode()
68 fun getOpMode(packageName: String, opStr: String): Int { in getOpMode()
173 fun getOpEntry(uid: Int, packageName: String, op: String): OpEntry? { in getOpEntry()
/cts/hostsidetests/packagemanager/parsing/host/src/android/content/pm/parsing/cts/host/
DUsesSdkTest.kt245 min: Int = 1, in assertSdks()
246 target: Int = 1, in assertSdks()
247 extensions: Map<Int, Int> = emptyMap() in assertSdks()
/cts/tests/tests/security/src/android/security/cts/
DFlagSlipperyTest.kt63 private fun assertAction(action: Int, event: MotionEvent?) { in assertAction()
80 override fun surfaceChanged(holder: SurfaceHolder, format: Int, width: Int, height: Int) {} in surfaceChanged()
356 private fun sendEvent(downTime: Long, action: Int, x: Float, y: Float) { in sendEvent()
/cts/tests/tests/permission/AppThatDefinesUndefinedPermissionGroupElement/src/android/permission/cts/appthatrequestpermission/
DRequestPermissions.kt28 requestCode: Int, in onRequestPermissionsResult()
/cts/tests/tests/sensorprivacy/test-apps/utils/src/android/sensorprivacy/cts/testapp/utils/
DUtils.kt57 cameraOpenRetryCountRO: Int, in openCam()
58 cameraMaxOpenRetryRO: Int in openCam()
122 override fun onError(cD: CameraDevice, i: Int) { in openCam()

12