Home
last modified time | relevance | path

Searched refs:creatorUid (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkListStoreDataTest.java279 openNetwork.shared, openNetwork.creatorUid, in getTestNetworksXmlBytes()
284 eapNetwork.shared, eapNetwork.creatorUid, in getTestNetworksXmlBytes()
419 openNetwork.shared, openNetwork.creatorUid, openNetwork.getRandomizedMacAddress()) in parseNetworkWithUnknownTag()
436 openNetwork.shared, openNetwork.creatorUid, in parseNetworkWithMismatchConfigKey()
474 openNetwork.creatorUid = -1; in parseNetworkWithInvalidCreatorUidResetsToSystem()
476 when(mPackageManager.getNameForUid(eq(openNetwork.creatorUid))).thenReturn(null); in parseNetworkWithInvalidCreatorUidResetsToSystem()
481 openNetwork.shared, openNetwork.creatorUid, in parseNetworkWithInvalidCreatorUidResetsToSystem()
487 assertEquals(SYSTEM_UID, deserializedNetworks.get(0).creatorUid); in parseNetworkWithInvalidCreatorUidResetsToSystem()
501 openNetwork.creatorUid = 1324422; in parseNetworkWithInvalidCreatorNameResetsToPackageNameForCreatorUid()
503 when(mPackageManager.getNameForUid(eq(openNetwork.creatorUid))) in parseNetworkWithInvalidCreatorNameResetsToPackageNameForCreatorUid()
[all …]
DWifiBackupRestoreTest.java629 wepNetwork.creatorUid = systemAppUid; in testMultipleNetworksSystemAppBackupRestore()
635 nonSystemAppWepNetwork.creatorUid = nonSystemAppUid; in testMultipleNetworksSystemAppBackupRestore()
639 pskNetwork.creatorUid = systemAppUid; in testMultipleNetworksSystemAppBackupRestore()
645 nonSystemAppPskNetwork.creatorUid = nonSystemAppUid; in testMultipleNetworksSystemAppBackupRestore()
872 nonSystemAppWepNetwork.creatorUid = Process.FIRST_APPLICATION_UID; in testMultipleNetworksSystemAppSupplicantBackupRestore()
881 nonSystemAppPskNetwork.creatorUid = Process.FIRST_APPLICATION_UID + 1; in testMultipleNetworksSystemAppSupplicantBackupRestore()
1088 Integer.toString(configuration.creatorUid)); in writeConfigurationToWpaSupplicantConf()
DWifiConfigurationTestUtil.java111 config.creatorUid = uid; in generateWifiConfig()
596 assertEquals(expected.creatorUid, actual.creatorUid); in assertConfigurationEqualForConfigStore()
630 assertEquals(expected.creatorUid, actual.creatorUid); in assertConfigurationEqualForConfigManagerAddOrUpdate()
DWifiConfigurationUtilTest.java67 configuration.creatorUid = UserHandle.getUid(OTHER_USER_ID, 0); in isVisibleToAnyProfile()
75 configuration.creatorUid = UserHandle.getUid(CURRENT_USER_ID, 0); in isVisibleToAnyProfile()
79 configuration.creatorUid = UserHandle.getUid(CURRENT_USER_MANAGED_PROFILE_USER_ID, 0); in isVisibleToAnyProfile()
DWifiConfigManagerTest.java2892 user1Network.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserSwitchDoesNotChangeSharedNetworksId()
2895 user2Network.creatorUid = UserHandle.getUid(user2, appId); in testHandleUserSwitchDoesNotChangeSharedNetworksId()
2984 user1Network.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserSwitchRemovesOldUserPrivateNetworks()
2987 user2Network.creatorUid = UserHandle.getUid(user2, appId); in testHandleUserSwitchRemovesOldUserPrivateNetworks()
3063 user2Network.creatorUid = UserHandle.getUid(user2, appId); in testHandleUserSwitchWithNoOldUserPrivateNetworks()
3110 user1Network.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserSwitchPushesOtherPrivateNetworksToSharedStore()
3113 user2Network.creatorUid = UserHandle.getUid(user2, appId); in testHandleUserSwitchPushesOtherPrivateNetworksToSharedStore()
3196 passpointConfig.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserUnlockRemovePasspointConfigFromSharedConfig()
3320 user1Network.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserStopDoesNotClearSharedData()
3539 int creatorUid = UserHandle.getUid(user2, 674); in testAddNetworkUsingBackgroundUserUId() local
[all …]
DConfigurationMapTest.java231 switchUser(UserHandle.getUserId(config1.creatorUid)); in testPutRemoveClear()
DWifiConfigStoreTest.java537 openNetwork.shared, openNetwork.creatorUid, openNetwork.creatorName, in testReadWifiConfigStoreData()
584 openNetwork.shared, openNetwork.creatorUid, openNetwork.creatorName, in testWriteWifiConfigStoreData()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DNetworkListStoreData.java289 String creatorName = mContext.getPackageManager().getNameForUid(configuration.creatorUid); in parseNetwork()
292 + ", creatorUid=" + configuration.creatorUid); in parseNetwork()
293 configuration.creatorUid = Process.SYSTEM_UID; in parseNetwork()
298 + ", creatorUid=" + configuration.creatorUid in parseNetwork()
DWifiBackupRestore.java190 if (!mWifiPermissionsUtil.checkConfigOverridePermission(configuration.creatorUid)) { in writeNetworkConfigurationsToXml()
677 int creatorUid = in createWifiConfiguration() local
680 if (creatorUid >= Process.FIRST_APPLICATION_UID) { in createWifiConfiguration()
DWifiConfigManager.java624 && targetUid != configuration.creatorUid) { in createExternalWifiConfiguration()
889 final boolean isCreator = (config.creatorUid == uid); in canModifyNetwork()
901 config.creatorUid, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyNetwork()
1128 newInternalConfig.creatorUid = newInternalConfig.lastUpdateUid = uid; in createNewInternalWifiConfigurationFromExternal()
1285 + " uid=" + Integer.toString(newInternalConfig.creatorUid) in addOrUpdateNetworkInternal()
1460 if (app.uid != config.creatorUid in removeNetworksForApp()
1487 if (userId != UserHandle.getUserId(config.creatorUid)) { in removeNetworksForUser()
3041 config.creatorUid, mUserManager.getProfiles(userId))) { in clearInternalUserData()
3254 config.creatorUid, mUserManager.getProfiles(mCurrentUserId))) { in saveToStore()
3272 config.creatorUid, mUserManager.getProfiles(mCurrentUserId))) { in saveToStore()
DWifiConfigurationUtil.java86 return (config.shared || doesUidBelongToAnyProfile(config.creatorUid, profiles)); in isVisibleToAnyProfile()
DWifiNetworkSuggestionsManager.java177 this.wns.wifiConfiguration.creatorUid = wns.suggestorUid; in ExtendedWifiNetworkSuggestion()
DWifiNetworkFactory.java738 mWifiConfigManager.removeNetwork(wcmNetwork.networkId, wcmNetwork.creatorUid); in disconnectAndRemoveNetworkFromWifiConfigManager()
DClientModeImpl.java2178 sb.append(" cuid=").append(config.creatorUid); in getLogRecString()
2203 sb.append(" cuid=").append(config.creatorUid); in getLogRecString()
4681 result.setOwnerUid(currentWifiConfiguration.creatorUid); in getCapabilities()
4682 result.setAdministratorUids(new int[] {currentWifiConfiguration.creatorUid}); in getCapabilities()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointObjectFactory.java61 WifiKeyStore keyStore, SIMAccessor simAccessor, long providerId, int creatorUid, in makePasspointProvider() argument
63 return new PasspointProvider(config, keyStore, simAccessor, providerId, creatorUid, in makePasspointProvider()
DPasspointConfigUserStoreData.java272 int creatorUid = Integer.MIN_VALUE; in deserializeProvider() local
292 creatorUid = (int) value; in deserializeProvider()
345 return new PasspointProvider(config, mKeyStore, mSimAccessor, providerId, creatorUid, in deserializeProvider()
DPasspointProvider.java107 SIMAccessor simAccessor, long providerId, int creatorUid, String packageName) { in PasspointProvider() argument
108 this(config, keyStore, simAccessor, providerId, creatorUid, packageName, null, null, null, in PasspointProvider()
113 SIMAccessor simAccessor, long providerId, int creatorUid, String packageName, in PasspointProvider() argument
122 mCreatorUid = creatorUid; in PasspointProvider()
DPasspointManager.java1169 mSimAccessor, mProviderIndex++, wifiConfig.creatorUid, null, in addWifiConfig()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkAgentInfo.java172 public final int creatorUid; field in NetworkAgentInfo
275 int creatorUid) { in NetworkAgentInfo() argument
289 this.creatorUid = creatorUid; in NetworkAgentInfo()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java694 public int creatorUid; field in WifiConfiguration
1793 creatorUid = -1; in WifiConfiguration()
2020 if (creatorUid != 0) sbuf.append(" cuid=" + creatorUid); in toString()
2200 key += "-" + Integer.toString(UserHandle.getUserId(creatorUid)); in configKey()
2205 key += "-" + Integer.toString(UserHandle.getUserId(creatorUid)); in configKey()
2422 creatorUid = source.creatorUid; in WifiConfiguration()
2497 dest.writeInt(creatorUid); in writeToParcel()
2570 config.creatorUid = in.readInt();
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java1104 Pair.create(alarm.sourcePackage, UserHandle.getUserId(alarm.creatorUid)); in reorderAlarmsBasedOnStandbyBuckets()
1327 mCreatorUid = alarm.creatorUid; in InFlight()
1858 final int sourceUserId = UserHandle.getUserId(alarm.creatorUid); in adjustDeliveryTimeBasedOnBucketLocked()
3286 (Alarm a) -> UserHandle.getUserId(a.creatorUid) == userHandle; in removeUserLocked()
3295 if (UserHandle.getUserId(mPendingWhileIdleAlarms.get(i).creatorUid) in removeUserLocked()
3434 final int sourceUid = alarm.creatorUid; in isBackgroundRestricted()
3489 final long lastTime = mLastAllowWhileIdleDispatch.get(alarm.creatorUid, -1); in triggerAlarmsLocked()
3490 final long minTime = lastTime + getWhileIdleMinIntervalLocked(alarm.creatorUid); in triggerAlarmsLocked()
3519 ArrayList<Alarm> alarmsForUid = mPendingBackgroundAlarms.get(alarm.creatorUid); in triggerAlarmsLocked()
3522 mPendingBackgroundAlarms.put(alarm.creatorUid, alarmsForUid); in triggerAlarmsLocked()
[all …]
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java680 public void restrictCapabilitesForTestNetwork(int creatorUid) { in restrictCapabilitesForTestNetwork() argument
696 if (originalOwnerUid == creatorUid) { in restrictCapabilitesForTestNetwork()
697 setOwnerUid(creatorUid); in restrictCapabilitesForTestNetwork()
699 if (ArrayUtils.contains(originalAdministratorUids, creatorUid)) { in restrictCapabilitesForTestNetwork()
700 setAdministratorUids(new int[] {creatorUid}); in restrictCapabilitesForTestNetwork()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPointPreference.java227 mBadge = mBadgeCache.getUserBadge(config.creatorUid); in updateBadge()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java502 XmlUtil.writeNextValue(out, XML_TAG_CREATOR_UID, configuration.creatorUid); in writeToXmlForConfigStore()
676 configuration.creatorUid = (int) value; in parseFromXml()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java234 configuration.lastUpdateUid = configuration.lastConnectUid = configuration.creatorUid; in testEapWifiConfigurationSerializeDeserializeForConfigStore()

12