Searched defs:stat (Results 1 - 13 of 13) sorted by relevance

/packages/apps/Nfc/nci/jni/
H A DIntervalTimer.cpp49 int stat = 0; local
57 stat = timer_settime(mTimerId, 0, &ts, 0);
58 if (stat == -1)
60 return stat == 0;
84 int stat = 0; local
95 stat = timer_create(CLOCK_MONOTONIC, &se, &mTimerId);
96 if (stat == -1)
98 return stat == 0;
H A DNativeLlcpServiceSocket.cpp53 bool stat = false; local
60 stat = PeerToPeer::getInstance().accept (serverHandle, connHandle, miu, rw);
62 if (! stat)
117 bool stat = false; local
121 stat = PeerToPeer::getInstance().deregisterServer (jniServerHandle);
H A DNativeLlcpSocket.cpp44 bool stat = PeerToPeer::getInstance().connectConnOriented (jniHandle, nSap); local
47 return stat ? JNI_TRUE : JNI_FALSE;
73 bool stat = PeerToPeer::getInstance().connectConnOriented(jniHandle, serviceName.c_str()); local
76 return stat ? JNI_TRUE : JNI_FALSE;
96 bool stat = PeerToPeer::getInstance().disconnectConnOriented (jniHandle); local
99 return JNI_TRUE; // TODO: stat?
123 bool stat = PeerToPeer::getInstance().send(jniHandle, raw_ptr, bytes.size()); local
126 return stat ? JNI_TRUE : JNI_FALSE;
150 bool stat = PeerToPeer::getInstance().receive(jniHandle, reinterpret_cast<UINT8*>(&bytes[0]), bytes.size(), actualLen); local
153 if (stat
[all...]
H A DNativeSecureElement.cpp52 bool stat = true; local
74 stat = se.activate(0);
76 if (stat)
79 stat = se.connectEE();
80 if (stat)
92 if ((!stat) && (! PowerSwitch::getInstance ().setModeOff (PowerSwitch::SE_CONNECTED)))
118 bool stat = false; local
120 stat = SecureElement::getInstance().disconnectEE (handle);
132 return stat ? JNI_TRUE : JNI_FALSE;
H A DPowerSwitch.cpp253 tNFA_STATUS stat = NFA_STATUS_FAILED; local
263 stat = NFA_PowerOffSleepMode (TRUE);
264 if (stat == NFA_STATUS_OK)
271 ALOGE ("%s: API fail; stat=0x%X", fn, stat);
290 stat = NFA_PowerOffSleepMode (FALSE);
291 if (stat == NFA_STATUS_OK)
296 ALOGE ("%s: unable to full power; curr device mgt power stat=%s (%u)", fn,
305 ALOGE ("%s: API fail; stat=0x%X", fn, stat);
[all...]
H A DNfcTag.cpp1030 tNFA_STATUS stat = NFA_Select (rfDiscoveryId, NFA_PROTOCOL_NFC_DEP, NFA_INTERFACE_NFC_DEP); local
1031 if (stat != NFA_STATUS_OK)
1032 ALOGE ("%s: fail select P2P; error=0x%X", fn, stat);
1086 tNFA_STATUS stat = NFA_Select (mTechHandles [0], mTechLibNfcTypes [0], rf_intf); local
1087 if (stat != NFA_STATUS_OK)
1088 ALOGE ("%s: fail select; error=0x%X", fn, stat);
1180 // tNFA_STATUS stat = NFA_RwT2tRead (0x10);
1181 // if (stat == NFA_STATUS_OK)
H A DRouteDataSet.cpp24 #include <sys/stat.h>
476 int stat = remove (filename.c_str()); local
477 ALOGD ("%s: exit %u", fn, stat==0);
478 return stat == 0;
H A DPeerToPeer.cpp625 bool stat = createDataLinkConn (jniHandle, serviceName, 0); local
626 ALOGD ("%s: exit; h: %u stat: %u", fn, jniHandle, stat);
627 return stat;
646 bool stat = createDataLinkConn (jniHandle, NULL, destinationSap); local
647 ALOGD ("%s: exit; h: %u stat: %u", fn, jniHandle, stat);
648 return stat;
931 tNFA_STATUS stat = NFA_STATUS_FAILED; local
947 stat
1581 tNFA_STATUS stat = NFA_STATUS_OK; local
[all...]
H A DNativeNfcManager.cpp738 tNFA_STATUS stat = NFA_STATUS_OK; local
760 stat = NFA_Enable (nfaDeviceManagementCallback, nfaConnectionCallback);
761 if (stat == NFA_STATUS_OK)
774 if (stat == NFA_STATUS_OK)
810 ALOGE ("%s: fail nfa enable; error=0x%X", __FUNCTION__, stat);
813 stat = NFA_Disable (FALSE /* ungraceful */);
854 tNFA_STATUS stat = NFA_STATUS_OK; local
867 stat = NFA_EnablePolling (tech_mask);
868 if (stat == NFA_STATUS_OK)
877 ALOGE ("%s: fail enable discovery; error=0x%X", __FUNCTION__, stat);
961 tNFA_STATUS stat = NFA_STATUS_OK; local
1140 tNFA_STATUS stat = NFA_Disable (TRUE /* graceful */); local
1195 bool stat = PeerToPeer::getInstance().createClient (jniHandle, miu, rw); local
1289 bool stat = true; local
1330 bool stat = false; local
1746 tNFA_STATUS stat = NFA_STATUS_FAILED; local
1788 tNFA_STATUS stat = NFA_STATUS_FAILED; local
[all...]
/packages/inputmethods/PinyinIME/jni/share/
H A Dsync.cpp106 UserDict::UserDictStat stat; local
107 userdict_->state(&stat);
108 return stat.limit_lemma_count - stat.lemma_count;
/packages/apps/Camera/jni/feature_stab/db_vlvm/
H A Ddb_rob_image_homography.cpp74 inline double db_RobImageHomography_Statistics(double H[9],int point_count,double *x_i,double *xp_i,double one_over_scale2,db_Statistics *stat,double thresh=DB_OUTLIER_THRESHOLD) argument
90 if(stat)
92 stat->nr_points=point_count;
93 stat->one_over_scale2=one_over_scale2;
94 stat->nr_inliers=i;
95 stat->inlier_fraction=frac;
97 stat->cost=db_RobImageHomography_Cost(H,point_count,x_i,xp_i,one_over_scale2);
98 stat->model_dimension=0;
99 /*stat->nr_parameters=;*/
101 stat
623 db_RobImageHomography( double H[9], double *im, double *im_p, int nr_points, double K[9], double Kp[9], double *temp_d, int *temp_i, int homography_type, db_Statistics *stat, int max_iterations, int max_points, double scale, int nr_samples, int chunk_size, int outlierremoveflagE, double *wp, double *im_r, double *im_raw, double *im_raw_p, int *finalNumE) argument
[all...]
/packages/apps/Gallery2/jni_mosaic/feature_stab/db_vlvm/
H A Ddb_rob_image_homography.cpp74 inline double db_RobImageHomography_Statistics(double H[9],int point_count,double *x_i,double *xp_i,double one_over_scale2,db_Statistics *stat,double thresh=DB_OUTLIER_THRESHOLD) argument
90 if(stat)
92 stat->nr_points=point_count;
93 stat->one_over_scale2=one_over_scale2;
94 stat->nr_inliers=i;
95 stat->inlier_fraction=frac;
97 stat->cost=db_RobImageHomography_Cost(H,point_count,x_i,xp_i,one_over_scale2);
98 stat->model_dimension=0;
99 /*stat->nr_parameters=;*/
101 stat
623 db_RobImageHomography( double H[9], double *im, double *im_p, int nr_points, double K[9], double Kp[9], double *temp_d, int *temp_i, int homography_type, db_Statistics *stat, int max_iterations, int max_points, double scale, int nr_samples, int chunk_size, int outlierremoveflagE, double *wp, double *im_r, double *im_raw, double *im_raw_p, int *finalNumE) argument
[all...]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_rob_image_homography.cpp74 inline double db_RobImageHomography_Statistics(double H[9],int point_count,double *x_i,double *xp_i,double one_over_scale2,db_Statistics *stat,double thresh=DB_OUTLIER_THRESHOLD) argument
90 if(stat)
92 stat->nr_points=point_count;
93 stat->one_over_scale2=one_over_scale2;
94 stat->nr_inliers=i;
95 stat->inlier_fraction=frac;
97 stat->cost=db_RobImageHomography_Cost(H,point_count,x_i,xp_i,one_over_scale2);
98 stat->model_dimension=0;
99 /*stat->nr_parameters=;*/
101 stat
623 db_RobImageHomography( double H[9], double *im, double *im_p, int nr_points, double K[9], double Kp[9], double *temp_d, int *temp_i, int homography_type, db_Statistics *stat, int max_iterations, int max_points, double scale, int nr_samples, int chunk_size, int outlierremoveflagE, double *wp, double *im_r, double *im_raw, double *im_raw_p, int *finalNumE) argument
[all...]

Completed in 505 milliseconds