Home
last modified time | relevance | path

Searched refs:mUid (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMixedModesTest.java38 removeRestrictBackgroundWhitelist(mUid); in setUp()
39 removeRestrictBackgroundBlacklist(mUid); in setUp()
88 addRestrictBackgroundWhitelist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
93 removeRestrictBackgroundWhitelist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
97 removeRestrictBackgroundWhitelist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
104 addRestrictBackgroundWhitelist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
111 removeRestrictBackgroundWhitelist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
114 addRestrictBackgroundBlacklist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
119 removeRestrictBackgroundBlacklist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
122 addRestrictBackgroundBlacklist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
[all …]
DDataSaverModeTest.java42 removeRestrictBackgroundWhitelist(mUid); in setUp()
43 removeRestrictBackgroundBlacklist(mUid); in setUp()
99 addRestrictBackgroundWhitelist(mUid); in testGetRestrictBackgroundStatus_disabled()
114 addRestrictBackgroundWhitelist(mUid); in testGetRestrictBackgroundStatus_whitelisted()
118 removeRestrictBackgroundWhitelist(mUid); in testGetRestrictBackgroundStatus_whitelisted()
164 addRestrictBackgroundBlacklist(mUid); in testGetRestrictBackgroundStatus_blacklisted()
177 addRestrictBackgroundWhitelist(mUid); in testGetRestrictBackgroundStatus_blacklisted()
183 addRestrictBackgroundBlacklist(mUid); in testGetRestrictBackgroundStatus_blacklisted()
188 removeRestrictBackgroundBlacklist(mUid); in testGetRestrictBackgroundStatus_blacklisted()
DAbstractRestrictBackgroundNetworkTestCase.java113 protected int mUid; field in AbstractRestrictBackgroundNetworkTestCase
129 mUid = getUid(TEST_APP2_PKG); in setUp()
144 + "\tapp2: uid=" + mUid + ", state=" + getProcessStateByUid(mUid)); in setUp()
287 state = getProcessStateByUid(mUid); in assertBackgroundState()
288 Log.v(TAG, "assertBackgroundState(): status for app2 (" + mUid + ") on attempt #" + i in assertBackgroundState()
304 state = getProcessStateByUid(mUid); in assertForegroundState()
305 Log.v(TAG, "assertForegroundState(): status for app2 (" + mUid + ") on attempt #" + i in assertForegroundState()
322 state = getProcessStateByUid(mUid); in assertForegroundServiceState()
323 Log.v(TAG, "assertForegroundServiceState(): status for app2 (" + mUid + ") on attempt #" in assertForegroundServiceState()
926 fail("Network is not available for app2 (" + mUid + "): " + errors[0]); in launchComponentAndAssertNetworkAccess()
[all …]
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DUidImportanceListener.java27 final int mUid; field in UidImportanceListener
32 mUid = uid; in UidImportanceListener()
39 if (uid == mUid) { in onUidImportance()