Searched refs:testUid (Results 1 – 5 of 5) sorted by relevance
138 final int testUid = pm.getPackageUid(packageName, 0); in wifiSlice_grantedPermissionToDefaultAssistant() local140 assertThat(mSliceManager.checkSlicePermission(WIFI_SLICE_URI, testPid, testUid)) in wifiSlice_grantedPermissionToDefaultAssistant()169 final int testUid = pm.getPackageUid(packageName, 0); in wifiSlice_grantedPermissionToDefaultVoiceAssistant() local171 assertThat(mSliceManager.checkSlicePermission(WIFI_SLICE_URI, testPid, testUid)) in wifiSlice_grantedPermissionToDefaultVoiceAssistant()
39 private val testUid by lazy { in noteSyncOpFromNativeCode() constant210 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()
143 final int testUid = DeviceUtils.getStatsdTestAppUid(getDevice()); in assertBatteryUsageStatsAtom() local146 if (consumer.getUid() == testUid) { in assertBatteryUsageStatsAtom()
276 final int testUid = mPackageManager.getPackageUid(TEST_APP_PACKAGE_NAME, 0); in assertOpDisallowed() local278 () -> mAppOpsManager.checkOpNoThrow(op, testUid, TEST_APP_PACKAGE_NAME)); in assertOpDisallowed()
671 final int testUid = android.os.Process.myUid(); in testAudioFocusExclusive() local674 mAM.enterAudioFocusFreezeForTest(Arrays.asList(testUid))); in testAudioFocusExclusive()740 final int testUid = android.os.Process.myUid(); in testAudioFocusExclusiveAndRecording() local743 mAM.enterAudioFocusFreezeForTest(Arrays.asList(testUid))); in testAudioFocusExclusiveAndRecording()