Home
last modified time | relevance | path

Searched refs:curUid (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/tests/native/connectivity_native_test/
Dconnectivity_native_test.cpp265 int curUid = getuid(); in TEST_F() local
269 EXPECT_EQ(0, seteuid(curUid)) << "seteuid failed: " << strerror(errno); in TEST_F()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java251 int curUid = currentAttrib.getUid(); in enforceNearbyDevicesPermission() local
255 && mWifiPermissionsWrapper.getUidPermission(RENOUNCE_PERMISSIONS, curUid) in enforceNearbyDevicesPermission()
258 Log.v(TAG, "package=" + curPackageName + " UID=" + curUid in enforceNearbyDevicesPermission()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DActiveModeWarden.java2434 int curUid = workSource.getUid(i); in handleAdditionalClientModeManagerRequest() local
2435 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()
/packages/services/Car/cpp/watchdog/server/src/
DUidProcStatsCollector.cpp550 for (const auto& [curUid, uidProcStats] : mLatestStats) { in readProcessStatsLocked()
555 uid = curUid; in readProcessStatsLocked()