/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | LaunchpadTabActivity.java | 37 TabHost.TabSpec ts = th.newTabSpec("1"); 38 ts.setIndicator("One"); 39 ts.setContent(tabIntent); 40 th.addTab(ts);
|
/frameworks/av/media/libcpustats/ |
H A D | ThreadCpuUsage.cpp | 58 struct timespec ts; local 59 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); 63 long long delta = (ts.tv_sec - mPreviousTs.tv_sec) * 1000000000LL + 64 (ts.tv_nsec - mPreviousTs.tv_nsec); 67 mPreviousTs = ts; 101 struct timespec ts; local 103 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); 109 long long delta = (ts.tv_sec - mPreviousTs.tv_sec) * 1000000000LL + 110 (ts.tv_nsec - mPreviousTs.tv_nsec); 112 mPreviousTs = ts; 132 struct timespec ts; local [all...] |
/frameworks/av/media/libnbaio/ |
H A D | NBLog.cpp | 135 struct timespec ts; local 136 if (!clock_gettime(CLOCK_MONOTONIC, &ts)) { 137 log(EVENT_TIMESTAMP, &ts, sizeof(struct timespec)); 141 void NBLog::Writer::logTimestamp(const struct timespec& ts) argument 146 log(EVENT_TIMESTAMP, &ts, sizeof(struct timespec)); 254 void NBLog::LockedWriter::logTimestamp(const struct timespec& ts) argument 257 Writer::logTimestamp(ts); 320 struct timespec ts; local 333 memcpy(&ts, ©[i - length - 1], sizeof(struct timespec)); 334 if (ts [all...] |
H A D | MonoPipe.cpp | 278 int64_t MonoPipe::offsetTimestampByAudioFrames(int64_t ts, size_t audFrames) argument 283 if (ts == AudioBufferProvider::kInvalidPTS) 303 return ts + frame_lt_duration;
|
/frameworks/native/libs/binder/ |
H A D | BufferedTextOutput.cpp | 93 ThreadState* ts = (ThreadState*) thread_store_get( &tls ); local 94 if (ts) return ts; 95 ts = new ThreadState; 96 thread_store_set( &tls, ts, threadDestructor ); 97 return ts; 264 ThreadState* ts = getThreadState(); local 265 if (ts) { 266 while (ts->states.size() <= (size_t)mIndex) ts [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_AlarmManagerService.cpp | 70 struct timespec ts; local 71 ts.tv_sec = seconds; 72 ts.tv_nsec = nanoseconds; 74 int result = ioctl(fd, ANDROID_ALARM_SET(type), &ts);
|
/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4OSA_Mutex.c | 134 struct timespec ts; local 167 ts.tv_sec = 0; 170 ts.tv_nsec = 1000000; 175 ts.tv_nsec = timeout * 1000000; 178 nanosleep(&ts, &left);
|
H A D | M4OSA_Semaphore.c | 132 struct timespec ts; local 160 ts.tv_sec = 0; 163 ts.tv_nsec = 1000000; 168 ts.tv_nsec = timeout * 1000000; 171 nanosleep(&ts, &left);
|
/frameworks/base/core/jni/ |
H A D | android_os_SystemClock.cpp | 52 struct timespec ts; local 71 ts.tv_sec = tv.tv_sec; 72 ts.tv_nsec = tv.tv_usec * 1000; 73 res = ioctl(fd, ANDROID_ALARM_SET_RTC, &ts);
|
H A D | android_util_Process.cpp | 889 struct timespec ts; local 891 int res = clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts); 897 nsecs_t when = seconds_to_nanoseconds(ts.tv_sec) + ts.tv_nsec;
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
H A D | BandwidthTest.java | 115 String ts = Long.toString(System.currentTimeMillis()); 118 mTestServer, FILE_SIZE, mDeviceId, ts); 132 results.putString("timestamp", ts); 167 String ts = Long.toString(System.currentTimeMillis()); 169 mTestServer, FILE_SIZE, mDeviceId, ts); 173 ts = Long.toString(System.currentTimeMillis()); 176 assertTrue(BandwidthTestUtil.postFileToServer(mTestServer, mDeviceId, ts, tmpSaveFile)); 186 results.putString("timestamp", ts); 229 String ts = Long.toString(System.currentTimeMillis()); 231 mTestServer, FILE_SIZE, mDeviceId, ts); [all...] |
/frameworks/av/include/media/nbaio/ |
H A D | MonoPipe.h | 132 int64_t offsetTimestampByAudioFrames(int64_t ts, size_t audFrames);
|
H A D | NBLog.h | 127 virtual void logTimestamp(const struct timespec& ts); 161 virtual void logTimestamp(const struct timespec& ts);
|
H A D | NBAIO.h | 205 // ts A pointer pointing to the int64_t which will hold the result. 207 // OK Everything went well, *ts holds the time at which the first audio frame of the next 215 virtual status_t getNextWriteTimestamp(int64_t *ts) { return INVALID_OPERATION; } argument
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrackShared.cpp | 169 const struct timespec *ts; local 175 ts = NULL; 180 ts = requested; 200 ts = &remaining; 204 ts = NULL; 215 mClientInServer ? FUTEX_WAIT_PRIVATE : FUTEX_WAIT, old & ~CBLK_FUTEX_WAKE, ts); 398 const struct timespec *ts; local 404 ts = NULL; 409 ts = requested; 429 ts [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | MatrixCursorTest.java | 185 NonIterableArrayList(Collection<? extends T> ts) { argument 186 super(ts);
|
/frameworks/base/core/java/android/widget/ |
H A D | Switch.java | 195 int ts; 206 ts = appearance.getDimensionPixelSize(com.android.internal.R.styleable. 208 if (ts != 0) { 209 if (ts != mTextPaint.getTextSize()) { 210 mTextPaint.setTextSize(ts);
|
H A D | TextView.java | 2405 int ts; 2419 ts = appearance.getDimensionPixelSize(com.android.internal.R.styleable. 2421 if (ts != 0) { 2422 setRawTextSize(ts);
|
/frameworks/av/media/libeffects/visualizer/ |
H A D | EffectVisualizer.cpp | 95 struct timespec ts; local 96 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { 97 time_t secs = ts.tv_sec - pContext->mBufferUpdateTime.tv_sec; 98 long nsec = ts.tv_nsec - pContext->mBufferUpdateTime.tv_nsec;
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 656 timespec ts; local 657 ts.tv_sec = 0; 658 ts.tv_nsec = 100000000; 660 nanosleep(&ts, NULL); 666 nanosleep(&ts, NULL);
|
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4VSS3GPP_EditVideo.c | 104 M4_MediaTime ts, 1066 M4_MediaTime ts; local 1177 * Compute the time in the clip1 base: ts = to - Offset */ 1179 ts = pC->ewc.dInputVidCts - pC->pC1->iVoffset; 1185 err = M4VSS3GPP_intRenderFrameWithEffect(pC, pC->pC1, ts, M4OSA_TRUE, 1223 * Compute the time in the clip2 base: ts = to - Offset */ 1225 ts = pC->ewc.dInputVidCts - pC->pC2->iVoffset; 1231 err = M4VSS3GPP_intRenderFrameWithEffect(pC, pC->pC2, ts, M4OSA_FALSE, 1311 * Compute the time in the clip base: ts = to - Offset */ 1312 ts 3540 M4VSS3GPP_intRenderFrameWithEffect(M4VSS3GPP_InternalEditContext *pC, M4VSS3GPP_ClipContext* pClipCtxt, M4_MediaTime ts, M4OSA_Bool bIsClip1, M4VIFI_ImagePlane *pResizePlane, M4VIFI_ImagePlane *pPlaneNoResize, M4VIFI_ImagePlane *pPlaneOut) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
H A D | BearerData.java | 237 TimeStamp ts = new TimeStamp(); 241 ts.year = year >= 96 ? year + 1900 : year + 2000; 244 ts.month = month - 1; 247 ts.monthDay = day; 250 ts.hour = hour; 253 ts.minute = minute; 256 ts.second = second; 257 return ts;
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | PreviewPlayer.cpp | 924 TimeSource *ts = (mFlags & AUDIO_AT_EOS) ? &mSystemTimeSource : mTimeSource; local 926 if(ts == NULL) { 936 mTimeSourceDeltaUs = ts->getRealTimeUs() - timeUs; 945 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs; 954 ts->getRealTimeUs(),timeUs);
|
/frameworks/av/media/libstagefright/ |
H A D | AwesomePlayer.cpp | 1848 TimeSource *ts = local 1855 mTimeSourceDeltaUs = ts->getRealTimeUs() - timeUs; 1865 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs; 1879 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs;
|