/packages/modules/Wifi/framework/tests/src/android/net/wifi/util/ |
D | WifiResourceCacheTest.java | 39 private static final String TEST_NAME = "test_name"; field in WifiResourceCacheTest 55 assertTrue(mWifiResourceCache.getBoolean(TEST_ID, TEST_NAME)); in testGetBooleanResource() 56 assertTrue(mWifiResourceCache.getBoolean(TEST_ID, TEST_NAME)); in testGetBooleanResource() 63 assertEquals(VALUE_1, mWifiResourceCache.getInteger(TEST_ID, TEST_NAME)); in testGetIntegerResource() 64 assertEquals(VALUE_1, mWifiResourceCache.getInteger(TEST_ID, TEST_NAME)); in testGetIntegerResource() 71 assertTrue(mWifiResourceCache.getBoolean(TEST_ID, TEST_NAME)); in testOverrideBooleanResource() 72 mWifiResourceCache.overrideBooleanValue(TEST_NAME, false); in testOverrideBooleanResource() 73 assertFalse(mWifiResourceCache.getBoolean(TEST_ID, TEST_NAME)); in testOverrideBooleanResource() 74 mWifiResourceCache.restoreBooleanValue(TEST_NAME); in testOverrideBooleanResource() 75 assertTrue(mWifiResourceCache.getBoolean(TEST_ID, TEST_NAME)); in testOverrideBooleanResource() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/ |
D | BluetoothMapAccountItemTest.java | 31 private static final String TEST_NAME = "test_name"; field in BluetoothMapAccountItemTest 45 TEST_NAME, in create_withAllParameters() 54 assertThat(accountItem.getName()).isEqualTo(TEST_NAME); in create_withAllParameters() 68 TEST_NAME, in create_withoutIdAndUciData() 75 assertThat(accountItem.getName()).isEqualTo(TEST_NAME); in create_withoutIdAndUciData() 89 TEST_NAME, in getUciFull() 100 TEST_NAME, in getUciFull() 111 TEST_NAME, in getUciFull() 129 TEST_NAME, in compareIfTwoObjectsAreEqual_returnFalse_whenTypesAreDifferent() 140 TEST_NAME, in compareIfTwoObjectsAreEqual_returnFalse_whenTypesAreDifferent() [all …]
|
D | MapContactTest.java | 34 private static final String TEST_NAME = "test_name"; field in MapContactTest 38 MapContact contact = MapContact.create(TEST_NON_ZERO_ID, TEST_NAME); in constructor() 41 assertThat(contact.getName()).isEqualTo(TEST_NAME); in constructor() 46 MapContact contact = MapContact.create(TEST_ZERO_ID, TEST_NAME); in getXBtUidString_withZeroId() 53 MapContact contact = MapContact.create(TEST_NON_ZERO_ID, TEST_NAME); in getXBtUidString_withNonZeroId() 61 MapContact contact = MapContact.create(TEST_ZERO_ID, TEST_NAME); in getXBtUid_withZeroId() 68 MapContact contact = MapContact.create(TEST_NON_ZERO_ID, TEST_NAME); in getXBtUid_withNonZeroId() 75 MapContact contact = MapContact.create(TEST_NON_ZERO_ID, TEST_NAME); in toString_returnsName() 77 assertThat(contact.toString()).isEqualTo(TEST_NAME); in toString_returnsName()
|
D | BluetoothMapbMessageVCardTest.java | 36 private static final String TEST_NAME = "test_name"; field in BluetoothMapbMessageVCardTest 53 VCard vcard = new VCard(TEST_NAME, TEST_PHONE_NUMBERS, TEST_EMAIL_ADDRESSES); in constructor_forVersionTwoPointOne() 54 assertThat(vcard.getName()).isEqualTo(TEST_NAME); in constructor_forVersionTwoPointOne() 63 new VCard(TEST_NAME, TEST_PHONE_NUMBERS, TEST_EMAIL_ADDRESSES, TEST_ENV_LEVEL); in constructor_forVersionTwoPointOne_withEnvLevel() 64 assertThat(vcard.getName()).isEqualTo(TEST_NAME); in constructor_forVersionTwoPointOne_withEnvLevel() 75 TEST_NAME, in constructor_forVersionThree() 80 assertThat(vcard.getName()).isEqualTo(TEST_NAME); in constructor_forVersionThree() 91 TEST_NAME, in constructor_forVersionThree_withUcis() 97 assertThat(vcard.getName()).isEqualTo(TEST_NAME); in constructor_forVersionThree_withUcis() 118 TEST_NAME, in encodeToStringBuilder_thenParseBackToVCard_returnsCorrectly() [all …]
|
D | BluetoothMapConvoContactElementTest.java | 46 private static final String TEST_NAME = "test_name"; field in BluetoothMapConvoContactElementTest 66 TEST_NAME, in constructorWithArguments() 76 assertThat(contactElement.getName()).isEqualTo(TEST_NAME); in constructorWithArguments() 107 contactElement.setName(TEST_NAME); in settersAndGetters() 114 assertThat(contactElement.getName()).isEqualTo(TEST_NAME); in settersAndGetters() 130 TEST_NAME, in encodeToXml_thenDecodeToInstance_returnsCorrectly() 159 assertThat(contactElementFromXml.getName()).isEqualTo(TEST_NAME); in encodeToXml_thenDecodeToInstance_returnsCorrectly() 176 TEST_NAME, in equalsWithSameValues_returnsTrue() 188 TEST_NAME, in equalsWithSameValues_returnsTrue() 205 TEST_NAME, in equalsWithDifferentPriority_returnsFalse() [all …]
|
D | BluetoothMapbMessageTest.java | 42 private static final String TEST_NAME = "test_name"; field in BluetoothMapbMessageTest 57 new VCard(TEST_NAME, TEST_PHONE_NUMBERS, TEST_EMAIL_ADDRESSES); 86 messageMime.addOriginator(TEST_NAME, TEST_PHONE_NUMBERS, TEST_EMAIL_ADDRESSES); in addOriginator_forVCardVersionTwoPointOne() 87 assertThat(messageMime.getOriginators().get(0).getName()).isEqualTo(TEST_NAME); in addOriginator_forVCardVersionTwoPointOne() 104 TEST_NAME, in addOriginator_forVCardVersionThree() 110 assertThat(messageMime.getOriginators().get(0).getName()).isEqualTo(TEST_NAME); in addOriginator_forVCardVersionThree() 129 messageMime.addRecipient(TEST_NAME, TEST_PHONE_NUMBERS, TEST_EMAIL_ADDRESSES); in addRecipient_forVCardVersionTwoPointOne() 130 assertThat(messageMime.getRecipients().get(0).getName()).isEqualTo(TEST_NAME); in addRecipient_forVCardVersionTwoPointOne() 140 TEST_NAME, in addRecipient_forVCardVersionThree() 146 assertThat(messageMime.getRecipients().get(0).getName()).isEqualTo(TEST_NAME); in addRecipient_forVCardVersionThree() [all …]
|
D | BluetoothMapConvoListingElementTest.java | 44 private static final String TEST_NAME = "test_name"; field in BluetoothMapConvoListingElementTest 91 mListingElement.setName(TEST_NAME); in setUp() 105 assertThat(mListingElement.getName()).isEqualTo(TEST_NAME); in getters() 158 assertThat(listingElementFromXml.getName()).isEqualTo(TEST_NAME); in encodeToXml_thenDecodeToInstance_returnsCorrectly() 169 listingElement.setName(TEST_NAME); in equalsWithSameValues_returnsTrue() 175 listingElementEqual.setName(TEST_NAME); in equalsWithSameValues_returnsTrue()
|
D | BluetoothMapObexServerTest.java | 58 private static final String TEST_NAME = "test_name"; field in BluetoothMapObexServerTest 89 TEST_NAME, in setUp() 111 TEST_NAME, in setOwnerStatus_withAccountTypeEmail() 240 TEST_NAME, in setMsgTypeFilterParams_withInvalidFilterMessageType() 267 TEST_NAME, in setMsgTypeFilterParams_withValidFilterMessageType()
|
D | BluetoothMapContentTest.java | 83 private static final String TEST_NAME = "test_name"; field in BluetoothMapContentTest 717 mInfo.mPhoneAlphaTag = TEST_NAME; in setSenderName_withFilterTypeSms_andSmsMsgTypeDraft() 727 assertThat(mMessageListingElement.getSenderName()).isEqualTo(TEST_NAME); in setSenderName_withFilterTypeSms_andSmsMsgTypeDraft() 797 cursor.addRow(new Object[] {(long) 1, TEST_NAME}); in setSenderName_withFilterTypeIm() 805 assertThat(mMessageListingElement.getSenderName()).isEqualTo(TEST_NAME); in setSenderName_withFilterTypeIm() 1087 TEST_NAME, in getIMMessage_withSentFolderId() 1147 TEST_NAME, in getIMMessage_withInboxFolderId() 1237 TEST_ID, TEST_DATE_EMAIL, TEST_NAME, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 in convoListing_withNullFilterRecipient() 1255 assertThat(emailElement.getName()).isEqualTo(TEST_NAME); in convoListing_withNullFilterRecipient() 1314 contactCursor.addRow(new Object[] {TEST_ID, TEST_NAME}); in convoListing_withNonNullFilterRecipient() [all …]
|
D | BluetoothMapMasInstanceTest.java | 41 private static final String TEST_NAME = "test_name"; field in BluetoothMapMasInstanceTest 63 TEST_NAME, in setUp()
|
D | SmsMmsContactsTest.java | 46 private static final String TEST_NAME = "test_name"; field in SmsMmsContactsTest 146 cursor.addRow(new Object[] {TEST_ID, TEST_NAME}); in getContactNameFromPhone_withNonNullCursor() 151 MapContact expected = MapContact.create(TEST_ID, TEST_NAME); in getContactNameFromPhone_withNonNullCursor()
|
D | EventTest.java | 58 private static final String TEST_NAME = "test_name"; field in EventTest 184 TEST_NAME, in constructor_forExtendedEventTypeOnePointTwo_withConversationEvents() 196 assertThat(event.senderName).isEqualTo(BluetoothMapUtils.stripInvalidChars(TEST_NAME)); in constructor_forExtendedEventTypeOnePointTwo_withConversationEvents()
|
D | BluetoothMapContentObserverTest.java | 109 static final String TEST_NAME = "col_name"; field in BluetoothMapContentObserverTest 1041 TEST_NAME, in initContactsList() 1066 Assert.assertEquals(contactElement.getName(), TEST_NAME); in initContactsList() local 2386 TEST_NAME, in handleContactListChanges_withNullContactForUci() 2409 Assert.assertEquals(contactElement.getName(), TEST_NAME); in handleContactListChanges_withNullContactForUci() local 2444 TEST_NAME, in handleContactListChanges_withNonNullContactForUci() 2462 TEST_NAME, in handleContactListChanges_withNonNullContactForUci() 2480 Assert.assertEquals(contactElement.getName(), TEST_NAME); in handleContactListChanges_withNonNullContactForUci() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingDeviceItemTest.java | 29 private static final String TEST_NAME = "test"; field in AudioSharingDeviceItemTest 36 new AudioSharingDeviceItem(TEST_NAME, TEST_GROUP_ID, TEST_IS_ACTIVE); in createItem_new() 37 assertThat(item.getName()).isEqualTo(TEST_NAME); in createItem_new() 45 new AudioSharingDeviceItem(TEST_NAME, TEST_GROUP_ID, TEST_IS_ACTIVE); in createItem_withParcel() 50 assertThat(newItem.getName()).isEqualTo(TEST_NAME); in createItem_withParcel() 58 new AudioSharingDeviceItem(TEST_NAME, TEST_GROUP_ID, TEST_IS_ACTIVE); in describeContents_returnsZero() 70 new AudioSharingDeviceItem(TEST_NAME, TEST_GROUP_ID, TEST_IS_ACTIVE); in creator_createFromParcel() 77 assertThat(itemFromParcel.getName()).isEqualTo(TEST_NAME); in creator_createFromParcel()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAttributesTests.java | 41 private static final String TEST_NAME = "Larry Page"; field in CallAttributesTests 61 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI).build(); in testRequiredAttributes() 70 new CallAttributes.Builder(mHandle, -1, TEST_NAME, TEST_URI).build() in testInvalidDirectionAttributes() 78 TEST_NAME, TEST_URI).setCallType(-1).build() in testInvalidCallType() 85 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI) in testOptionalAttributes() 95 assertEquals(TEST_NAME, callAttributes.getDisplayName()); in testOptionalAttributes() 101 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI).build(); in testDescribeContents() 110 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI) in testWriteToParcel()
|
D | TransactionTests.java | 97 private static final String TEST_NAME = "Sergey Brin"; field in TransactionTests 235 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI).build(); in testOutgoingCallTransaction() 263 CallAttributes.DIRECTION_INCOMING, TEST_NAME, TEST_URI).build(); in testIncomingCallTransaction() 289 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI) in testOutgoingCallTransactionRemapsVideoState() 294 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI) in testOutgoingCallTransactionRemapsVideoState() 323 CallAttributes.DIRECTION_INCOMING, TEST_NAME, TEST_URI) in testIncomingCallTransactionRemapsVideoState() 328 CallAttributes.DIRECTION_INCOMING, TEST_NAME, TEST_URI) in testIncomingCallTransactionRemapsVideoState()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/network/ |
D | MobileNetworkFragmentTest.java | 53 private static final String TEST_NAME = "Test Name"; field in MobileNetworkFragmentTest 72 createSubscriptionInfo(SUB_ID + 1, TEST_NAME + "_1"), in setUp() 73 createSubscriptionInfo(SUB_ID + 2, TEST_NAME + "_2"))); in setUp() 83 setUpFragmentWithSubId(SUB_ID, TEST_NAME); in onMobileNetworkUpdated_startWithArgument_updateTitle() 86 assertThat(toolbar.getTitle()).isEqualTo(TEST_NAME); in onMobileNetworkUpdated_startWithArgument_updateTitle() 93 Collections.singletonList(createSubscriptionInfo(SUB_ID, TEST_NAME))); in onMobileNetworkUpdated_noArgumentProvided_updateTitle() 96 assertThat(toolbar.getTitle()).isEqualTo(TEST_NAME + "_1"); in onMobileNetworkUpdated_noArgumentProvided_updateTitle()
|
/packages/modules/Bluetooth/system/gd/fuzz/ |
D | run | 29 TEST_NAME=bluetooth_gd_${1}_fuzz_test 33 …ild-mode --"all-modules" --dir="$(pwd)" $TEST_NAME && ${ANDROID_HOST_OUT}/fuzz/$HOST_ARCH/$TEST_NA…
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | NonCurrentUserControllerTest.java | 62 private static final String TEST_NAME = "Fred"; field in NonCurrentUserControllerTest 100 mPrimaryUser.name = TEST_NAME; in controllerAddsSecondaryUser() 106 assertThat(preference.getTitle()).isEqualTo(TEST_NAME); in controllerAddsSecondaryUser() 111 mPrimaryUser.name = TEST_NAME; in controllerUpdatesSummaryOfNewPreference() 188 mPrimaryUser.name = TEST_NAME; in handleResult_noStatsResult_shouldShowCachedData() 237 mPrimaryUser.name = TEST_NAME; in iconCallbackChangesPreferenceIcon() 254 mPrimaryUser.name = TEST_NAME; in setIcon_doesntNpeOnNullPreference()
|
/packages/modules/NeuralNetworks/runtime/test/fuzzing/ |
D | visualize_random_graph.sh | 20 TEST_NAME=$1 21 SPEC_NAME=${TEST_NAME//[\/.]/_} 49 adb shell /data/local/tmp/NeuralNetworksTest_static_fuzzing --gtest_filter=$TEST_NAME
|
/packages/apps/Settings/tests/Enable16KbTests/src/com/android/test/ |
D | Enable16KbTest.java | 42 private static final String TEST_NAME = "Enable16KbDeviceTest"; field in Enable16KbTest 89 runDeviceTests(APP_PACKAGE, APP_PACKAGE + "." + TEST_NAME, DISABLE_DEV_OPTION); in enable16KbToggle() 101 runDeviceTests(APP_PACKAGE, APP_PACKAGE + "." + TEST_NAME, testMethodName); in runTestAndWait()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpPlayerTest.java | 37 private static final String TEST_NAME = "test_name"; field in AvrcpPlayerTest 62 builder.setName(TEST_NAME); in buildAvrcpPlayer() 71 assertThat(avrcpPlayer.getName()).isEqualTo(TEST_NAME); in buildAvrcpPlayer() 165 .setName(TEST_NAME) in toString_returnsInfo()
|
D | BrowseNodeTest.java | 41 private static final String TEST_NAME = "item"; field in BrowseNodeTest 203 .setDisplayableName(TEST_NAME) in toTreeString_returnFormattedString() 242 .setDisplayableName(TEST_NAME) in toString_returnsId() 246 .isEqualTo("[Id: " + TEST_UUID + " Name: " + TEST_NAME + " Size: 0]"); in toString_returnsId()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | NotificationAssistantPickerTest.java | 55 private static final String TEST_NAME = "Test name"; field in NotificationAssistantPickerTest 148 when(c.loadLabel()).thenReturn(TEST_NAME); in dialogTextHasAssistantName() 152 assertTrue(text.toString().contains(TEST_NAME)); in dialogTextHasAssistantName()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceUpdaterTest.java | 62 private static final String TEST_NAME = "test_name"; field in BluetoothDeviceUpdaterTest 259 when(mCachedBluetoothDevice.getName()).thenReturn(TEST_NAME); in havePreference_refreshPreference() 262 assertThat(mPreference.getTitle()).isEqualTo(TEST_NAME); in havePreference_refreshPreference()
|