Home
last modified time | relevance | path

Searched refs:packageOps (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/appop/src/android/app/appops/cts/
DDiscreteAppopsTest.kt209 var packageOps = uidOps.getPackageOpsAt(0) in <lambda>() variable
210 assertThat(packageOps).isNotNull() in <lambda>()
211 assertThat(packageOps.packageName).isEqualTo(PACKAGE_NAME) in <lambda>()
212 assertThat(packageOps.opCount).isEqualTo(1) in <lambda>()
214 var op = packageOps.getOpAt(0) in <lambda>()
233 packageOps = uidOps.getPackageOpsAt(0) in <lambda>()
234 assertThat(packageOps).isNotNull() in <lambda>()
235 assertThat(packageOps.packageName).isEqualTo(PACKAGE_NAME) in <lambda>()
236 assertThat(packageOps.opCount).isEqualTo(1) in <lambda>()
238 op = packageOps.getOpAt(0) in <lambda>()
[all …]
DHistoricalAppopsTest.kt400 val packageOps = uidOps.getPackageOpsAt(0) in <lambda>() constant
401 assertThat(packageOps).isNotNull() in <lambda>()
402 assertThat(packageOps.packageName).isEqualTo(packageName) in <lambda>()
403 assertThat(packageOps.opCount).isEqualTo(1) in <lambda>()
405 val op = packageOps.getOpAt(0) in <lambda>()
547 val packageOps = uidOps.getPackageOpsAt(0) in <lambda>() constant
548 assertThat(packageOps).isNotNull() in <lambda>()
550 val op = packageOps.getOpAt(0) in <lambda>()
DAppOpsDeviceAwareTest.kt160 val packageOps = in getPackagesForOps_isDeviceAware() constant
162 assertThat(packageOps).isNotNull() in getPackagesForOps_isDeviceAware()
164 val opEntries = packageOps!!.ops in getPackagesForOps_isDeviceAware()
/cts/tests/tests/activityrecognition/src/android/activityrecognition/cts/
DActivityRecognizerAttributionTags.kt119 val packageOps = affectedPackageOps[i] in assertNotedOpsSinceLastArAccess() constant
120 if (!context.getPackageName().equals(packageOps.packageName)) { in assertNotedOpsSinceLastArAccess()
124 val opEntries = packageOps.ops in assertNotedOpsSinceLastArAccess()
/cts/tests/location/location_fine/src/android/location/cts/fine/
DLocationManagerFineTest.java1697 for (AppOpsManager.PackageOps packageOps : affectedPackageOps) { in assertFineOpNoted()
1698 if (mContext.getPackageName().equals(packageOps.getPackageName())) { in assertFineOpNoted()
1700 for (AppOpsManager.OpEntry opEntry : packageOps.getOps()) { in assertFineOpNoted()
1731 for (AppOpsManager.PackageOps packageOps : affectedPackageOps) { in assertFineOpNotNoted()
1732 if (mContext.getPackageName().equals(packageOps.getPackageName())) { in assertFineOpNotNoted()
1734 for (AppOpsManager.OpEntry opEntry : packageOps.getOps()) { in assertFineOpNotNoted()
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/
DRuntimePermissionsAppOpTrackingTest.kt1203 .filter { packageOps: AppOpsManager.PackageOps? -> in <lambda>() method
1204 packageOps!!.uid == uid && packageOps.packageName == packageName in <lambda>()