Home
last modified time | relevance | path

Searched refs:testUid (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/settings/src/android/settings/cts/
DWifiSliceTest.java138 final int testUid = pm.getPackageUid(packageName, 0); in wifiSlice_grantedPermissionToDefaultAssistant() local
140 assertThat(mSliceManager.checkSlicePermission(WIFI_SLICE_URI, testPid, testUid)) in wifiSlice_grantedPermissionToDefaultAssistant()
169 final int testUid = pm.getPackageUid(packageName, 0); in wifiSlice_grantedPermissionToDefaultVoiceAssistant() local
171 assertThat(mSliceManager.checkSlicePermission(WIFI_SLICE_URI, testPid, testUid)) in wifiSlice_grantedPermissionToDefaultVoiceAssistant()
/cts/tests/tests/appop/AppThatUsesAppOps/src/android/app/appops/cts/appthatusesappops/
DAppOpsUserService.kt39 private val testUid by lazy { in noteSyncOpFromNativeCode() constant
210 assertThat(asyncNoted[0].notingUid).isEqualTo(testUid) in noteSyncOpFromNativeCode()
373 assertThat(asyncNoted[0].notingUid).isEqualTo(testUid) in noteSyncOpFromNativeCode()
385 assertThat(asyncNoted[0].notingUid).isEqualTo(testUid) in noteSyncOpFromNativeCode()
398 assertThat(asyncNoted[0].notingUid).isEqualTo(testUid) in noteSyncOpFromNativeCode()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/batterystats/
DBatteryUsageStatsTests.java143 final int testUid = DeviceUtils.getStatsdTestAppUid(getDevice()); in assertBatteryUsageStatsAtom() local
146 if (consumer.getUid() == testUid) { in assertBatteryUsageStatsAtom()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DSuspendPackagesTest.java276 final int testUid = mPackageManager.getPackageUid(TEST_APP_PACKAGE_NAME, 0); in assertOpDisallowed() local
278 () -> mAppOpsManager.checkOpNoThrow(op, testUid, TEST_APP_PACKAGE_NAME)); in assertOpDisallowed()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioFocusTest.java671 final int testUid = android.os.Process.myUid(); in testAudioFocusExclusive() local
674 mAM.enterAudioFocusFreezeForTest(Arrays.asList(testUid))); in testAudioFocusExclusive()
740 final int testUid = android.os.Process.myUid(); in testAudioFocusExclusiveAndRecording() local
743 mAM.enterAudioFocusFreezeForTest(Arrays.asList(testUid))); in testAudioFocusExclusiveAndRecording()