/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
RecapitalizeStatusTests.java | 31 final RecapitalizeStatus status = new RecapitalizeStatus(); local 32 status.start(30, 40, "abcdefghij", Locale.ENGLISH, SPACE); 33 status.trim(); 34 assertEquals("abcdefghij", status.getRecapitalizedString()); 35 assertEquals(30, status.getNewCursorStart()); 36 assertEquals(40, status.getNewCursorEnd()); 38 status.start(30, 44, " abcdefghij", Locale.ENGLISH, SPACE); 39 status.trim(); 40 assertEquals("abcdefghij", status.getRecapitalizedString()); 41 assertEquals(34, status.getNewCursorStart()) 58 final RecapitalizeStatus status = new RecapitalizeStatus(); local [all...] |
/frameworks/rs/ |
rsMutex.cpp | 31 int status = pthread_mutex_init(&mMutex, nullptr); local 32 if (status) { 40 int status; local 41 status = pthread_mutex_lock(&mMutex); 42 if (status) { 43 ALOGE("Mutex: error %i locking.", status); 50 int status; local 51 status = pthread_mutex_unlock(&mMutex); 52 if (status) { 53 ALOGE("Mutex error %i unlocking.", status); [all...] |
rsSignal.cpp | 34 int status = pthread_mutex_init(&mMutex, nullptr); local 35 if (status) { 40 status = pthread_cond_init(&mCondition, nullptr); 41 if (status) { 51 int status; local 53 status = pthread_mutex_lock(&mMutex); 54 if (status) { 55 ALOGE("LocklessCommandFifo: error %i locking for set condition.", status); 61 status = pthread_cond_signal(&mCondition); 62 if (status) { 73 int status; local [all...] |
/external/icu/icu4c/source/test/testmap/ |
testmap.c | 30 UErrorCode status = U_ZERO_ERROR; local 32 udata_setCommonData(NULL, &status); 33 printf("setCommonData(NULL) -> %s [should fail]\n", u_errorName(status)); 34 if(status != U_ILLEGAL_ARGUMENT_ERROR) 40 status = U_ZERO_ERROR; 41 udata_setCommonData(&U_ICUDATA_ENTRY_POINT, &status); 42 printf("setCommonData(%p) -> %s\n", (void*)&U_ICUDATA_ENTRY_POINT, u_errorName(status)); 43 if(U_FAILURE(status)) 49 status = U_ZERO_ERROR; 50 c = ucnv_open("iso-8859-3", &status); [all...] |
/frameworks/base/core/java/android/hardware/ |
ICameraServiceListener.aidl | 25 void onStatusChanged(int status, int cameraId); 27 void onTorchStatusChanged(int status, String cameraId);
|
/frameworks/base/telephony/java/com/android/ims/ |
ImsConfigListener.aidl | 31 * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants. 34 void onGetFeatureResponse(int feature, int network, int value, int status); 46 * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants. 50 void onSetFeatureResponse(int feature, int network, int value, int status); 55 * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants. 61 void onGetVideoQuality(int status, int quality); 67 * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants. 72 void onSetVideoQuality(int status);
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
PKIStatus.java | 72 private final int status; field in class:PKIStatus 73 PKIStatus(int status) { 74 this.status = status; 78 * @return int value of the status 81 return status; 84 public static PKIStatus getInstance(int status) { 86 if (status == curStatus.status) {
|
/external/icu/icu4c/source/i18n/unicode/ |
measunit.h | 205 * @param status ICU error code. 208 static MeasureUnit *createGForce(UErrorCode &status); 214 * @param status ICU error code. 217 static MeasureUnit *createMeterPerSecondSquared(UErrorCode &status); 223 * @param status ICU error code. 226 static MeasureUnit *createArcMinute(UErrorCode &status); 231 * @param status ICU error code. 234 static MeasureUnit *createArcSecond(UErrorCode &status); 239 * @param status ICU error code. 242 static MeasureUnit *createDegree(UErrorCode &status); [all...] |
/packages/apps/Exchange/src/com/android/exchange/ |
CommandStatusException.java | 20 * ActiveSync command error status definitions (EAS 14.0 and later); these are in addition to the 26 // A status response to an EAS account. Responses < 16 correspond to command-specific errors as 75 // String version of error status codes (for logging only) 91 public static boolean isNeedsProvisioning(int status) { 92 return (status == CommandStatus.NEEDS_PROVISIONING || 93 status == CommandStatus.NEEDS_PROVISIONING_REFRESH || 94 status == CommandStatus.NEEDS_PROVISIONING_INVALID || 95 status == CommandStatus.NEEDS_PROVISIONING_WIPE); 98 public static boolean isBadSyncKey(int status) { 99 return (status == CommandStatus.SYNC_STATE_CORRUPT | [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothShare.java | 177 * The name of the column containing the current status of the transfer. 187 public static final String STATUS = "status"; 278 * Returns whether the status is informational (i.e. 1xx). 280 public static boolean isStatusInformational(int status) { 281 return (status >= 100 && status < 200); 288 public static boolean isStatusSuspended(int status) { 289 return (status == STATUS_PENDING); 293 * Returns whether the status is a success (i.e. 2xx) [all...] |
/external/srtp/crypto/rng/ |
ctr_prng.c | 55 err_status_t status; local 64 status = random_source(tmp_key, 32); 65 if (status) 66 return status; 69 status = aes_icm_context_init(&ctr_prng.state, tmp_key); 70 if (status) 71 return status; 78 err_status_t status; local 86 status = ctr_prng_init(ctr_prng.rand); 87 if (status) [all...] |
/external/icu/icu4c/source/test/intltest/ |
v32test.cpp | 58 #define TEST_CHECK_STATUS(status) \ 59 if (U_FAILURE(status)) {\ 60 errln("UVector32Test failure at line %d. status=%s\n", __LINE__, u_errorName(status));\ 76 UErrorCode status = U_ZERO_ERROR; local 80 a = new UVector32(status); 81 TEST_CHECK_STATUS(status); 84 status = U_ZERO_ERROR; 85 a = new UVector32(2000, status); 86 TEST_CHECK_STATUS(status); [all...] |
scientificnumberformattertest.cpp | 50 UErrorCode status = U_ZERO_ERROR; local 55 "en" , "<sup>", "</sup>", status)); 56 if (!assertSuccess("Can't create ScientificNumberFormatter", status)) { 59 fmt->format(1.23456e-78, appendTo, status); 69 "en", status)); 70 if (!assertSuccess("Can't create ScientificNumberFormatter2", status)) { 74 fmt->format(1.23456e-78, appendTo, status); 88 fmt3->format(1.23456e-78, appendTo, status); 94 assertSuccess("", status); 98 UErrorCode status = U_ZERO_ERROR local 117 UErrorCode status = U_ZERO_ERROR; local 144 UErrorCode status = U_ZERO_ERROR; local 171 UErrorCode status = U_ZERO_ERROR; local 193 UErrorCode status = U_ZERO_ERROR; local [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothGattCallback.java | 29 * @param status Status of the connect or disconnect operation. 35 public void onConnectionStateChange(BluetoothGatt gatt, int status, 44 * @param status {@link BluetoothGatt#GATT_SUCCESS} if the remote device 47 public void onServicesDiscovered(BluetoothGatt gatt, int status) { 56 * @param status {@link BluetoothGatt#GATT_SUCCESS} if the read operation 60 int status) { 75 * @param status The result of the write operation 79 BluetoothGattCharacteristic characteristic, int status) { 99 * @param status {@link BluetoothGatt#GATT_SUCCESS} if the read operatio [all...] |
/external/icu/icu4c/source/common/ |
icudataver.c | 15 U_CAPI void U_EXPORT2 u_getDataVersion(UVersionInfo dataVersionFillin, UErrorCode *status) { 18 if (U_FAILURE(*status)) { 23 icudatares = ures_openDirect(NULL, U_ICU_VERSION_BUNDLE , status); 24 if (U_SUCCESS(*status)) { 25 ures_getVersionByKey(icudatares, U_ICU_DATA_KEY, dataVersionFillin, status);
|
uinit.cpp | 35 initData(UErrorCode &status) 38 uplug_init(&status); 53 ucnv_io_countKnownConverters(&status); 66 u_init(UErrorCode *status) { 68 umtx_initOnce(gICUInitOnce, &initData, *status); 69 UTRACE_EXIT_STATUS(*status);
|
/external/srtp/crypto/ae_xfm/ |
xfm.c | 34 err_status_t status; local 52 status = hmac_init(&hmac_ctx, key, KEY_LEN); 53 if (status) return status; 54 status = hmac_compute(&hmac_ctx, "ENC", 3, ENC_KEY_LEN, enc_key); 55 if (status) return status; 57 status = hmac_init(&hmac_ctx, key, KEY_LEN); 58 if (status) return status; 110 err_status_t status; local 195 err_status_t status; local 308 err_status_t status; local [all...] |
/external/google-breakpad/src/tools/solaris/dump_syms/ |
run_regtest.sh | 33 status=$? 35 if [ $status -ne 0 ] ; then 37 exit $status 42 status=$? 44 if [ $status -eq 0 ] ; then 51 exit $status
|
/external/google-breakpad/src/tools/windows/dump_syms/ |
run_regtest.sh | 35 status=$? 37 if [ $status -ne 0 ] ; then 39 exit $status 44 status=$? 46 if [ $status -eq 0 ] ; then 53 exit $status
|
/external/clang/test/Sema/ |
transparent-union-pointer.c | 12 int status = 0; local 13 wait(&status);
|
/external/icu/icu4c/source/test/cintltst/ |
cgendtst.c | 35 UErrorCode status = U_ZERO_ERROR; local 36 const UGenderInfo* actual_gi = ugender_getInstance("fr_CA", &status); 38 if (U_FAILURE(status)) { 39 log_err_status(status, "Fail to create UGenderInfo - %s (Are you missing data?)", u_errorName(status)); 42 actual = ugender_getListGender(actual_gi, kAllFemale, UPRV_LENGTHOF(kAllFemale), &status); 43 if (U_FAILURE(status)) { 44 log_err("Fail to get gender of list - %s\n", u_errorName(status));
|
/frameworks/base/core/java/android/hardware/location/ |
IGeofenceHardwareCallback.aidl | 25 void onGeofenceAdd(int geofenceId, int status); 26 void onGeofenceRemove(int geofenceId, int status); 27 void onGeofencePause(int geofenceId, int status); 28 void onGeofenceResume(int geofenceId, int status);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/sys/ |
wait.h | 43 as well as POSIX.1 use of `int' for the status word. */ 46 # define __WAIT_INT(status) \ 47 (__extension__ (((union { __typeof(status) __in; int __i; }) \ 48 { .__in = (status) }).__i)) 50 # define __WAIT_INT(status) (*(__const int *) &(status)) 73 # define __WAIT_INT(status) (status) 82 # define WEXITSTATUS(status) __WEXITSTATUS (__WAIT_INT (status)) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/ |
wait.h | 43 as well as POSIX.1 use of `int' for the status word. */ 46 # define __WAIT_INT(status) \ 47 (__extension__ (((union { __typeof(status) __in; int __i; }) \ 48 { .__in = (status) }).__i)) 50 # define __WAIT_INT(status) (*(__const int *) &(status)) 73 # define __WAIT_INT(status) (status) 82 # define WEXITSTATUS(status) __WEXITSTATUS (__WAIT_INT (status)) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/ |
wait.h | 43 as well as POSIX.1 use of `int' for the status word. */ 46 # define __WAIT_INT(status) \ 47 (__extension__ (((union { __typeof(status) __in; int __i; }) \ 48 { .__in = (status) }).__i)) 50 # define __WAIT_INT(status) (*(__const int *) &(status)) 73 # define __WAIT_INT(status) (status) 82 # define WEXITSTATUS(status) __WEXITSTATUS (__WAIT_INT (status)) [all...] |