Home
last modified time | relevance | path

Searched refs:getUniqueId (Results 1 – 25 of 43) sorted by relevance

12

/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/pps/
DCredentialTest.java562 assertEquals(createCredentialWithSimCredential().getUniqueId(), in testUniqueIdSameCredentialTypes()
563 createCredentialWithSimCredential().getUniqueId()); in testUniqueIdSameCredentialTypes()
564 assertEquals(createCredentialWithCertificateCredential().getUniqueId(), in testUniqueIdSameCredentialTypes()
565 createCredentialWithCertificateCredential().getUniqueId()); in testUniqueIdSameCredentialTypes()
566 assertEquals(createCredentialWithUserCredential().getUniqueId(), in testUniqueIdSameCredentialTypes()
567 createCredentialWithUserCredential().getUniqueId()); in testUniqueIdSameCredentialTypes()
579 assertNotEquals(simCred.getUniqueId(), userCred.getUniqueId()); in testUniqueIdDifferentForDifferentCredentialTypes()
580 assertNotEquals(simCred.getUniqueId(), certCred.getUniqueId()); in testUniqueIdDifferentForDifferentCredentialTypes()
581 assertNotEquals(certCred.getUniqueId(), userCred.getUniqueId()); in testUniqueIdDifferentForDifferentCredentialTypes()
593 assertNotEquals(simCred1.getUniqueId(), simCred2.getUniqueId()); in testUniqueIdDifferentForSimCredentialsWithDifferentValues()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/
DPasspointConfigurationTest.java403 assertEquals(config1.getUniqueId(), config2.getUniqueId()); in validateUniqueId()
423 assertEquals(config1.getUniqueId(), config2.getUniqueId()); in validateUniqueIdDifferentHomeSpSameFqdn()
442 assertNotEquals(config1.getUniqueId(), config2.getUniqueId()); in validateUniqueIdSameHomeSpDifferentFqdn()
462 assertNotEquals(config1.getUniqueId(), config2.getUniqueId()); in validateUniqueIdDifferentSimCredential()
481 assertNotEquals(config1.getUniqueId(), config2.getUniqueId()); in validateUniqueIdDifferentRealm()
501 assertEquals(config1.getUniqueId(), config2.getUniqueId()); in validateUniqueIdSameUserInUserCredential()
521 assertNotEquals(config1.getUniqueId(), config2.getUniqueId()); in validateUniqueIdDifferentUserCredential()
541 assertNotEquals(config1.getUniqueId(), config2.getUniqueId()); in validateUniqueIdDifferentCertCredential()
625 String uniqueId = config.getUniqueId(); in validateUniqueIdExceptionWithEmptyHomeSp()
638 String uniqueId = config.getUniqueId(); in validateUniqueIdExceptionWithEmptyCredential()
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/common/
DGenericHelperTest.java30 .that(GenericHelper.getUniqueId(new HawaiianDriver("McLovin"))) in testGetUniqueId()
35 .that(GenericHelper.getUniqueId(generic)) in testGetUniqueId()
38 assertThrows(NullPointerException.class, () -> GenericHelper.getUniqueId(null)); in testGetUniqueId()
/packages/services/Car/car-lib/src/android/car/view/
DDisplayHelper.java42 public static String getUniqueId(@NonNull Display display) { in getUniqueId() method in DisplayHelper
43 return android.car.builtin.view.DisplayHelper.getUniqueId(display); in getUniqueId()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/view/
DDisplayHelper.java61 public static String getUniqueId(Display display) { in getUniqueId() method in DisplayHelper
62 return display.getUniqueId(); in getUniqueId()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/input/
DDisplayInputLockTestFragment.java75 mDisplayInputLockSetting.contains(display.getUniqueId())));
197 return display.getUniqueId(); in getDisplayUniqueId()
203 if (displayUniqueId.equals(display.getUniqueId())) { in findDisplayIdByUniqueId()
247 mDisplayInputLockSetting.contains(display.getUniqueId()))); in initDisplayInputLockData()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/display/
DDisplayManagerHelper.java123 public static String getUniqueId(@NonNull Display display) { in getUniqueId() method in DisplayManagerHelper
124 return display.getUniqueId(); in getUniqueId()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/common/
DFakeSharedPreferences.java18 import static com.android.adservices.shared.testing.common.GenericHelper.getUniqueId;
125 String id = getUniqueId(listener); in registerOnSharedPreferenceChangeListener()
136 String id = getUniqueId(listener); in unregisterOnSharedPreferenceChangeListener()
DGenericHelper.java26 public static String getUniqueId(Object object) { in getUniqueId() method in GenericHelper
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java443 wifiConfig.setPasspointUniqueId(config.getUniqueId()); in addTestProvider()
673 mManager.removeProvider(TEST_CREATOR_UID, false, config.getUniqueId(), null)); in addRemoveSavedProviderWithValidUserCredential()
688 verify(mWifiConfigManager).removeConnectChoiceFromAllNetworks(config.getUniqueId()); in addRemoveSavedProviderWithValidUserCredential()
734 assertTrue(mManager.enableAutojoin(provider.getConfig().getUniqueId(), null, in verifyEnableAutojoin()
737 assertTrue(mManager.enableAutojoin(provider.getConfig().getUniqueId(), null, in verifyEnableAutojoin()
827 verify(mWifiConfigManager).removeConnectChoiceFromAllNetworks(config.getUniqueId()); in addRemoveSavedProviderWithValidSimCredential()
1257 assertEquals(2, configs.get(providerHome.getConfig().getUniqueId()).get( in getAllMatchingFqdnsForScanResults()
1259 assertFalse(configs.get(providerHome.getConfig().getUniqueId()) in getAllMatchingFqdnsForScanResults()
1263 assertEquals(2, configs.get(providerRoaming.getConfig().getUniqueId()).get( in getAllMatchingFqdnsForScanResults()
1265 assertFalse(configs.get(providerRoaming.getConfig().getUniqueId()) in getAllMatchingFqdnsForScanResults()
[all …]
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/util/
DSplitSelectStateControllerTest.kt78 private fun getUniqueId(): Int { in getUniqueId() method
632 taskInfo.taskId = getUniqueId() in generateGroupTask()
640 taskInfo.taskId = getUniqueId() in generateGroupTask()
661 taskInfo.taskId = getUniqueId() in generateGroupTask()
670 taskInfo.taskId = getUniqueId() in generateGroupTask()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java220 mProviders.put(provider.getConfig().getUniqueId(), provider); in setProviders()
337 provider.getConfig().getUniqueId(), null); in removePasspointProviderWithPackage()
554 if (mProviders.containsKey(config.getUniqueId())) { in addOrUpdateProvider()
555 PasspointProvider old = mProviders.get(config.getUniqueId()); in addOrUpdateProvider()
564 + " and unique ID: " + config.getUniqueId()); in addOrUpdateProvider()
566 mProviders.remove(config.getUniqueId()); in addOrUpdateProvider()
581 mProviders.put(config.getUniqueId(), newProvider); in addOrUpdateProvider()
590 + config.getHomeSp().getFqdn() + " with unique ID: " + config.getUniqueId() in addOrUpdateProvider()
630 String uniqueId = provider.getConfig().getUniqueId(); in removeProviderInternal()
1391 mProviders.put(passpointConfig.getUniqueId(), provider); in addWifiConfig()
/packages/modules/Connectivity/framework/src/android/net/
DQosSession.java59 public long getUniqueId() { in getUniqueId() method in QosSession
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSuggestionsManagerTest.java350 passpointConfiguration.getUniqueId()); in testAddNetworkSuggestionsSuccess()
407 passpointConfiguration.getUniqueId()); in testRemoveNetworkSuggestionsSuccess()
408 placeholderConfig.setPasspointUniqueId(passpointConfiguration.getUniqueId()); in testRemoveNetworkSuggestionsSuccess()
441 eq(passpointConfiguration.getUniqueId()), isNull()); in testRemoveNetworkSuggestionsSuccess()
655 passpointConfiguration.getUniqueId()); in testRemoveAllNetworkSuggestionsSuccess()
691 eq(passpointConfiguration.getUniqueId()), isNull()); in testRemoveAllNetworkSuggestionsSuccess()
746 passpointConfiguration.getUniqueId()); in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm()
2136 passpointConfiguration.getUniqueId()); in testNetworkSuggestionsConfigStoreLoad()
2178 connectNetwork.setPasspointUniqueId(passpointConfiguration.getUniqueId()); in testNetworkSuggestionsConfigStoreLoad()
3243 passpointConfiguration.getUniqueId()); in testOnPasspointNetworkConnectionSuccessWithOneMatch()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java1207 public @NonNull String getUniqueId() { in getUniqueId() method in PasspointConfiguration
1213 sb.append(String.format("%s_%x%x", mHomeSp.getFqdn(), mHomeSp.getUniqueId(), in getUniqueId()
1214 mCredential.getUniqueId())); in getUniqueId()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/input/
DDisplayInputSinkController.java257 if (mDisplayInputLockSetting.contains(display.getUniqueId())) { in decideDisplayInputSink()
297 if (displayUniqueId.equals(display.getUniqueId())) { in findDisplayIdByUniqueId()
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/osdouble/
DClusterOsDoubleApplication.java141 if (displayUniqueId.equals(display.getUniqueId())) { in findDisplayIdByUniqueId()
/packages/services/Car/tools/GenericCarApiBuilder/scripts/api-coverage/
Dapis-without-coverage.txt34 android.car.view.DisplayHelper#getUniqueId(Display)
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/
DCredential.java468 public int getUniqueId() { in getUniqueId() method in Credential.UserCredential
1099 public int getUniqueId() { in getUniqueId() method in Credential
1100 return Objects.hash(mUserCredential != null ? mUserCredential.getUniqueId() : 0, in getUniqueId()
DHomeSp.java384 public int getUniqueId() { in getUniqueId() method in HomeSp
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/input/
DDisplayInputSinkControllerTest.java455 doReturn(uniqueId).when(display).getUniqueId(); in setUpDisplay()
486 mDisplayInputLockSetting.add(display.getUniqueId()); in addDisplayInputLock()
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java829 transactionId = getUniqueId(); in processMessage()
998 transactionId = getUniqueId(); in processMessage()
1059 transactionId = getUniqueId(); in processMessage()
1133 transactionId = getUniqueId(); in processMessage()
1239 transactionId = getUniqueId(); in processMessage()
1487 final int transactionId2 = getUniqueId(); in handleMDnsServiceEvent()
2444 private int getUniqueId() { in getUniqueId() method in NsdService
/packages/apps/Settings/src/com/android/settings/display/
DScreenResolutionFragment.java187 mDefaultDisplay.getUniqueId().hashCode(), in setDisplayMode()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DNetworkSuggestionStoreData.java477 wifiConfiguration.setPasspointUniqueId(passpointConfiguration.getUniqueId()); in parseNetworkSuggestion()
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogPerfHandler.java964 overusingUserPackageKeys.add(usage.getUniqueId()); in latestIoOveruseStatsInternal()
969 String id = usage.getUniqueId(); in latestIoOveruseStatsInternal()
1009 mActionableUserPackages.remove(usage.getUniqueId()); in resetResourceOveruseStats()
1849 killedUserPackageKeys.add(usage.getUniqueId()); in performOveruseHandlingLocked()
2989 public String getUniqueId() { in getUniqueId() method in WatchdogPerfHandler.PackageResourceUsage

12