/packages/apps/DeskClock/src/com/android/deskclock/data/ |
TimerDAO.java | 40 /** Key to a preference that stores the id to assign to the next timer. */ 77 // Build a timer using the data associated with each timer id. 79 final int id = Integer.parseInt(timerId); local 80 final int stateValue = prefs.getInt(STATE + id, RESET.getValue()); 86 final long length = prefs.getLong(LENGTH + id, Long.MIN_VALUE); 87 final long totalLength = prefs.getLong(TOTAL_LENGTH + id, Long.MIN_VALUE); 88 final long lastStartTime = prefs.getLong(LAST_START_TIME + id, Timer.UNUSED); 89 final long lastWallClockTime = prefs.getLong(LAST_WALL_CLOCK_TIME + id, 91 final long remainingTime = prefs.getLong(REMAINING_TIME + id, totalLength); 92 final String label = prefs.getString(LABEL + id, null) 109 final int id = prefs.getInt(NEXT_TIMER_ID, 0); local 142 final int id = timer.getId(); local 161 final int id = timer.getId(); local [all...] |
/external/google-breakpad/src/common/mac/ |
GTMLogger.h | 84 // process followed by its process ID/thread ID, the log level at which the 211 id<GTMLogWriter> writer_; 212 id<GTMLogFormatter> formatter_; 213 id<GTMLogFilter> filter_; 224 + (id)sharedLogger; 236 + (id)standardLogger; 239 + (id)standardLoggerWithStderr; 243 + (id)standardLoggerWithStdoutAndStderr; 248 + (id)standardLoggerWithPath:(NSString *)path [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/ |
TextViewActivityMouseTest.java | 85 onView(withId(R.id.textview)).perform(mouseClick()); 86 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); 90 onView(withId(R.id.textview)).perform( 93 onView(withId(R.id.textview)).check(hasSelection("llo wor")); 95 onHandleView(com.android.internal.R.id.selection_start_handle) 97 onHandleView(com.android.internal.R.id.selection_end_handle) 100 onView(withId(R.id.textview)).perform(mouseClickOnTextAtIndex(helloWorld.indexOf("w"))); 101 onView(withId(R.id.textview)).check(hasSelection("")); 109 onView(withId(R.id.textview)).perform(mouseClick()); 110 onView(withId(R.id.textview)).perform(replaceText(helloWorld)) [all...] |
/external/ltp/testcases/kernel/containers/sysvipc/ |
sem_comm.c | 59 int id; local 63 id = semget(TESTKEY, 1, IPC_CREAT); 64 if (id == -1) { 70 if (semctl(id, 0, SETVAL, su) == -1) { 72 semctl(id, 0, IPC_RMID); 82 if (semop(id, &sm, 1) == -1) { 84 semctl(id, 0, IPC_RMID); 92 semop(id, &sm, 1); 94 semctl(id, 0, IPC_RMID); 100 int id, rval = 0 local [all...] |
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/ |
DialpadView.java | 80 private final int[] mButtonIds = new int[] {R.id.zero, R.id.one, R.id.two, R.id.three, 81 R.id.four, R.id.five, R.id.six, R.id.seven, R.id.eight, R.id.nine, R.id.star [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRLookaheadStream.h | 39 id eof; 45 @property (readwrite, retain, getter=getEof, setter=setEof) id eof; 50 - (id) initWithEOF:(id) o; 51 - (id) nextElement; 55 - (id) LT:(NSInteger) i; 56 - (id) LB:(NSInteger) i; 57 - (id) currentSymbol; 64 - (id) getEof; 65 - (void) setEof:(id) anID [all...] |
ANTLRLexer.h | 40 id<ANTLRCharStream> input; ///< The character stream we pull tokens out of. 44 @property (retain, getter=getInput, setter=setInput:) id<ANTLRCharStream> input; 48 - (id) initWithCharStream:(id<ANTLRCharStream>) anInput; 49 - (id) initWithCharStream:(id<ANTLRCharStream>)anInput State:(ANTLRRecognizerSharedState *)state; 51 - (id) copyWithZone:(NSZone *)zone; 58 - (id<ANTLRToken>)getToken; 59 - (void) setToken: (id<ANTLRToken>) aToken; 60 - (id<ANTLRToken>) nextToken [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRLookaheadStream.h | 39 id eof; 45 @property (readwrite, retain, getter=getEof, setter=setEof) id eof; 50 - (id) initWithEOF:(id) o; 51 - (id) nextElement; 55 - (id) LT:(NSInteger) i; 56 - (id) LB:(NSInteger) i; 57 - (id) currentSymbol; 64 - (id) getEof; 65 - (void) setEof:(id) anID [all...] |
ANTLRLexer.h | 40 id<ANTLRCharStream> input; ///< The character stream we pull tokens out of. 44 @property (retain, getter=getInput, setter=setInput:) id<ANTLRCharStream> input; 48 - (id) initWithCharStream:(id<ANTLRCharStream>) anInput; 49 - (id) initWithCharStream:(id<ANTLRCharStream>)anInput State:(ANTLRRecognizerSharedState *)state; 51 - (id) copyWithZone:(NSZone *)zone; 58 - (id<ANTLRToken>)getToken; 59 - (void) setToken: (id<ANTLRToken>) aToken; 60 - (id<ANTLRToken>) nextToken [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRLookaheadStream.h | 39 id eof; 45 @property (readwrite, retain, getter=getEof, setter=setEof) id eof; 50 - (id) initWithEOF:(id) o; 51 - (id) nextElement; 55 - (id) LT:(NSInteger) i; 56 - (id) LB:(NSInteger) i; 57 - (id) currentSymbol; 64 - (id) getEof; 65 - (void) setEof:(id) anID [all...] |
ANTLRLexer.h | 40 id<ANTLRCharStream> input; ///< The character stream we pull tokens out of. 44 @property (retain, getter=getInput, setter=setInput:) id<ANTLRCharStream> input; 48 - (id) initWithCharStream:(id<ANTLRCharStream>) anInput; 49 - (id) initWithCharStream:(id<ANTLRCharStream>)anInput State:(ANTLRRecognizerSharedState *)state; 51 - (id) copyWithZone:(NSZone *)zone; 58 - (id<ANTLRToken>)getToken; 59 - (void) setToken: (id<ANTLRToken>) aToken; 60 - (id<ANTLRToken>) nextToken [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
AMutableDictionary.h | 24 __strong id *ptrBuffer; 33 @property (assign) id *ptrBuffer; 38 - (id) init; 39 - (id) initWithCapacity:(NSUInteger)numItems; 42 - (BOOL) isEqual:(id)object; 43 - (id) objectForKey:(id)aKey; 44 - (void) setObject:(id)obj forKey:(id)aKey; 45 - (void) removeObjectForKey:(id)aKey [all...] |
ANTLRLexer.h | 40 id<ANTLRCharStream> input; ///< The character stream we pull tokens out of. 44 @property (retain, getter=input, setter=setInput:) id<ANTLRCharStream> input; 48 - (id) initWithCharStream:(id<ANTLRCharStream>) anInput; 49 - (id) initWithCharStream:(id<ANTLRCharStream>)anInput State:(ANTLRRecognizerSharedState *)state; 51 - (id) copyWithZone:(NSZone *)zone; 58 - (id<ANTLRToken>)getToken; 59 - (void) setToken: (id<ANTLRToken>) aToken; 60 - (id<ANTLRToken>) nextToken [all...] |
ANTLRPtrBuffer.h | 44 __strong id *ptrBuffer; 51 @property (assign, getter=getPtrBuffer, setter=setPtrBuffer:) id *ptrBuffer; 56 -(id)init; 57 -(id)initWithLen:(NSUInteger)cnt; 61 - (id) copyWithZone:(NSZone *)aZone; 73 - (id *)getPtrBuffer; 74 - (void)setPtrBuffer:(id *)np; 78 - (void) push:(id) v; 79 - (id) pop; 80 - (id) peek [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/ |
RespID.java | 21 ResponderID id; field in class:RespID 24 ResponderID id) 26 this.id = id; 32 this.id = new ResponderID(name); 40 * @throws OCSPException on exception creating ID. 59 this.id = new ResponderID(new DEROctetString(digCalc.getDigest())); 63 throw new OCSPException("problem creating ID: " + e, e); 69 return id; 82 return id.equals(obj.id) [all...] |
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/ |
select_on_container_copy_construction.pass.cpp | 29 assert(a1.outer_allocator().id() == 3); 31 assert(a2.outer_allocator().id() == 3); 37 assert(a1.outer_allocator().id() == 3); 39 assert(a2.outer_allocator().id() == -1); 45 assert(a1.outer_allocator().id() == 1); 46 assert(a1.inner_allocator().outer_allocator().id() == 2); 47 assert(a1.inner_allocator().inner_allocator().outer_allocator().id() == 3); 49 assert(a2.outer_allocator().id() == 1); 50 assert(a2.inner_allocator().outer_allocator().id() == 2); 51 assert(a2.inner_allocator().inner_allocator().outer_allocator().id() == -1) [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowBatteryManager.java | 28 public int getIntProperty(int id) { 29 return intProperties.containsKey(id) ? intProperties.get(id) : Integer.MIN_VALUE; 32 public void setIntProperty(int id, int value) { 33 intProperties.put(id, value); 37 public long getLongProperty(int id) { 38 return longProperties.containsKey(id) ? longProperties.get(id) : Long.MIN_VALUE; 41 public void setLongProperty(int id, long value) { 42 longProperties.put(id, value) [all...] |
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
TaskKeyCache.java | 38 return getCacheEntry(key.id); 46 TaskKey lastKey = mKeys.get(key.id); 51 // LRU cache) or the stack id for the task has changed, invalidate that cache item 58 return getCacheEntry(key.id); 67 mKeys.put(key.id, key); 68 putCacheEntry(key.id, value); 75 removeCacheEntry(key.id); 76 mKeys.remove(key.id); 85 protected abstract V getCacheEntry(int id); 86 protected abstract void putCacheEntry(int id, V value) [all...] |
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/ |
IdGenerator.java | 31 /** The initial id used for JobInfos, Firebase Jobs & and Alarms. */ 34 static final String PREFERENCE_FILE_KEY = "androidx.work.util.id"; 55 int id = nextId(NEXT_JOB_SCHEDULER_ID_KEY); local 56 if (id < minInclusive || id > maxInclusive) { 58 id = minInclusive; 59 update(NEXT_JOB_SCHEDULER_ID_KEY, id + 1); 61 return id; 84 * Returns the next available ID based on a persisted counter. 85 * Resets ID counter to 0 when the ID exceeded {@link Integer#MAX_VALUE} 90 int id = mSharedPrefs.getInt(key, INITIAL_ID); local [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
SettingsShadowResourcesImpl.java | 40 public Drawable loadDrawable(Resources wrapper, TypedValue value, int id, int density, 45 if (id == R.drawable.switchbar_background) { 47 } else if (id == R.drawable.ic_launcher_settings) { 50 id = R.drawable.ic_settings_wireless; 51 } else if (id == R.drawable.app_filter_spinner_background) { 52 id = R.drawable.ic_expand_more_inverse; 53 } else if (id == R.drawable.color_bar_progress 54 || id == R.drawable.ring_progress) { 57 id = android.R.drawable.progress_horizontal; 59 return super.loadDrawable(wrapper, value, id, density, theme) [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
ViewsStateBundle.java | 25 * Maintains a bundle of states for a group of views. Each view must have a unique id to identify 31 * descendant views must have a unique view id or their content will be messed together; no way of 33 * will inevitably have two descendant views with same view id, we also need save the views when 108 * Load view from states, it's none operation if the there is no state associated with the id. 111 * @param id unique id for the view within this ViewsStateBundle 113 public final void loadView(View view, int id) { 114 String key = getSaveStatesKey(id); 125 * @param id unique id for the view within this ViewsStateBundl [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/ |
AnalyticsTimer.java | 52 * Record the current time as the start time of the provided id. If the id has a previously 54 * @param id 56 public void trackStart(String id) { 57 mStartTimes.put(id, SystemClock.uptimeMillis()); 69 * @param id id of the event 75 public void logDuration(String id, boolean isDestructive, String category, String name, 78 logDurationAndReturn(id, isDestructive, category, name, label); 88 public long logDurationAndReturn(String id, boolean isDestructive, String category, String name [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/allocator.adaptor/allocator.adaptor.members/ |
select_on_container_copy_construction.pass.cpp | 29 assert(a1.outer_allocator().id() == 3); 31 assert(a2.outer_allocator().id() == 3); 37 assert(a1.outer_allocator().id() == 3); 39 assert(a2.outer_allocator().id() == -1); 45 assert(a1.outer_allocator().id() == 1); 46 assert(a1.inner_allocator().outer_allocator().id() == 2); 47 assert(a1.inner_allocator().inner_allocator().outer_allocator().id() == 3); 49 assert(a2.outer_allocator().id() == 1); 50 assert(a2.inner_allocator().outer_allocator().id() == 2); 51 assert(a2.inner_allocator().inner_allocator().outer_allocator().id() == -1) [all...] |
/external/ltp/lib/ |
tst_checkpoint.c | 85 int tst_checkpoint_wait(unsigned int id, unsigned int msec_timeout) 89 if (id >= tst_max_futexes) { 97 return syscall(SYS_futex, &tst_futexes[id], FUTEX_WAIT, 98 tst_futexes[id], &timeout); 101 int tst_checkpoint_wake(unsigned int id, unsigned int nr_wake, 106 if (id >= tst_max_futexes) { 112 waked += syscall(SYS_futex, &tst_futexes[id], FUTEX_WAKE, 131 void (*cleanup_fn)(void), unsigned int id, 139 ret = tst_checkpoint_wait(id, msec_timeout); 144 file, lineno, id, msec_timeout) [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
DialogManager.java | 49 public static final boolean isManagedId(int id) { 50 return (id == R.id.dialog_manager_id_1) || (id == R.id.dialog_manager_id_2); 65 * The View needs to have a valid and unique Id. This function modifies the bundle by adding a 77 int dialogId = mUseDialogId2 ? R.id.dialog_manager_id_2 : R.id.dialog_manager_id_1; 83 * This function returns null if the id is not one of the two reserved Ids. 85 public Dialog onCreateDialog(final int id, final Bundle bundle) [all...] |