/external/chromium_org/chrome/browser/sync/ |
about_sync_util_unittest.cc | 30 browser_sync::SyncBackendHost::Status status; local
|
/external/chromium_org/content/browser/battery_status/ |
battery_status_manager_win_unittest.cc | 19 blink::WebBatteryStatus status = ComputeWebBatteryStatus(win_status); local 20 EXPECT_FALSE(status.charging); 21 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.chargingTime); 22 EXPECT_EQ(200, status.dischargingTime); 23 EXPECT_EQ(1, status.level); 32 blink::WebBatteryStatus status = ComputeWebBatteryStatus(win_status); local 33 EXPECT_FALSE(status.charging); 34 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.chargingTime); 35 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.dischargingTime); 36 EXPECT_EQ(1, status.level) 45 blink::WebBatteryStatus status = ComputeWebBatteryStatus(win_status); local 58 blink::WebBatteryStatus status = ComputeWebBatteryStatus(win_status); local 71 blink::WebBatteryStatus status = ComputeWebBatteryStatus(win_status); local [all...] |
battery_status_manager_linux_unittest.cc | 17 blink::WebBatteryStatus status = ComputeWebBatteryStatus(dictionary); local 19 EXPECT_EQ(default_status.charging, status.charging); 20 EXPECT_EQ(default_status.chargingTime, status.chargingTime); 21 EXPECT_EQ(default_status.dischargingTime, status.dischargingTime); 22 EXPECT_EQ(default_status.level, status.level); 31 blink::WebBatteryStatus status = ComputeWebBatteryStatus(dictionary); local 33 EXPECT_TRUE(status.charging); 34 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.chargingTime); 35 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.dischargingTime); 36 EXPECT_EQ(0.5, status.level) 45 blink::WebBatteryStatus status = ComputeWebBatteryStatus(dictionary); local 60 blink::WebBatteryStatus status = ComputeWebBatteryStatus(dictionary); local 75 blink::WebBatteryStatus status = ComputeWebBatteryStatus(dictionary); local 90 blink::WebBatteryStatus status = ComputeWebBatteryStatus(dictionary); local 105 blink::WebBatteryStatus status = ComputeWebBatteryStatus(dictionary); local 120 blink::WebBatteryStatus status = ComputeWebBatteryStatus(dictionary); local 133 blink::WebBatteryStatus status = ComputeWebBatteryStatus(dictionary); local [all...] |
/external/chromium_org/content/child/webcrypto/test/ |
status_unittest.cc | 8 #include "content/child/webcrypto/status.h" 21 // Tests several Status objects against their expected hard coded values, as 22 // well as ensuring that comparison of Status objects works. 28 EXPECT_NE(Status::DataError(), Status::OperationError()); 29 EXPECT_NE(Status::Success(), Status::OperationError()); 31 EXPECT_EQ(Status::Success(), Status::Success()); 32 EXPECT_EQ(Status::ErrorJwkPropertyWrongType("kty", "string") 35 Status status = Status::Success(); local [all...] |
/external/chromium_org/third_party/icu/source/samples/datecal/ |
cal.cpp | 18 UErrorCode status = U_ZERO_ERROR; local 20 GregorianCalendar* gc = new GregorianCalendar(status); 21 if (U_FAILURE(status)) { 36 gc->get(UCAL_YEAR, status), 37 gc->get(UCAL_MONTH, status) + 1, 38 gc->get(UCAL_MONTH, status), 39 gc->get(UCAL_DATE, status)); 40 if (U_FAILURE(status)) 46 gc->add(UCAL_DATE, 1, status); 47 if (U_FAILURE(status)) { [all...] |
ccal.c | 18 UErrorCode status = U_ZERO_ERROR; local 20 UCalendar *cal = ucal_open(NULL, -1, NULL, UCAL_GREGORIAN, &status); 21 if (U_FAILURE(status)) { 38 ucal_get(cal, UCAL_YEAR, &status), 39 ucal_get(cal, UCAL_MONTH, &status) + 1, 40 ucal_get(cal, UCAL_MONTH, &status), 41 ucal_get(cal, UCAL_DATE, &status)); 42 if (U_FAILURE(status)) { 47 ucal_add(cal, UCAL_DATE, 1, &status); 48 if (U_FAILURE(status)) [all...] |
/external/chromium_org/third_party/icu/source/samples/msgfmt/answers/ |
main_0.cpp | 16 UErrorCode status = U_ZERO_ERROR; local
|
main_1.cpp | 15 UErrorCode status = U_ZERO_ERROR; local
|
main_2.cpp | 23 UErrorCode status = U_ZERO_ERROR; local 28 MessageFormat msg(PATTERN, status); 29 check(status, "MessageFormat::ct"); 37 msg.format(msgArgs, 2, str, pos, status); 38 check(status, "MessageFormat::format");
|
main_3.cpp | 23 UErrorCode status = U_ZERO_ERROR; local 28 MessageFormat msg(PATTERN, status); 29 check(status, "MessageFormat::ct"); 37 msg.format(msgArgs, 2, str, pos, status); 38 check(status, "MessageFormat::format");
|
/external/chromium_org/third_party/icu/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...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_nolibc_test.cc | 27 int status = system(NolibcTestPath.c_str()); local 28 EXPECT_EQ(true, WIFEXITED(status)); 29 EXPECT_EQ(0, WEXITSTATUS(status));
|
/external/compiler-rt/test/lsan/TestCases/ |
fork.cc | 14 int status = 0; local 19 waitpid(pid, &status, 0); 20 assert(WIFEXITED(status)); 21 return WEXITSTATUS(status);
|
/external/icu/icu4c/source/samples/datecal/ |
cal.cpp | 18 UErrorCode status = U_ZERO_ERROR; local 20 GregorianCalendar* gc = new GregorianCalendar(status); 21 if (U_FAILURE(status)) { 36 gc->get(UCAL_YEAR, status), 37 gc->get(UCAL_MONTH, status) + 1, 38 gc->get(UCAL_MONTH, status), 39 gc->get(UCAL_DATE, status)); 40 if (U_FAILURE(status)) 46 gc->add(UCAL_DATE, 1, status); 47 if (U_FAILURE(status)) { [all...] |
ccal.c | 18 UErrorCode status = U_ZERO_ERROR; local 20 UCalendar *cal = ucal_open(NULL, -1, NULL, UCAL_GREGORIAN, &status); 21 if (U_FAILURE(status)) { 38 ucal_get(cal, UCAL_YEAR, &status), 39 ucal_get(cal, UCAL_MONTH, &status) + 1, 40 ucal_get(cal, UCAL_MONTH, &status), 41 ucal_get(cal, UCAL_DATE, &status)); 42 if (U_FAILURE(status)) { 47 ucal_add(cal, UCAL_DATE, 1, &status); 48 if (U_FAILURE(status)) [all...] |
/external/icu/icu4c/source/samples/msgfmt/answers/ |
main_0.cpp | 16 UErrorCode status = U_ZERO_ERROR; local
|
main_1.cpp | 15 UErrorCode status = U_ZERO_ERROR; local
|
/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...] |
/external/libnfc-nci/src/nfc/nfc/ |
nfc_test.c | 56 tNFC_STATUS status = NFC_STATUS_FAILED; local 61 status = nfc_ncif_send_data (p_cb, p_data); 64 if (status != NFC_STATUS_OK) 67 return status;
|
/external/qemu/android/ |
cpu_accelerator.cpp | 26 android::base::String status = local 28 *status_p = ASTRDUP(status.c_str());
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
PowerHAL.cpp | 42 status_t status = mPowerManager->powerHint(POWER_HINT_VSYNC, enabled ? 1 : 0); local 43 if(status == DEAD_OBJECT) { 46 return status;
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
SchedulerService.java | 29 Notification status = new Notification(R.drawable.stat_happy, null, local 31 status.flags |= Notification.FLAG_ONGOING_EVENT; 32 status.setLatestEventInfo(this, "Scheduler Test running", 38 startForeground(1, status);
|
/external/chromium_org/chrome/browser/mac/ |
security_wrappers.cc | 15 OSStatus status = SecKeychainGetUserInteractionAllowed(&old_allowed_); local 16 if (status != errSecSuccess) { 17 OSSTATUS_LOG(ERROR, status); 21 status = SecKeychainSetUserInteractionAllowed(allowed); 22 if (status != errSecSuccess) { 23 OSSTATUS_LOG(ERROR, status); 29 OSStatus status = SecKeychainSetUserInteractionAllowed(old_allowed_); local 30 if (status != errSecSuccess) { 31 OSSTATUS_LOG(ERROR, status);
|
/external/chromium_org/courgette/ |
courgette_minimal_tool.cc | 42 courgette::Status status = local 45 if (status != courgette::C_OK) { 46 if (status == courgette::C_READ_OPEN_ERROR) Problem("Can't open file."); 47 if (status == courgette::C_WRITE_OPEN_ERROR) Problem("Can't open file."); 48 if (status == courgette::C_READ_ERROR) Problem("Can't read from file."); 49 if (status == courgette::C_WRITE_ERROR) Problem("Can't write to file.");
|
/external/chromium_org/sync/sessions/ |
status_controller_unittest.cc | 18 StatusController status; local 20 status.set_last_download_updates_result(SYNCER_OK); 22 status.model_neutral_state().last_download_updates_result); 24 status.set_commit_result(SYNC_AUTH_ERROR); 25 EXPECT_EQ(SYNC_AUTH_ERROR, status.model_neutral_state().commit_result); 28 status.increment_num_successful_commits(); 29 EXPECT_EQ(14, status.model_neutral_state().num_successful_commits); 34 StatusController status; local 35 EXPECT_EQ(0, status.TotalNumConflictingItems()); 37 status.increment_num_server_conflicts() [all...] |