Home
last modified time | relevance | path

Searched refs:TEST_TYPE (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapAccountItemTest.java36 private static final BluetoothMapUtils.TYPE TEST_TYPE = BluetoothMapUtils.TYPE.EMAIL; field in BluetoothMapAccountItemTest
49 TEST_TYPE, in create_withAllParameters()
58 assertThat(accountItem.getType()).isEqualTo(TEST_TYPE); in create_withAllParameters()
72 TEST_TYPE); in create_withoutIdAndUciData()
79 assertThat(accountItem.getType()).isEqualTo(TEST_TYPE); in create_withoutIdAndUciData()
93 TEST_TYPE, in getUciFull()
104 TEST_TYPE, in getUciFull()
115 TEST_TYPE, in getUciFull()
133 TEST_TYPE, in compareIfTwoObjectsAreEqual_returnFalse_whenTypesAreDifferent()
159 TEST_TYPE, in compareIfTwoObjectsAreEqual_returnTrue_evenWhenUcisAreDifferent()
[all …]
DEventTest.java47 private static final TYPE TEST_TYPE = TYPE.EMAIL; field in EventTest
87 mEvent = mObserver.new Event(TEST_EVENT_TYPE, TEST_HANDLE, TEST_FOLDER, TEST_TYPE); in setUp()
93 mObserver.new Event(TEST_EVENT_TYPE, TEST_HANDLE, TEST_FOLDER, TEST_TYPE); in constructor()
97 assertThat(event.msgType).isEqualTo(TEST_TYPE); in constructor()
103 mObserver.new Event(TEST_EVENT_TYPE, TEST_HANDLE, TEST_FOLDER, null, TEST_TYPE); in constructor_withNullOldFolder()
108 assertThat(event.msgType).isEqualTo(TEST_TYPE); in constructor_withNullOldFolder()
115 .new Event(TEST_EVENT_TYPE, TEST_HANDLE, TEST_FOLDER, TEST_OLD_FOLDER, TEST_TYPE); in constructor_withNonNullOldFolder()
120 assertThat(event.msgType).isEqualTo(TEST_TYPE); in constructor_withNonNullOldFolder()
131 TEST_TYPE, in constructor_forExtendedEventTypeOnePointOne()
139 assertThat(event.msgType).isEqualTo(TEST_TYPE); in constructor_forExtendedEventTypeOnePointOne()
[all …]
DBluetoothMapMessageListingElementTest.java48 private static final TYPE TEST_TYPE = TYPE.EMAIL; field in BluetoothMapMessageListingElementTest
82 mMessageListingElement.setType(TEST_TYPE, TEST_MSG_TYPE_APP_PARAM_SET); in setUp()
93 mMessageListingElement.setThreadId(TEST_THREAD_ID, TEST_TYPE); in setUp()
113 assertThat(mMessageListingElement.getType()).isEqualTo(TEST_TYPE); in getters()
159 .isEqualTo(BluetoothMapUtils.getMapHandle(TEST_CP_HANDLE, TEST_TYPE)); in encode()
175 assertThat(attributeValue).isEqualTo(TEST_TYPE.name()); in encode()
198 .isEqualTo(BluetoothMapUtils.getMapConvoHandle(TEST_THREAD_ID, TEST_TYPE)); in encode()
DBluetoothMapbMessageTest.java38 private static final TYPE TEST_TYPE = TYPE.IM; field in BluetoothMapbMessageTest
64 messageMime.setType(TEST_TYPE); in settersAndGetters()
70 assertThat(messageMime.getType()).isEqualTo(TEST_TYPE); in settersAndGetters()
165 messageMimeToEncode.setType(TEST_TYPE); in encodeToByteArray_thenCreateByParsing_ReturnsCorrectly()
190 assertThat(messageMimeParsed.getType()).isEqualTo(TEST_TYPE); in encodeToByteArray_thenCreateByParsing_ReturnsCorrectly()
DBluetoothMapSmsPduTest.java54 private static final int TEST_TYPE = BluetoothMapSmsPdu.SMS_TYPE_GSM; field in BluetoothMapSmsPduTest
83 SmsPdu smsPdu = new SmsPdu(TEST_DATA, TEST_TYPE); in constructor_withDataAndType()
96 SmsPdu smsPdu = new SmsPdu(TEST_DATA, TEST_ENCODING, TEST_TYPE, TEST_LANGUAGE_TABLE); in constructor_withAllParameters()
100 assertThat(smsPdu.getType()).isEqualTo(TEST_TYPE); in constructor_withAllParameters()
DBluetoothMapMasInstanceTest.java46 private static final BluetoothMapUtils.TYPE TEST_TYPE = BluetoothMapUtils.TYPE.EMAIL; field in BluetoothMapMasInstanceTest
67 TEST_TYPE, in setUp()
DBluetoothMapConvoListingElementTest.java50 private static final TYPE TEST_TYPE = TYPE.EMAIL; field in BluetoothMapConvoListingElementTest
92 mListingElement.setType(TEST_TYPE); in setUp()
106 assertThat(mListingElement.getType()).isEqualTo(TEST_TYPE); in getters()
DBluetoothMapObexServerTest.java63 private static final BluetoothMapUtils.TYPE TEST_TYPE = BluetoothMapUtils.TYPE.IM; field in BluetoothMapObexServerTest
93 TEST_TYPE, in setUp()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetClccResponseTest.java36 private static final int TEST_TYPE = 1; field in HeadsetClccResponseTest
48 TEST_TYPE); in constructor()
56 assertThat(response.mType).isEqualTo(TEST_TYPE); in constructor()
69 TEST_TYPE); in buildString()
89 + TEST_TYPE in buildString()
104 TEST_TYPE); in buildString_withNoNumber()
124 + TEST_TYPE in buildString_withNoNumber()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/
DCredentialTypeTest.java36 private static final int TEST_TYPE = CredentialType.CREDENTIAL_TYPE_USIM; field in CredentialTypeTest
44 return ByteBuffer.wrap(new byte[] {(byte) TEST_TYPE}); in getTestBuffer()
78 new CredentialType(AuthParam.PARAM_TYPE_CREDENTIAL_TYPE, TEST_TYPE); in parseBufferForNonTunneledEAPMethod()
93 AuthParam.PARAM_TYPE_TUNNELED_EAP_METHOD_CREDENTIAL_TYPE, TEST_TYPE); in parseBufferForTunneledEAPMethod()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DIconInfoTestUtil.java31 private static final String TEST_TYPE = "png"; field in IconInfoTestUtil
38 new IconInfo(TEST_WIDTH, TEST_HEIGHT, TEST_LANGUAGE, TEST_TYPE, TEST_FILENAME);
57 writeByteArrayWithLength(out, TEST_TYPE.getBytes(StandardCharsets.US_ASCII)); in getTestData()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/broadcast/
DBroadcastDispatcherTest.kt129 val testFilter = IntentFilter(TEST_ACTION).apply { addDataType(TEST_TYPE) } in <lambda>()
168 const val TEST_TYPE = "test/type" in <lambda>() constant
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadHardwareInterfaceTest.java85 private static final short TEST_TYPE = 184; field in OffloadHardwareInterfaceTest
300 mOffloadHw.sendIpv4NfGenMsg(mNativeHandle1, TEST_TYPE, TEST_FLAGS); in testSendIpv4NfGenMsg()
311 assertEquals(TEST_TYPE, buffer.getShort()); in testSendIpv4NfGenMsg()