/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
ActivityManagerPermissionTests.java | 43 fail("IActivityManager.moveTaskToFront did not throw SecurityException as" 48 fail("Unexpected remote exception"); 53 fail("IActivityManager.moveTaskToBack did not throw SecurityException as" 58 fail("Unexpected remote exception"); 63 fail("IActivityManager.moveTaskToFront did not throw SecurityException as" 68 fail("Unexpected remote exception"); 76 fail("IActivityManager.updateConfiguration did not throw SecurityException as" 81 fail("Unexpected remote exception"); 89 fail("IActivityManager.setDebugApp did not throw SecurityException as" 94 fail("Unexpected remote exception") [all...] |
WindowManagerPermissionTests.java | 47 fail("IWindowManager.pauseKeyDispatching did not throw SecurityException as" 52 fail("Unexpected remote exception"); 57 fail("IWindowManager.resumeKeyDispatching did not throw SecurityException as" 62 fail("Unexpected remote exception"); 67 fail("IWindowManager.setEventDispatching did not throw SecurityException as" 72 fail("Unexpected remote exception"); 77 fail("IWindowManager.addWindowToken did not throw SecurityException as" 82 fail("Unexpected remote exception"); 87 fail("IWindowManager.removeWindowToken did not throw SecurityException as" 92 fail("Unexpected remote exception") [all...] |
/bionic/libc/kernel/arch-arm/asm/ |
locks.h | 17 #define __down_op(ptr,fail) ({ __asm__ __volatile__( "@ down_op\n" "1: ldrex lr, [%0]\n" " sub lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movmi ip, %0\n" " blmi " #fail : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); }) 19 #define __down_op_ret(ptr,fail) ({ unsigned int ret; __asm__ __volatile__( "@ down_op_ret\n" "1: ldrex lr, [%1]\n" " sub lr, lr, %2\n" " strex ip, lr, [%1]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movmi ip, %1\n" " movpl ip, #0\n" " blmi " #fail "\n" " mov %0, ip" : "=&r" (ret) : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); ret; }) 26 #define __down_op_write(ptr,fail) ({ __asm__ __volatile__( "@ down_op_write\n" "1: ldrex lr, [%0]\n" " sub lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movne ip, %0\n" " blne " #fail : : "r" (ptr), "I" (RW_LOCK_BIAS) : "ip", "lr", "cc"); smp_mb(); }) 30 #define __down_op_read(ptr,fail) __down_op(ptr, fail) 36 #define __down_op(ptr,fail) ({ __asm__ __volatile__( "@ down_op\n" " mrs ip, cpsr\n" " orr lr, ip, #128\n" " msr cpsr_c, lr\n" " ldr lr, [%0]\n" " subs lr, lr, %1\n" " str lr, [%0]\n" " msr cpsr_c, ip\n" " movmi ip, %0\n" " blmi " #fail : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); } [all...] |
/development/ndk/platforms/android-3/arch-arm/include/asm/ |
locks.h | 17 #define __down_op(ptr,fail) ({ __asm__ __volatile__( "@ down_op\n" "1: ldrex lr, [%0]\n" " sub lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movmi ip, %0\n" " blmi " #fail : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); }) 19 #define __down_op_ret(ptr,fail) ({ unsigned int ret; __asm__ __volatile__( "@ down_op_ret\n" "1: ldrex lr, [%1]\n" " sub lr, lr, %2\n" " strex ip, lr, [%1]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movmi ip, %1\n" " movpl ip, #0\n" " blmi " #fail "\n" " mov %0, ip" : "=&r" (ret) : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); ret; }) 26 #define __down_op_write(ptr,fail) ({ __asm__ __volatile__( "@ down_op_write\n" "1: ldrex lr, [%0]\n" " sub lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movne ip, %0\n" " blne " #fail : : "r" (ptr), "I" (RW_LOCK_BIAS) : "ip", "lr", "cc"); smp_mb(); }) 30 #define __down_op_read(ptr,fail) __down_op(ptr, fail) 36 #define __down_op(ptr,fail) ({ __asm__ __volatile__( "@ down_op\n" " mrs ip, cpsr\n" " orr lr, ip, #128\n" " msr cpsr_c, lr\n" " ldr lr, [%0]\n" " subs lr, lr, %1\n" " str lr, [%0]\n" " msr cpsr_c, ip\n" " movmi ip, %0\n" " blmi " #fail : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); } [all...] |
/external/kernel-headers/original/asm-arm/ |
locks.h | 17 #define __down_op(ptr,fail) \ 28 " blmi " #fail \ 35 #define __down_op_ret(ptr,fail) \ 48 " blmi " #fail "\n" \ 84 #define __down_op_write(ptr,fail) \ 95 " blne " #fail \ 119 #define __down_op_read(ptr,fail) \ 120 __down_op(ptr, fail) 142 #define __down_op(ptr,fail) \ 154 " blmi " #fail \ [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/ |
locks.h | 17 #define __down_op(ptr,fail) ({ __asm__ __volatile__( "@ down_op\n" "1: ldrex lr, [%0]\n" " sub lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movmi ip, %0\n" " blmi " #fail : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); }) 19 #define __down_op_ret(ptr,fail) ({ unsigned int ret; __asm__ __volatile__( "@ down_op_ret\n" "1: ldrex lr, [%1]\n" " sub lr, lr, %2\n" " strex ip, lr, [%1]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movmi ip, %1\n" " movpl ip, #0\n" " blmi " #fail "\n" " mov %0, ip" : "=&r" (ret) : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); ret; }) 26 #define __down_op_write(ptr,fail) ({ __asm__ __volatile__( "@ down_op_write\n" "1: ldrex lr, [%0]\n" " sub lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movne ip, %0\n" " blne " #fail : : "r" (ptr), "I" (RW_LOCK_BIAS) : "ip", "lr", "cc"); smp_mb(); }) 30 #define __down_op_read(ptr,fail) __down_op(ptr, fail) 36 #define __down_op(ptr,fail) ({ __asm__ __volatile__( "@ down_op\n" " mrs ip, cpsr\n" " orr lr, ip, #128\n" " msr cpsr_c, lr\n" " ldr lr, [%0]\n" " subs lr, lr, %1\n" " str lr, [%0]\n" " msr cpsr_c, ip\n" " movmi ip, %0\n" " blmi " #fail : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); } [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/asm/ |
locks.h | 17 #define __down_op(ptr,fail) ({ __asm__ __volatile__( "@ down_op\n" "1: ldrex lr, [%0]\n" " sub lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movmi ip, %0\n" " blmi " #fail : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); }) 19 #define __down_op_ret(ptr,fail) ({ unsigned int ret; __asm__ __volatile__( "@ down_op_ret\n" "1: ldrex lr, [%1]\n" " sub lr, lr, %2\n" " strex ip, lr, [%1]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movmi ip, %1\n" " movpl ip, #0\n" " blmi " #fail "\n" " mov %0, ip" : "=&r" (ret) : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); ret; }) 26 #define __down_op_write(ptr,fail) ({ __asm__ __volatile__( "@ down_op_write\n" "1: ldrex lr, [%0]\n" " sub lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movne ip, %0\n" " blne " #fail : : "r" (ptr), "I" (RW_LOCK_BIAS) : "ip", "lr", "cc"); smp_mb(); }) 30 #define __down_op_read(ptr,fail) __down_op(ptr, fail) 36 #define __down_op(ptr,fail) ({ __asm__ __volatile__( "@ down_op\n" " mrs ip, cpsr\n" " orr lr, ip, #128\n" " msr cpsr_c, lr\n" " ldr lr, [%0]\n" " subs lr, lr, %1\n" " str lr, [%0]\n" " msr cpsr_c, ip\n" " movmi ip, %0\n" " blmi " #fail : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); } [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/asm/ |
locks.h | 17 #define __down_op(ptr,fail) ({ __asm__ __volatile__( "@ down_op\n" "1: ldrex lr, [%0]\n" " sub lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movmi ip, %0\n" " blmi " #fail : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); }) 19 #define __down_op_ret(ptr,fail) ({ unsigned int ret; __asm__ __volatile__( "@ down_op_ret\n" "1: ldrex lr, [%1]\n" " sub lr, lr, %2\n" " strex ip, lr, [%1]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movmi ip, %1\n" " movpl ip, #0\n" " blmi " #fail "\n" " mov %0, ip" : "=&r" (ret) : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); ret; }) 26 #define __down_op_write(ptr,fail) ({ __asm__ __volatile__( "@ down_op_write\n" "1: ldrex lr, [%0]\n" " sub lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movne ip, %0\n" " blne " #fail : : "r" (ptr), "I" (RW_LOCK_BIAS) : "ip", "lr", "cc"); smp_mb(); }) 30 #define __down_op_read(ptr,fail) __down_op(ptr, fail) 36 #define __down_op(ptr,fail) ({ __asm__ __volatile__( "@ down_op\n" " mrs ip, cpsr\n" " orr lr, ip, #128\n" " msr cpsr_c, lr\n" " ldr lr, [%0]\n" " subs lr, lr, %1\n" " str lr, [%0]\n" " msr cpsr_c, ip\n" " movmi ip, %0\n" " blmi " #fail : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); } [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/asm/ |
locks.h | 17 #define __down_op(ptr,fail) ({ __asm__ __volatile__( "@ down_op\n" "1: ldrex lr, [%0]\n" " sub lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movmi ip, %0\n" " blmi " #fail : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); }) 19 #define __down_op_ret(ptr,fail) ({ unsigned int ret; __asm__ __volatile__( "@ down_op_ret\n" "1: ldrex lr, [%1]\n" " sub lr, lr, %2\n" " strex ip, lr, [%1]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movmi ip, %1\n" " movpl ip, #0\n" " blmi " #fail "\n" " mov %0, ip" : "=&r" (ret) : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); ret; }) 26 #define __down_op_write(ptr,fail) ({ __asm__ __volatile__( "@ down_op_write\n" "1: ldrex lr, [%0]\n" " sub lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movne ip, %0\n" " blne " #fail : : "r" (ptr), "I" (RW_LOCK_BIAS) : "ip", "lr", "cc"); smp_mb(); }) 30 #define __down_op_read(ptr,fail) __down_op(ptr, fail) 36 #define __down_op(ptr,fail) ({ __asm__ __volatile__( "@ down_op\n" " mrs ip, cpsr\n" " orr lr, ip, #128\n" " msr cpsr_c, lr\n" " ldr lr, [%0]\n" " subs lr, lr, %1\n" " str lr, [%0]\n" " msr cpsr_c, ip\n" " movmi ip, %0\n" " blmi " #fail : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); } [all...] |
/libcore/luni/src/test/java/libcore/java/math/ |
BigIntegerTest.java | 47 fail(); method 52 fail(); method 57 fail(); method 62 fail(); method 67 fail(); method 72 fail(); method
|
/cts/tests/tests/permission/src/android/permission/cts/ |
NoWifiStatePermissionTest.java | 49 fail("WifiManager.getWifiState didn't throw SecurityException as expected"); 63 fail("WifiManager.getConfiguredNetworks didn't throw SecurityException as expected"); 77 fail("WifiManager.getConnectionInfo didn't throw SecurityException as expected"); 91 fail("WifiManager.getScanResults didn't throw SecurityException as expected"); 105 fail("WifiManager.getDhcpInfo didn't throw SecurityException as expected"); 119 fail("WifiManager.disconnect didn't throw SecurityException as expected"); 133 fail("WifiManager.reconnect didn't throw SecurityException as expected"); 147 fail("WifiManager.reassociate didn't throw SecurityException as expected"); 161 fail("WifiManager.addNetwork didn't throw SecurityException as expected"); 177 fail("WifiManager.updateNetwork didn't throw SecurityException as expected") [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStore4Test.java | 51 fail("test class not available"); 57 fail("test keystore not available"); 80 fail("unexpected exception: " + e); 85 fail("expected KeyStoreException"); 92 fail("expected NullPointerException"); 96 fail("unexpected exception: " + e); 111 fail("unexpected exception: " + e); 113 fail("unexpected exception: " + e); 118 fail("expected KeyStoreException"); 122 fail("unexpected exception: " + e) [all...] |
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/error/ |
FailingTest.java | 24 fail("Expected"); 28 fail("Expected");
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
DESedeKeySpecTest.java | 67 fail("Should raise an NullPointerException " 71 fail("Should raise an NullPointerException " 76 fail("Should raise an InvalidKeyException on a short byte array."); 78 fail("Unexpected NullPointerException was thrown."); 86 fail("Unexpected NullPointerException was thrown."); 88 fail("Unexpected InvalidKeyException was thrown."); 92 fail("Should raise an NullPointerException " 96 fail("Should raise an NullPointerException " 103 fail("Should raise an InvalidKeyException on a short byte array."); 105 fail("Unexpected NullPointerException was thrown.") [all...] |
/external/bison/lib/ |
pipe-safer.c | 34 int fail = pipe (fd); local 35 if (fail) 36 return fail;
|
/external/protobuf/src/google/protobuf/compiler/ |
zip_output_unittest.sh | 37 fail() { function 51 testzip.proto || fail 'protoc failed.' 55 unzip -t testzip.zip > testzip.list || fail 'unzip failed.' 58 || fail 'testzip.pb.cc not found in output zip.' 60 || fail 'testzip.pb.h not found in output zip.' 62 || fail 'testzip_pb2.py not found in output zip.' 64 && fail 'Zip file contained manifest.' 71 jar tf testzip.jar > testzip.list || fail 'jar failed.' 74 || fail 'Foo.java not found in output jar.' 76 || fail 'Bar.java not found in output jar. [all...] |
/external/bluetooth/glib/tests/ |
run-bookmark-test.sh | 3 fail () function 21 for I in ${srcdir:-.}/bookmarks/fail-*.xbel; do 22 echo_v "Parsing $I, should fail" 23 ./bookmarkfile-test $I > /dev/null 2> $error_out && fail "failed to generate error on $I" 25 fail "unexpected error on $I" 31 ./bookmarkfile-test $I > /dev/null 2> $error_out || fail "failed on $I"
|
/libcore/luni/src/test/java/com/google/coretests/ |
CoreTestDummy.java | 35 fail("Oops!"); 44 fail("Oops!"); 53 fail("Oops!"); 62 fail("Oops!"); 69 fail("Oops!");
|
/libcore/luni/src/test/java/tests/sql/ |
CallableStatementTest.java | 53 fail("Not yet implemented"); 66 fail("Not yet implemented"); 79 fail("Not yet implemented"); 92 fail("Not yet implemented"); 105 fail("Not yet implemented"); 118 fail("Not yet implemented"); 131 fail("Not yet implemented"); 144 fail("Not yet implemented"); 157 fail("Not yet implemented"); 170 fail("Not yet implemented") [all...] |
ClobTest.java | 44 fail("Not yet implemented"); 57 fail("Not yet implemented"); 70 fail("Not yet implemented"); 83 fail("Not yet implemented"); 96 fail("Not yet implemented"); 109 fail("Not yet implemented"); 122 fail("Not yet implemented"); 135 fail("Not yet implemented"); 148 fail("Not yet implemented"); 161 fail("Not yet implemented") [all...] |
/cts/tools/vm-tests/src/dot/junit/format/f1/ |
Test_f1.java | 31 fail("expected a verification exception"); 44 fail("expected a verification exception"); 57 fail("expected a verification exception"); 70 fail("expected a verification exception"); 83 fail("expected a verification exception"); 96 fail("expected a verification exception"); 109 fail("expected a verification exception"); 122 fail("expected a verification exception"); 135 fail("expected a verification exception but this test may fail if this check is not enforced") [all...] |
/libcore/luni/src/test/java/libcore/java/nio/ |
SelectorTest.java | 69 final Boolean[] fail = new Boolean[1]; local 79 synchronized (fail) { 80 fail[0] = Boolean.FALSE; 81 fail.notify(); 85 synchronized (fail) { 86 fail[0] = Boolean.TRUE; 87 fail.notify(); 100 synchronized (fail) { 101 while (System.currentTimeMillis() - time < WAIT_TIME || fail[0] == null) { 102 fail.wait(WAIT_TIME) 108 fail(); method [all...] |
/cts/tools/vm-tests/src/dot/junit/opcodes/iget_boolean/ |
Test_iget_boolean.java | 60 fail("expected NullPointerException"); 75 fail("expected a verification exception"); 88 fail("expected a verification exception"); 102 fail("expected a NoSuchFieldError exception"); 117 fail("expected an IllegalAccessError exception"); 130 fail("expected a NoClassDefFoundError exception"); 143 fail("expected a NoSuchFieldError exception"); 158 fail("expected an IllegalAccessError exception"); 171 fail("expected a verification exception"); 185 fail("expected a verification exception") [all...] |
/cts/tools/vm-tests/src/dot/junit/opcodes/iget_byte/ |
Test_iget_byte.java | 60 fail("expected NullPointerException"); 73 fail("expected a verification exception"); 86 fail("expected a verification exception"); 100 fail("expected a NoSuchFieldError exception"); 115 fail("expected an IllegalAccessError exception"); 128 fail("expected a NoClassDefFoundError exception"); 141 fail("expected a NoSuchFieldError exception"); 156 fail("expected an IllegalAccessError exception"); 169 fail("expected a verification exception"); 182 fail("expected a verification exception") [all...] |
/cts/tools/vm-tests/src/dot/junit/opcodes/iget_char/ |
Test_iget_char.java | 60 fail("expected NullPointerException"); 74 fail("expected a verification exception"); 88 fail("expected a verification exception"); 103 fail("expected a NoSuchFieldError exception"); 118 fail("expected an IllegalAccessError exception"); 131 fail("expected a NoClassDefFoundError exception"); 144 fail("expected a NoSuchFieldError exception"); 159 fail("expected an IllegalAccessError exception"); 172 fail("expected a verification exception"); 186 fail("expected a verification exception") [all...] |