/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkListStoreDataTest.java | 276 openNetwork.shared, openNetwork.creatorUid, in getTestNetworksXmlBytes() 281 eapNetwork.shared, eapNetwork.creatorUid, in getTestNetworksXmlBytes() 416 openNetwork.shared, openNetwork.creatorUid, openNetwork.getRandomizedMacAddress()) in parseNetworkWithUnknownTag() 433 openNetwork.shared, openNetwork.creatorUid, in parseNetworkWithMismatchConfigKey() 471 openNetwork.creatorUid = -1; in parseNetworkWithInvalidCreatorUidResetsToSystem() 473 when(mPackageManager.getNameForUid(eq(openNetwork.creatorUid))).thenReturn(null); in parseNetworkWithInvalidCreatorUidResetsToSystem() 478 openNetwork.shared, openNetwork.creatorUid, in parseNetworkWithInvalidCreatorUidResetsToSystem() 484 assertEquals(SYSTEM_UID, deserializedNetworks.get(0).creatorUid); in parseNetworkWithInvalidCreatorUidResetsToSystem() 498 openNetwork.creatorUid = 1324422; in parseNetworkWithInvalidCreatorNameResetsToPackageNameForCreatorUid() 500 when(mPackageManager.getNameForUid(eq(openNetwork.creatorUid))) in parseNetworkWithInvalidCreatorNameResetsToPackageNameForCreatorUid() [all …]
|
D | WifiBackupRestoreTest.java | 629 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()
|
D | WifiConfigurationTestUtil.java | 110 config.creatorUid = uid; in generateWifiConfig() 595 assertEquals(expected.creatorUid, actual.creatorUid); in assertConfigurationEqualForConfigStore() 629 assertEquals(expected.creatorUid, actual.creatorUid); in assertConfigurationEqualForConfigManagerAddOrUpdate()
|
D | WifiConfigurationUtilTest.java | 72 configuration.creatorUid = UserHandle.getUid(OTHER_USER_ID, 0); in isVisibleToAnyProfile() 80 configuration.creatorUid = UserHandle.getUid(CURRENT_USER_ID, 0); in isVisibleToAnyProfile() 84 configuration.creatorUid = UserHandle.getUid(CURRENT_USER_MANAGED_PROFILE_USER_ID, 0); in isVisibleToAnyProfile()
|
D | WifiConfigManagerTest.java | 2839 user1Network.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserSwitchDoesNotChangeSharedNetworksId() 2842 user2Network.creatorUid = UserHandle.getUid(user2, appId); in testHandleUserSwitchDoesNotChangeSharedNetworksId() 2931 user1Network.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserSwitchRemovesOldUserPrivateNetworks() 2934 user2Network.creatorUid = UserHandle.getUid(user2, appId); in testHandleUserSwitchRemovesOldUserPrivateNetworks() 3010 user2Network.creatorUid = UserHandle.getUid(user2, appId); in testHandleUserSwitchWithNoOldUserPrivateNetworks() 3057 user1Network.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserSwitchPushesOtherPrivateNetworksToSharedStore() 3060 user2Network.creatorUid = UserHandle.getUid(user2, appId); in testHandleUserSwitchPushesOtherPrivateNetworksToSharedStore() 3143 passpointConfig.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserUnlockRemovePasspointConfigFromSharedConfig() 3267 user1Network.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserStopDoesNotClearSharedData() 3486 int creatorUid = UserHandle.getUid(user2, 674); in testAddNetworkUsingBackgroundUserUId() local [all …]
|
D | ConfigurationMapTest.java | 231 switchUser(UserHandle.getUserId(config1.creatorUid)); in testPutRemoveClear()
|
D | WifiConfigStoreTest.java | 517 openNetwork.shared, openNetwork.creatorUid, openNetwork.creatorName, in testReadWifiConfigStoreData() 564 openNetwork.shared, openNetwork.creatorUid, openNetwork.creatorName, in testWriteWifiConfigStoreData()
|
D | SupplicantStaNetworkHalTest.java | 988 config.creatorUid, in testWifiConfigurationSaveLoad()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | NetworkListStoreData.java | 264 String creatorName = mContext.getPackageManager().getNameForUid(configuration.creatorUid); in parseNetwork() 267 + ", creatorUid=" + configuration.creatorUid); in parseNetwork() 268 configuration.creatorUid = Process.SYSTEM_UID; in parseNetwork() 273 + ", creatorUid=" + configuration.creatorUid in parseNetwork()
|
D | WifiBackupRestore.java | 190 if (!mWifiPermissionsUtil.checkConfigOverridePermission(configuration.creatorUid)) { in writeNetworkConfigurationsToXml() 677 int creatorUid = in createWifiConfiguration() local 680 if (creatorUid >= Process.FIRST_APPLICATION_UID) { in createWifiConfiguration()
|
D | WifiConfigManager.java | 607 && targetUid != configuration.creatorUid) { in createExternalWifiConfiguration() 869 final boolean isCreator = (config.creatorUid == uid); in canModifyNetwork() 881 config.creatorUid, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyNetwork() 1108 newInternalConfig.creatorUid = newInternalConfig.lastUpdateUid = uid; in createNewInternalWifiConfigurationFromExternal() 1265 + " uid=" + Integer.toString(newInternalConfig.creatorUid) in addOrUpdateNetworkInternal() 1440 if (app.uid != config.creatorUid in removeNetworksForApp() 1467 if (userId != UserHandle.getUserId(config.creatorUid)) { in removeNetworksForUser() 3009 config.creatorUid, mUserManager.getProfiles(userId))) { in clearInternalUserData() 3220 config.creatorUid, mUserManager.getProfiles(mCurrentUserId))) { in saveToStore() 3238 config.creatorUid, mUserManager.getProfiles(mCurrentUserId))) { in saveToStore()
|
D | WifiConfigurationUtil.java | 107 return (config.shared || doesUidBelongToAnyProfile(config.creatorUid, profiles)); in isVisibleToAnyProfile()
|
D | WifiNetworkSuggestionsManager.java | 167 this.wns.wifiConfiguration.creatorUid = wns.suggestorUid; in ExtendedWifiNetworkSuggestion()
|
D | WifiServiceImpl.java | 1855 if (config.creatorUid == callingUid) { in getConfiguredNetworks() 2067 config.creatorUid = Binder.getCallingUid(); in addOrUpdateNetwork()
|
D | ClientModeImpl.java | 2157 sb.append(" cuid=").append(config.creatorUid); in getLogRecString() 2182 sb.append(" cuid=").append(config.creatorUid); in getLogRecString()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointObjectFactory.java | 61 WifiKeyStore keyStore, SIMAccessor simAccessor, long providerId, int creatorUid, in makePasspointProvider() argument 63 return new PasspointProvider(config, keyStore, simAccessor, providerId, creatorUid, in makePasspointProvider()
|
D | PasspointConfigUserStoreData.java | 267 int creatorUid = Integer.MIN_VALUE; in deserializeProvider() local 287 creatorUid = (int) value; in deserializeProvider() 340 return new PasspointProvider(config, mKeyStore, mSimAccessor, providerId, creatorUid, in deserializeProvider()
|
D | PasspointProvider.java | 106 SIMAccessor simAccessor, long providerId, int creatorUid, String packageName) { in PasspointProvider() argument 107 this(config, keyStore, simAccessor, providerId, creatorUid, packageName, null, null, null, in PasspointProvider() 112 SIMAccessor simAccessor, long providerId, int creatorUid, String packageName, in PasspointProvider() argument 121 mCreatorUid = creatorUid; in PasspointProvider()
|
D | PasspointManager.java | 1111 mSimAccessor, mProviderIndex++, wifiConfig.creatorUid, null, in addWifiConfig()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 693 public int creatorUid; field in WifiConfiguration 1792 creatorUid = -1; in WifiConfiguration() 2019 if (creatorUid != 0) sbuf.append(" cuid=" + creatorUid); in toString() 2199 key += "-" + Integer.toString(UserHandle.getUserId(creatorUid)); in configKey() 2204 key += "-" + Integer.toString(UserHandle.getUserId(creatorUid)); in configKey() 2421 creatorUid = source.creatorUid; in WifiConfiguration() 2496 dest.writeInt(creatorUid); in writeToParcel() 2569 config.creatorUid = in.readInt();
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 1105 Pair.create(alarm.sourcePackage, UserHandle.getUserId(alarm.creatorUid)); in reorderAlarmsBasedOnStandbyBuckets() 1328 mCreatorUid = alarm.creatorUid; in InFlight() 1865 final int sourceUserId = UserHandle.getUserId(alarm.creatorUid); in adjustDeliveryTimeBasedOnBucketLocked() 3289 (Alarm a) -> UserHandle.getUserId(a.creatorUid) == userHandle; in removeUserLocked() 3298 if (UserHandle.getUserId(mPendingWhileIdleAlarms.get(i).creatorUid) in removeUserLocked() 3437 final int sourceUid = alarm.creatorUid; in isBackgroundRestricted() 3492 final long lastTime = mLastAllowWhileIdleDispatch.get(alarm.creatorUid, -1); in triggerAlarmsLocked() 3493 final long minTime = lastTime + getWhileIdleMinIntervalLocked(alarm.creatorUid); in triggerAlarmsLocked() 3522 ArrayList<Alarm> alarmsForUid = mPendingBackgroundAlarms.get(alarm.creatorUid); in triggerAlarmsLocked() 3525 mPendingBackgroundAlarms.put(alarm.creatorUid, alarmsForUid); in triggerAlarmsLocked() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPointPreference.java | 228 mBadge = mBadgeCache.getUserBadge(config.creatorUid); in updateBadge()
|
D | AccessPoint.java | 975 int userId = UserHandle.getUserId(config.creatorUid); in getSavedNetworkSummary()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 465 XmlUtil.writeNextValue(out, XML_TAG_CREATOR_UID, configuration.creatorUid); in writeToXmlForConfigStore() 633 configuration.creatorUid = (int) value; in parseFromXml()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | XmlUtilTest.java | 208 configuration.lastUpdateUid = configuration.lastConnectUid = configuration.creatorUid; in testEapWifiConfigurationSerializeDeserializeForConfigStore()
|