/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkListStoreDataTest.java | 272 openNetwork.shared, openNetwork.creatorUid, in getTestNetworksXmlBytes() 277 eapNetwork.shared, eapNetwork.creatorUid, in getTestNetworksXmlBytes() 432 openNetwork.shared, openNetwork.creatorUid, openNetwork.getRandomizedMacAddress()) in parseNetworkWithUnknownTag() 449 openNetwork.shared, openNetwork.creatorUid, in parseNetworkWithMismatchConfigKey() 487 openNetwork.creatorUid = -1; in parseNetworkWithInvalidCreatorUidResetsToSystem() 489 when(mPackageManager.getNameForUid(eq(openNetwork.creatorUid))).thenReturn(null); in parseNetworkWithInvalidCreatorUidResetsToSystem() 494 openNetwork.shared, openNetwork.creatorUid, in parseNetworkWithInvalidCreatorUidResetsToSystem() 500 assertEquals(SYSTEM_UID, deserializedNetworks.get(0).creatorUid); in parseNetworkWithInvalidCreatorUidResetsToSystem() 514 openNetwork.creatorUid = 1324422; in parseNetworkWithInvalidCreatorNameResetsToPackageNameForCreatorUid() 516 when(mPackageManager.getNameForUid(eq(openNetwork.creatorUid))) in parseNetworkWithInvalidCreatorNameResetsToPackageNameForCreatorUid() [all …]
|
D | WifiBackupRestoreTest.java | 554 wepNetwork.creatorUid = systemAppUid; in testMultipleNetworksSystemAppBackupRestore() 560 nonSystemAppWepNetwork.creatorUid = nonSystemAppUid; in testMultipleNetworksSystemAppBackupRestore() 564 pskNetwork.creatorUid = systemAppUid; in testMultipleNetworksSystemAppBackupRestore() 570 nonSystemAppPskNetwork.creatorUid = nonSystemAppUid; in testMultipleNetworksSystemAppBackupRestore() 797 nonSystemAppWepNetwork.creatorUid = Process.FIRST_APPLICATION_UID; in testMultipleNetworksSystemAppSupplicantBackupRestore() 806 nonSystemAppPskNetwork.creatorUid = Process.FIRST_APPLICATION_UID + 1; in testMultipleNetworksSystemAppSupplicantBackupRestore() 935 Integer.toString(configuration.creatorUid)); in writeConfigurationToWpaSupplicantConf()
|
D | WifiConfigurationTestUtil.java | 107 config.creatorUid = uid; in generateWifiConfig() 502 assertEquals(expected.creatorUid, actual.creatorUid); in assertConfigurationEqualForConfigStore() 530 assertEquals(expected.creatorUid, actual.creatorUid); in assertConfigurationEqualForConfigManagerAddOrUpdate()
|
D | WifiConfigurationUtilTest.java | 60 configuration.creatorUid = UserHandle.getUid(OTHER_USER_ID, 0); in isVisibleToAnyProfile() 68 configuration.creatorUid = UserHandle.getUid(CURRENT_USER_ID, 0); in isVisibleToAnyProfile() 72 configuration.creatorUid = UserHandle.getUid(CURRENT_USER_MANAGED_PROFILE_USER_ID, 0); in isVisibleToAnyProfile()
|
D | WifiConfigManagerTest.java | 2132 user1Network.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserSwitchDoesNotChangeSharedNetworksId() 2135 user2Network.creatorUid = UserHandle.getUid(user2, appId); in testHandleUserSwitchDoesNotChangeSharedNetworksId() 2216 user1Network.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserSwitchRemovesOldUserPrivateNetworks() 2219 user2Network.creatorUid = UserHandle.getUid(user2, appId); in testHandleUserSwitchRemovesOldUserPrivateNetworks() 2295 user2Network.creatorUid = UserHandle.getUid(user2, appId); in testHandleUserSwitchWithNoOldUserPrivateNetworks() 2343 user1Network.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserSwitchPushesOtherPrivateNetworksToSharedStore() 2346 user2Network.creatorUid = UserHandle.getUid(user2, appId); in testHandleUserSwitchPushesOtherPrivateNetworksToSharedStore() 2430 passpointConfig.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserUnlockRemovePasspointConfigFromSharedConfig() 2555 user1Network.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserStopDoesNotClearSharedData() 2702 int creatorUid = UserHandle.getUid(user2, 674); in testAddNetworkUsingBackgroundUserUId() local [all …]
|
D | WifiConfigStoreTest.java | 438 openNetwork.shared, openNetwork.creatorUid, openNetwork.creatorName, in testReadWifiConfigStoreData() 485 openNetwork.shared, openNetwork.creatorUid, openNetwork.creatorName, in testWriteWifiConfigStoreData()
|
D | ConfigurationMapTest.java | 230 switchUser(UserHandle.getUserId(config1.creatorUid)); in testPutRemoveClear()
|
D | SupplicantStaNetworkHalTest.java | 811 config.creatorUid, in testWifiConfigurationSaveLoad()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | NetworkListStoreData.java | 296 String creatorName = mContext.getPackageManager().getNameForUid(configuration.creatorUid); in parseNetwork() 299 + ", creatorUid=" + configuration.creatorUid); in parseNetwork() 300 configuration.creatorUid = Process.SYSTEM_UID; in parseNetwork() 305 + ", 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 | 715 final boolean isCreator = (config.creatorUid == uid); in canModifyNetwork() 727 config.creatorUid, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyNetwork() 938 newInternalConfig.creatorUid = newInternalConfig.lastUpdateUid = uid; in createNewInternalWifiConfigurationFromExternal() 1079 + " uid=" + Integer.toString(newInternalConfig.creatorUid) in addOrUpdateNetworkInternal() 1215 if (app.uid != config.creatorUid || !app.packageName.equals(config.creatorName)) { in removeNetworksForApp() 1241 if (userId != UserHandle.getUserId(config.creatorUid)) { in removeNetworksForUser() 2651 config.creatorUid, mUserManager.getProfiles(userId))) { in clearInternalUserData() 2874 config.creatorUid, mUserManager.getProfiles(mCurrentUserId))) { in saveToStore() 2892 config.creatorUid, mUserManager.getProfiles(mCurrentUserId))) { in saveToStore()
|
D | WifiNetworkHistory.java | 234 + Integer.toString(config.creatorUid) + NL); in writeKnownNetworkHistory() 433 config.creatorUid = Integer.parseInt(value); in readNetworkHistory()
|
D | WifiConfigurationUtil.java | 73 return (config.shared || doesUidBelongToAnyProfile(config.creatorUid, profiles)); in isVisibleToAnyProfile()
|
D | WifiStateMachine.java | 2009 sb.append(" cuid=").append(config.creatorUid); in getLogRecString() 2034 sb.append(" cuid=").append(config.creatorUid); in getLogRecString()
|
D | SupplicantStaNetworkHal.java | 364 metadata.put(ID_STRING_KEY_CREATOR_UID, Integer.toString(config.creatorUid)); in saveWifiConfiguration()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointObjectFactory.java | 59 WifiKeyStore keyStore, SIMAccessor simAccessor, long providerId, int creatorUid) { in makePasspointProvider() argument 60 return new PasspointProvider(config, keyStore, simAccessor, providerId, creatorUid); in makePasspointProvider()
|
D | PasspointConfigStoreData.java | 309 int creatorUid = Integer.MIN_VALUE; in deserializeProvider() local 326 creatorUid = (int) value; in deserializeProvider() 357 return new PasspointProvider(config, mKeyStore, mSimAccessor, providerId, creatorUid, in deserializeProvider()
|
D | PasspointProvider.java | 95 SIMAccessor simAccessor, long providerId, int creatorUid) { in PasspointProvider() argument 96 this(config, keyStore, simAccessor, providerId, creatorUid, null, null, null, false, false); in PasspointProvider() 100 SIMAccessor simAccessor, long providerId, int creatorUid, String caCertificateAlias, in PasspointProvider() argument 107 mCreatorUid = creatorUid; in PasspointProvider()
|
D | PasspointManager.java | 719 mSimAccessor, mProviderIndex++, wifiConfig.creatorUid, in addWifiConfig()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 488 public int creatorUid; field in WifiConfiguration 1524 creatorUid = -1; in WifiConfiguration() 1716 if (creatorUid != 0) sbuf.append(" cuid=" + creatorUid); in toString() 1876 key += "-" + Integer.toString(UserHandle.getUserId(creatorUid)); in configKey() 1890 key += "-" + Integer.toString(UserHandle.getUserId(creatorUid)); in configKey() 2067 creatorUid = source.creatorUid; in WifiConfiguration() 2134 dest.writeInt(creatorUid); in writeToParcel() 2199 config.creatorUid = in.readInt();
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 906 Pair.create(alarm.sourcePackage, UserHandle.getUserId(alarm.creatorUid)); in reorderAlarmsBasedOnStandbyBuckets() 1579 final int sourceUserId = UserHandle.getUserId(alarm.creatorUid); in adjustDeliveryTimeBasedOnStandbyBucketLocked() 2886 (Alarm a) -> UserHandle.getUserId(a.creatorUid) == userHandle; in removeUserLocked() 2895 if (UserHandle.getUserId(mPendingWhileIdleAlarms.get(i).creatorUid) in removeUserLocked() 3042 final int sourceUid = alarm.creatorUid; in isBackgroundRestricted() 3097 final long lastTime = mLastAllowWhileIdleDispatch.get(alarm.creatorUid, -1); in triggerAlarmsLocked() 3098 final long minTime = lastTime + getWhileIdleMinIntervalLocked(alarm.creatorUid); in triggerAlarmsLocked() 3127 ArrayList<Alarm> alarmsForUid = mPendingBackgroundAlarms.get(alarm.creatorUid); in triggerAlarmsLocked() 3130 mPendingBackgroundAlarms.put(alarm.creatorUid, alarmsForUid); in triggerAlarmsLocked() 3224 public final int creatorUid; field in AlarmManagerService.Alarm [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPointPreference.java | 226 mBadge = mBadgeCache.getUserBadge(config.creatorUid); in updateBadge()
|
D | AccessPoint.java | 800 int userId = UserHandle.getUserId(config.creatorUid); in getSavedNetworkSummary()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 455 XmlUtil.writeNextValue(out, XML_TAG_CREATOR_UID, configuration.creatorUid); in writeToXmlForConfigStore() 610 configuration.creatorUid = (int) value; in parseFromXml()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | XmlUtilTest.java | 207 configuration.lastUpdateUid = configuration.lastConnectUid = configuration.creatorUid; in testEapWifiConfigurationSerializeDeserializeForConfigStore()
|