Home
last modified time | relevance | path

Searched refs:status1 (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterDataTest.kt56 private val status1 = constant in android.safetycenter.cts.SafetyCenterDataTest
162 SafetyCenterData(status1, listOf(issue1), listOf(entryOrGroup1), listOf(staticEntryGroup1))
169 val safetyCenterData = SafetyCenterData.Builder(status1).build() in getStatus_withDefaultBuilder_returnsStatus()
171 assertThat(safetyCenterData.status).isEqualTo(status1) in getStatus_withDefaultBuilder_returnsStatus()
177 val safetyCenterData = SafetyCenterData.Builder(status1).build() in getIssues_withDefaultBuilder_returnsEmptyList()
186 SafetyCenterData.Builder(status1).addIssue(issue1).addIssue(issue2).build() in getIssues_whenSetExplicitly_returnsIssues()
194 val safetyCenterData = SafetyCenterData.Builder(status1).build() in getEntriesOrGroups_withDefaultBuilder_returnsEmptyList()
203 SafetyCenterData.Builder(status1) in getEntriesOrGroups_whenSetExplicitly_returnsEntriesOrGroups()
216 val safetyCenterData = SafetyCenterData.Builder(status1).build() in getStaticGroups_withDefaultBuilder_returnsEmptyList()
225 SafetyCenterData.Builder(status1) in getStaticEntryGroups_whenSetExplicitly_returnsStaticEntryGroups()
[all …]
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DMediaQualityStatusTest.java78 MediaQualityStatus status1 = createMediaQualityStatus(); in testEqual() local
80 assertThat(status1).isEqualTo(status2); in testEqual()
85 MediaQualityStatus status1 = createMediaQualityStatus(); in testNotEqual() local
93 assertThat(status1).isNotEqualTo(status2); in testNotEqual()
102 assertThat(status1).isNotEqualTo(status3); in testNotEqual()
111 assertThat(status1).isNotEqualTo(status4); in testNotEqual()
120 assertThat(status1).isNotEqualTo(status5); in testNotEqual()
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DStatusTest.cpp33 Status status1(1); in TEST() local
34 Status status2(status1); // NOLINT(performance-unnecessary-copy-initialization) in TEST()
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterManagerTest.kt876 val status1 = listener.receiveSafetyCenterData().status in <lambda>() constant
877 assertThat(status1.refreshStatus).isEqualTo(REFRESH_STATUS_FULL_RESCAN_IN_PROGRESS) in <lambda>()
878 assertThat(status1.title.toString()) in <lambda>()
880 assertThat(status1.summary.toString()) in <lambda>()
900 val status1 = listener.receiveSafetyCenterData().status in <lambda>() constant
901 assertThat(status1.refreshStatus).isEqualTo(REFRESH_STATUS_DATA_FETCH_IN_PROGRESS) in <lambda>()
902 assertThat(status1.title.toString()) in <lambda>()
904 assertThat(status1.summary.toString()) in <lambda>()
925 val status1 = listener.receiveSafetyCenterData().status in <lambda>() constant
926 assertThat(status1.refreshStatus).isEqualTo(REFRESH_STATUS_DATA_FETCH_IN_PROGRESS) in <lambda>()
[all …]
/packages/modules/Bluetooth/system/profile/avrcp/tests/
Davrcp_device_test.cc259 PlayStatus status1 = {0x1234, 0x5678, PlayState::PLAYING}; in TEST_F() local
264 .WillOnce(InvokeCb<0>(status1)) in TEST_F()
304 PlayStatus status1 = {0x1234, 0x5678, PlayState::PAUSED}; in TEST_F() local
309 .WillOnce(InvokeCb<0>(status1)) in TEST_F()
448 PlayStatus status1 = {0x1234, 0x5678, PlayState::PLAYING}; in TEST_F() local
449 interim_cb.Run(status1); in TEST_F()
504 PlayStatus status1 = {0x1234, 0x5678, PlayState::PAUSED}; in TEST_F() local
505 interim_cb.Run(status1); in TEST_F()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiConfigurationTest.java762 NetworkSelectionStatus status1 = builder.build(); in testNetworkSelectionStatusBuilder() local
765 status1.getNetworkSelectionDisableReason()); in testNetworkSelectionStatusBuilder()
767 status1.getNetworkSelectionStatus()); in testNetworkSelectionStatusBuilder()
774 assertNotSame(status1, status2); in testNetworkSelectionStatusBuilder()
778 status1.getNetworkSelectionDisableReason()); in testNetworkSelectionStatusBuilder()
780 status1.getNetworkSelectionStatus()); in testNetworkSelectionStatusBuilder()
/packages/providers/MediaProvider/jni/
DFuseDaemon.cpp2793 leveldb::Status status1, status2; in CreateOwnerIdRelation() local
2794 status1 = fuse->level_db_connection_map[OWNERSHIP_RELATION]->Put( in CreateOwnerIdRelation()
2798 if (!status1.ok() || !status2.ok()) { in CreateOwnerIdRelation()
2800 status1 = fuse->level_db_connection_map[OWNERSHIP_RELATION]->Delete(leveldb::WriteOptions(), in CreateOwnerIdRelation()
2819 leveldb::Status status1, status2; in RemoveOwnerIdRelation() local
2820 status1 = fuse->level_db_connection_map[OWNERSHIP_RELATION]->Delete(leveldb::WriteOptions(), in RemoveOwnerIdRelation()
2824 if (status1.ok() && status2.ok()) { in RemoveOwnerIdRelation()
2829 status1 = fuse->level_db_connection_map[OWNERSHIP_RELATION]->Put( in RemoveOwnerIdRelation()