/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationRecord.java | 281 public boolean isAudioStream(int stream) { argument 282 return getNotification().audioStreamType == stream;
|
/frameworks/rs/ |
H A D | rsProgramVertex.cpp | 151 void ProgramVertex::serialize(Context *rsc, OStream *stream) const { 154 ProgramVertex *ProgramVertex::createFromStream(Context *rsc, IStream *stream) { argument
|
H A D | rsFont.h | 69 virtual void serialize(Context *rsc, OStream *stream) const {
|
/frameworks/av/services/audioflinger/ |
H A D | Threads.h | 285 virtual audio_stream_t* stream() const = 0; 540 void setStreamVolume(audio_stream_type_t stream, float value); 541 void setStreamMute(audio_stream_type_t stream, bool muted); 543 float streamVolume(audio_stream_type_t stream) const; 561 virtual audio_stream_t* stream() const; 716 // No sleep when mixer state == MIXER_TRACKS_READY; relies on audio HAL stream->write() 951 // volumes last sent to audio HAL with stream->set_volume() 1252 virtual audio_stream_t* stream() const;
|
H A D | Effects.cpp | 457 audio_stream_t *stream = thread->stream(); local 458 if (stream != NULL) { 459 stream->add_audio_effect(stream, mEffectInterface); 537 audio_stream_t *stream = thread->stream(); local 538 if (stream != NULL) { 539 stream->remove_audio_effect(stream, mEffectInterfac [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsHelper.java | 716 public static byte[] readFully(FileInputStream stream) throws java.io.IOException { argument 717 return readFully(stream, stream.available()); 720 public static byte[] readFully(FileInputStream stream, int avail) throws java.io.IOException { argument 724 int amt = stream.read(data, pos, data.length-pos); 733 avail = stream.available(); 767 Log.w(TAG, "Unable to read statistics stream", e);
|
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioService.java | 159 /** How long to delay after a volume down event before unmuting a stream */ 289 /* mStreamVolumeAlias[] indicates for each stream if it uses the volume settings 290 * of another stream: This avoids multiplying the volume settings for hidden 291 * stream types that follow other stream behavior for volume settings 493 // mVolumeControlStream is set by VolumePanel to temporarily force the stream type which volume 533 // case, the new requested volume, stream type and device are stored in mPendingVolumeCommand 783 // Restore stream volumes 862 // apply stream volume 883 // any stream wit 1295 onUnmuteStream(int stream, int flags) argument 3512 getDeviceForStream(int stream) argument 3536 getDevicesForStream(int stream) argument 3540 getDevicesForStream(int stream, boolean checkOthers) argument [all...] |
/frameworks/rs/api/ |
H A D | Specification.cpp | 72 stringstream stream(input); 74 while (getline(stream, entry, ',')) { 869 ostringstream stream; local 870 stream << "<a href='" << d->getUrl() << "'>" << name << "</a>"; 871 return stream.str();
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 169 SkMemoryStream stream(frame.map->getDataPtr(), frame.map->getDataLength()); 170 SkImageDecoder* codec = SkImageDecoder::Factory(&stream); 173 codec->decode(&stream, &bitmap,
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureUtils.java | 48 * Closes the specified stream. 50 * @param stream The stream to close. 52 static void closeStream(Closeable stream) { argument 53 if (stream != null) { 55 stream.close(); 57 Log.e(LOG_TAG, "Could not close stream", e);
|
/frameworks/base/core/java/android/widget/ |
H A D | ProgressBar.java | 1900 protected void encodeProperties(@NonNull ViewHierarchyEncoder stream) { argument 1901 super.encodeProperties(stream); 1903 stream.addProperty("progress:max", getMax()); 1904 stream.addProperty("progress:progress", getProgress()); 1905 stream.addProperty("progress:secondaryProgress", getSecondaryProgress()); 1906 stream.addProperty("progress:indeterminate", isIndeterminate());
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ATSParser.cpp | 57 // Pass to appropriate stream according to pid, and set event if it's a PES 328 // we already checked above the stream count matches 341 // change the PID of the stream, and add it back 452 ALOGI("uh oh. stream PIDs have changed."); 462 sp<Stream> stream = mStreams.editValueAt(i); 464 ALOGI("PID 0x%08x => type 0x%02x", stream->pid(), stream->type()); 490 sp<Stream> stream = new Stream( local 493 mStreams.add(info.mPID, stream); 544 const sp<Stream> &stream local [all...] |
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | DeviceOwner.java | 388 private void finishWrite(OutputStream stream) { argument 390 fileForWriting.finishWrite((FileOutputStream) stream);
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
H A D | AppWidgetServiceImpl.java | 2274 FileInputStream stream = file.openRead(); 2275 version = readProfileStateFromFileLocked(stream, profileId, loadedWidgets); 2276 IoUtils.closeQuietly(stream); 2448 FileOutputStream stream; 2450 stream = file.startWrite(); 2451 if (writeProfileStateToFileLocked(stream, profileId)) { 2452 file.finishWrite(stream); 2454 file.failWrite(stream); 2491 private boolean writeProfileStateToFileLocked(FileOutputStream stream, int userId) { argument 2496 out.setOutput(stream, StandardCharset 2554 readProfileStateFromFileLocked(FileInputStream stream, int userId, List<LoadedWidgetState> outLoadedWidgets) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | AppOpsManager.java | 1266 * Set a non-persisted restriction on an audio operation at a stream-level. 1560 * Like {@link #checkOp} but at a stream-level for audio operations. 1563 public int checkAudioOp(int op, int stream, int uid, String packageName) { argument 1565 final int mode = mService.checkAudioOperation(op, stream, uid, packageName); 1580 public int checkAudioOpNoThrow(int op, int stream, int uid, String packageName) { argument 1582 return mService.checkAudioOperation(op, stream, uid, packageName);
|
/frameworks/base/core/java/android/database/ |
H A D | DatabaseUtils.java | 477 * @param stream the stream to print to 479 public static void dumpCursor(Cursor cursor, PrintStream stream) { argument 480 stream.println(">>>>> Dumping cursor " + cursor); 486 dumpCurrentRow(cursor, stream); 490 stream.println("<<<<<"); 540 * @param stream the stream to print to 542 public static void dumpCurrentRow(Cursor cursor, PrintStream stream) { argument 544 stream [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 1014 * @param stream The outputstream to write the compressed data. 1015 * @return true if successfully compressed to the specified stream. 1017 public boolean compress(CompressFormat format, int quality, OutputStream stream) { argument 1020 if (stream == null) { 1028 quality, stream, new byte[WORKING_COMPRESS_STORAGE]); 1688 int quality, OutputStream stream, 1687 nativeCompress(long nativeBitmap, int format, int quality, OutputStream stream, byte[] tempStorage) argument
|
/frameworks/native/include/gui/ |
H A D | IGraphicBufferProducer.h | 438 // Attaches a sideband buffer stream to the IGraphicBufferProducer. 440 // A sideband stream is a device-specific mechanism for passing buffers 442 // queueBuffer. If a sideband stream is present, the consumer can choose 443 // whether to acquire buffers from the sideband stream or from the queued 446 // Passing NULL or a different stream handle will detach the previous 448 virtual status_t setSidebandStream(const sp<NativeHandle>& stream) = 0;
|
H A D | Surface.h | 81 /* Attaches a sideband buffer stream to the Surface's IGraphicBufferProducer. 83 * A sideband stream is a device-specific mechanism for passing buffers 85 * queueBuffer. If a sideband stream is present, the consumer can choose 86 * whether to acquire buffers from the sideband stream or from the queued 89 * Passing NULL or a different stream handle will detach the previous 92 void setSidebandStream(const sp<NativeHandle>& stream);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AppOpsService.java | 1239 FileInputStream stream; 1241 stream = mFile.openRead(); 1250 parser.setInput(stream, StandardCharsets.UTF_8.name()); 1297 stream.close(); 1439 FileOutputStream stream; 1441 stream = mFile.startWrite(); 1449 out.setOutput(stream, StandardCharsets.UTF_8.name()); 1536 mFile.finishWrite(stream); 1539 mFile.failWrite(stream);
|
/frameworks/base/media/java/android/media/ |
H A D | AudioManager.java | 128 * @hide Broadcast intent when the volume for a particular stream type changes. 129 * Includes the stream, the new volume and previous volumes. 142 * @hide Broadcast intent when the devices for a particular stream type changes. 143 * Includes the stream, the new devices and previous devices. 158 * @hide Broadcast intent when a stream mute state changes. 159 * Includes the stream that changed and the new mute state 203 * @hide The stream type for the volume changed intent. 209 * The stream type alias for the volume changed intent. 210 * For instance the intent may indicate a change of the {@link #STREAM_NOTIFICATION} stream 219 * @hide The volume associated with the stream fo 696 preDispatchKeyEvent(KeyEvent event, int stream) argument 717 handleKeyDown(KeyEvent event, int stream) argument 745 handleKeyUp(KeyEvent event, int stream) argument [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Device.h | 95 // Actual stream creation/deletion is delayed until first request is submitted 97 // stream, reconfiguring device, and unpausing. 170 // Constant to use for stream ID when one doesn't exist 187 // Flag indicating is the current active stream configuration is constrained high speed. 225 // Mapping of stream IDs to stream instances 240 // Need to hold on to stream references until configure completes. 354 * Add a dummy stream to the current stream set as a workaround for 360 * Remove a dummy stream i [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 193 InputStream stream = context.getResources().openRawResource(resourceId); 194 return new String(Streams.readFully(new InputStreamReader(stream)));
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
H A D | AsmGeneratorTest.java | 449 private static byte[] getByteArray(InputStream stream) throws IOException { argument 453 while ((read = stream.read(buffer, 0, buffer.length)) > -1) {
|
/frameworks/support/v4/jellybean/android/support/v4/media/routing/ |
H A D | MediaRouterJellybean.java | 211 public static void setPlaybackStream(Object routeObj, int stream) { argument 212 ((android.media.MediaRouter.UserRouteInfo)routeObj).setPlaybackStream(stream);
|