Searched refs:mUid (Results 1 – 10 of 10) sorted by relevance
49 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 …]
52 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()
163 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()
134 protected int mUid; field in AbstractRestrictBackgroundNetworkTestCase151 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 …]
188 removeRestrictBackgroundWhitelist(mUid); in setUp()189 removeRestrictBackgroundBlacklist(mUid); in setUp()229 addRestrictBackgroundWhitelist(mUid); in testOnBlockedStatusChanged_dataSaver()234 removeRestrictBackgroundWhitelist(mUid); in testOnBlockedStatusChanged_dataSaver()
29 final int mUid; field in UidImportanceListener41 mUid = uid; in UidImportanceListener()51 if (uid == mUid) { in onUidImportance()
79 final int mUid; field in WatchUidRunner102 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()
51 final int mUid; field in ServiceProcessController91 mUid = appInfo.uid; in ServiceProcessController()177 return mUid; in getUid()
79 private int mUid; //< UID of this test field in AudioPlaybackCaptureTest144 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()
268 private int mUid; field in ServiceTest.IsolatedConnection274 mUid = mPid = -1; in IsolatedConnection()303 return mUid; in getUid()410 mUid = getUidIpc(); in onServiceConnected()1433 final int mUid; field in ServiceTest.LruOrderItem1438 mUid = -1; in LruOrderItem()1444 mUid = uid; in LruOrderItem()1453 return mInfo != null ? mInfo.getConnection().getUid() : mUid; in getUid()