/frameworks/wilhelm/src/ |
H A D | ThreadPool.c | 169 int ok; local 175 ok = pthread_mutex_lock(&tp->mMutex); 176 assert(0 == ok); 178 ok = pthread_cond_broadcast(&tp->mCondNotEmpty); 179 assert(0 == ok); 180 ok = pthread_cond_broadcast(&tp->mCondNotFull); 181 assert(0 == ok); 182 ok = pthread_mutex_unlock(&tp->mMutex); 183 assert(0 == ok); 186 ok 279 int ok; local 330 int ok; local [all...] |
H A D | entry.c | 35 int ok; local 36 ok = pthread_mutex_lock(&theOneTrueMutex); 37 assert(0 == ok); 98 ok = pthread_mutex_unlock(&theOneTrueMutex); 99 assert(0 == ok); 170 ok = pthread_mutex_unlock(&theOneTrueMutex); 171 assert(0 == ok);
|
H A D | locks.c | 47 int ok; local 48 ok = pthread_mutex_trylock(&thiz->mMutex); 49 if (0 != ok) { 60 ok = pthread_mutex_timedlock(&thiz->mMutex, &ts); 61 if (0 == ok) { 64 if (EBUSY == ok) { 66 } else if (EDEADLK == ok) { 71 SL_LOGE("%s:%d: pthread_mutex_lock_timeout_np returned %d", file, line, ok); 93 ok = pthread_mutex_lock(&thiz->mMutex); 94 assert(0 == ok); 126 int ok; local 144 int ok; local 151 int ok; local 176 int ok; local 299 int ok; local 310 int ok; local 321 int ok; local 333 int ok; local [all...] |
/frameworks/wilhelm/src/desktop/ |
H A D | SndFile.c | 253 int ok; local 254 ok = pthread_mutex_init(&thiz->mSndFile.mMutex, (const pthread_mutexattr_t *) NULL); 255 assert(0 == ok); 282 int ok; local 283 ok = pthread_mutex_destroy(&thiz->mSndFile.mMutex); 284 assert(0 == ok);
|
/frameworks/wilhelm/src/itf/ |
H A D | IObject.c | 96 int ok = pthread_mutex_lock(&theOneTrueMutex); local 97 assert(0 == ok); 99 ok = pthread_mutex_unlock(&theOneTrueMutex); 100 assert(0 == ok); 349 // Can't get interface on an unrealized object unless pre-realize is ok 771 int ok; local 772 ok = pthread_mutex_init(&thiz->mMutex, (const pthread_mutexattr_t *) NULL); 773 assert(0 == ok); 780 ok = pthread_cond_init(&thiz->mCond, (const pthread_condattr_t *) NULL); 781 assert(0 == ok); 793 int ok; local [all...] |
/frameworks/wilhelm/src/objects/ |
H A D | CEngine.c | 178 int ok; local 179 ok = pthread_mutex_lock(&theOneTrueMutex); 180 assert(0 == ok); 185 ok = pthread_mutex_unlock(&theOneTrueMutex); 186 assert(0 == ok);
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeAac.cpp | 181 int ok; local 182 ok = pthread_mutex_lock(&mutex); 183 assert(ok == 0); 185 ok = pthread_cond_signal(&cond); 186 assert(ok == 0); 187 ok = pthread_mutex_unlock(&mutex); 188 assert(ok == 0); 417 int ok; local 419 ok = fstat(fd, &statbuf); 420 if (ok < [all...] |
/frameworks/wilhelm/tests/listening/ |
H A D | slesTest_playMuteSolo.cpp | 90 int ok; local 91 ok = pthread_mutex_lock(&mutex); 92 assert(ok == 0); 94 ok = pthread_cond_signal(&cond); 95 assert(ok == 0); 96 ok = pthread_mutex_unlock(&mutex); 97 assert(ok == 0);
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTestLoopUri.cpp | 91 int ok; local 92 ok = pthread_mutex_lock(&mutex); 93 assert(ok == 0); 95 ok = pthread_cond_signal(&cond); 96 assert(ok == 0); 97 ok = pthread_mutex_unlock(&mutex); 98 assert(ok == 0);
|
H A D | slesTestSlowDownUri.cpp | 136 int ok; local 137 ok = pthread_mutex_lock(&mutex); 138 assert(ok == 0); 140 ok = pthread_cond_signal(&cond); 141 assert(ok == 0); 142 ok = pthread_mutex_unlock(&mutex); 143 assert(ok == 0);
|
/frameworks/wilhelm/tests/native-media/jni/ |
H A D | native-media-jni.c | 103 int ok; local 109 ok = pthread_mutex_lock(&mutex); 110 assert(0 == ok); 126 ok = pthread_cond_signal(&cond); 127 assert(0 == ok); 219 ok = pthread_mutex_unlock(&mutex); 220 assert(0 == ok); 529 int ok; local 530 ok = pthread_mutex_lock(&mutex); 531 assert(0 == ok); [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | multithread.c | 130 int ok; local 155 ok = pthread_create(&threads[i], (const pthread_attr_t *) NULL, thread_start, 157 assert(0 == ok); 185 ok = pthread_join(threads[i], NULL); 186 assert(0 == ok);
|
H A D | playbq.c | 571 int ok = pthread_create(&thread, (const pthread_attr_t *) NULL, file_reader_loop, NULL); local 572 assert(0 == ok);
|
H A D | playbq.cpp | 571 int ok = pthread_create(&thread, (const pthread_attr_t *) NULL, file_reader_loop, NULL); local 572 assert(0 == ok);
|
H A D | reverb.c | 210 int ok; local 211 ok = pthread_mutex_lock(&mutex); 212 assert(ok == 0); 214 ok = pthread_cond_signal(&cond); 215 assert(ok == 0); 216 ok = pthread_mutex_unlock(&mutex); 217 assert(ok == 0);
|
H A D | xaplay.c | 118 int ok; local 119 ok = pthread_mutex_lock(&mutex); 120 assert(ok == 0); 122 ok = pthread_cond_signal(&cond); 123 assert(ok == 0); 124 ok = pthread_mutex_unlock(&mutex); 125 assert(ok == 0); 321 int ok; local 323 ok = fstat(fd, &statbuf); 324 if (ok < [all...] |
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | ImageProcessingActivityJB.java | 507 public void onBenchmarkFinish(boolean ok) { argument 508 if (ok) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiStateMachine.java | 557 /* We are ok with no response here since we wont do much with it anyway */ 1518 if (splitData.length == 0 || splitData[0].equals("ok")) { 4955 boolean ok = mWifiNative.ping(); 4956 replyToMessage(message, message.what, ok ? SUCCESS : FAILURE); 5993 boolean ok; 6095 ok = mWifiConfigStore.removeNetwork(message.arg1); 6096 if (!ok) { 6099 replyToMessage(message, message.what, ok ? SUCCESS : FAILURE); 6120 ok = mWifiConfigStore.enableNetwork(message.arg1, message.arg2 == 1); 6121 if (!ok) { [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
H A D | WifiP2pServiceImpl.java | 2259 .setPositiveButton(r.getString(R.string.ok), null) 2287 .setPositiveButton(r.getString(R.string.ok), null)
|
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence_webp.cpp | 60 int ok = WebPDemuxGetFrame(mDemux, 1, &curr); local 61 ALOG_ASSERT(ok, "Could not retrieve frame# 0"); 65 ok = WebPDemuxGetFrame(mDemux, i + 1, &curr); // Get ith frame. 66 ALOG_ASSERT(ok, "Could not retrieve frame# %d", i); 296 int ok = WebPDemuxGetFrame(demux, start, &currIter); // Get frame number 'start - 1'. local 297 ALOG_ASSERT(ok, "Could not retrieve frame# %d", start - 1); 307 ok = WebPDemuxGetFrame(demux, i + 1, &currIter); // Get ith frame. 308 ALOG_ASSERT(ok, "Could not retrieve frame# %d", i); 346 ok = WebPDemuxGetFrame(demux, lastFrame, &currIter); 347 ALOG_ASSERT(ok, "Coul [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | FontCollection.cpp | 67 bool ok = typeface->GetTable(cmapTag, NULL, &cmapSize); local 69 ok = typeface->GetTable(cmapTag, cmapData.get(), &cmapSize);
|
H A D | FontFamily.cpp | 106 bool ok = typeface->GetTable(os2Tag, NULL, &os2Size); local 107 if (!ok) return false; 109 ok = typeface->GetTable(os2Tag, os2Data.get(), &os2Size); 110 if (!ok) return false;
|
H A D | Layout.cpp | 289 bool ok = font->GetTable(tag, NULL, &length); local 290 if (!ok) { 297 ok = font->GetTable(tag, reinterpret_cast<uint8_t*>(buffer), &length); 299 (tag >>24) & 0xff, (tag>>16)&0xff, (tag>>8)&0xff, tag&0xff, length, ok); 300 if (!ok) { 319 bool ok = font->GetGlyph(unicode, &glyph_id); local 320 if (ok) { 323 return ok; 823 bool ok = face->Render(glyph.glyph_id, paint, &glyphBitmap); local 824 printf("glyphBitmap.width=%d, glyphBitmap.height=%d (%d, %d) x=%f, y=%f, ok [all...] |
/frameworks/native/cmds/atrace/ |
H A D | atrace.cpp | 231 bool ok = true; local 236 ok = false; 241 return ok; 269 bool ok = category.tags != 0; local 278 ok = true; 281 ok |= fileIsWritable(path); 285 return ok; 294 bool ok = category.tags != 0; local 303 ok = true; 306 ok | 457 bool ok = true; local 495 bool ok = true; local 516 bool ok = true; local 557 bool ok = true; local 911 bool ok = true; local [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | CreateDirectoryFragment.java | 68 builder.setPositiveButton(android.R.string.ok, new OnClickListener() {
|