/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
Duration.java | 24 * Class for representing "Duration" object for STK. 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);
|
ValueParser.java | 21 import com.android.internal.telephony.gsm.stk.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 | 83 Tone tone, Duration duration, boolean vibrate) { 86 this.settings = new ToneSettings(duration, tone, vibrate);
|
CommandParamsFactory.java | 288 // parse tone duration 289 ctlv = searchForTag(ComprehensionTlvTag.DURATION, ctlvs); 291 textMsg.duration = ValueParser.retrieveDuration(ctlv); 754 Duration duration = null; local 777 // parse tone duration 778 ctlv = searchForTag(ComprehensionTlvTag.DURATION, ctlvs); 780 duration = ValueParser.retrieveDuration(ctlv); 792 mCmdParams = new PlayToneParams(cmdDet, textMsg, tone, duration, vibrate);
|
/packages/apps/Stk/src/com/android/stk/ |
StkApp.java | 21 import com.android.internal.telephony.gsm.stk.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;
|
/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 | 136 * <p>Obtain a new instance of a <code>Duration</code> 137 * specifying the <code>Duration</code> as its string representation, "PnYnMnDTnHnMnS", 140 * <p>XML Schema Part 2: Datatypes, 3.2.6 duration, defines <code>duration</code> as:</p> 142 * duration represents a duration of time. 143 * The value space of duration is a six-dimensional space where the coordinates designate the 148 * <p>All six values are set and available from the created {@link Duration}</p> 155 * @param lexicalRepresentation <code>String</code> representation of a <code>Duration</code>. 157 * @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...] |
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
DurationTest.java | 29 Duration duration = new Duration(); local 30 duration.parse(str); 32 assertEquals("Duration sign is not equal for " + str, sign, duration.sign); 33 assertEquals("Duration weeks is not equal for " + str, weeks, duration.weeks); 34 assertEquals("Duration days is not equal for " + str, days, duration.days) [all...] |
/packages/apps/Email/src/com/android/exchange/utility/ |
Duration.java | 25 public class Duration { 33 public Duration() { 72 "Duration.parse(str='" + str + "') expected 'P' at index=" 101 "Duration.parse(str='" + str + "') unexpected char '"
|
CalendarUtilities.java | 1489 Duration duration = new Duration(); local [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
Duration.java | 1 /* //device/content/providers/pim/Duration.java 30 public class Duration 39 public Duration() 81 "Duration.parse(str='" + str + "') expected 'P' at index=" 117 "Duration.parse(str='" + str + "') unexpected char '"
|
CalendarProvider2.java | 117 Events.DURATION 152 // window, we need to assume a maximum duration, since we only know 1192 Duration duration = new Duration(); local 1606 String duration = updatedValues.getAsString(Events.DURATION); local 2345 Duration duration = new Duration(); local [all...] |
/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...] |
/external/libnfc-nxp/inc/ |
phNfcTypes.h | [all...] |
/packages/apps/Nfc/jni/ |
com_android_nfc_NativeNfcManager.cpp | 398 nat->discovery_cfg.NfcIP_Mode, nat->discovery_cfg.Duration, ret); [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
|
/packages/apps/Email/src/com/android/exchange/adapter/ |
CalendarSyncAdapter.java | 29 import com.android.exchange.utility.Duration; 313 * Set DTSTART, DTEND, DURATION and EVENT_TIMEZONE as appropriate for the given Event 315 * Events that aren't exceptions MUST have either 1) a DTEND or 2) a DURATION 316 * Recurring events (i.e. events with RRULE) must have a DURATION 317 * All-day recurring events MUST have a DURATION that is in the form P<n>D 318 * Other events MAY have a DURATION in any valid form (we use P<n>M) 363 // For recurring events, set DURATION. Use P<n>D format for all day events 366 cv.put(Events.DURATION, "P" + ((endTime - startTime) / DAYS) + "D"); 369 cv.put(Events.DURATION, "P" + ((endTime - startTime) / MINUTES) + "M"); 714 String duration = cv.getAsString(Events.DURATION); local 1502 Duration duration = new Duration(); local [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/ |
OMX_G711Dec_Utils.c | 88 void sleep(DWORD Duration) 90 Sleep(Duration); [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/ |
OMX_G722Dec_Utils.c | 86 void sleep(DWORD Duration) 88 Sleep(Duration); [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/ |
OMX_Mp3Dec_Utils.c | 92 void sleep(DWORD Duration) 94 Sleep(Duration); [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/ |
OMX_AmrDec_Utils.c | 90 void sleep(DWORD Duration) 92 Sleep(Duration); [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/ |
OMX_WmaDec_Utils.c | 87 void sleep(DWORD Duration) 89 Sleep(Duration); [all...] |