Home
last modified time | relevance | path

Searched refs:testPid (Results 1 – 3 of 3) sorted by relevance

/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/
DBroadcastDeferralTest.java65 int testPid = -1; in testFgBroadcastDeliveryToFrozenApp_withDeferUntilActive() local
72 testPid = cmdReceiver2.getPid(); in testFgBroadcastDeliveryToFrozenApp_withDeferUntilActive()
86 waitForProcessFreeze(testPid, SHORT_FREEZER_TIMEOUT_MS * 2); in testFgBroadcastDeliveryToFrozenApp_withDeferUntilActive()
92 assertTrue("Process should still be frozen; pid=" + testPid, isProcessFrozen(testPid)); in testFgBroadcastDeliveryToFrozenApp_withDeferUntilActive()
131 int testPid = -1; in testFgBroadcastDeliveryToFrozenApp() local
136 testPid = cmdReceiver2.getPid(); in testFgBroadcastDeliveryToFrozenApp()
145 waitForProcessFreeze(testPid, SHORT_FREEZER_TIMEOUT_MS * 2); in testFgBroadcastDeliveryToFrozenApp()
DBroadcastFreezerTest.java77 int testPid; in testBroadcastOptions_appFreezingDelayed() local
83 testPid = cmdReceiver.getPid(); in testBroadcastOptions_appFreezingDelayed()
119 isProcessFrozen(testPid)); in testBroadcastOptions_appFreezingDelayed()
138 int testPid; in testBroadcastDelivery_syncTxnWhileFrozen() local
141 testPid = cmdReceiver.getPid(); in testBroadcastDelivery_syncTxnWhileFrozen()
148 assertTrue("Test app should have been frozen", isProcessFrozen(testPid)); in testBroadcastDelivery_syncTxnWhileFrozen()
/cts/tests/tests/settings/src/android/settings/cts/
DWifiSliceTest.java137 final int testPid = Process.myPid(); in wifiSlice_grantedPermissionToDefaultAssistant() local
140 assertThat(mSliceManager.checkSlicePermission(WIFI_SLICE_URI, testPid, testUid)) in wifiSlice_grantedPermissionToDefaultAssistant()
168 final int testPid = Process.myPid(); in wifiSlice_grantedPermissionToDefaultVoiceAssistant() local
171 assertThat(mSliceManager.checkSlicePermission(WIFI_SLICE_URI, testPid, testUid)) in wifiSlice_grantedPermissionToDefaultVoiceAssistant()