Searched refs:curUid (Results 1 – 4 of 4) sorted by relevance
265 int curUid = getuid(); in TEST_F() local269 EXPECT_EQ(0, seteuid(curUid)) << "seteuid failed: " << strerror(errno); in TEST_F()
251 int curUid = currentAttrib.getUid(); in enforceNearbyDevicesPermission() local255 && mWifiPermissionsWrapper.getUidPermission(RENOUNCE_PERMISSIONS, curUid) in enforceNearbyDevicesPermission()258 Log.v(TAG, "package=" + curPackageName + " UID=" + curUid in enforceNearbyDevicesPermission()
2434 int curUid = workSource.getUid(i); in handleAdditionalClientModeManagerRequest() local2435 if (mAllowRootToGetLocalOnlyCmm && curUid == 0) { // 0 is root UID. in handleAdditionalClientModeManagerRequest()2438 if (curUid != Process.SYSTEM_UID in handleAdditionalClientModeManagerRequest()2439 && mWifiPermissionsUtil.checkEnterCarModePrioritized(curUid)) { in handleAdditionalClientModeManagerRequest()2442 Log.w(TAG, "Uid " + curUid in handleAdditionalClientModeManagerRequest()
550 for (const auto& [curUid, uidProcStats] : mLatestStats) { in readProcessStatsLocked()555 uid = curUid; in readProcessStatsLocked()