Searched refs:mUid (Results 1 – 10 of 10) sorted by relevance
39 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 …]
43 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()
190 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()
149 removeRestrictBackgroundWhitelist(mUid); in setUp()150 removeRestrictBackgroundBlacklist(mUid); in setUp()184 addRestrictBackgroundWhitelist(mUid); in testOnBlockedStatusChanged_data_saver()189 removeRestrictBackgroundWhitelist(mUid); in testOnBlockedStatusChanged_data_saver()
127 protected int mUid; field in AbstractRestrictBackgroundNetworkTestCase145 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 …]
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()165 return mUid; in getUid()
78 private int mUid; //< UID of this test field in AudioPlaybackCaptureTest143 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()
225 private int mUid; field in ServiceTest.IsolatedConnection231 mUid = mPid = -1; in IsolatedConnection()260 return mUid; in getUid()367 mUid = getUidIpc(); in onServiceConnected()1332 final int mUid; field in ServiceTest.LruOrderItem1337 mUid = -1; in LruOrderItem()1343 mUid = uid; in LruOrderItem()1352 return mInfo != null ? mInfo.getConnection().getUid() : mUid; in getUid()