/external/chromium_org/net/quic/ |
quic_session.cc | 113 // TODO(rch) deal with the error case of stream id 0 180 QuicStreamId id = it->first; local 183 if (stream_map_.find(id) != stream_map_.end()) { 185 CloseStream(id); 211 QuicConsumedData QuicSession::WriteData(QuicStreamId id, 215 return connection_->SendStreamData(id, data, offset, fin); 218 void QuicSession::SendRstStream(QuicStreamId id, 220 connection_->SendRstStream(id, error); 221 CloseStream(id); 243 prematurely_closed_streams_.insert(make_pair(stream->id(), true)) 298 QuicStreamId id = next_stream_id_; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
ScriptedAnimationController.cpp | 66 ScriptedAnimationController::CallbackId id = ++m_nextCallbackId; local 68 callback->m_id = id; 71 InspectorInstrumentation::didRequestAnimationFrame(m_document, id); 75 return id; 78 void ScriptedAnimationController::cancelCallback(CallbackId id) 81 if (m_callbacks[i]->m_id == id) { 83 InspectorInstrumentation::didCancelAnimationFrame(m_document, id);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGDocumentExtensions.h | 52 void addResource(const AtomicString& id, RenderSVGResourceContainer*); 53 void removeResource(const AtomicString& id); 54 RenderSVGResourceContainer* resourceById(const AtomicString& id) const; 94 void addPendingResource(const AtomicString& id, Element*); 95 bool hasPendingResource(const AtomicString& id) const; 97 bool isElementPendingResource(Element*, const AtomicString& id) const; 100 PassOwnPtr<SVGPendingElements> removePendingResource(const AtomicString& id);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/data/rebaselineserver/ |
util.js | 36 function $(id) 38 return document.getElementById(id); 41 function getSelectValue(id) 43 var select = $(id); 78 function toggle(id) 80 var element = $(id); 81 var toggler = $('toggle-' + id);
|
/external/linux-tools-perf/scripts/python/ |
failed-syscalls-by-pid.py | 42 id, ret): 49 syscalls[common_comm][common_pid][id][ret] += 1 51 syscalls[common_comm][common_pid][id][ret] = 1 69 for id in id_keys: 70 print " syscall: %-16s\n" % syscall_name(id), 71 ret_keys = syscalls[comm][pid][id].keys() 72 for ret, val in sorted(syscalls[comm][pid][id].iteritems(), key = lambda(k, v): (v, k), reverse = True):
|
/frameworks/base/core/tests/coretests/src/android/view/ |
SetTagsTest.java | 39 mView = (Button) getActivity().findViewById(R.id.disabledButton); 64 mView.setTag(R.id.a, "2"); 70 mView.setTag(R.id.a, o); 72 final Object stored = mView.getTag(R.id.a); 81 mView.setTag(android.R.id.list, "2"); 85 assertTrue("Setting a tag with a framework id did not throw an exception", result); 96 assertTrue("Setting a tag with an id with no package did not throw an exception", result); 101 mView.setTagInternal(android.R.id.list, "2"); 108 mView.setTagInternal(R.id.a, "2"); 112 assertTrue("Setting a tag with an id with app package did not throw an exception", result) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
RequestRectangleVisible.java | 44 final View childToMakeVisible = findViewById(R.id.childToMakeVisible); 46 final TextView topBlob = (TextView) findViewById(R.id.topBlob); 47 final TextView bottomBlob = (TextView) findViewById(R.id.bottomBlob); 58 findViewById(R.id.scrollToRectFromTop).setOnClickListener(new View.OnClickListener() { 66 findViewById(R.id.scrollToRectFromTop2).setOnClickListener(new View.OnClickListener() { 74 findViewById(R.id.scrollToRectFromBottom).setOnClickListener(new View.OnClickListener() { 82 findViewById(R.id.scrollToRectFromBottom2).setOnClickListener(new View.OnClickListener() {
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
Demo4.java | 41 View container = (View) findViewById(R.id.container); 49 fade.addTarget(R.id.resultsText).addTarget(R.id.resultsList); 53 addTransition(new ChangeBounds().addTarget(R.id.searchContainer)). 54 addTransition(new Recolor().addTarget(R.id.container)); 58 addTransition(new ChangeBounds().addTarget(R.id.searchContainer)). 59 addTransition(new Recolor().addTarget(R.id.container));
|
FadingTest.java | 37 sFade.addTarget(R.id.removingButton).addTarget(R.id.invisibleButton). 38 addTarget(R.id.goneButton); 46 View container = (View) findViewById(R.id.container); 50 mRemovingButton = (Button) findViewById(R.id.removingButton); 51 mInvisibleButton = (Button) findViewById(R.id.invisibleButton); 52 mGoneButton = (Button) findViewById(R.id.goneButton);
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerObj.java | 43 public int mTimerId; // Unique id 86 String id = Integer.toString(mTimerId); local 88 key = PREF_START_TIME + id; 90 key = PREF_TIME_LEFT + id; 92 key = PREF_ORIGINAL_TIME + id; 94 key = PREF_SETUP_TIME + id; 96 key = PREF_STATE + id; 99 timersList.add(id); 101 key = PREF_LABEL + id; 103 key = PREF_DELETE_AFTER_USE + id; 110 String id = Integer.toString(mTimerId); local 130 String id = Integer.toString(mTimerId); local 294 int id = Integer.parseInt((String)timerStrings[i]); local [all...] |
/packages/apps/Dialer/src/com/android/dialer/interactions/ |
UndemoteOutgoingCallReceiver.java | 44 final long id = getContactIdFromPhoneNumber(context, number); local 45 if (id != NO_CONTACT_FOUND) { 49 undemoteContactWithId(context, id); 57 private void undemoteContactWithId(Context context, long id) { 59 cv.put(String.valueOf(id), PinnedPositions.UNDEMOTE); 73 final long id = cursor.getLong(0); local 74 return id;
|
/bionic/libc/bionic/ |
pthread-timers.c | 66 // A SIGEV_THREAD timer ID will always have its TIMER_ID_WRAP_BIT 73 #define TIMER_ID_WRAP(id) ((timer_t)((id) | TIMER_ID_WRAP_BIT)) 74 #define TIMER_ID_UNWRAP(id) ((timer_t)((id) & ~TIMER_ID_WRAP_BIT)) 75 #define TIMER_ID_IS_WRAPPED(id) (((id) & TIMER_ID_WRAP_BIT) != 0) 84 /* True iff a timer id is valid */ 85 #define TIMER_ID_IS_VALID(id) ((id) != TIMER_ID_NONE 99 timer_t id; \/* TIMER_ID_NONE iff free or dying *\/ member in struct:thr_timer [all...] |
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
chrome_launcher_controller_per_app.cc | 93 return base::Int64ToString(display.id()); 309 // We are using the launcher id only for addressing purposes to make the 313 ash::LauncherID id = model_->reserve_external_id(); local 314 CHECK(!HasItemController(id)); 319 id_to_item_controller_map_[id] = controller; 320 controller->set_launcher_id(id); 321 return id; 345 ash::LauncherID id, 347 int index = model_->ItemIndexByID(id); 362 ash::LauncherID id, 467 ash::LauncherID id = GetLauncherIDForAppID(app_id); local 480 ash::LauncherID id = GetLauncherIDForAppID(app_id); local 547 ash::LauncherID id = GetLauncherIDForAppID(app_id); local 729 ash::LauncherID id = model_->items()[i].id; local 806 ash::LauncherID id = GetLauncherIDForAppID(app_id); local 860 ash::LauncherID id = GetLauncherIDForAppID(app_id); local 1013 ash::LauncherID id = model_->items()[target_index].id; local 1021 ash::LauncherID id = model_->items()[index].id; local 1050 const std::string& id = extension->id(); local 1149 ash::LauncherID id = GetLauncherIDForAppID(app_id); local 1164 ash::LauncherID id = GetLauncherIDForAppID(app_id); local 1187 ash::LauncherID id = GetLauncherIDForAppID(kGmailAppId); local 1549 ash::LauncherID id = model_->next_id(); local 1614 ash::LauncherID id = CreateBrowserShortcutLauncherItem(); local 1626 ash::LauncherID id = model_->next_id(); local [all...] |
/cts/tests/src/android/app/cts/ |
LocalActivityManagerTestHelper.java | 89 final String id = "id_remove_activity"; local 92 mLocalActivityManager.startActivity(id, intent); 94 Activity activity = mLocalActivityManager.getActivity(id); 107 activity = mLocalActivityManager.getActivity(id); 159 final String id = "id_dispatch_pause"; local 162 mLocalActivityManager.startActivity(id, intent); 178 final String id = "id_dispatch_pause"; local 181 mLocalActivityManager.startActivity(id, intent); 192 final String id = "id_dispatch_pause"; local 195 mLocalActivityManager.startActivity(id, intent) 206 final String id = "id_dispatch_stop"; local 227 final String id = "id"; local 266 final String id = "_id_resume_test"; local [all...] |
/external/chromium_org/chrome/browser/geolocation/ |
chrome_geolocation_permission_context.cc | 64 const PermissionRequestID id(render_process_id, render_view_id, 76 if (extension_service->process_map()->Contains(extension->id(), 77 id.render_process_id())) { 78 NotifyPermissionSet(id, requesting_frame, callback, true); 91 << id.ToString() 93 NotifyPermissionSet(id, requesting_frame, callback, false); 102 NotifyPermissionSet(id, requesting_frame, callback, false); 106 DecidePermission(id, requesting_frame, embedder, callback); 119 const PermissionRequestID& id, 131 PermissionDecided(id, requesting_frame, embedder, callback, false) [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
AttachmentEditor.java | 152 R.id.image_attachment_view_stub, 153 R.id.image_attachment_view, 154 R.id.view_image_button, R.id.replace_image_button, R.id.remove_image_button, 158 R.id.video_attachment_view_stub, 159 R.id.video_attachment_view, 160 R.id.view_video_button, R.id.replace_video_button, R.id.remove_video_button [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoStore.java | 122 putEntry(entry.id, entry); 165 * @return The photo file ID associated with the file, or 0 if the file could not be created or 179 * @return The photo file ID associated with the file, or 0 if the file could not be created or 204 long id = mDb.insert(Tables.PHOTO_FILES, null, values); local 205 if (id != 0) { 207 File target = getFileForPhotoFileId(id); 210 putEntry(entry.id, entry); 211 return id; 236 public void remove(long id) { 237 cleanupFile(getFileForPhotoFileId(id)); 279 public final long id; field in class:PhotoStore.Entry [all...] |
/external/chromium_org/chrome/browser/extensions/ |
menu_manager_unittest.cc | 62 MenuItem::Id id(incognito, extension->id()); 63 id.uid = next_id_++; 64 return new MenuItem(id, "test", false, true, type, contexts); 67 // Returns a test item with the given string ID. 72 MenuItem::Id id(false, extension->id()); 73 id.string_uid = string_id 569 MenuItem::Id id = item->id(); local [all...] |
/bootable/recovery/minadbd/ |
sockets.c | 62 asocket *find_local_socket(unsigned id) 69 if (s->id == id) { 93 s->id = local_socket_next_id++; 108 s->id = 0; 132 D("LS(%d): enqueue %d\n", s->id, p->len); 155 D( "LS(%d): not ready, errno=%d: %s\n", s->id, errno, strerror(errno) ); 188 // D("LS(%d): ready()\n", s->id); 202 D("LS(%d): destroying fde.fd=%d\n", s->id, s->fde.fd); 211 D("LS(%d): discarding %d bytes\n", s->id, p->len) 240 int id = s->id; local [all...] |
/external/chromium_org/ash/touch/ |
touch_observer_hud_unittest.cc | 88 DCHECK_EQ(internal_display_id_, display_info_list_[0].id()); 89 DCHECK_EQ(external_display_id_, display_info_list_[1].id()); 96 DCHECK_EQ(internal_display_id_, display_info_list_[0].id()); 97 DCHECK_EQ(mirrored_display_id_, display_info_list_[1].id()); 104 DCHECK_EQ(internal_display_id_, display_info_list_[0].id()); 186 return GetDisplayController()->GetRootWindowForDisplayId(display.id()); 191 return GetDisplayController()->GetRootWindowForDisplayId(display.id()); 230 DisplayInfo CreateDisplayInfo(int64 id, const gfx::Rect& bounds) { 231 DisplayInfo info(id, base::StringPrintf("x-%" PRId64, id), false) [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/tabs/inspector/ |
tabs_api.js | 13 currentWindowId = currentWindow.id; 15 focusedWindowId = focusedWindow.id; 30 windowList[i].current = (windowList[i].id == currentWindowId); 31 windowList[i].focused = (windowList[i].id == focusedWindowId); 34 tabIds[tabIds.length] = windowList[i].tabs[j].id; 35 tabs[windowList[i].tabs[j].id] = windowList[i].tabs[j]; 45 function updateTabData(id) { 47 url: document.getElementById('url_' + id).value, 48 selected: document.getElementById('selected_' + id).value ? true : false 54 function updateTab(id){ [all...] |
/external/chromium/chrome/browser/history/ |
in_memory_history_backend.cc | 25 // If a page becomes starred we use this id in place of the real starred id. 127 // have Sync(), which would take the ID if it's given and add it. 131 URLID id = db_->GetRowForURL(i->url(), NULL); local 132 if (id) 133 db_->UpdateURLRow(id, *i); 135 id = db_->AddURL(*i); 137 index_->UpdateURL(id, *i); 158 URLID id = db_->GetRowForURL(*i, NULL); local 159 if (id) { 193 URLID id = db_->GetRowForURL(url, NULL); local [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
command_buffer_service.cc | 130 int32* id) { 131 *id = -1; 138 *id = next_id++; 140 if (!RegisterTransferBuffer(*id, &buffer, size)) { 141 *id = -1; 145 return GetTransferBuffer(*id); 148 void CommandBufferService::DestroyTransferBuffer(int32 id) { 149 transfer_buffer_manager_->DestroyTransferBuffer(id); 150 if (id == ring_buffer_id_) { 159 Buffer CommandBufferService::GetTransferBuffer(int32 id) { [all...] |
/external/chromium_org/ui/webui/resources/js/ |
load_time_data.js | 32 * @return {boolean} True if |id| is a key in the dictionary. 34 valueExists: function(id) { 35 return id in this.data_; 40 * @param {string} id The key that identifies the desired value. 43 getValue: function(id) { 45 var value = this.data_[id]; 46 expect(typeof value != 'undefined', 'Could not find value for ' + id); 52 * @param {string} id The key that identifies the desired string. 55 getString: function(id) { 56 var value = this.getValue(id); [all...] |
/external/icu4c/i18n/unicode/ |
timezone.h | 61 * with a time zone ID. For instance, the time zone ID for the US Pacific 71 * if a time zone ID is supported or not. You can then choose a 72 * supported ID to get a <code>TimeZone</code>. 74 * supported IDs, then you can create a custom time zone ID with 84 * time zone ID. The <code>TimeZone</code> that is returned 85 * when you specify a custom time zone ID uses the specified 88 * time zone ID to create a TimeZone representing 14 hours ahead 91 * normalize a custom time zone ID. 103 * <li>An ID. This is a text string that uniquely identifies the time zone.</li [all...] |