/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/ |
D | WifiP2pPeerTest.java | 40 private static final String DEVICE_NAME = "fakeName"; field in WifiP2pPeerTest 60 setupOneOtherP2pPeer(DEVICE_NAME, null /* address */); in compareTo_withSameDeviceName_shouldBeZero() 61 mWifiP2pDevice.deviceName = DEVICE_NAME; in compareTo_withSameDeviceName_shouldBeZero() 69 setupOneOtherP2pPeer(DEVICE_NAME, null /* address */); in compareTo_withDifferentDeviceName_shouldNotZero() 87 setupOneOtherP2pPeer(DEVICE_NAME, null /* address */); in compareTo_withLowerDeviceStatus_shouldBeOne() 97 setupOneOtherP2pPeer(DEVICE_NAME, null /* address */); in compareTo_withNotPeerParameter_shouldBeOne()
|
/packages/modules/Connectivity/nearby/tests/cts/fastpair/src/android/nearby/cts/ |
D | PresenceDeviceTest.java | 47 private static final String DEVICE_NAME = "testDevice"; field in PresenceDeviceTest 65 .setName(DEVICE_NAME) in testBuilder() 77 assertThat(device.getName()).isEqualTo(DEVICE_NAME); in testBuilder() 92 .setName(DEVICE_NAME) in testWriteParcel() 105 assertThat(parcelDevice.getName()).isEqualTo(DEVICE_NAME); in testWriteParcel() 116 .setName(DEVICE_NAME) in describeContents()
|
D | PrivateCredentialTest.java | 45 private static final String DEVICE_NAME = "myDevice"; field in PrivateCredentialTest 57 SECRETE_ID, AUTHENTICITY_KEY, METADATA_ENCRYPTION_KEY, DEVICE_NAME) in setUp() 69 assertThat(credential.getDeviceName()).isEqualTo(DEVICE_NAME); in testBuilder()
|
D | PresenceBroadcastRequestTest.java | 59 private static final String DEVICE_NAME = "test_device"; field in PresenceBroadcastRequestTest 66 METADATA_ENCRYPTION_KEY, DEVICE_NAME) in setUp()
|
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/gatt/ |
D | gatt_connect_low_layer_test.py | 166 DEVICE_NAME = 'Im_The_CERT!' 173 … create_response = self._start_cert_advertising_with_random_address(DEVICE_NAME, RANDOM_ADDRESS) 226 DEVICE_NAME = 'Im_The_CERT!' 233 … create_response = self._start_cert_advertising_with_random_address(DEVICE_NAME, RANDOM_ADDRESS) 306 DEVICE_NAME = 'Im_The_CERT!' 313 … create_response = self._start_cert_advertising_with_random_address(DEVICE_NAME, RANDOM_ADDRESS) 377 DEVICE_NAME = 'Im_The_CERT!' 384 … create_response = self._start_cert_advertising_with_random_address(DEVICE_NAME, RANDOM_ADDRESS) 427 … create_response = self._start_cert_advertising_with_random_address(DEVICE_NAME, RANDOM_ADDRESS) 470 DEVICE_NAME = 'Im_The_CERT!' [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothSummaryUpdaterTest.java | 55 private static final String DEVICE_NAME = "Nightshade"; field in BluetoothSummaryUpdaterTest 85 doReturn(DEVICE_NAME).when(mConnectedDevice).getName(); in setUp() 122 mContext.getString(R.string.bluetooth_connected_summary, DEVICE_NAME)); in register_true_shouldSendSummaryChange() 149 mContext.getString(R.string.bluetooth_connected_summary, DEVICE_NAME)); in onBluetoothStateChanged_btEnabled_connected_shouldSendConnectedSummary() 196 mContext.getString(R.string.bluetooth_connected_summary, DEVICE_NAME)); in onBluetoothStateChanged_ConnectedDisabledEnabled_shouldSendDisconnectedSummary() 226 mContext.getString(R.string.bluetooth_connected_summary, DEVICE_NAME)); in onConnectionStateChanged_connected_shouldSendConnectedMessage() 286 mContext.getString(R.string.bluetooth_connected_summary, DEVICE_NAME); in getConnectedDeviceSummary_hasConnectedDevice_returnOneDeviceSummary()
|
D | BluetoothDeviceRenamePreferenceControllerTest.java | 56 private static final String DEVICE_NAME = "Nightshade"; field in BluetoothDeviceRenamePreferenceControllerTest 83 doReturn(DEVICE_NAME).when(mController).getDeviceName(); in setUp() 94 assertThat(summary.toString()).isEqualTo(DEVICE_NAME); in testUpdateDeviceName_showSummaryWithDeviceName()
|
D | ForgetDeviceDialogFragmentTest.java | 58 private static final String DEVICE_NAME = "Nightshade"; field in ForgetDeviceDialogFragmentTest 80 when(mCachedDevice.getName()).thenReturn(DEVICE_NAME); in setUp() 115 mContext.getString(R.string.bluetooth_unpair_dialog_body, DEVICE_NAME)); in createDialog_normalDevice_showNormalMessage()
|
D | BluetoothDeviceNamePreferenceControllerTest.java | 48 private static final String DEVICE_NAME = "Nightshade"; field in BluetoothDeviceNamePreferenceControllerTest 69 doReturn(DEVICE_NAME).when(mController).getDeviceName(); in setUp()
|
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/hci/ |
D | le_advanced_scanning_test.py | 70 DEVICE_NAME = 'Im_The_CERT!' 77 data=list(bytes(DEVICE_NAME, encoding='utf8'))) 127 DEVICE_NAME = 'Im_The_CERT!' 134 data=list(bytes(DEVICE_NAME, encoding='utf8'))) 301 DEVICE_NAME = 'Im_The_CERT!' 307 data=list(bytes(DEVICE_NAME, encoding='utf8'))) 330 self.dut.sl4a.bleSetScanFilterDeviceName(DEVICE_NAME) 355 DEVICE_NAME = 'Im_The_CERT!' 361 data=list(bytes(DEVICE_NAME, encoding='utf8'))) 408 DEVICE_NAME = 'Im_The_CERT!' [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsActiveDeviceSummaryUpdaterTest.java | 51 private static final String DEVICE_NAME = "device_name"; field in AudioStreamsActiveDeviceSummaryUpdaterTest 89 when(mCachedBluetoothDevice.getName()).thenReturn(DEVICE_NAME); in onActiveDeviceChanged_leProfile_summaryUpdated() 92 assertThat(mUpdatedSummary).isEqualTo(DEVICE_NAME); in onActiveDeviceChanged_leProfile_summaryUpdated()
|
D | AudioStreamConfirmDialogTest.java | 79 private static final String DEVICE_NAME = "device_name"; field in AudioStreamConfirmDialogTest 199 when(mBluetoothDevice.getAlias()).thenReturn(DEVICE_NAME); in showDialog_noMetadata() 225 mContext.getString(R.string.audio_streams_dialog_cannot_play, DEVICE_NAME)); in showDialog_noMetadata() 241 when(mBluetoothDevice.getAlias()).thenReturn(DEVICE_NAME); in showDialog_invalidMetadata() 270 mContext.getString(R.string.audio_streams_dialog_cannot_play, DEVICE_NAME)); in showDialog_invalidMetadata() 286 when(mBluetoothDevice.getAlias()).thenReturn(DEVICE_NAME); in showDialog_confirmListen() 317 R.string.audio_streams_dialog_control_volume, DEVICE_NAME)); in showDialog_confirmListen()
|
D | AudioStreamsQrCodeScanFragmentTest.java | 70 private static final String DEVICE_NAME = "device_name"; field in AudioStreamsQrCodeScanFragmentTest 81 when(mDevice.getName()).thenReturn(DEVICE_NAME); in setUp() 122 DEVICE_NAME)); in onCreateView_createLayout()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/ |
D | DiscoverableFooterPreferenceControllerTest.java | 59 private static final String DEVICE_NAME = "device name"; field in DiscoverableFooterPreferenceControllerTest 147 BluetoothAdapter.getDefaultAdapter().setName(DEVICE_NAME); in onBluetoothStateChanged_bluetoothOn_updateTitle() 150 assertThat(mPreference.getTitle()).isEqualTo(generateTitle(DEVICE_NAME)); in onBluetoothStateChanged_bluetoothOn_updateTitle() 155 BluetoothAdapter.getDefaultAdapter().setName(DEVICE_NAME); in onBluetoothStateChanged_bluetoothOff_updateTitle()
|
D | ConnectedDeviceGroupControllerTest.java | 82 private static final String DEVICE_NAME = "device"; field in ConnectedDeviceGroupControllerTest 143 when(mCachedDevice.getName()).thenReturn(DEVICE_NAME); in setUp() 329 assertThat(searchData.get(0).key).contains(DEVICE_NAME); in updateDynamicRawDataToIndex_deviceBonded_deviceIsSearchable()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/ |
D | DeviceManager.java | 40 return Settings.Global.getString(context.getContentResolver(), Settings.Global.DEVICE_NAME); in getDeviceName() 53 Settings.Global.putString(context.getContentResolver(), Settings.Global.DEVICE_NAME, name); in setDeviceName()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/name/ |
D | DeviceManager.java | 40 return Settings.Global.getString(context.getContentResolver(), Settings.Global.DEVICE_NAME); in getDeviceName() 53 Settings.Global.putString(context.getContentResolver(), Settings.Global.DEVICE_NAME, name); in setDeviceName()
|
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/presence/ |
D | FastAdvertisementTest.java | 46 private static final String DEVICE_NAME = "test_device"; field in FastAdvertisementTest 54 new PrivateCredential.Builder(SECRET_ID, AUTHENTICITY_KEY, IDENTITY, DEVICE_NAME) in setUp()
|
D | ExtendedAdvertisementTest.java | 103 private static final String DEVICE_NAME = "test_device"; field in ExtendedAdvertisementTest 134 SECRET_ID, AUTHENTICITY_KEY, METADATA_ENCRYPTION_KEY, DEVICE_NAME) in setUp() 139 SECRET_ID, AUTHENTICITY_KEY_2, METADATA_ENCRYPTION_KEY_2, DEVICE_NAME) in setUp() 240 AUTHENTICITY_KEY, new byte[]{1, 2, 3, 4}, DEVICE_NAME) in test_createFromRequest_invalidParameter()
|
/packages/modules/Bluetooth/system/gd/cert/ |
D | set_up_and_run_device_cert.sh | 24 DEVICE_NAME="$1 device" 28 echo "| Choose a ${DEVICE_NAME}: " 1>&2
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/ |
D | PhysicalKeyboardPreferenceControllerTest.java | 52 private static final String DEVICE_NAME = "deviceName"; field in PhysicalKeyboardPreferenceControllerTest 86 DEVICE_NAME, in testPhysicalKeyboard_byDefault_shouldBeShown()
|
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/metrics/ |
D | NearbyMetricsTest.java | 41 private static final String DEVICE_NAME = "testDevice"; field in NearbyMetricsTest 69 .setName(DEVICE_NAME)
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | DeviceNamePreferenceController.java | 80 Settings.Global.DEVICE_NAME); in initializeDeviceName() 139 Settings.Global.putString(mContext.getContentResolver(), Settings.Global.DEVICE_NAME, in setSettingsGlobalDeviceName()
|
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/managers/ |
D | BroadcastProviderManagerTest.java | 71 private static final String DEVICE_NAME = "test_device"; field in BroadcastProviderManagerTest 103 new PrivateCredential.Builder(SECRET_ID, AUTHENTICITY_KEY, IDENTITY, DEVICE_NAME) in setUp()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/ |
D | DeviceNamePreferenceControllerTest.java | 98 mContext.getContentResolver(), Settings.Global.DEVICE_NAME, null); in tearDown() 120 mContext.getContentResolver(), Settings.Global.DEVICE_NAME, "Test"); in constructor_deviceNameLoadedIfSet()
|