Home
last modified time | relevance | path

Searched refs:setNetworkName (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/
DWifiP2pConfigTest.java54 b.setNetworkName("DIRECT-ab-Hello"); in testBuilderInvalidNetworkName()
61 b.setNetworkName("DIRECT-WR"); in testBuilderInvalidNetworkName()
68 b.setNetworkName("DIRECT-abcdefghijklmnopqrstuvwxy"); in testBuilderInvalidNetworkName()
75 b.setNetworkName("DIRECT-z"); in testBuilderInvalidNetworkName()
81 b.setNetworkName("ABCDEFGHIJK"); in testBuilderInvalidNetworkName()
87 b.setNetworkName("direct-ab"); in testBuilderInvalidNetworkName()
94 b.setNetworkName("direct-a?"); in testBuilderInvalidNetworkName()
100 b.setNetworkName("DIRECT-abcdefghijklmnopqrstuvwxyz"); in testBuilderInvalidNetworkName()
227 WifiP2pConfig c = new WifiP2pConfig.Builder().setNetworkName("DIRECT-ab-Hello").build(); in testBuildThrowIllegalStateExceptionWithOnlyNetworkName()
DWifiP2pGroupTest.java70 group.setNetworkName(NETWORK_NAME); in testSetterGetter()
DWifiP2pGroupListTest.java53 group.setNetworkName(networkName); in createGroup()
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/
DPendingOperationalDatasetTest.java63 .setNetworkName("defaultNet") in createActiveDataset()
88 .setNetworkName("net1") in equalityTests()
92 .setNetworkName("net2") in equalityTests()
DActiveOperationalDatasetTest.java549 new Builder(DEFAULT_DATASET).setNetworkName("ot-network").build(); in builder_setValidNetworkName_success()
558 assertThrows(IllegalArgumentException.class, () -> builder.setNetworkName("")); in builder_setEmptyNetworkName_throwsIllegalArgument()
566 IllegalArgumentException.class, () -> builder.setNetworkName("openthread-network")); in builder_setTooLongNetworkName_throwsIllegalArgument()
574 assertThrows(IllegalArgumentException.class, () -> builder.setNetworkName("我的线程网络")); in builder_setTooLongUtf8NetworkName_throwsIllegalArgument()
580 new Builder(DEFAULT_DATASET).setNetworkName("我的网络").build(); in builder_setValidUtf8NetworkName_success()
DThreadNetworkControllerTest.java502 .setNetworkName("ThreadNet2")
576 .setNetworkName("testNet1")
586 .setNetworkName("testNet2")
622 .setNetworkName("testNet1")
632 .setNetworkName("testNet2")
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DNetworkNameRestrictedPasswordEditTextPreference.java55 public void setNetworkName(String name) { in setNetworkName() method in NetworkNameRestrictedPasswordEditTextPreference
DNetworkPasswordPreferenceController.java50 getPreference().setNetworkName(mNetworkName);
/packages/modules/Wifi/tests/hostsidetests/multidevices/test/direct/snippet/
DJsonDeserializer.java59 builder.setNetworkName(jsonObject.getString(NETWORK_NAME)); in jsonToWifiP2pConfig()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pGroup.java238 public void setNetworkName(String networkName) { in setNetworkName() method in WifiP2pGroup
496 group.setNetworkName(in.readString());
DWifiP2pConfig.java456 public Builder setNetworkName(@NonNull String networkName) { in setNetworkName() method in WifiP2pConfig.Builder
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DNetworkNameRestrictedPasswordEditTextPreferenceTest.java108 mPreference.setNetworkName("test_name"); in performClick_hasName_showsDialog()
/packages/modules/Connectivity/thread/demoapp/java/com/android/threadnetwork/demoapp/
DThreadNetworkSettingsFragment.java210 .setNetworkName("NewThreadNet") in doMigration()
/packages/modules/Wifi/tests/hostsidetests/multidevices/com.google.snippet.wifi/direct/
DWifiDirectSnippet.java130 builder.setNetworkName(networkName); in buildWifiP2pConfig()
/packages/modules/Connectivity/thread/framework/java/android/net/thread/
DActiveOperationalDataset.java295 builder.setNetworkName(new String(value, UTF_8)); in initWithTlv()
706 public Builder setNetworkName( in setNetworkName() method in ActiveOperationalDataset.Builder
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java310 mTestWifiP2pGroup.setNetworkName("TestGroupName"); in generatorTestData()
329 .setNetworkName("DIRECT-XY-HELLO") in generatorTestData()
336 mTestWifiP2pNewPersistentGoGroup.setNetworkName(TEST_NETWORK_NAME); in generatorTestData()
344 group1.setNetworkName(mTestWifiP2pGroup.getNetworkName()); in generatorTestData()
351 group2.setNetworkName("DIRECT-ab-Hello"); in generatorTestData()
358 group3.setNetworkName("DIRECT-cd-OWNER"); in generatorTestData()
1635 group.setNetworkName(TEST_NETWORK_NAME); in mockEnterGroupCreatedState()
3453 group.setNetworkName(TEST_NETWORK_NAME); in testEndConnectionEventWhenGroupFormed()
3485 group.setNetworkName("DIRECT-xy-NEW"); in testOnClientsChangedOnApStaConnection()
3542 group.setNetworkName("DIRECT-xy-NEW"); in testApStaConnectedDisconnectedEventWithEapolIPAddress()
[all …]
DWifiP2pNativeTest.java124 group.setNetworkName(networkName); in createP2pGroup()
740 .setNetworkName(TEST_NETWORK_NAME) in testJoinGroupWithConfig()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackHidlImpl.java284 group.setNetworkName(NativeUtil.removeEnclosingQuotes(quotedSsid)); in onGroupStarted()
DWifiP2pShellCommand.java543 .setNetworkName(networkName) in prepareWifiP2pConfig()
DSupplicantP2pIfaceCallbackAidlImpl.java317 group.setNetworkName(NativeUtil.removeEnclosingQuotes(quotedSsid)); in onGroupStarted()
DSupplicantP2pIfaceHalAidlImpl.java2097 group.setNetworkName(NativeUtil.removeEnclosingQuotes( in loadGroups()
DSupplicantP2pIfaceHalHidlImpl.java2210 group.setNetworkName(NativeUtil.removeEnclosingQuotes( in loadGroups()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DThreadNetworkControllerService.java892 .setNetworkName(networkName)
/packages/modules/Connectivity/framework-t/api/
Dsystem-current.txt465 …method @NonNull public android.net.thread.ActiveOperationalDataset.Builder setNetworkName(@NonNull…
/packages/modules/Wifi/framework/api/
Dcurrent.txt1280 … method @NonNull public android.net.wifi.p2p.WifiP2pConfig.Builder setNetworkName(@NonNull String);

12