/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | AppOpsLoggingTest.kt | 111 attributionTag: String? = null, in nativeNoteOp() 119 attributionTag: String? = null in nativeNoteOp() 232 assertThat(selfNoted.map { it.first.attributionTag to it.first.op }) in nativeNoteOp() 241 assertThat(selfNoted.map { it.first.attributionTag }).containsExactly(TEST_ATTRIBUTION_TAG) in nativeNoteOp() 253 assertThat(asyncNoted[0].attributionTag).isEqualTo(null) in nativeNoteOp() 264 attributionTag = TEST_ATTRIBUTION_TAG, message = "testMsg") in nativeNoteOp() 268 assertThat(asyncNoted[0].attributionTag).isEqualTo(TEST_ATTRIBUTION_TAG) in nativeNoteOp() 455 assertThat(noted[0].first.attributionTag).isEqualTo(TEST_ATTRIBUTION_TAG) in nativeNoteOp() 481 assertThat(filteredAsync[0].attributionTag).isEqualTo(TEST_ATTRIBUTION_TAG) in nativeNoteOp() 517 assertThat(asyncNoted[0].attributionTag).isEqualTo(TEST_ATTRIBUTION_TAG) in nativeNoteOp() [all …]
|
D | AppOpsDeviceAwareTest.kt | 82 .setAttributionTag(context.attributionTag) in getUidMode_shouldBeInferredFromPermissionState() 134 .setAttributionTag(context.attributionTag) in getPackagesForOps_isDeviceAware() 193 .setAttributionTag(context.attributionTag) in getPermissionGroupUsageForPrivacyIndicator_isDeviceAware()
|
D | AppOpEventCollectionTest.kt | 325 assertThat(attributionOpEntry.getLastProxyInfo(OP_FLAG_TRUSTED_PROXIED)?.attributionTag) in noteFromTwoProxiesAndVerifyProxyInfo() 327 assertThat(attributionOpEntry.getLastProxyInfo(OP_FLAG_UNTRUSTED_PROXIED)?.attributionTag) in noteFromTwoProxiesAndVerifyProxyInfo() 331 assertThat(attributionOpEntry.getLastProxyInfo(OP_FLAGS_ALL)?.attributionTag) in noteFromTwoProxiesAndVerifyProxyInfo() 360 .attributionTag).isNull() in startStopTrustedProxyVerifyRunningAndTime() 391 assertThat(attributionOpEntry.getLastProxyInfo(OP_FLAG_TRUSTED_PROXIED)?.attributionTag) in startStopTrustedProxyVerifyRunningAndTime() 410 .attributionTag).isEqualTo(secondTag) in startStopUntrustedProxyVerifyRunningAndTime() 437 assertThat(attributionOpEntry.getLastProxyInfo(OP_FLAG_UNTRUSTED_PROXIED)?.attributionTag) in startStopUntrustedProxyVerifyRunningAndTime() 470 assertThat(attributionOpEntry.getLastProxyInfo(OP_FLAG_TRUSTED_PROXIED)?.attributionTag) in startStopTrustedAndUntrustedProxyVerifyProxyInfo() 472 assertThat(attributionOpEntry.getLastProxyInfo(OP_FLAG_UNTRUSTED_PROXIED)?.attributionTag) in startStopTrustedAndUntrustedProxyVerifyProxyInfo() 476 assertThat(attributionOpEntry.getLastProxyInfo(OP_FLAGS_ALL)?.attributionTag) in startStopTrustedAndUntrustedProxyVerifyProxyInfo()
|
D | AppOpsTest.kt | 385 attributionTag: String?, in startOpTwiceAndVerifyDeviceAttributedChangeListener() 617 attributionTag: String?, in startWatchingNoted_withoutExecutor_whenOpNoted_receivesCallback() 622 && attributionTag == null in startWatchingNoted_withoutExecutor_whenOpNoted_receivesCallback() 678 attributionTag: String?, in startWatchingNoted_withExecutor_whenOpNoted_receivesCallback() 683 && Objects.equal(attributionTag, TEST_ATTRIBUTION) in startWatchingNoted_withExecutor_whenOpNoted_receivesCallback() 740 attributionTag: String?, in startWatchingNoted_withoutExecutor_whenOpNoted_receivesDeviceAttributedCallback() 747 attributionTag: String?, in startWatchingNoted_withoutExecutor_whenOpNoted_receivesDeviceAttributedCallback() 753 && Objects.equal(attributionTag, TEST_ATTRIBUTION) in startWatchingNoted_withoutExecutor_whenOpNoted_receivesDeviceAttributedCallback() 812 attributionTag: String?, in startWatchingNoted_withExecutor_whenOpNoted_receivesDeviceAttributedCallback() 819 attributionTag: String?, in startWatchingNoted_withExecutor_whenOpNoted_receivesDeviceAttributedCallback() [all …]
|
D | RuntimeMessageCollectionTest.kt | 75 assertThat(message.attributionTag).isEqualTo(TEST_ATTRIBUTION_TAG) in collectAsyncStackTrace()
|
D | AttributionTest.kt | 249 … return entry.attributedOpEntries[attribution]?.getLastProxyInfo(OP_FLAGS_ALL)?.attributionTag in getPersistedAttribution()
|
/cts/tests/tests/appop/jni/android/app/appops/cts/ |
D | AppOpsLoggingTest.cpp | 39 std::optional<String16> attributionTag; in Java_android_app_appops_cts_AppOpsLoggingTestKt_nativeNoteOp() local 42 attributionTag = String16(nativeAttributionTag); in Java_android_app_appops_cts_AppOpsLoggingTestKt_nativeNoteOp() 52 appOpsManager.noteOp(op, uid, callingPackageName, attributionTag, message); in Java_android_app_appops_cts_AppOpsLoggingTestKt_nativeNoteOp()
|
/cts/tests/tests/appop/aidl/AppOpsUserService/src/android/app/appops/cts/ |
D | IAppOpsUserClient.aidl | 21 void noteSyncOpWithAttribution(String attributionTag); in noteSyncOpWithAttribution() argument 33 void noteAsyncOpWithAttribution(String attributionTag); in noteAsyncOpWithAttribution() argument
|
/cts/tests/tests/appop/AppThatUsesAppOps/src/android/app/appops/cts/appthatusesappops/ |
D | AppOpsUserService.kt | 140 assertThat(noted.map { it.first.attributionTag to it.first.op }) in noteSyncOpFromNativeCode() 169 assertThat(noted.map { it.first.attributionTag }) in noteSyncOpFromNativeCode() 347 assertThat(asyncNoted.map { it.attributionTag to it.op }) in noteSyncOpFromNativeCode() 362 assertThat(asyncNoted.map { it.attributionTag }) in noteSyncOpFromNativeCode()
|
/cts/tests/tests/activityrecognition/src/android/activityrecognition/cts/ |
D | ActivityRecognizerAttributionTags.kt | 103 fun accessActivityRecognition(attributionTag: String) { in accessActivityRecognition() 106 context.packageName, attributionTag, /*message*/ null) in accessActivityRecognition()
|
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/ |
D | RuntimePermissionsAppOpTrackingTest.kt | 896 attributionSource.attributionTag] in <lambda>() 934 attributionSource.attributionTag] in <lambda>() 963 attributionSource.attributionTag) in <lambda>() 996 attributionSource.attributionTag) ?: return in <lambda>() 1031 attributionSource.next!!.attributionTag] in <lambda>() 1059 .that(opProxyInfo.attributionTag).isNull() in <lambda>() 1062 .that(opProxyInfo.attributionTag) in <lambda>() 1063 .isEqualTo(attributionSource.attributionTag) in <lambda>() 1081 attributionSource.next!!.attributionTag!!) in <lambda>() 1220 attributionTag: String?, in <lambda>() [all …]
|
/cts/tests/tests/appop2/src/android/app/appops2/cts/ |
D | AppOpsLoggingTest.kt | 130 assertThat(asyncNoted[0].attributionTag).isEqualTo(TEST_ATTRIBUTION_TAG) in <lambda>()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | AlwaysOnHotwordDetectorNoHdsTest.java | 92 (op, uid, pkgName, attributionTag, flags, result) -> {
|
D | HotwordDetectionServiceStressTest.java | 95 (op, uid, pkgName, attributionTag, flags, result) -> {
|
D | AlwaysOnHotwordDetectorTest.java | 892 (op, uid, pkgName, attributionTag, flags, result) -> { in testOnDetected_appropriateAppOpsNoted() 939 (op, uid, pkgName, attributionTag, flags, result) -> { in testOnRejected_noAppOpsNoted()
|
D | HotwordDetectionServiceBasicTest.java | 140 (op, uid, pkgName, attributionTag, flags, result) -> {
|
/cts/tests/location/location_fine/src/android/location/cts/fine/ |
D | LocationManagerFineTest.java | 1686 String attributionTag) { in assertFineOpNoted() argument 1704 && opEntry.getAttributedOpEntries().containsKey(attributionTag) in assertFineOpNoted() 1707 .get(attributionTag) in assertFineOpNoted() 1722 long timeBeforeLocationAccess, String attributionTag) { in assertFineOpNotNoted() argument 1736 && opEntry.getAttributedOpEntries().containsKey(attributionTag) in assertFineOpNotNoted() 1739 .get(attributionTag) in assertFineOpNotNoted()
|
/cts/tests/tests/soundtrigger/src/android/soundtrigger/cts/ |
D | SoundTriggerManagerTest.java | 264 (op, uid, pkgName, attributionTag, flags, result) -> { in testRecognitionEvent_notesAppOps()
|