/frameworks/base/telephony/java/com/android/internal/telephony/cat/ |
Duration.java | 24 * Class for representing "Duration" object for CAT. 28 public class Duration implements Parcelable { 51 public Duration(int timeInterval, TimeUnit timeUnit) { 56 private Duration(Parcel in) { 70 public static final Parcelable.Creator<Duration> CREATOR = new Parcelable.Creator<Duration>() { 71 public Duration createFromParcel(Parcel in) { 72 return new Duration(in); 75 public Duration[] newArray(int size) { 76 return new Duration[size] [all...] |
ToneSettings.java | 27 public Duration duration; field in class:ToneSettings 31 public ToneSettings(Duration duration, Tone tone, boolean vibrate) { 32 this.duration = duration; 38 duration = in.readParcelable(null); 48 dest.writeParcelable(duration, 0);
|
TextMessage.java | 31 public Duration duration = null; field in class:TextMessage 44 duration = in.readParcelable(null); 59 dest.writeParcelable(duration, 0);
|
Input.java | 39 public Duration duration; field in class:Input 53 duration = null; 68 duration = in.readParcelable(null); 87 dest.writeParcelable(duration, 0);
|
ValueParser.java | 21 import com.android.internal.telephony.cat.Duration.TimeUnit; 78 * Retrieves Duration information from the Duration COMPREHENSION-TLV 82 * @return A Duration object 85 static Duration retrieveDuration(ComprehensionTlv ctlv) throws ResultException { 98 return new Duration(timeInterval, timeUnit);
|
CommandParams.java | 88 Tone tone, Duration duration, boolean vibrate) { 91 this.settings = new ToneSettings(duration, tone, vibrate);
|
/packages/apps/Stk/src/com/android/stk/ |
StkApp.java | 21 import com.android.internal.telephony.cat.Duration; 44 * This function calculate the time in MS from a duration instance. 45 * returns zero when duration is null. 47 public static int calculateDurationInMilis(Duration duration) { 49 if (duration != null) { 50 switch (duration.timeUnit) { 62 timeout *= duration.timeInterval;
|
/external/qemu/android/ |
looper.h | 28 /* An Duration represents a duration in milliseconds */ 29 typedef int64_t Duration; 31 /* A special Duration value used to mean "infinite" */ 32 #define DURATION_INFINITE ((Duration)INT64_MAX) 91 Duration (*now) (Looper* looper); 94 int (*run) (Looper* looper, Duration deadline_ms); 118 void (*startRelative)(void* impl, Duration timeout_ms); 119 void (*startAbsolute)(void* impl, Duration deadline_ms); 151 loopTimer_startRelative(LoopTimer* timer, Duration timeout_ms [all...] |
async-socket.h | 208 Duration deadline); 236 Duration deadline); 255 * rel - Time interval. If < 0 an infinite duration will be returned. 259 extern Duration async_socket_deadline(AsyncSocket* as, int rel);
|
looper-generic.c | 37 Duration deadline; 44 static Duration glooper_now(Looper* ll); 62 glooptimer_startAbsolute(void* impl, Duration deadline_ms) 79 glooptimer_startRelative(void* impl, Duration timeout_ms) 291 Duration deadline = tt->deadline; 349 static Duration 363 glooper_run(Looper* ll, Duration loop_deadline_ms) 381 Duration deadline = DURATION_INFINITE;
|
looper-qemu.c | 33 qlooptimer_startRelative(void* impl, Duration timeout_ms) 43 qlooptimer_startAbsolute(void* impl, Duration deadline_ms) 370 static Duration 387 qlooper_run(Looper* ll, Duration deadline_ms)
|
async-socket.c | 90 Duration deadline; 133 Duration deadline) 240 Duration deadline) 263 Duration deadline) [all...] |
/libcore/luni/src/main/java/javax/xml/datatype/ |
Duration.java | 18 //$Id: Duration.java 759828 2009-03-30 01:26:29Z mrglavas $ 33 * <p>A Duration object represents a period of Gregorian time, 40 * A negative sign indicates a negative duration.</p> 43 * to use for the duration datatype of XML Schema 1.0 with 47 * <p>Duration objects only have partial order, where two values A and B 52 * <li>A==B (A and B are of the same duration) 57 * The {@link #compare(Duration duration)} method implements this 60 * <p>See the {@link #isLongerThan(Duration)} method for details about 61 * the order relationship among <code>Duration</code> objects.</p [all...] |
DatatypeFactory.java | 137 * <p>Obtain a new instance of a <code>Duration</code> 138 * specifying the <code>Duration</code> as its string representation, "PnYnMnDTnHnMnS", 141 * <p>XML Schema Part 2: Datatypes, 3.2.6 duration, defines <code>duration</code> as:</p> 143 * duration represents a duration of time. 144 * The value space of duration is a six-dimensional space where the coordinates designate the 149 * <p>All six values are set and available from the created {@link Duration}</p> 156 * @param lexicalRepresentation <code>String</code> representation of a <code>Duration</code>. 158 * @return New <code>Duration</code> created from parsing the <code>lexicalRepresentation</code> [all...] |
XMLGregorianCalendar.java | 162 * <li>addition operation with {@link Duration} 173 * @see Duration [all...] |
/frameworks/opt/calendar/tests/src/com/android/calendarcommon/ |
DurationTest.java | 30 Duration duration = new Duration(); local 31 duration.parse(str); 33 assertEquals("Duration sign is not equal for " + str, sign, duration.sign); 34 assertEquals("Duration weeks is not equal for " + str, weeks, duration.weeks); 35 assertEquals("Duration days is not equal for " + str, days, duration.days) [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon/ |
Duration.java | 29 public class Duration 38 public Duration() 80 "Duration.parse(str='" + str + "') expected 'P' at index=" 120 "Duration.parse(str='" + str + "') unexpected char '"
|
/external/libnfc-nxp/src/ |
phHciNfc_PollingLoop.c | 67 /* Default duration (100 ms * 1000) micro seconds, 68 always duration shall be less then 3145680 71 /* Maximum duration */ 74 #define PL_DURATION_CALC(duration) \ 75 ((uint16_t)((duration)/PL_DURATION_MIN_VALUE)) 386 if(p_poll_cfg->Duration > PL_MAX_DURATION) 388 p_poll_cfg->Duration = PL_MAX_DURATION; 395 p_poll_cfg->Duration = ((p_poll_cfg->Duration < 399 p_poll_cfg->Duration ); [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
GoogleCalendarUriIntentFilter.java | 42 import com.android.calendarcommon.Duration; 57 Events.DURATION, // 3 176 String duration = eventCursor.getString(EVENT_INDEX_DURATION); local 177 if (debug) Log.d(TAG, "duration: " + duration); 178 if (TextUtils.isEmpty(duration)) { 183 Duration d = new Duration(); 184 d.parse(duration); 192 if (debug) Log.d(TAG, "duration:" + e.toString()) [all...] |
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
VideoEditorMp3Reader.cpp | 278 ALOGV("Mp3Reader duration=%ld",pReaderContext->mMaxDuration); 440 int64_t Duration; 485 streamDesc.duration = meta->findInt64(kKeyDuration, &Duration); 486 streamDesc.duration = (M4OSA_Time)Duration/1000; 490 ALOGV("Bitrate = %d, SampleRate = %d duration = %lld", 491 streamDesc.averageBitrate,streamDesc.timeScale,Duration/1000); 536 pStreamHandler->m_duration = streamDesc.duration; 537 pReaderContext->mMaxDuration = streamDesc.duration; [all...] |
VideoEditor3gpReader.cpp | 648 ALOGV("VideoEditor3gpReader_getOption duration %d",pC->mMaxDuration); [all...] |
/external/libnfc-nxp/inc/ |
phNfcTypes.h | [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarInstancesHelper.java | 20 import com.android.calendarcommon.Duration; 118 Events.DURATION, 127 // window, we need to assume a maximum duration, since we only know 174 int durationColumn = entries.getColumnIndex(Events.DURATION); 191 Duration duration = new Duration(); local 227 duration.parse(durationStr); 231 Log.w(CalendarProvider2.TAG, "error parsing duration for event " 234 duration.sign = 1 [all...] |
/external/ppp/pppd/plugins/radius/etc/ |
dictionary.ascend | 18 ATTRIBUTE Ascend-Call-Block-Duration 124 integer 19 ATTRIBUTE Ascend-Maximum-Call-Duration 125 integer
|
/hardware/broadcom/wlan/bcm4329/dhdutil/include/proto/ |
bt_amp_hci.h | 426 uint32 Duration;
|