/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | Capabilities.java | 19 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 …]
|
D | WifiAwareServiceImpl.java | 19 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/ |
D | WifiAwareDataPathSecurityConfigTest.java | 42 .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/ |
D | Characteristics.java | 36 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];
|
D | WifiAwareDataPathSecurityConfig.java | 19 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()
|
D | DiscoverySession.java | 20 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()
|
D | IWifiAwareManager.aidl | 30 import android.net.wifi.aware.Characteristics; 45 Characteristics getCharacteristics(); in getCharacteristics()
|
D | ServiceDiscoveryInfo.java | 121 public @Characteristics.WifiAwareDataPathCipherSuites int getPeerCipherSuite() { in getPeerCipherSuite()
|
D | WifiAwareNetworkSpecifier.java | 19 import static android.net.wifi.aware.Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_SK_128;
|
D | SubscribeConfig.java | 282 public void assertValid(Characteristics characteristics, boolean rttSupported) in assertValid()
|
D | PublishConfig.java | 251 public void assertValid(Characteristics characteristics, boolean rttSupported) in assertValid()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareServiceImplTest.java | 19 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/ |
D | CameraProvider.java | 20 import com.android.ex.camera2.portability.CameraDeviceInfo.Characteristics; 66 public Characteristics getCharacteristics(int cameraId); in getCharacteristics()
|
D | CameraController.java | 108 public CameraDeviceInfo.Characteristics getCharacteristics(int cameraId) { in getCharacteristics()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | SettingsUtil.java | 482 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/ |
D | WifiNanIfaceCallbackAidlImpl.java | 53 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()
|
D | WifiNanIfaceCallbackHidlImpl.java | 33 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()
|
D | WifiNanIfaceAidlImpl.java | 19 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;
|
D | WifiNanIfaceHidlImpl.java | 19 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/ |
D | Characteristics.aidl | 19 parcelable Characteristics;
|
/packages/modules/Wifi/tests/hostsidetests/multidevices/com.google.snippet.wifi/aware/ |
D | WifiAwareSnippet.java | 25 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/ |
D | WifiNanIfaceHidlImplTest.java | 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;
|
D | WifiNanIfaceAidlImplTest.java | 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/apps/Camera2/src/com/android/camera/ |
D | TextureViewHelper.java | 365 CameraDeviceInfo.Characteristics info = mCameraProvider.getCharacteristics(cameraId);
|
D | PhotoModule.java | 85 import com.android.ex.camera2.portability.CameraDeviceInfo.Characteristics; 1141 Characteristics info = mActivity.getCameraProvider().getCharacteristics(mCameraId); in capture() 1727 Characteristics info = in setDisplayOrientation()
|