Home
last modified time | relevance | path

Searched refs:assertFalse (Results 1 – 25 of 637) sorted by relevance

12345678910>>...26

/cts/tests/tests/view/src/android/view/cts/
DKeyCharacterMapTest.java39 assertFalse(mKeyCharacterMap.isPrintingKey(KeyEvent.KEYCODE_UNKNOWN)); in testIsPrintingKey()
40 assertFalse(mKeyCharacterMap.isPrintingKey(KeyEvent.KEYCODE_SOFT_LEFT)); in testIsPrintingKey()
41 assertFalse(mKeyCharacterMap.isPrintingKey(KeyEvent.KEYCODE_SOFT_RIGHT)); in testIsPrintingKey()
42 assertFalse(mKeyCharacterMap.isPrintingKey(KeyEvent.KEYCODE_HOME)); in testIsPrintingKey()
43 assertFalse(mKeyCharacterMap.isPrintingKey(KeyEvent.KEYCODE_BACK)); in testIsPrintingKey()
44 assertFalse(mKeyCharacterMap.isPrintingKey(KeyEvent.KEYCODE_CALL)); in testIsPrintingKey()
45 assertFalse(mKeyCharacterMap.isPrintingKey(KeyEvent.KEYCODE_ENDCALL)); in testIsPrintingKey()
60 assertFalse(mKeyCharacterMap.isPrintingKey(KeyEvent.KEYCODE_DPAD_UP)); in testIsPrintingKey()
61 assertFalse(mKeyCharacterMap.isPrintingKey(KeyEvent.KEYCODE_DPAD_DOWN)); in testIsPrintingKey()
62 assertFalse(mKeyCharacterMap.isPrintingKey(KeyEvent.KEYCODE_DPAD_LEFT)); in testIsPrintingKey()
[all …]
DView_FocusHandlingTest.java49 assertFalse(v1.isFocusable()); in testFocusHandling()
50 assertFalse(v2.isFocusable()); in testFocusHandling()
51 assertFalse(v3.isFocusable()); in testFocusHandling()
52 assertFalse(v4.isFocusable()); in testFocusHandling()
104 assertFalse(v2.hasFocus()); in testFocusHandling()
105 assertFalse(v3.hasFocus()); in testFocusHandling()
106 assertFalse(v4.hasFocus()); in testFocusHandling()
109 assertFalse(v1.hasFocus()); in testFocusHandling()
111 assertFalse(v3.hasFocus()); in testFocusHandling()
112 assertFalse(v4.hasFocus()); in testFocusHandling()
[all …]
DView_UsingViewsTest.java108 assertFalse(okButtonListener.hasOnClickCalled()); in testSetProperties()
114 assertFalse(mButtonCancel.isClickable()); in testSetProperties()
118 assertFalse(cancelButtonListener.hasOnClickCalled()); in testSetProperties()
149 assertFalse(mEditText.isDrawingCacheEnabled()); in testSetProperties()
172 assertFalse(v.isDuplicateParentStateEnabled()); in testSetProperties()
177 assertFalse(parent.getDrawableState().length == v.getDrawableState().length); in testSetProperties()
194 assertFalse(mWarningTextView.isEnabled()); in testSetProperties()
215 assertFalse(mButtonCancel.isFocusable()); in testSetProperties()
216 assertFalse(mButtonCancel.isFocusableInTouchMode()); in testSetProperties()
220 assertFalse(mButtonCancel.isFocusableInTouchMode()); in testSetProperties()
[all …]
/cts/tests/tests/view/src/android/view/inputmethod/cts/
DKeyboardTest.java55 assertFalse(nonStickyKey.pressed); in testKeyOnPressedAndReleased()
56 assertFalse(stickyKey.pressed); in testKeyOnPressedAndReleased()
57 assertFalse(nonStickyKey.on); in testKeyOnPressedAndReleased()
58 assertFalse(stickyKey.on); in testKeyOnPressedAndReleased()
65 assertFalse(nonStickyKey.on); in testKeyOnPressedAndReleased()
66 assertFalse(stickyKey.on); in testKeyOnPressedAndReleased()
72 assertFalse(nonStickyKey.pressed); in testKeyOnPressedAndReleased()
73 assertFalse(stickyKey.pressed); in testKeyOnPressedAndReleased()
74 assertFalse(nonStickyKey.on); in testKeyOnPressedAndReleased()
82 assertFalse(nonStickyKey.on); in testKeyOnPressedAndReleased()
[all …]
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBasicAdapterTest.java62 assertFalse(BluetoothAdapter.checkBluetoothAddress(null)); in test_checkBluetoothAddress()
65 assertFalse(BluetoothAdapter.checkBluetoothAddress("")); in test_checkBluetoothAddress()
66 assertFalse(BluetoothAdapter.checkBluetoothAddress("0")); in test_checkBluetoothAddress()
67 assertFalse(BluetoothAdapter.checkBluetoothAddress("00")); in test_checkBluetoothAddress()
68 assertFalse(BluetoothAdapter.checkBluetoothAddress("00:")); in test_checkBluetoothAddress()
69 assertFalse(BluetoothAdapter.checkBluetoothAddress("00:0")); in test_checkBluetoothAddress()
70 assertFalse(BluetoothAdapter.checkBluetoothAddress("00:00")); in test_checkBluetoothAddress()
71 assertFalse(BluetoothAdapter.checkBluetoothAddress("00:00:")); in test_checkBluetoothAddress()
72 assertFalse(BluetoothAdapter.checkBluetoothAddress("00:00:0")); in test_checkBluetoothAddress()
73 assertFalse(BluetoothAdapter.checkBluetoothAddress("00:00:00")); in test_checkBluetoothAddress()
[all …]
/cts/tests/tests/acceleration/src/android/acceleration/cts/
DWindowFlagHardwareAccelerationTest.java39 assertFalse(mSoftwareView.isCanvasHardwareAccelerated()); in testIsHardwareAccelerated()
41 assertFalse(mManualSoftwareView.isCanvasHardwareAccelerated()); in testIsHardwareAccelerated()
43 assertFalse(mHardwareView.isHardwareAccelerated()); in testIsHardwareAccelerated()
44 assertFalse(mSoftwareView.isHardwareAccelerated()); in testIsHardwareAccelerated()
45 assertFalse(mManualHardwareView.isHardwareAccelerated()); in testIsHardwareAccelerated()
46 assertFalse(mManualSoftwareView.isHardwareAccelerated()); in testIsHardwareAccelerated()
48 assertFalse(mHardwareView.isCanvasHardwareAccelerated()); in testIsHardwareAccelerated()
49 assertFalse(mSoftwareView.isCanvasHardwareAccelerated()); in testIsHardwareAccelerated()
50 assertFalse(mManualHardwareView.isCanvasHardwareAccelerated()); in testIsHardwareAccelerated()
51 assertFalse(mManualSoftwareView.isCanvasHardwareAccelerated()); in testIsHardwareAccelerated()
DHardwareAccelerationTest.java39 assertFalse(mSoftwareView.isCanvasHardwareAccelerated()); in testIsHardwareAccelerated()
41 assertFalse(mManualSoftwareView.isCanvasHardwareAccelerated()); in testIsHardwareAccelerated()
43 assertFalse(mHardwareView.isHardwareAccelerated()); in testIsHardwareAccelerated()
44 assertFalse(mSoftwareView.isHardwareAccelerated()); in testIsHardwareAccelerated()
45 assertFalse(mManualHardwareView.isHardwareAccelerated()); in testIsHardwareAccelerated()
46 assertFalse(mManualSoftwareView.isHardwareAccelerated()); in testIsHardwareAccelerated()
48 assertFalse(mHardwareView.isCanvasHardwareAccelerated()); in testIsHardwareAccelerated()
49 assertFalse(mSoftwareView.isCanvasHardwareAccelerated()); in testIsHardwareAccelerated()
50 assertFalse(mManualHardwareView.isCanvasHardwareAccelerated()); in testIsHardwareAccelerated()
51 assertFalse(mManualSoftwareView.isCanvasHardwareAccelerated()); in testIsHardwareAccelerated()
DSoftwareAccelerationTest.java38 assertFalse(mHardwareView.isHardwareAccelerated()); in testIsHardwareAccelerated()
39 assertFalse(mSoftwareView.isHardwareAccelerated()); in testIsHardwareAccelerated()
40 assertFalse(mManualHardwareView.isHardwareAccelerated()); in testIsHardwareAccelerated()
41 assertFalse(mManualSoftwareView.isHardwareAccelerated()); in testIsHardwareAccelerated()
43 assertFalse(mHardwareView.isCanvasHardwareAccelerated()); in testIsHardwareAccelerated()
44 assertFalse(mSoftwareView.isCanvasHardwareAccelerated()); in testIsHardwareAccelerated()
45 assertFalse(mManualHardwareView.isCanvasHardwareAccelerated()); in testIsHardwareAccelerated()
46 assertFalse(mManualSoftwareView.isCanvasHardwareAccelerated()); in testIsHardwareAccelerated()
/cts/tests/tests/webkit/src/android/webkit/cts/
DURLUtilTest.java37 assertFalse(URLUtil.isAssetUrl(null)); in testIsAssetUrl()
38 assertFalse(URLUtil.isAssetUrl(VALID_HTTP_URL)); in testIsAssetUrl()
43 assertFalse(URLUtil.isAboutUrl(null)); in testIsAboutUrl()
44 assertFalse(URLUtil.isAboutUrl(VALID_DATA_URL)); in testIsAboutUrl()
49 assertFalse(URLUtil.isContentUrl(null)); in testIsContentUrl()
50 assertFalse(URLUtil.isContentUrl(VALID_DATA_URL)); in testIsContentUrl()
56 assertFalse(URLUtil.isCookielessProxyUrl(null)); in testIsCookielessProxyUrl()
57 assertFalse(URLUtil.isCookielessProxyUrl(VALID_HTTP_URL)); in testIsCookielessProxyUrl()
62 assertFalse(URLUtil.isDataUrl(null)); in testIsDataUrl()
63 assertFalse(URLUtil.isDataUrl(VALID_CONTENT_URL)); in testIsDataUrl()
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DVideoProfileTest.java30 assertFalse(VideoProfile.isAudioOnly(VideoProfile.STATE_BIDIRECTIONAL)); in testIsAudioOnly()
31 assertFalse(VideoProfile.isAudioOnly(VideoProfile.STATE_TX_ENABLED)); in testIsAudioOnly()
32 assertFalse(VideoProfile.isAudioOnly(VideoProfile.STATE_RX_ENABLED)); in testIsAudioOnly()
33 assertFalse(VideoProfile in testIsAudioOnly()
35 assertFalse(VideoProfile in testIsAudioOnly()
37 assertFalse(VideoProfile in testIsAudioOnly()
50 assertFalse(VideoProfile.isVideo(VideoProfile.STATE_AUDIO_ONLY)); in testIsVideo()
51 assertFalse(VideoProfile.isVideo(VideoProfile.STATE_PAUSED)); in testIsVideo()
59 assertFalse(VideoProfile.isBidirectional(VideoProfile.STATE_TX_ENABLED)); in testIsBidirectional()
60 assertFalse(VideoProfile.isBidirectional(VideoProfile.STATE_TX_ENABLED | in testIsBidirectional()
[all …]
/cts/tests/tests/text/src/android/text/cts/
DLoginFilter_UsernameFilterGMailTest.java37 assertFalse(usernameFilterGMail.isAllowed('#')); in testIsAllowed()
38 assertFalse(usernameFilterGMail.isAllowed('%')); in testIsAllowed()
52 assertFalse(usernameFilterGMail.isAllowed('/')); in testIsAllowed()
53 assertFalse(usernameFilterGMail.isAllowed(':')); in testIsAllowed()
54 assertFalse(usernameFilterGMail.isAllowed('`')); in testIsAllowed()
55 assertFalse(usernameFilterGMail.isAllowed('{')); in testIsAllowed()
56 assertFalse(usernameFilterGMail.isAllowed('@')); in testIsAllowed()
57 assertFalse(usernameFilterGMail.isAllowed('[')); in testIsAllowed()
DLoginFilter_UsernameFilterGenericTest.java38 assertFalse(usernameFilterGeneric.isAllowed('*')); in testIsAllowed()
39 assertFalse(usernameFilterGeneric.isAllowed('!')); in testIsAllowed()
57 assertFalse(usernameFilterGeneric.isAllowed('/')); in testIsAllowed()
58 assertFalse(usernameFilterGeneric.isAllowed(':')); in testIsAllowed()
59 assertFalse(usernameFilterGeneric.isAllowed('`')); in testIsAllowed()
60 assertFalse(usernameFilterGeneric.isAllowed('{')); in testIsAllowed()
61 assertFalse(usernameFilterGeneric.isAllowed('?')); in testIsAllowed()
62 assertFalse(usernameFilterGeneric.isAllowed('[')); in testIsAllowed()
DLoginFilter_PasswordFilterGMailTest.java37 assertFalse(passwordFilterGMail.isAllowed('\n')); in testIsAllowed()
38 assertFalse(passwordFilterGMail.isAllowed((char) 150)); in testIsAllowed()
41 assertFalse(passwordFilterGMail.isAllowed((char) 0)); in testIsAllowed()
43 assertFalse(passwordFilterGMail.isAllowed((char) 31)); in testIsAllowed()
47 assertFalse(passwordFilterGMail.isAllowed((char) 128)); in testIsAllowed()
49 assertFalse(passwordFilterGMail.isAllowed((char) 159)); in testIsAllowed()
/cts/tests/tests/util/src/android/util/cts/
DStateSetTest.java65 assertFalse(StateSet.stateSetMatches(stateSpec1, stateSet1)); in testStateSetMatches()
68 assertFalse(StateSet.stateSetMatches(stateSpec1, stateSet1)); in testStateSetMatches()
87 assertFalse(StateSet.stateSetMatches(stateSpec2, stateSet2)); in testStateSetMatches()
91 assertFalse(StateSet.stateSetMatches(stateSpec2, stateSet2)); in testStateSetMatches()
108 assertFalse(StateSet.stateSetMatches(stateSpec3, stateSet3)); in testStateSetMatches()
111 assertFalse(StateSet.stateSetMatches(stateSpec3, stateSet3)); in testStateSetMatches()
114 assertFalse(StateSet.stateSetMatches(stateSpec3, stateSet3)); in testStateSetMatches()
126 assertFalse(StateSet.stateSetMatches(stateSpec5, stateSet5a)); in testStateSetMatches()
128 assertFalse(StateSet.stateSetMatches(stateSpec5, stateSet5b)); in testStateSetMatches()
142 assertFalse(StateSet.stateSetMatches(stateSpec7, stateSet7)); in testStateSetMatches()
[all …]
/cts/tests/tests/database/src/android/database/cts/
DDataSetObservableTest.java33 assertFalse(dataSetObserver1.hasChanged()); in testNotifyMethods()
34 assertFalse(dataSetObserver2.hasChanged()); in testNotifyMethods()
39 assertFalse(dataSetObserver1.hasInvalidated()); in testNotifyMethods()
40 assertFalse(dataSetObserver2.hasInvalidated()); in testNotifyMethods()
52 assertFalse(dataSetObserver1.hasChanged()); in testNotifyMethods()
53 assertFalse(dataSetObserver2.hasChanged()); in testNotifyMethods()
57 assertFalse(dataSetObserver1.hasInvalidated()); in testNotifyMethods()
58 assertFalse(dataSetObserver2.hasInvalidated()); in testNotifyMethods()
DContentObservableTest.java42 assertFalse(mObserver.hasChanged()); in testNotifyChange()
65 assertFalse(mObserver.hasChanged()); in testNotifyChange()
67 assertFalse(mObserver.hasChanged()); in testNotifyChange()
74 assertFalse(mObserver.hasChanged()); in testDispatchChange()
80 assertFalse(mObserver.hasChanged()); in testDispatchChange()
82 assertFalse(mObserver.hasChanged()); in testDispatchChange()
90 assertFalse(mObserver.hasChanged()); in testDispatchChange()
92 assertFalse(mObserver.hasChanged()); in testDispatchChange()
98 assertFalse(mObserver.hasChanged()); in testDispatchChangeWithUri()
104 assertFalse(mObserver.hasChanged()); in testDispatchChangeWithUri()
[all …]
DContentObserverTest.java34 assertFalse(contentObserver.hasChanged()); in testContentObserver()
35 assertFalse(contentObserver.getSelfChangeState()); in testContentObserver()
42 assertFalse(contentObserver.hasChanged()); in testContentObserver()
46 assertFalse(contentObserver.getSelfChangeState()); in testContentObserver()
55 assertFalse(contentObserver.hasChanged()); in testContentObserver()
56 assertFalse(contentObserver.getSelfChangeState()); in testContentObserver()
63 assertFalse(contentObserver.hasChanged()); in testContentObserver()
67 assertFalse(contentObserver.getSelfChangeState()); in testContentObserver()
76 assertFalse(contentObserver.hasChanged()); in testContentObserverWithUri()
77 assertFalse(contentObserver.getSelfChangeState()); in testContentObserverWithUri()
[all …]
DMatrixCursorTest.java66 assertFalse(mMatrixCursor.isNull(COLUMN0_INDEX)); in testNewRow()
72 assertFalse(mMatrixCursor.isNull(COLUMN0_INDEX)); in testNewRow()
74 assertFalse(mMatrixCursor.isNull(COLUMN1_INDEX)); in testNewRow()
79 assertFalse(mMatrixCursor.isNull(COLUMN0_INDEX)); in testNewRow()
81 assertFalse(mMatrixCursor.isNull(COLUMN1_INDEX)); in testNewRow()
83 assertFalse(mMatrixCursor.isNull(COLUMN2_INDEX)); in testNewRow()
103 assertFalse(mMatrixCursor.isNull(COLUMN0_INDEX)); in testAddRow()
105 assertFalse(mMatrixCursor.isNull(COLUMN1_INDEX)); in testAddRow()
107 assertFalse(mMatrixCursor.isNull(COLUMN2_INDEX)); in testAddRow()
141 assertFalse(mMatrixCursor.isNull(COLUMN0_INDEX)); in testAddRow()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DElementTest.java130 assertFalse(Element.A_8(mRS).equals(Element.U8(mRS))); in testEquals()
158 assertFalse(e1.equals(e3)); in testEquals()
159 assertFalse(e3.equals(e1)); in testEquals()
160 assertFalse(e1.isCompatible(e3)); in testEquals()
161 assertFalse(e3.isCompatible(e1)); in testEquals()
164 assertFalse(e1.equals(eb1.create())); in testEquals()
165 assertFalse(eb1.create().equals(e1)); in testEquals()
172 assertFalse(e1.equals(e4)); in testEquals()
173 assertFalse(e4.equals(e1)); in testEquals()
174 assertFalse(e1.isCompatible(e4)); in testEquals()
[all …]
/cts/tests/tests/transition/src/android/transition/cts/
DTransitionManagerTest.java42 assertFalse(mTransition.listener.resumed); in testBeginDelayedTransition()
43 assertFalse(mTransition.listener.paused); in testBeginDelayedTransition()
44 assertFalse(mTransition.listener.canceled); in testBeginDelayedTransition()
62 assertFalse(mTransition.listener.resumed); in testGo()
63 assertFalse(mTransition.listener.paused); in testGo()
64 assertFalse(mTransition.listener.canceled); in testGo()
91 assertFalse(mTransition.listener.resumed); in testSetTransition1()
92 assertFalse(mTransition.listener.paused); in testSetTransition1()
93 assertFalse(mTransition.listener.canceled); in testSetTransition1()
109 assertFalse(mTransition.listener.started); in testSetTransition1()
[all …]
/cts/tests/tests/net/src/android/net/cts/
DVpnServiceTest.java67 assertFalse(mVpnService.protect(socket)); in testProtect_DatagramSocket()
81 assertFalse(mVpnService.protect(socket)); in testProtect_Socket()
96 assertFalse(mVpnService.protect(descriptor.getFd())); in testProtect_int()
114 assertFalse(file.isFile()); in testTunDevice()
115 assertFalse(file.isDirectory()); in testTunDevice()
116 assertFalse(file.canExecute()); in testTunDevice()
117 assertFalse(file.canRead()); in testTunDevice()
118 assertFalse(file.canWrite()); in testTunDevice()
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DSilentPackageInstallTest.java29 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testSilentInstallUninstall()
39 assertFalse(tryUninstallPackage()); in testUninstallBlocked()
43 assertFalse(mDevicePolicyManager.isUninstallBlocked(getWho(), TEST_APP_PKG)); in testUninstallBlocked()
44 assertFalse(mDevicePolicyManager.isUninstallBlocked(null, TEST_APP_PKG)); in testUninstallBlocked()
46 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testUninstallBlocked()
/cts/tests/tests/permission/src/android/permission/cts/
DFileSystemPermissionTest.java124 assertFalse(parentDir.toString(), isDirectoryWritable(parentDir)); in testApplicationParentDirectoryNotWritable()
129 assertFalse(isDirectoryWritable(Environment.getDataDirectory())); in testDataDirectoryNotWritable()
134 assertFalse(isDirectoryWritable(Environment.getRootDirectory())); in testAndroidRootDirectoryNotWritable()
139 assertFalse(isDirectoryWritable(Environment.getDownloadCacheDirectory())); in testDownloadCacheDirectoryNotWritable()
144 assertFalse(isDirectoryWritable(new File("/"))); in testRootDirectoryNotWritable()
149 assertFalse(isDirectoryWritable(new File("/dev"))); in testDevDirectoryNotWritable()
154 assertFalse(isDirectoryWritable(new File("/proc"))); in testProcDirectoryNotWritable()
160 assertFalse(f.canRead()); in testDevDiagSane()
161 assertFalse(f.canWrite()); in testDevDiagSane()
162 assertFalse(f.canExecute()); in testDevDiagSane()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DScrollerTest.java51 assertFalse(mScroller.isFinished()); in testIsFinished()
84 assertFalse(mScroller.isFinished()); in testAccessFinalX()
98 assertFalse(mScroller.isFinished()); in testAccessFinalY()
115 assertFalse(mScroller.isFinished()); in testScrollMode()
129 assertFalse(mScroller.isFinished()); in testScrollMode()
149 assertFalse(mScroller.isFinished()); in testScrollMode()
163 assertFalse(mScroller.computeScrollOffset()); in testScrollMode()
182 assertFalse(mScroller.isFinished());
198 assertFalse(mScroller.computeScrollOffset());
217 assertFalse(mScroller.isFinished()); in testFlingMode()
[all …]
/cts/tests/tests/security/src/android/security/cts/
DBannedFilesTest.java57 assertFalse("/dev/socket/init_runit", new File("/dev/socket/init_runit").exists()); in testNoRootCmdSocket()
58 assertFalse("/dev/socket/fotabinder", new File("/dev/socket/fotabinder").exists()); in testNoRootCmdSocket()
62 assertFalse("/sbin/su", new File("/sbin/su").exists()); in testNoSu()
63 assertFalse("/system/bin/su", new File("/system/bin/su").exists()); in testNoSu()
64 assertFalse("/system/sbin/su", new File("/system/sbin/su").exists()); in testNoSu()
65 assertFalse("/system/xbin/su", new File("/system/xbin/su").exists()); in testNoSu()
66 assertFalse("/vendor/bin/su", new File("/vendor/bin/su").exists()); in testNoSu()
77 assertFalse(f.getAbsolutePath() + " exists", f.exists()); in testNoSuInPath()

12345678910>>...26