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.java49 removeRestrictBackgroundWhitelist(mUid); in setUp()
50 removeRestrictBackgroundBlacklist(mUid); in setUp()
87 addRestrictBackgroundWhitelist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
92 removeRestrictBackgroundWhitelist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
96 removeRestrictBackgroundWhitelist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
103 addRestrictBackgroundWhitelist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
110 removeRestrictBackgroundWhitelist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
113 addRestrictBackgroundBlacklist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
118 removeRestrictBackgroundBlacklist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
121 addRestrictBackgroundBlacklist(mUid); in testDataAndBatterySaverModes_meteredNetwork()
[all …]
DDataSaverModeTest.java52 removeRestrictBackgroundWhitelist(mUid); in setUp()
53 removeRestrictBackgroundBlacklist(mUid); in setUp()
71 addRestrictBackgroundWhitelist(mUid); in testGetRestrictBackgroundStatus_disabled()
85 addRestrictBackgroundWhitelist(mUid); in testGetRestrictBackgroundStatus_whitelisted()
89 removeRestrictBackgroundWhitelist(mUid); in testGetRestrictBackgroundStatus_whitelisted()
133 addRestrictBackgroundBlacklist(mUid); in testGetRestrictBackgroundStatus_blacklisted()
146 addRestrictBackgroundWhitelist(mUid); in testGetRestrictBackgroundStatus_blacklisted()
152 addRestrictBackgroundBlacklist(mUid); in testGetRestrictBackgroundStatus_blacklisted()
157 removeRestrictBackgroundBlacklist(mUid); in testGetRestrictBackgroundStatus_blacklisted()
DAbstractAppIdleTestCase.java163 addAppIdleWhitelist(mUid); in testAppIdleNetworkAccess_idleWhitelisted()
166 removeAppIdleWhitelist(mUid); in testAppIdleNetworkAccess_idleWhitelisted()
170 addAppIdleWhitelist(mUid + 1); in testAppIdleNetworkAccess_idleWhitelisted()
172 removeAppIdleWhitelist(mUid + 1); in testAppIdleNetworkAccess_idleWhitelisted()
DAbstractRestrictBackgroundNetworkTestCase.java134 protected int mUid; field in AbstractRestrictBackgroundNetworkTestCase
151 mUid = getUid(TEST_APP2_PKG); in setUp()
160 + "\tapp2: uid=" + mUid + ", state=" + getProcessStateByUid(mUid)); in setUp()
281 state = getProcessStateByUid(mUid); in assertBackgroundState()
282 Log.v(TAG, "assertBackgroundState(): status for app2 (" + mUid + ") on attempt #" + i in assertBackgroundState()
298 state = getProcessStateByUid(mUid); in assertForegroundState()
299 Log.v(TAG, "assertForegroundState(): status for app2 (" + mUid + ") on attempt #" + i in assertForegroundState()
316 state = getProcessStateByUid(mUid); in assertForegroundServiceState()
317 Log.v(TAG, "assertForegroundServiceState(): status for app2 (" + mUid + ") on attempt #" in assertForegroundServiceState()
763 fail("Network is not available for app2 (" + mUid + "): " + errors[0]); in launchComponentAndAssertNetworkAccess()
[all …]
DNetworkCallbackTest.java188 removeRestrictBackgroundWhitelist(mUid); in setUp()
189 removeRestrictBackgroundBlacklist(mUid); in setUp()
229 addRestrictBackgroundWhitelist(mUid); in testOnBlockedStatusChanged_dataSaver()
234 removeRestrictBackgroundWhitelist(mUid); in testOnBlockedStatusChanged_dataSaver()
/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()
177 return mUid; in getUid()
/cts/tests/tests/media/src/android/media/cts/
DAudioPlaybackCaptureTest.java79 private int mUid; //< UID of this test field in AudioPlaybackCaptureTest
144 mUid = mActivity.getApplicationInfo().uid; in setup()
319 mAPCTestConfig.matchingUids = new int[]{ mUid }; in testCombineUid()
364 mAPCTestConfig.matchingUids = new int[]{ mUid }; in testCaptureMatchingUid()
380 mAPCTestConfig.excludeUids = new int[]{ mUid }; in testCaptureExcludeUid()
/cts/tests/app/src/android/app/cts/
DServiceTest.java268 private int mUid; field in ServiceTest.IsolatedConnection
274 mUid = mPid = -1; in IsolatedConnection()
303 return mUid; in getUid()
410 mUid = getUidIpc(); in onServiceConnected()
1433 final int mUid; field in ServiceTest.LruOrderItem
1438 mUid = -1; in LruOrderItem()
1444 mUid = uid; in LruOrderItem()
1453 return mInfo != null ? mInfo.getConnection().getUid() : mUid; in getUid()