Home
last modified time | relevance | path

Searched refs:Characteristics (Results 1 – 25 of 33) sorted by relevance

12

/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DCapabilities.java19 import android.net.wifi.aware.Characteristics;
58 public Characteristics toPublicCharacteristics(DeviceConfigFacade deviceConfigFacade) { in toPublicCharacteristics()
60 bundle.putInt(Characteristics.KEY_MAX_SERVICE_NAME_LENGTH, maxServiceNameLen); in toPublicCharacteristics()
62 Characteristics.KEY_MAX_SERVICE_SPECIFIC_INFO_LENGTH, in toPublicCharacteristics()
64 bundle.putInt(Characteristics.KEY_MAX_MATCH_FILTER_LENGTH, maxMatchFilterLen); in toPublicCharacteristics()
65 bundle.putInt(Characteristics.KEY_SUPPORTED_DATA_PATH_CIPHER_SUITES, in toPublicCharacteristics()
67 bundle.putInt(Characteristics.KEY_SUPPORTED_PAIRING_CIPHER_SUITES, in toPublicCharacteristics()
69 bundle.putBoolean(Characteristics.KEY_IS_INSTANT_COMMUNICATION_MODE_SUPPORTED, in toPublicCharacteristics()
71 bundle.putInt(Characteristics.KEY_MAX_NDP_NUMBER, maxNdpSessions); in toPublicCharacteristics()
72 bundle.putInt(Characteristics.KEY_MAX_NDI_NUMBER, maxNdiInterfaces); in toPublicCharacteristics()
[all …]
DWifiAwareServiceImpl.java19 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_PASN_128;
20 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_PASN_256;
34 import android.net.wifi.aware.Characteristics;
189 public Characteristics getCharacteristics() { in getCharacteristics()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareDataPathSecurityConfigTest.java42 .Builder(Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_128); in testBuilderWithInvalidPassphrase()
50 .Builder(Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_128); in testBuilderWithInvalidPmk()
58 .Builder(Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_128); in testBuilderWithInvalidPmkId()
73 .Builder(Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_128); in testBuilderWithSKCipherSuite()
78 assertEquals(Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_128, in testBuilderWithSKCipherSuite()
82 .Builder(Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_256); in testBuilderWithSKCipherSuite()
87 assertEquals(Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_256, in testBuilderWithSKCipherSuite()
95 .Builder(Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_128); in testBuilderWithPKCipherSuite()
102 assertEquals(Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_128, in testBuilderWithPKCipherSuite()
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DCharacteristics.java36 public final class Characteristics implements Parcelable { class
69 public Characteristics(Bundle characteristics) { in Characteristics() method in Characteristics
275 public static final @android.annotation.NonNull Creator<Characteristics> CREATOR =
276 new Creator<Characteristics>() {
278 public Characteristics createFromParcel(Parcel in) {
279 Characteristics c = new Characteristics(in.readBundle());
284 public Characteristics[] newArray(int size) {
285 return new Characteristics[size];
DWifiAwareDataPathSecurityConfig.java19 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_128;
20 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_256;
21 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_128;
22 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_256;
62 @Characteristics.WifiAwareDataPathCipherSuites int cipherSuite, in WifiAwareDataPathSecurityConfig()
175 @Characteristics.WifiAwareDataPathCipherSuites
237 public Builder(@Characteristics.WifiAwareDataPathCipherSuites int cipherSuite) { in Builder()
DDiscoverySession.java20 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_PASN_128;
289 @Characteristics.WifiAwarePairingCipherSuites int cipherSuite, in initiatePairingRequest()
329 @Characteristics.WifiAwarePairingCipherSuites int cipherSuite, in acceptPairingRequest()
DIWifiAwareManager.aidl30 import android.net.wifi.aware.Characteristics;
45 Characteristics getCharacteristics(); in getCharacteristics()
DServiceDiscoveryInfo.java121 public @Characteristics.WifiAwareDataPathCipherSuites int getPeerCipherSuite() { in getPeerCipherSuite()
DWifiAwareNetworkSpecifier.java19 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_128;
DSubscribeConfig.java282 public void assertValid(Characteristics characteristics, boolean rttSupported) in assertValid()
DPublishConfig.java251 public void assertValid(Characteristics characteristics, boolean rttSupported) in assertValid()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareServiceImplTest.java19 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_PASN_128;
47 import android.net.wifi.aware.Characteristics;
180 Characteristics characteristics = getCharacteristics(mDeviceConfigFacade); in setup()
844 cap.supportedDataPathCipherSuites = Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_256; in testCapabilityTranslation()
849 Characteristics characteristics = cap.toPublicCharacteristics(mDeviceConfigFacade); in testCapabilityTranslation()
854 Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_256); in testCapabilityTranslation()
856 Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_PASN_128); in testCapabilityTranslation()
870 .Builder(Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_256) in testPublishWifiValidSecurityConfig()
887 .Builder(Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_128) in testPublishWifiInvalidSecurityConfig()
929 Characteristics characteristics = mock(Characteristics.class); in testSuspendWithSuspensionNotSupported()
[all …]
/packages/apps/Camera2/src/com/android/camera/app/
DCameraProvider.java20 import com.android.ex.camera2.portability.CameraDeviceInfo.Characteristics;
66 public Characteristics getCharacteristics(int cameraId); in getCharacteristics()
DCameraController.java108 public CameraDeviceInfo.Characteristics getCharacteristics(int cameraId) { in getCharacteristics()
/packages/apps/Camera2/src/com/android/camera/settings/
DSettingsUtil.java482 CameraDeviceInfo.Characteristics props = info.getCharacteristics(i); in getCameraId()
502 public boolean useCamera(CameraDeviceInfo.Characteristics info); in useCamera()
507 public boolean useCamera(CameraDeviceInfo.Characteristics info) {
513 public boolean useCamera(CameraDeviceInfo.Characteristics info) {
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiNanIfaceCallbackAidlImpl.java53 import android.net.wifi.aware.Characteristics;
743 publicCipherSuites |= Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_128; in toPublicDataPathCipherSuites()
746 publicCipherSuites |= Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_256; in toPublicDataPathCipherSuites()
749 publicCipherSuites |= Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_128; in toPublicDataPathCipherSuites()
752 publicCipherSuites |= Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_256; in toPublicDataPathCipherSuites()
762 publicCipherSuites |= Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_PASN_128; in toPublicPairingCipherSuites()
765 publicCipherSuites |= Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_PASN_256; in toPublicPairingCipherSuites()
DWifiNanIfaceCallbackHidlImpl.java33 import android.net.wifi.aware.Characteristics;
571 publicCipherSuites |= Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_128; in toPublicCipherSuites()
574 publicCipherSuites |= Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_256; in toPublicCipherSuites()
577 publicCipherSuites |= Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_128; in toPublicCipherSuites()
580 publicCipherSuites |= Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_256; in toPublicCipherSuites()
DWifiNanIfaceAidlImpl.java19 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_128;
20 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_256;
21 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_128;
22 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_256;
DWifiNanIfaceHidlImpl.java19 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_128;
20 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_256;
21 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_128;
22 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_256;
/packages/modules/Wifi/framework/aidl-export/android/net/wifi/aware/
DCharacteristics.aidl19 parcelable Characteristics;
/packages/modules/Wifi/tests/hostsidetests/multidevices/com.google.snippet.wifi/aware/
DWifiAwareSnippet.java25 import android.net.wifi.aware.Characteristics;
305 Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_PASN_128, in initiatePairingSetup()
383 ALIAS_SUBSCRIBE, Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_PASN_128, in respondToPairingSetup()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiNanIfaceHidlImplTest.java21 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_128;
22 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_256;
DWifiNanIfaceAidlImplTest.java21 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_128;
22 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_256;
/packages/apps/Camera2/src/com/android/camera/
DTextureViewHelper.java365 CameraDeviceInfo.Characteristics info = mCameraProvider.getCharacteristics(cameraId);
DPhotoModule.java85 import com.android.ex.camera2.portability.CameraDeviceInfo.Characteristics;
1141 Characteristics info = mActivity.getCameraProvider().getCharacteristics(mCameraId); in capture()
1727 Characteristics info = in setDisplayOrientation()

12