/frameworks/base/libs/ui/ |
H A D | PixelFormat.cpp | 36 PixelFormatInfo info; local 37 status_t err = getPixelFormatInfo(format, &info); 38 return (err < 0) ? err : info.bytesPerPixel; 43 PixelFormatInfo info; local 44 status_t err = getPixelFormatInfo(format, &info); 45 return (err < 0) ? err : info.bitsPerPixel; 48 status_t getPixelFormatInfo(PixelFormat format, PixelFormatInfo* info) argument 53 if (info->version != sizeof(PixelFormatInfo)) 64 case GGL_##name: info->components = PixelFormatInfo::name; break; 81 info [all...] |
H A D | EGLNativeWindowSurface.cpp | 109 Surface::SurfaceInfo info; local 111 surface->lock(&info); 113 egl_native_window_t::base = intptr_t(info.base); 114 egl_native_window_t::offset = intptr_t(info.bits) - intptr_t(info.base); 117 if (w != int(info.w) || h != int(info.h)) { 118 egl_native_window_t::width = info.w; 119 egl_native_window_t::height = info.h; 120 egl_native_window_t::stride = info 130 Surface::SurfaceInfo info; local [all...] |
H A D | EGLDisplaySurface.cpp | 375 struct fb_var_screeninfo info; local 376 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) 379 info.reserved[0] = 0; 380 info.reserved[1] = 0; 381 info.reserved[2] = 0; 382 info.xoffset = 0; 383 info.yoffset = 0; 384 info.yres_virtual = info.yres * 2; 385 info [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CallerInfo.java | 120 CallerInfo info = new CallerInfo(); 121 info.photoResource = 0; 122 info.phoneLabel = null; 123 info.numberType = 0; 124 info.numberLabel = null; 125 info.cachedPhoto = null; 126 info.isCachedPhotoCurrent = false; 127 info.contactExists = false; 139 info.name = cursor.getString(columnIndex); 145 info [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | IAccessibilityServiceConnection.aidl | 29 void setServiceInfo(in AccessibilityServiceInfo info);
|
H A D | AccessibilityServiceInfo.java | 132 AccessibilityServiceInfo info = new AccessibilityServiceInfo(); 133 info.eventTypes = parcel.readInt(); 134 info.packageNames = parcel.readStringArray(); 135 info.feedbackType = parcel.readInt(); 136 info.notificationTimeout = parcel.readLong(); 137 info.flags = parcel.readInt(); 138 return info;
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ContentProviderRecord.java | 45 super(cpr.info); 52 return (info.multiprocess || info.processName.equals(app.processName)) 53 && (uid == Process.SYSTEM_UID || uid == app.info.uid); 58 pw.print(info.applicationInfo.packageName); 59 pw.print("process="); pw.println(info.processName); 66 pw.print(prefix); pw.print("name="); pw.println(info.authority); 67 if (info.isSyncable || info.multiprocess || info [all...] |
H A D | TaskRecord.java | 41 TaskRecord(int _taskId, ActivityInfo info, Intent _intent, argument 44 affinity = info.taskAffinity; 46 setIntent(_intent, info); 57 void setIntent(Intent _intent, ActivityInfo info) { argument 60 if (info.targetActivity == null) { 66 info.packageName, info.targetActivity); 76 origActivity = new ComponentName(info.packageName, info.name);
|
/frameworks/base/core/java/android/net/ |
H A D | DhcpInfo.java | 81 DhcpInfo info = new DhcpInfo(); 82 info.ipAddress = in.readInt(); 83 info.gateway = in.readInt(); 84 info.netmask = in.readInt(); 85 info.dns1 = in.readInt(); 86 info.dns2 = in.readInt(); 87 info.serverAddress = in.readInt(); 88 info.leaseDuration = in.readInt(); 89 return info;
|
/frameworks/base/awt/java/awt/ |
H A D | MouseDispatcher.java | 108 PointerInfo info = new PointerInfo(src, event.getLocalPos()); 111 findEventSource(info); 115 dispatchButtonEvent(info, event); 119 dispatchMotionEvent(info, event); 128 // PointerInfo info = findComponentUnderPointer(); 130 // propagateEvent(info, AWTEvent.MOUSE_EVENT_MASK, 134 // Point pos = info.position; 189 // PointerInfo info = new PointerInfo(window, pointerPos); 191 // fall2Child(info); 193 // return info; 202 findEventSource(PointerInfo info) argument 254 dispatchButtonEvent(PointerInfo info, NativeEvent event) argument 303 deltaExceeded(int index, PointerInfo info) argument 312 dispatchMotionEvent(PointerInfo info, NativeEvent event) argument 371 propagateEvent(PointerInfo info, long mask, Class<? extends EventListener> type, boolean pierceHW) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | ConnectivityService.java | 232 * @return the info for the active network, or {@code null} if none is active 237 NetworkInfo info = t.getNetworkInfo(); 238 if (info.isConnected()) { 239 return info; 389 * @param info the {@code NetworkInfo} for the network 391 private void handleDisconnect(NetworkInfo info) { argument 393 if (DBG) Log.v(TAG, "Handle DISCONNECT for " + info.getTypeName()); 395 mNetTrackers[info.getType()].setTeardownRequested(false); 402 if (mActiveNetwork == null || info.getType() != mActiveNetwork.getNetworkInfo().getType()) 406 if (info 469 sendConnectedBroadcast(NetworkInfo info) argument 489 handleConnectionFailure(NetworkInfo info) argument 522 handleConnect(NetworkInfo info) argument 577 handleScanResultsAvailable(NetworkInfo info) argument [all...] |
/frameworks/base/libs/surfaceflinger/ |
H A D | LayerBitmap.cpp | 72 PixelFormatInfo info; local 73 getPixelFormatInfo(format, &info); 77 const uint32_t Bpp = info.bytesPerPixel; 80 size_t size = info.getScanlineSize(stride) * h; 144 status_t LayerBitmap::getInfo(surface_info_t* info) const 147 memset(info, 0, sizeof(surface_info_t)); 148 info->bits_offset = NO_MEMORY; 151 info->w = uint16_t(width()); 152 info->h = uint16_t(height()); 153 info [all...] |
/frameworks/base/test-runner/android/test/ |
H A D | ClassPathPackageInfo.java | 46 Set<ClassPathPackageInfo> info = Sets.newHashSet(); 48 info.add(source.getPackageInfo(name)); 50 return info; 61 for (ClassPathPackageInfo info : getSubpackages()) { 62 info.addTopLevelClassesTo(set);
|
/frameworks/base/tests/DumpRenderTree/assets/ |
H A D | run_page_cycler.py | 44 logging.info("Running the test ...") 67 logging.info(adb_output); 68 logging.info(adb_error); 69 logging.info("Done\n"); 82 logging.info(adb_output) 84 logging.info("Results are stored under: " + results_dir + "/load_test_result.txt\n")
|
H A D | run_layout_tests.py | 106 logging.info(marker + " >>> " + str(params["new"][0]) + " new, " + 123 logging.info("Comparing results to " + ref_dir) 135 logging.info("Detailed diffs are in " + diff_result) 164 logging.info("Generating test list."); 169 logging.info("Aborting because cannot generate test list.\n" + adb_output) 173 logging.info("Running tests") 202 logging.info(crashed_test + " CRASHED"); 205 logging.info("Resuming layout test runner..."); 216 logging.info("Done\n"); 241 logging.info(st [all...] |
/frameworks/base/core/java/com/android/internal/appwidget/ |
H A D | IAppWidgetHost.aidl | 26 void providerChanged(int appWidgetId, in AppWidgetProviderInfo info);
|
/frameworks/base/core/jni/ |
H A D | android_graphics_PixelFormat.cpp | 50 PixelFormatInfo info; local 51 status_t err = getPixelFormatInfo(format, &info); 56 env->SetIntField(pixelFormatObject, offsets.bytesPerPixel, info.bytesPerPixel); 57 env->SetIntField(pixelFormatObject, offsets.bitsPerPixel, info.bitsPerPixel);
|
H A D | android_view_Display.cpp | 55 DisplayInfo info; local 56 status_t err = SurfaceComposerClient::getDisplayInfo(DisplayID(dpy), &info); 61 env->SetIntField(clazz, offsets.pixelFormat,info.pixelFormatInfo.format); 62 env->SetFloatField(clazz, offsets.fps, info.fps); 63 env->SetFloatField(clazz, offsets.density, info.density); 64 env->SetFloatField(clazz, offsets.xdpi, info.xdpi); 65 env->SetFloatField(clazz, offsets.ydpi, info.ydpi);
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetManager.java | 293 * Get the available info about the AppWidget. 300 AppWidgetProviderInfo info = sService.getAppWidgetInfo(appWidgetId); 301 if (info != null) { 303 info.minWidth = 304 TypedValue.complexToDimensionPixelSize(info.minWidth, mDisplayMetrics); 305 info.minHeight = 306 TypedValue.complexToDimensionPixelSize(info.minHeight, mDisplayMetrics); 308 return info;
|
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/activity/ |
H A D | ActivityManagerTest.java | 119 ActivityManager.ProcessErrorStateInfo info = iter.next(); 120 assertNotNull(info); 122 assertTrue((info.condition == ActivityManager.ProcessErrorStateInfo.CRASHED) || 123 (info.condition == ActivityManager.ProcessErrorStateInfo.NOT_RESPONDING)); 127 assertNotNull(info.processName); 128 // reasonableness test for info.pid ? 129 assertNotNull(info.longMsg); 130 assertNotNull(info.shortMsg);
|
/frameworks/base/opengl/libs/EGL/ |
H A D | gpu.cpp | 110 ISurfaceComposer::gpu_info_t info; local 115 status_t err = server->requestGPU(gRevokerCallback, &info); 121 if (info.regs == 0) { 130 if (info.regs != 0) { 131 sp<IMemoryHeap> heap(info.regs->getMemory()); 135 gpu->regs.base = info.regs->pointer(); 136 gpu->regs.size = info.regs->size(); 137 gpu->regs.user = info.regs.get(); 143 info.regs->incStrong(gpu); 145 LOGE("GPU register handle %p is invalid!", info [all...] |
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/ |
H A D | ComponentTest.java | 143 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); 144 assertNull(info); 159 final ResolveInfo info = mPackageManager.resolveActivity(mEnabledActivityIntent, 0); 160 assertNotNull(info); 161 assertNotNull(info); 162 assertNotNull(info.activityInfo); 163 assertTrue(info.activityInfo.enabled); 180 final ResolveInfo info = infoList2.get(0); 181 assertNotNull(info); 182 assertNotNull(info [all...] |
/frameworks/base/libs/utils/ |
H A D | IMemory.cpp | 398 heap_info_t& info = mHeapCache.editValueAt(i); local 401 binder.get(), info.heap.get(), 402 static_cast<BpMemoryHeap*>(info.heap.get())->mSize, 403 static_cast<BpMemoryHeap*>(info.heap.get())->mHeapId, 404 info.count); 405 android_atomic_inc(&info.count); 406 return info.heap; 408 heap_info_t info; local 409 info.heap = interface_cast<IMemoryHeap>(binder); 410 info 475 const heap_info_t& info = mHeapCache.valueAt(i); local [all...] |
/frameworks/base/cmds/runtime/ |
H A D | SignalHandler.cpp | 68 ssize_t i = mOwner.mChildHandlers.indexOfKey(entry.info.si_pid); 76 LOGD("SIGCHLD: pid=%d, handle index=%d", entry.info.si_pid, i); 79 int res = waitpid(entry.info.si_pid, NULL, WNOHANG); 82 entry.info.si_pid); 84 ch.handler(entry.info.si_pid, ch.userData); 87 LOGW("Unhandled SIGCHLD for pid %d", entry.info.si_pid); 197 void SignalHandler::sigAction(int signum, siginfo_t* info, void*) argument 210 info->si_signo, info->si_errno, info [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/font/ |
H A D | TextRunSegmentImpl.java | 86 TextSegmentInfo info; field in class:TextRunSegmentImpl.TextRunSegmentCommon 90 private GlyphJustificationInfo gjis[]; // Glyph justification info 100 info = i; 115 return new TextRunSegmentCommon(info, decoration); 124 gv = info.font.layoutGlyphVector( 125 info.frc, 126 info.text, 127 info.start, 128 info.end - info [all...] |