/system/core/run-as/ |
run-as.c | 106 PackageInfo info; local 120 if (get_package_info(pkgname, &info) < 0) { 126 if (info.uid < AID_APP) { 132 if (!info.isDebuggable) { 138 if (check_data_path(info.dataDir, info.uid) < 0) { 147 ret = chdir(info.dataDir); 159 uid = gid = info.uid;
|
/system/extras/ext4_utils/ |
extent.c | 43 len = min(region_len * info.block_size, backing_len); 65 len = min(region_len * info.block_size, backing_len); 76 u32 block_len = DIV_ROUND_UP(len, info.block_size); 122 u8 *data = calloc(info.block_size, 1); 126 queue_data_block(data, info.block_size, extent_block); 128 if (((int)(info.block_size - sizeof(struct ext4_extent_header) / 138 hdr->eh_max = (info.block_size - sizeof(struct ext4_extent_header)) / 162 blocks = (u64)block_len * info.block_size / 512;
|
/development/tools/yuv420sp2rgb/ |
yuv420sp2rgb.c | 229 INFO("Opening input file %s\n", infile); 234 INFO("Opening output file %s\n", outfile); 239 INFO("Memory-mapping input file %s\n", infile); 244 INFO("Truncating output file %s to %d bytes\n", outfile, outsize); 249 INFO("Memory mapping output file %s\n", outfile); 254 INFO("PPM header (%d) bytes:\n%s\n", header_size, header); 259 INFO("Converting %dx%d YUV 4:2:0 to RGB24...\n", width, height); 313 INFO("input file: [%s]\n", infile); 314 INFO("output file: [%s]\n", outfile); 315 INFO("height: %d\n", height) [all...] |
/device/samsung/crespo/alsa-lib/src/control/ |
control_hw.c | 122 static int snd_ctl_hw_card_info(snd_ctl_t *handle, snd_ctl_card_info_t *info) 125 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_CARD_INFO, info) < 0) { 140 static int snd_ctl_hw_elem_info(snd_ctl_t *handle, snd_ctl_elem_info_t *info) 143 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_ELEM_INFO, info) < 0) 148 static int snd_ctl_hw_elem_add(snd_ctl_t *handle, snd_ctl_elem_info_t *info) 151 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_ELEM_ADD, info) < 0) 156 static int snd_ctl_hw_elem_replace(snd_ctl_t *handle, snd_ctl_elem_info_t *info) 159 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_ELEM_REPLACE, info) < 0) 249 static int snd_ctl_hw_hwdep_info(snd_ctl_t *handle, snd_hwdep_info_t * info) 252 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_HWDEP_INFO, info) < 0 [all...] |
/device/samsung/crespo/alsa-lib/src/pcm/ |
pcm_null.c | 67 static int snd_pcm_null_info(snd_pcm_t *pcm, snd_pcm_info_t * info) 69 memset(info, 0, sizeof(*info)); 70 info->stream = pcm->stream; 71 info->card = -1; 73 strncpy((char *)info->id, pcm->name, sizeof(info->id)); 74 strncpy((char *)info->name, pcm->name, sizeof(info->name)); 75 strncpy((char *)info->subname, pcm->name, sizeof(info->subname)) [all...] |
/external/qemu/audio/ |
esdaudio.c | 124 int chunkBytes = chunkSamples << hw->info.shift; 143 writeSamples = nwrite >> hw->info.shift; 144 writeBytes = writeSamples << hw->info.shift; 148 nwrite, writeBytes, hw->info.align + 1); 201 audio_pcm_init_info (&hw->info, &obt_as); 204 esd->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); 207 hw->samples << hw->info.shift); 278 int chunkBytes = chunkSamples << hw->info.shift; 296 readSamples = nread >> hw->info.shift; 297 readBytes = readSamples << hw->info.shift [all...] |
/external/qemu/hw/ |
qdev.c | 45 DeviceInfo *info; member in struct:DeviceType 55 void qdev_register(DeviceInfo *info) 59 assert(info->size >= sizeof(DeviceState)); 64 t->info = info; 76 if (strcmp(t->info->name, name) == 0) { 84 dev = qemu_mallocz(t->info->size); 95 if (t->info->bus_type != bus->type) { 98 t->info->bus_type, bus->type); 110 dev->type->info->init(dev, dev->type->info) [all...] |
/libcore/luni/src/main/java/java/net/ |
Authenticator.java | 25 * getPasswordAuthentication()} which dictates how the authentication info is 42 // the requester connection info 123 * authenticator to get the authentication info. 125 * @return password authentication info or {@code null} if no authenticator 151 // set the requester info so it knows what it is requesting 160 // returns the authentication info obtained by the registered 188 * authenticator to get the authentication info. 190 * @return password authentication info or {@code null} if no authenticator 218 // set the requester info so it knows what it is requesting 228 // returns the authentication info obtained by the registere [all...] |
/cts/tests/accessibilityservice/src/android/accessibilityservice/delegate/ |
DelegatingAccessibilityService.java | 67 AccessibilityServiceInfo info = new AccessibilityServiceInfo(); local 68 info.eventTypes = AccessibilityEvent.TYPES_ALL_MASK; 69 info.feedbackType = AccessibilityServiceInfo.FEEDBACK_GENERIC; 70 info.packageNames = new String[] { 73 setServiceInfo(info);
|
/development/host/windows/usb/api/ |
adb_interface_enum.h | 45 This routine uses SetupDiGetClassDevs to get our device info and calls
63 @param[out] info Upon successful completion will receive interface
67 addressed by info param. On the way out (only if buffer is not
72 in info param was not big enough and *size specifies memory size
76 bool Next(AdbInterfaceInfo* info, ULONG* size);
|
/development/ide/xcode/ports/ |
SkBitmap_Mac.cpp | 70 CGBitmapInfo info; local 83 info = kCGImageAlphaPremultipliedLast; 88 info = kCGImageAlphaPremultipliedLast | kCGBitmapByteOrder16Little; 94 info = kCGImageAlphaNone | kCGBitmapByteOrder16Little; 102 bm.rowBytes(), cs, info, data,
|
/development/samples/ApiDemos/src/com/example/android/apis/ |
ApiDemos.java | 80 ResolveInfo info = list.get(i); local 81 CharSequence labelSeq = info.loadLabel(pm); 84 : info.activityInfo.name; 94 info.activityInfo.applicationInfo.packageName, 95 info.activityInfo.name));
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JCEDHPrivateKey.java | 53 PrivateKeyInfo info) 55 DHParameter params = new DHParameter((ASN1Sequence)info.getAlgorithmId().getParameters()); 56 DERInteger derX = (DERInteger)info.getPrivateKey(); 99 PrivateKeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.dhKeyAgreement, new DHParameter(dhSpec.getP(), dhSpec.getG(), dhSpec.getL()).getDERObject()), new DERInteger(getX())); local 101 return info.getDEREncoded();
|
JDKDSAPrivateKey.java | 53 PrivateKeyInfo info) 55 DSAParameter params = new DSAParameter((ASN1Sequence)info.getAlgorithmId().getParameters()); 56 DERInteger derX = (DERInteger)info.getPrivateKey(); 92 PrivateKeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG()).getDERObject()), new DERInteger(getX())); local 94 return info.getDEREncoded();
|
JDKDSAPublicKey.java | 60 SubjectPublicKeyInfo info) 67 derY = (DERInteger)info.getPublicKey(); 71 throw new IllegalArgumentException("invalid info structure in DSA public key"); 76 if (isNotNull(info.getAlgorithmId().getParameters())) 78 DSAParameter params = new DSAParameter((ASN1Sequence)info.getAlgorithmId().getParameters());
|
/external/chromium/third_party/icu/source/tools/ctestfw/unicode/ |
testdata.h | 25 * the TestDataModule info section. The default headers will be overriden 60 * @param info pass in a const DataMap pointer. If no info, it will be set to NULL 62 virtual UBool getInfo(const DataMap *& info, UErrorCode &status) const = 0; 104 virtual UBool getInfo(const DataMap *& info, UErrorCode &status) const;
|
/external/icu4c/tools/ctestfw/unicode/ |
testdata.h | 25 * the TestDataModule info section. The default headers will be overriden 60 * @param info pass in a const DataMap pointer. If no info, it will be set to NULL 62 virtual UBool getInfo(const DataMap *& info, UErrorCode &status) const = 0; 104 virtual UBool getInfo(const DataMap *& info, UErrorCode &status) const;
|
/external/kernel-headers/original/asm-x86/ |
smp_32.h | 66 void (*func)(void *info), void *info, 98 void (*func) (void *info), void *info, 101 return smp_ops.smp_call_function_mask(mask, func, info, wait);
|
/external/kernel-headers/original/linux/netfilter/ |
nf_conntrack_common.h | 101 /* Update of protocol info */ 105 /* Volatile protocol info */ 113 /* Update of helper info */ 117 /* Volatile helper info */ 121 /* NAT info */
|
/external/kernel-headers/original/linux/ |
serial_core.h | 234 struct uart_info *info; /* pointer to parent info */ member in struct:uart_port 293 struct uart_info *info; member in struct:uart_state 315 * Definitions for info->flags. These are _private_ to serial_core, and 405 ((port)->info->tty->stopped || (port)->info->tty->hw_stopped) 435 struct uart_info *info = port->info; local 446 do_SAK(info->tty); 458 struct uart_info *info = port->info local 483 struct uart_info *info = port->info; local [all...] |
/external/skia/src/utils/mac/ |
SkBitmap_Mac.cpp | 70 CGBitmapInfo info; local 83 info = kCGImageAlphaPremultipliedLast; 88 info = kCGImageAlphaPremultipliedLast | kCGBitmapByteOrder16Little; 94 info = kCGImageAlphaNone | kCGBitmapByteOrder16Little; 102 bm.rowBytes(), cs, info, data,
|
/external/webkit/WebCore/platform/network/cf/ |
SocketStreamHandleCFNet.cpp | 128 MainThreadPACCallbackInfo info(handle, proxyList); 130 callOnMainThreadAndWait(pacExecutionCallbackMainThread, &info); 135 MainThreadPACCallbackInfo* info = static_cast<MainThreadPACCallbackInfo*>(invocation); local 136 ASSERT(info->handle->m_connectingSubstate == ExecutingPACFile); 138 info->handle->chooseProxyFromArray(info->proxyList); 139 info->handle->createStreams(); 140 info->handle->scheduleStreams(); 429 CFStringRef SocketStreamHandle::copyCFStreamDescription(void* info) 431 SocketStreamHandle* handle = static_cast<SocketStreamHandle*>(info); 470 MainThreadEventCallbackInfo* info = static_cast<MainThreadEventCallbackInfo*>(invocation); local 476 MainThreadEventCallbackInfo* info = static_cast<MainThreadEventCallbackInfo*>(invocation); local [all...] |
/external/webkit/WebCore/rendering/ |
SVGMarkerLayoutInfo.cpp | 47 SVGMarkerLayoutInfo& info = *reinterpret_cast<SVGMarkerLayoutInfo*>(infoPtr); local 48 SVGMarkerData& markerData = info.markerData(); 49 int& elementIndex = info.elementIndex(); 57 info.addLayoutedMarker(marker, markerData.origin(), markerData.currentAngle()); 64 markerData.updateTypeAndMarker(SVGMarkerData::Mid, info.midMarker());
|
/external/webkit/WebCore/svg/graphics/ |
SVGResourceMarker.cpp | 75 RenderObject::PaintInfo info(paintInfo); 76 info.context->save(); 77 applyTransformToPaintInfo(info, transform); 79 m_renderer->paint(info, 0, 0); 81 info.context->restore();
|
/external/webkit/WebKit/gtk/WebCoreSupport/ |
PasteboardHelperGtk.cpp | 83 static void fillSelectionData(GtkSelectionData* selectionData, guint info, DataObjectGtk* dataObject) 85 if (info == WEBKIT_WEB_VIEW_TARGET_INFO_TEXT) 87 else if (info == WEBKIT_WEB_VIEW_TARGET_INFO_HTML) { 110 static void getClipboardContentsCallback(GtkClipboard* clipboard, GtkSelectionData *selectionData, guint info, gpointer data) 114 fillSelectionData(selectionData, info, dataObject);
|