Home
last modified time | relevance | path

Searched refs:Assert (Results 1 – 25 of 999) sorted by relevance

12345678910>>...40

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java48 import org.junit.Assert;
144 Assert.assertNotNull(mA2dpService); in startService()
150 Assert.assertNull(mA2dpService); in stopService()
160 Assert.fail("Cannot add Intent to the Connection State queue: " in onReceive()
168 Assert.fail("Cannot add Intent to the Audio State queue: " + e.getMessage()); in onReceive()
175 Assert.fail("Cannot add Intent to the Codec Config queue: " + e.getMessage()); in onReceive()
184 Assert.assertNotNull(intent); in verifyConnectionStateIntent()
185 Assert.assertEquals(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED, in verifyConnectionStateIntent()
187 Assert.assertEquals(device, intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)); in verifyConnectionStateIntent()
188 Assert.assertEquals(newState, intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in verifyConnectionStateIntent()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DRemoteDevicesTest.java23 import org.junit.Assert;
69 Assert.assertNotNull(msg); in testSendUuidIntent()
82 Assert.assertNull(mRemoteDevices.getDeviceProperties(mDevice1)); in testUpdateBatteryLevel_normalSequence()
88 Assert.assertEquals(AdapterService.BLUETOOTH_PERM, mStringArgument.getValue()); in testUpdateBatteryLevel_normalSequence()
91 Assert.assertNotNull(mRemoteDevices.getDeviceProperties(mDevice1)); in testUpdateBatteryLevel_normalSequence()
92 Assert.assertEquals(mRemoteDevices.getDeviceProperties(mDevice1).getBatteryLevel(), in testUpdateBatteryLevel_normalSequence()
104 Assert.assertEquals(AdapterService.BLUETOOTH_PERM, mStringArgument.getValue()); in testUpdateBatteryLevel_normalSequence()
108 Assert.assertEquals(mRemoteDevices.getDeviceProperties(mDevice1).getBatteryLevel(), in testUpdateBatteryLevel_normalSequence()
119 Assert.assertNull(mRemoteDevices.getDeviceProperties(mDevice1)); in testUpdateBatteryLevel_errorNegativeValue()
126 Assert.assertNull(mRemoteDevices.getDeviceProperties(mDevice1)); in testUpdateBatteryLevel_errorNegativeValue()
[all …]
DAdapterServiceTest.java50 import org.junit.Assert;
102 Assert.assertNotNull(Looper.myLooper()); in setupClass()
107 Assert.assertNotNull(adapterConfig); in setupClass()
108 Assert.assertNotNull("metrics salt is null: " + adapterConfig.toString(), in setupClass()
117 Assert.assertNotNull(Looper.myLooper()); in setUp()
164 Assert.assertNotNull(mAdapterConfig); in setUp()
184 Assert.assertFalse(mAdapterService.isEnabled()); in doEnable()
223 Assert.assertTrue(scanMode == BluetoothAdapter.SCAN_MODE_CONNECTABLE in doEnable()
225 Assert.assertTrue(mAdapterService.isEnabled()); in doEnable()
229 Assert.assertTrue(mAdapterService.isEnabled()); in doDisable()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java45 import org.junit.Assert;
140 Assert.assertNotNull(mService); in startService()
146 Assert.assertNull(mService); in stopService()
156 Assert.assertNotNull(device); in onReceive()
158 Assert.assertNotNull(queue); in onReceive()
161 Assert.fail("Cannot add Intent to the Connection State queue: " in onReceive()
171 Assert.assertNotNull(intent); in verifyConnectionStateIntent()
172 Assert.assertEquals(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED, in verifyConnectionStateIntent()
174 Assert.assertEquals(device, intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)); in verifyConnectionStateIntent()
175 Assert.assertEquals(newState, intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in verifyConnectionStateIntent()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceAndStateMachineTest.java59 import org.junit.Assert;
114 Assert.fail("Action is null for intent " + intent); in onReceive()
122 Assert.fail("Cannot add Intent to the Connection State Changed queue: " in onReceive()
130 Assert.fail("Cannot add Intent to the Active Device Changed queue: " in onReceive()
138 Assert.fail("Cannot add Intent to the Audio State Changed queue: " in onReceive()
143 Assert.fail("Unknown action " + action); in onReceive()
222 Assert.assertNotNull(mHeadsetService); in setUp()
227 Assert.assertNotNull(mHeadsetServiceBinder); in setUp()
248 Assert.assertNull(mHeadsetService); in tearDown()
266 Assert.assertEquals(mHeadsetService, HeadsetService.getHeadsetService()); in testGetHeadsetService()
[all …]
DHeadsetServiceTest.java45 import org.junit.Assert;
136 Assert.assertNotNull(mCurrentDevice); in setUp()
147 Assert.assertNotNull(mHeadsetService); in setUp()
151 Assert.assertNotNull(mHeadsetServiceBinder); in setUp()
164 Assert.assertNull(mHeadsetService); in tearDown()
179 Assert.assertEquals(mHeadsetService, HeadsetService.getHeadsetService()); in testGetHeadsetService()
182 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTED, in testGetHeadsetService()
184 Assert.assertEquals(BluetoothHeadset.STATE_AUDIO_DISCONNECTED, in testGetHeadsetService()
248 Assert.assertTrue(mHeadsetService.connect(mCurrentDevice)); in testConnectDevice_connectDeviceBelowLimit()
257 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testConnectDevice_connectDeviceBelowLimit()
[all …]
DHeadsetTestUtils.java26 import org.junit.Assert;
43 Assert.assertNotNull(intent); in verifyAudioStateBroadcast()
44 Assert.assertEquals(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED, intent.getAction()); in verifyAudioStateBroadcast()
45 Assert.assertEquals(device, intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)); in verifyAudioStateBroadcast()
46 Assert.assertEquals(toState, intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in verifyAudioStateBroadcast()
47 Assert.assertEquals(fromState, in verifyAudioStateBroadcast()
63 Assert.assertNotNull(intent); in verifyConnectionStateBroadcast()
64 Assert.assertEquals(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED, intent.getAction()); in verifyConnectionStateBroadcast()
66 Assert.assertEquals(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND, intent.getFlags()); in verifyConnectionStateBroadcast()
68 Assert.assertEquals(device, intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)); in verifyConnectionStateBroadcast()
[all …]
DHeadsetStateMachineTest.java48 import org.junit.Assert;
145 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTED, in testDefaultDisconnectedState()
147 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testDefaultDisconnectedState()
157 Assert.assertEquals(BluetoothProfile.STATE_CONNECTED, in testSetupConnectedState()
159 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testSetupConnectedState()
174 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_DisconnectedToConnecting_Connect()
191 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_DisconnectedToConnecting_StackConnected()
208 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_DisconnectedToConnecting_StackConnecting()
227 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_ConnectingToDisconnected_StackDisconnected()
242 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_ConnectingToDisconnected_StackDisconnected()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceTest.java43 import org.junit.Assert;
106 Assert.assertNotNull(Looper.myLooper()); in setUp()
119 Assert.assertNotNull(mHidDeviceService); in setUp()
128 Assert.assertEquals(nativeInterface, mHidDeviceNativeInterface); in setUp()
149 Assert.assertNull(mHidDeviceService); in tearDown()
166 Assert.fail("Cannot add Intent to the queue"); in onReceive()
174 Assert.assertNotNull(intent); in waitForIntent()
177 Assert.fail("Cannot obtain an Intent from the queue"); in waitForIntent()
185 Assert.assertNotNull(intent); in verifyConnectionStateIntent()
186 Assert.assertEquals(BluetoothHidDevice.ACTION_CONNECTION_STATE_CHANGED, intent.getAction()); in verifyConnectionStateIntent()
[all …]
/packages/apps/KeyChain/robotests/src/com/android/keychain/internal/
DGrantsDatabaseTest.java27 import org.junit.Assert;
78 Assert.assertFalse(mGrantsDB.hasGrant(DUMMY_UID2, DUMMY_ALIAS));
84 Assert.assertFalse(mGrantsDB.hasGrant(DUMMY_UID, DUMMY_ALIAS2));
89 Assert.assertFalse(mGrantsDB.hasGrant(DUMMY_UID, DUMMY_ALIAS));
91 Assert.assertTrue(mGrantsDB.hasGrant(DUMMY_UID, DUMMY_ALIAS));
97 Assert.assertFalse(mGrantsDB.hasGrant(DUMMY_UID, DUMMY_ALIAS));
103 Assert.assertTrue(mGrantsDB.hasGrant(DUMMY_UID, DUMMY_ALIAS));
105 Assert.assertFalse(mGrantsDB.hasGrant(DUMMY_UID, DUMMY_ALIAS));
113 Assert.assertTrue(mGrantsDB.hasGrant(DUMMY_UID, DUMMY_ALIAS));
115 Assert.assertFalse(mGrantsDB.hasGrant(DUMMY_UID, DUMMY_ALIAS));
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleDatabaseOperations.java43 import com.android.messaging.util.Assert;
44 import com.android.messaging.util.Assert.DoesNotRunOnMainThread;
98 Assert.isNotMainThread(); in sanitizeConversationParticipants()
142 Assert.isNotMainThread(); in getRecipientsFromConversationParticipants()
169 Assert.isNotMainThread(); in getOrCreateConversationFromThreadId()
190 Assert.isNotMainThread(); in getOrCreateConversationFromRecipient()
212 Assert.isNotMainThread(); in getOrCreateConversation()
257 Assert.isNotMainThread(); in getExistingConversation()
269 Assert.isTrue(cursor.getCount() == 1); in getExistingConversation()
291 Assert.isNotMainThread(); in getThreadId()
[all …]
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailMediaPlayerView.java43 import com.android.dialer.common.Assert;
156 Assert.isNotNull(voicemailEntryFromAdapter); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
163 Assert.isNotNull(viewHolder); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
164 Assert.isNotNull(uri); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
165 Assert.isNotNull(listener); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
166 Assert.isNotNull(totalDurationView); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
167 Assert.checkArgument(uri.equals(viewHolder.getViewHolderVoicemailUri())); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
205 Assert.checkArgument( in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
224 Assert.checkArgument(viewHolder.getViewHolderVoicemailUri().equals(voicemailUri)); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
304 Assert.checkArgument(playButton.getVisibility() == GONE);
[all …]
DNewVoicemailAdapter.java43 import com.android.dialer.common.Assert;
175 Assert.checkArgument( in updateHeaderPositions()
233 throw Assert.createUnsupportedOperationFailException("Unsupported view type: " + viewType); in onCreateViewHolder()
250 Assert.checkArgument( in onBindViewHolder()
338 Assert.checkArgument( in onBindViewHolder()
343 Assert.isNotNull(getCurrentlyExpandedViewHolder()); in onBindViewHolder()
344 Assert.checkArgument( in onBindViewHolder()
388 Assert.checkArgument(position == 0, "position is not 0"); in onBindAlertViewHolder()
389 Assert.checkArgument( in onBindAlertViewHolder()
396 Assert.checkArgument(viewType == RowType.VOICEMAIL_ALERT, "Invalid row type: " + viewType); in onBindAlertViewHolder()
[all …]
/packages/apps/Dialer/java/com/android/dialer/phonelookup/consolidator/
DPhoneLookupInfoConsolidator.java20 import com.android.dialer.common.Assert;
129 throw Assert.createUnsupportedOperationFailException( in getContactSource()
135 Assert.checkState(nameSource == NameSource.PEOPLE_API); in getRefinedPeopleApiSource()
159 return Assert.isNotNull(firstDefaultCp2Contact).getName(); in getName()
161 return Assert.isNotNull(firstExtendedCp2Contact).getName(); in getName()
173 throw Assert.createUnsupportedOperationFailException( in getName()
188 return Assert.isNotNull(firstDefaultCp2Contact).getPhotoThumbnailUri(); in getPhotoThumbnailUri()
190 return Assert.isNotNull(firstExtendedCp2Contact).getPhotoThumbnailUri(); in getPhotoThumbnailUri()
199 throw Assert.createUnsupportedOperationFailException( in getPhotoThumbnailUri()
214 return Assert.isNotNull(firstDefaultCp2Contact).getPhotoUri(); in getPhotoUri()
[all …]
/packages/apps/KeyChain/robotests/src/com/android/keychain/
DAliasLoaderTest.java32 import org.junit.Assert;
165 Assert.assertNotNull(result); in testAliasLoader_loadsAllAliases()
166 Assert.assertEquals(3, result.getCount()); in testAliasLoader_loadsAllAliases()
167 Assert.assertEquals("a", result.getItem(0)); in testAliasLoader_loadsAllAliases()
168 Assert.assertEquals("b", result.getItem(1)); in testAliasLoader_loadsAllAliases()
169 Assert.assertEquals("c", result.getItem(2)); in testAliasLoader_loadsAllAliases()
189 Assert.assertNotNull(result); in testAliasLoader_copesWithNoAliases()
190 Assert.assertEquals(0, result.getCount()); in testAliasLoader_copesWithNoAliases()
212 Assert.assertNotNull(result); in testAliasLoader_filtersNonUserSelectableAliases()
213 Assert.assertEquals(1, result.getCount()); in testAliasLoader_filtersNonUserSelectableAliases()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerWrapperTest.java33 import org.junit.Assert;
142 Assert.assertNull(wrapper); in testNullControllerLooper()
145 Assert.assertNull(wrapper); in testNullControllerLooper()
155 Assert.assertTrue(wrapper.isPlaybackStateReady()); in testIsReady()
156 Assert.assertTrue(wrapper.isMetadataReady()); in testIsReady()
160 Assert.assertFalse(wrapper.isPlaybackStateReady()); in testIsReady()
164 Assert.assertTrue(wrapper.isPlaybackStateReady()); in testIsReady()
168 Assert.assertFalse(wrapper.isMetadataReady()); in testIsReady()
172 Assert.assertTrue(wrapper.isMetadataReady()); in testIsReady()
183 Assert.assertTrue(wrapper.isPlaybackStateReady()); in testControllerUpdate()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DAvatarUriUtil.java98 Assert.notNull(participants); in createAvatarUri()
99 Assert.isTrue(!participants.isEmpty()); in createAvatarUri()
120 Assert.notNull(avatarUris); in joinAvatarUriToGroup()
121 Assert.isTrue(!avatarUris.isEmpty()); in joinAvatarUriToGroup()
125 Assert.isTrue(AvatarUriUtil.isAvatarUri(firstAvatar)); in joinAvatarUriToGroup()
136 Assert.notNull(uri); in joinAvatarUriToGroup()
137 Assert.isTrue(UriUtil.isLocalResourceUri(uri) || AvatarUriUtil.isAvatarUri(uri)); in joinAvatarUriToGroup()
149 Assert.notNull(participant); in createAvatarUri()
198 Assert.notNull(participantData); in createAvatarUri()
199 Assert.isTrue(participantData.isActiveSubscription()); in createAvatarUri()
[all …]
/packages/apps/Dialer/java/com/android/dialer/protos/
DProtoParsers.java23 import com.android.dialer.common.Assert;
38 Assert.isNotNull(bundle); in get()
39 Assert.isNotNull(key); in get()
40 Assert.isNotNull(defaultInstance); in get()
55 Assert.isNotNull(contentValues); in get()
56 Assert.isNotNull(key); in get()
57 Assert.isNotNull(defaultInstance); in get()
73 throw Assert.createIllegalStateFailException(e.toString()); in getTrusted()
88 throw Assert.createIllegalStateFailException(e.toString()); in getTrusted()
99 Assert.isNotNull(intent); in getTrusted()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/
DMapClientTest.java37 import org.junit.Assert;
74 Assert.assertNotNull(mService); in setUp()
87 Assert.assertNull(mService); in tearDown()
98 Assert.assertTrue(mService.getInstanceMap().isEmpty()); in cleanUpInstanceMap()
114 Assert.assertNotNull(MapClientService.getMapClientService()); in testInitialize()
124 Assert.assertNull(mService.getInstanceMap().get(device)); in testConnect()
128 Assert.assertTrue(mService.connect(device)); in testConnect()
132 Assert.assertEquals(1, map.size()); in testConnect()
133 Assert.assertNotNull(map.get(device)); in testConnect()
143 Assert.assertNull(mService.getInstanceMap().get(device)); in testConnectPriorityOffDevice()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java41 import org.junit.Assert;
86 Assert.assertNotNull(Looper.myLooper()); in setUp()
126 Assert.assertEquals(mTestDevice, mIntentArgument.getValue().getParcelableExtra( in testDisconnect()
128 Assert.assertEquals(BluetoothAvrcpController.ACTION_CONNECTION_STATE_CHANGED, in testDisconnect()
130 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTED, in testDisconnect()
132 Assert.assertThat(mAvrcpStateMachine.getCurrentState(), in testDisconnect()
134 Assert.assertEquals(mAvrcpStateMachine.getState(), BluetoothProfile.STATE_DISCONNECTED); in testDisconnect()
151 Assert.assertEquals(mTestDevice, mIntentArgument.getValue().getParcelableExtra( in testControlOnly()
153 Assert.assertEquals(BluetoothAvrcpController.ACTION_CONNECTION_STATE_CHANGED, in testControlOnly()
155 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTED, in testControlOnly()
[all …]
/packages/apps/Dialer/java/com/android/dialer/duo/stub/
DDuoStub.java28 import com.android.dialer.common.Assert;
61 Assert.isMainThread(); in isReachable()
62 Assert.isNotNull(context); in isReachable()
72 Assert.isMainThread(); in supportsUpgrade()
73 Assert.isNotNull(context); in supportsUpgrade()
80 Assert.isMainThread(); in updateReachability()
81 Assert.isNotNull(context); in updateReachability()
82 Assert.isNotNull(numbers); in updateReachability()
107 Assert.isMainThread(); in getCallIntent()
108 Assert.isNotNull(number); in getCallIntent()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DSynchronousContactsProvider2.java24 import junit.framework.Assert;
273 Assert.assertTrue("begin", mOnBeginTransactionInternalCalledInProfileMode);
274 Assert.assertTrue("commit", mOnCommitTransactionInternalCalledInProfileMode);
275 Assert.assertFalse("rollback", mOnRollbackTransactionInternalCalledInProfileMode);
279 Assert.assertTrue("begin", mOnBeginTransactionInternalCalledInProfileMode);
280 Assert.assertFalse("commit", mOnCommitTransactionInternalCalledInProfileMode);
281 Assert.assertTrue("rollback", mOnRollbackTransactionInternalCalledInProfileMode);
285 Assert.assertFalse("begin", mOnBeginTransactionInternalCalledInProfileMode);
286 Assert.assertFalse("commit", mOnCommitTransactionInternalCalledInProfileMode);
287 Assert.assertFalse("rollback", mOnRollbackTransactionInternalCalledInProfileMode);
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/storage/
DDatabaseManagerTest.java35 import org.junit.Assert;
101 Assert.assertEquals(BluetoothProfile.PRIORITY_UNDEFINED, in testMetadataDefault()
105 Assert.assertEquals(BluetoothA2dp.OPTIONAL_CODECS_SUPPORT_UNKNOWN, in testMetadataDefault()
108 Assert.assertEquals(BluetoothA2dp.OPTIONAL_CODECS_PREF_UNKNOWN, in testMetadataDefault()
112 Assert.assertNull(mDatabaseManager.getCustomMeta(mTestDevice, id)); in testMetadataDefault()
231 Assert.assertEquals(1, list.size()); in testRemoveUnusedMetadata_WithSingleBondedDevice()
235 Assert.assertEquals(TEST_BT_ADDR, checkData.getAddress()); in testRemoveUnusedMetadata_WithSingleBondedDevice()
283 Assert.assertEquals(2, list.size()); in testRemoveUnusedMetadata_WithMultiBondedDevices()
287 Assert.assertEquals(OTHER_BT_ADDR1, checkData1.getAddress()); in testRemoveUnusedMetadata_WithMultiBondedDevices()
289 Assert.assertEquals(OTHER_BT_ADDR2, checkData2.getAddress()); in testRemoveUnusedMetadata_WithMultiBondedDevices()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java33 import org.junit.Assert;
88 Assert.assertNull("AdapterService.getAdapterService() must be null before setting another" in setAdapterService()
90 Assert.assertNotNull(adapterService); in setAdapterService()
112 Assert.assertSame("AdapterService.getAdapterService() must return the same object as the" in clearAdapterService()
115 Assert.assertNotNull(adapterService); in clearAdapterService()
138 Assert.assertNotNull(adapterService); in startService()
139 Assert.assertTrue("AdapterService.getAdapterService() must return a mocked or spied object" in startService()
150 Assert.assertEquals(profileServiceClass.getName(), profile.getValue().getClass().getName()); in startService()
169 Assert.assertNotNull(adapterService); in stopService()
170 Assert.assertTrue("AdapterService.getAdapterService() must return a mocked or spied object" in stopService()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pbapclient/
DPbapParserTest.java34 import org.junit.Assert;
65 Assert.fail("Setup Failure Unable to get resources" + e.toString()); in setUp()
79 Assert.assertEquals(1, pbapVCardList.getCount()); in testNoTimestamp()
86 Assert.assertFalse(verifyCallLog("555-0001", null, "3")); in testNoTimestamp()
90 Assert.assertTrue(verifyCallLog("555-0001", null, "3")); in testNoTimestamp()
101 Assert.assertEquals(1, pbapVCardList.getCount()); in testMissedCall()
108 Assert.assertFalse(verifyCallLog("555-0002", "1483232460000", "3")); in testMissedCall()
111 Assert.assertTrue(verifyCallLog("555-0002", "1483232460000", "3")); in testMissedCall()
122 Assert.assertEquals(2, pbapVCardList.getCount()); in testUnknownCall()
129 Assert.assertFalse(verifyCallLog("", "1483232520000", "3")); in testUnknownCall()
[all …]

12345678910>>...40