Home
last modified time | relevance | path

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

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMixedModesTest.java39 removeRestrictBackgroundWhitelist(mUid); in setUp()
40 removeRestrictBackgroundBlacklist(mUid); in setUp()
98 addRestrictBackgroundWhitelist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
103 removeRestrictBackgroundWhitelist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
107 removeRestrictBackgroundWhitelist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
114 addRestrictBackgroundWhitelist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
121 removeRestrictBackgroundWhitelist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
124 addRestrictBackgroundBlacklist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
129 removeRestrictBackgroundBlacklist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
132 addRestrictBackgroundBlacklist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
[all …]
DDataSaverModeTest.java43 removeRestrictBackgroundWhitelist(mUid); in setUp()
44 removeRestrictBackgroundBlacklist(mUid); in setUp()
83 addRestrictBackgroundWhitelist(mUid); in testGetRestrictBackgroundStatus_disabled()
98 addRestrictBackgroundWhitelist(mUid); in testGetRestrictBackgroundStatus_whitelisted()
102 removeRestrictBackgroundWhitelist(mUid); in testGetRestrictBackgroundStatus_whitelisted()
148 addRestrictBackgroundBlacklist(mUid); in testGetRestrictBackgroundStatus_blacklisted()
161 addRestrictBackgroundWhitelist(mUid); in testGetRestrictBackgroundStatus_blacklisted()
167 addRestrictBackgroundBlacklist(mUid); in testGetRestrictBackgroundStatus_blacklisted()
172 removeRestrictBackgroundBlacklist(mUid); in testGetRestrictBackgroundStatus_blacklisted()
DAbstractAppIdleTestCase.java190 addAppIdleWhitelist(mUid); in testAppIdleNetworkAccess_idleWhitelisted()
193 removeAppIdleWhitelist(mUid); in testAppIdleNetworkAccess_idleWhitelisted()
197 addAppIdleWhitelist(mUid + 1); in testAppIdleNetworkAccess_idleWhitelisted()
199 removeAppIdleWhitelist(mUid + 1); in testAppIdleNetworkAccess_idleWhitelisted()
DNetworkCallbackTest.java149 removeRestrictBackgroundWhitelist(mUid); in setUp()
150 removeRestrictBackgroundBlacklist(mUid); in setUp()
184 addRestrictBackgroundWhitelist(mUid); in testOnBlockedStatusChanged_data_saver()
189 removeRestrictBackgroundWhitelist(mUid); in testOnBlockedStatusChanged_data_saver()
DAbstractRestrictBackgroundNetworkTestCase.java127 protected int mUid; field in AbstractRestrictBackgroundNetworkTestCase
145 mUid = getUid(TEST_APP2_PKG); in setUp()
159 + "\tapp2: uid=" + mUid + ", state=" + getProcessStateByUid(mUid)); in setUp()
342 state = getProcessStateByUid(mUid); in assertBackgroundState()
343 Log.v(TAG, "assertBackgroundState(): status for app2 (" + mUid + ") on attempt #" + i in assertBackgroundState()
359 state = getProcessStateByUid(mUid); in assertForegroundState()
360 Log.v(TAG, "assertForegroundState(): status for app2 (" + mUid + ") on attempt #" + i in assertForegroundState()
377 state = getProcessStateByUid(mUid); in assertForegroundServiceState()
378 Log.v(TAG, "assertForegroundServiceState(): status for app2 (" + mUid + ") on attempt #" in assertForegroundServiceState()
1065 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.java29 final int mUid; field in UidImportanceListener
41 mUid = uid; in UidImportanceListener()
51 if (uid == mUid) { in onUidImportance()
DWatchUidRunner.java79 final int mUid; field in WatchUidRunner
102 mUid = uid; in WatchUidRunner()
139 + " uid " + mUid + " but next report was " + Arrays.toString(line); in expect()
146 + " uid " + mUid + " but next report was " + Arrays.toString(line); in expect()
DServiceProcessController.java51 final int mUid; field in ServiceProcessController
91 mUid = appInfo.uid; in ServiceProcessController()
165 return mUid; in getUid()
/cts/tests/tests/media/src/android/media/cts/
DAudioPlaybackCaptureTest.java78 private int mUid; //< UID of this test field in AudioPlaybackCaptureTest
143 mUid = mActivity.getApplicationInfo().uid; in setup()
318 mAPCTestConfig.matchingUids = new int[]{ mUid }; in testCombineUid()
363 mAPCTestConfig.matchingUids = new int[]{ mUid }; in testCaptureMatchingUid()
379 mAPCTestConfig.excludeUids = new int[]{ mUid }; in testCaptureExcludeUid()
/cts/tests/app/src/android/app/cts/
DServiceTest.java225 private int mUid; field in ServiceTest.IsolatedConnection
231 mUid = mPid = -1; in IsolatedConnection()
260 return mUid; in getUid()
367 mUid = getUidIpc(); in onServiceConnected()
1332 final int mUid; field in ServiceTest.LruOrderItem
1337 mUid = -1; in LruOrderItem()
1343 mUid = uid; in LruOrderItem()
1352 return mInfo != null ? mInfo.getConnection().getUid() : mUid; in getUid()