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.cpp39 bool stat = false; local
46 stat = PeerToPeer::getInstance().connectConnOriented (jniHandle, nSap);
48 if (stat)
71 bool stat = false; local
78 stat = PeerToPeer::getInstance().connectConnOriented (jniHandle, serviceName);
82 if (stat)
104 bool stat = false; local
109 stat = PeerToPeer::getInstance().disconnectConnOriented (jniHandle);
134 bool stat = false; local
138 stat
165 bool stat = false; local
199 bool stat = false; local
225 bool stat = false; local
[all...]
H A DNativeSecureElement.cpp45 bool stat = true; local
65 stat = se.activate(0);
67 if (stat)
70 stat = se.connectEE();
71 if (stat)
79 if ((!stat) && (! PowerSwitch::getInstance ().setModeOff (PowerSwitch::SE_CONNECTED)))
105 bool stat = false; local
107 stat = SecureElement::getInstance().disconnectEE (handle);
119 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 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 DNfcTag.cpp1046 tNFA_STATUS stat = NFA_Select (rfDiscoveryId, NFA_PROTOCOL_NFC_DEP, NFA_INTERFACE_NFC_DEP); local
1047 if (stat != NFA_STATUS_OK)
1048 ALOGE ("%s: fail select P2P; error=0x%X", fn, stat);
1102 tNFA_STATUS stat = NFA_Select (mTechHandles [0], mTechLibNfcTypes [0], rf_intf); local
1103 if (stat != NFA_STATUS_OK)
1104 ALOGE ("%s: fail select; error=0x%X", fn, stat);
1196 // tNFA_STATUS stat = NFA_RwT2tRead (0x10);
1197 // if (stat == NFA_STATUS_OK)
H A DPeerToPeer.cpp205 tNFA_STATUS stat = NFA_STATUS_OK; local
429 bool stat = false; local
615 bool stat = createDataLinkConn (jniHandle, serviceName, 0); local
616 ALOGD ("%s: exit; h: %u stat: %u", fn, jniHandle, stat);
617 return stat;
636 bool stat = createDataLinkConn (jniHandle, NULL, destinationSap); local
637 ALOGD ("%s: exit; h: %u stat: %u", fn, jniHandle, stat);
638 return stat;
925 tNFA_STATUS stat = NFA_STATUS_FAILED; local
1145 tNFA_STATUS stat = NFA_STATUS_FAILED; local
1578 tNFA_STATUS stat = NFA_STATUS_OK; local
[all...]
H A DNativeNfcManager.cpp707 tNFA_STATUS stat = NFA_STATUS_OK; local
729 stat = NFA_Enable (nfaDeviceManagementCallback, nfaConnectionCallback);
730 if (stat == NFA_STATUS_OK)
745 if (stat == NFA_STATUS_OK)
785 ALOGE ("%s: fail nfa enable; error=0x%X", __FUNCTION__, stat);
788 stat = NFA_Disable (FALSE /* ungraceful */);
829 tNFA_STATUS stat = NFA_STATUS_OK; local
842 stat = NFA_EnablePolling (tech_mask);
843 if (stat == NFA_STATUS_OK)
852 ALOGE ("%s: fail enable discovery; error=0x%X", __FUNCTION__, stat);
985 bool stat = false; local
1084 tNFA_STATUS stat = NFA_Disable (TRUE /* graceful */); local
1141 bool stat = false; local
1235 bool stat = true; local
1278 bool stat = false; local
1684 tNFA_STATUS stat = NFA_STATUS_FAILED; local
1778 tNFA_STATUS stat = NFA_STATUS_FAILED; local
[all...]
H A DSecureElement.cpp614 bool stat = false; local
/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/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 91 milliseconds