/frameworks/base/libs/hwui/service/ |
H A D | GraphicsStatsService.cpp | 49 bool GraphicsStatsService::parseFromFile(const std::string& path, service::GraphicsStatsProto* output) { argument 71 bool success = output->ParseFromZeroCopyStream(&input); 78 path.c_str(), output->InitializationErrorString().c_str()); 215 io::FileOutputStream output(outFd); 216 bool success = statsProto.SerializeToZeroCopyStream(&output) && output.Flush(); 217 if (output.GetErrno() != 0) { 219 outFd, path.c_str(), output.GetErrno(), strerror(output.GetErrno()));
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | NativeProgram.java | 98 public void process(Frame[] inputs, Frame output) { argument 111 // Get the native output frame 113 if (output == null || output instanceof NativeFrame) { 114 nativeOutput = (NativeFrame)output; 116 throw new RuntimeException("NativeProgram got non-native output frame!"); 173 private native boolean callNativeProcess(NativeFrame[] inputs, NativeFrame output); argument
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | KeyValueAdbBackupEngine.java | 61 KeyValueAdbBackupEngine(OutputStream output, PackageInfo packageInfo, argument 64 mOutput = output; 106 // Backup finished successfully. Copy the backup data to the output stream. 186 FullBackupDataOutput output = new FullBackupDataOutput(mPipe); 196 output); 205 output); 253 // Now pull data from the app and stuff it into the output
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | colorspace.cpp | 57 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) { 59 Rgba* const pOutput = static_cast<Rgba*>(env->GetDirectBufferAddress(output)); 96 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) { 98 Rgba* pOutput = static_cast<Rgba*>(env->GetDirectBufferAddress(output)); 111 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) { 113 Rgba* pOutput = static_cast<Rgba*>(env->GetDirectBufferAddress(output)); 154 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) { 156 Rgba* pOutput = static_cast<Rgba*>(env->GetDirectBufferAddress(output)); 56 nativeYuv420pToRgba8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument 95 nativeArgb8888ToRgba8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument 110 nativeRgba8888ToHsva8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument 153 nativeRgba8888ToYcbcra8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
H A D | IpConnectivityMetricsTest.java | 424 static void verifySerialization(String want, String output) { argument 426 byte[] got = Base64.decode(output, Base64.DEFAULT);
|
/frameworks/base/tools/bit/ |
H A D | aapt.cpp | 170 string output = get_command_output(cmd, &err, false); local 178 split_lines(&lines, output);
|
/frameworks/base/tools/preload2/src/com/android/preload/ui/ |
H A D | SequenceUI.java | 72 public SequenceUI output(File f) { method in class:SequenceUI
|
/frameworks/compile/mclinker/lib/Object/ |
H A D | SectionMap.cpp | 244 Output* output = new Output(pOutputSection); local 245 m_OutputDescList.push_back(output); 247 output->append(input); 249 return std::make_pair(std::make_pair(output, input), true); 280 Output* output = new Output(pOutputDesc); local 281 m_OutputDescList.push_back(output); 283 output->append(input); 285 return std::make_pair(std::make_pair(output, input), true); 290 Output* output = new Output(pSection->name()); local 291 output [all...] |
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/ |
H A D | LayoutFileParser.java | 433 private void stripBindingTags(File xml, File output, String newTag, String encoding) throws IOException { argument 438 FileUtils.writeStringToFile(output, res, encoding);
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
H A D | FrameSequence.java | 49 Bitmap output, int previousFrameNr); 141 public long getFrame(int frameNr, Bitmap output, int previousFrameNr) { argument 142 if (output == null || output.getConfig() != Bitmap.Config.ARGB_8888) { 148 return nativeGetFrame(mNativeState, frameNr, output, previousFrameNr); 48 nativeGetFrame(long nativeState, int frameNr, Bitmap output, int previousFrameNr) argument
|
/frameworks/native/cmds/dumpsys/tests/ |
H A D | dumpsys_test.cpp | 67 // gmock black magic to provide a WithArg<0>(WriteOnFd(output)) matcher 72 explicit WriteOnFdAction(const std::string& output) : output_(output) { argument 84 Action<WriteOnFdFunction> WriteOnFd(const std::string& output) { argument 85 return MakeAction(new WriteOnFdAction(output)); 145 void ExpectDump(const char* name, const std::string& output) { argument 148 .WillRepeatedly(DoAll(WithArg<0>(WriteOnFd(output)), Return(0))); 152 const std::string& output) { 155 .WillRepeatedly(DoAll(WithArg<0>(WriteOnFd(output)), Return(0))); 158 void ExpectDumpAndHang(const char* name, int timeout_s, const std::string& output) { argument 151 ExpectDumpWithArgs(const char* name, std::vector<std::string> args, const std::string& output) argument [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | BufferQueue_test.cpp | 137 IGraphicBufferProducer::QueueBufferOutput output; local 139 mProducer->connect(NULL, NATIVE_WINDOW_API_CPU, false, &output)); 158 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); 323 IGraphicBufferProducer::QueueBufferOutput output; local 325 NATIVE_WINDOW_API_CPU, false, &output)); 361 ASSERT_EQ(OK, mProducer->queueBuffer(newSlot, input, &output)); 377 IGraphicBufferProducer::QueueBufferOutput output; local 379 NATIVE_WINDOW_API_CPU, false, &output)); 391 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); 436 IGraphicBufferProducer::QueueBufferOutput output; local 479 IGraphicBufferProducer::QueueBufferOutput output; local 515 IGraphicBufferProducer::QueueBufferOutput output; local 557 IGraphicBufferProducer::QueueBufferOutput output; local 608 IGraphicBufferProducer::QueueBufferOutput output; local 678 IGraphicBufferProducer::QueueBufferOutput output; local 730 IGraphicBufferProducer::QueueBufferOutput output; local 795 IGraphicBufferProducer::QueueBufferOutput output; local 817 IGraphicBufferProducer::QueueBufferOutput output; local 871 IGraphicBufferProducer::QueueBufferOutput output; local 1010 IGraphicBufferProducer::QueueBufferOutput output; local 1087 IGraphicBufferProducer::QueueBufferOutput output; local 1128 IGraphicBufferProducer::QueueBufferOutput output; local 1188 IGraphicBufferProducer::QueueBufferOutput output; local [all...] |
H A D | IGraphicBufferProducer_test.cpp | 99 IGraphicBufferProducer::QueueBufferOutput output; local 103 &output); 227 IGraphicBufferProducer::QueueBufferOutput output; local 229 // NULL output returns BAD_VALUE 233 /*output*/NULL)); 239 &output)); 248 IGraphicBufferProducer::QueueBufferOutput output; local 252 &output)); 259 &output)); 359 IGraphicBufferProducer::QueueBufferOutput output; local 384 IGraphicBufferProducer::QueueBufferOutput output; local 395 IGraphicBufferProducer::QueueBufferOutput output; local 412 IGraphicBufferProducer::QueueBufferOutput output; local 427 IGraphicBufferProducer::QueueBufferOutput output; local 436 IGraphicBufferProducer::QueueBufferOutput output; local 450 IGraphicBufferProducer::QueueBufferOutput output; local 461 IGraphicBufferProducer::QueueBufferOutput output; local 510 IGraphicBufferProducer::QueueBufferOutput output; local 588 IGraphicBufferProducer::QueueBufferOutput output; local 691 IGraphicBufferProducer::QueueBufferOutput output; local [all...] |
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
H A D | buffer_hub_queue_producer-test.cpp | 103 IGraphicBufferProducer::QueueBufferOutput output; local 106 kTestControlledByApp, &output)); 144 IGraphicBufferProducer::QueueBufferOutput output; local 146 // NULL output returns BAD_VALUE 152 kTestControlledByApp, &output)); 159 IGraphicBufferProducer::QueueBufferOutput output; local 161 kTestControlledByApp, &output)); 244 IGraphicBufferProducer::QueueBufferOutput output; local 247 ASSERT_EQ(NO_ERROR, mProducer->queueBuffer(slot, input, &output)); 249 EXPECT_EQ(kDefaultWidth, output 270 IGraphicBufferProducer::QueueBufferOutput output; local 284 IGraphicBufferProducer::QueueBufferOutput output; local 297 IGraphicBufferProducer::QueueBufferOutput output; local 316 IGraphicBufferProducer::QueueBufferOutput output; local 333 IGraphicBufferProducer::QueueBufferOutput output; local 356 IGraphicBufferProducer::QueueBufferOutput output; local 400 IGraphicBufferProducer::QueueBufferOutput output; local 488 IGraphicBufferProducer::QueueBufferOutput output; local [all...] |
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
H A D | ViewfinderProcessor.java | 115 public void setOutputSurface(Surface output) { argument 116 mOutputAllocation.setSurface(output); 139 * Class to process buffer from camera and output to buffer to screen
|
/frameworks/av/media/img_utils/src/ |
H A D | TiffIfd.cpp | 365 String8 output; local 366 output.appendFormat("[ifd: %x, num_entries: %zu, entries:\n", getId(), s); 368 output.append("\t"); 369 output.append(mEntries[i]->toString()); 370 output.append("\n"); 372 output.append(", next_ifd: %x]", ((mNextIfd != NULL) ? mNextIfd->getId() : 0)); 373 return output;
|
/frameworks/av/media/libstagefright/codec2/include/ |
H A D | C2Param.h | 57 * - Params can be global (not related to input or output), related to input or output, 58 * or related to an input/output stream. 100 // - direction (global, input, output) 187 * parameter is global, input or output, and whether it is for a stream. 190 /// returns true iff this is a global parameter (not for input nor output) 194 /// returns true iff this is an output or output stream parameter 199 /// returns true iff this is a port (input or output) parameter 237 inline bool setPort(bool output) { argument 379 setPort(bool output) argument [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3OutputStream.cpp | 173 /*releaseFence*/-1, CAMERA3_BUFFER_STATUS_OK, /*output*/true); 188 status_t res = returnAnyBufferLocked(buffer, timestamp, /*output*/true); 203 bool output, 207 (void)output; 208 ALOG_ASSERT(output, "Expected output to be true"); 507 ALOGE("%s: Stream %d: Can't attach the output buffer to this surface: %s (%d)", 519 ALOGE("%s: Stream %d: Can't get next output buffer from buffer manager: %s (%d)", 546 ALOGE("%s: Stream %d: Can't dequeue next output buffer: %s (%d)", 654 // If an opaque output strea 200 returnBufferCheckedLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp, bool output, sp<Fence> *releaseFenceOut) argument [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupAgent.java | 214 * output stream. 258 * data is written to the output, the agent returns from this method and the backup 262 * sends them to the output: 272 * application's "owned" file system trees to the output other than the few exceptions 501 * @param output The destination to which the backed-up file data will be sent. 503 public final void fullBackupFile(File file, FullBackupDataOutput output) { argument 615 // In the measurement case, backupToTar() updates the size in output and returns 620 FullBackup.backupToTar(getPackageName(), domain, null, rootpath, filePath, output); 635 FullBackupDataOutput output) { 695 FullBackup.backupToTar(packageName, domain, null, domainPath, filePath, output); 632 fullBackupFileTree(String packageName, String domain, String startingPath, ArraySet<String> manifestExcludes, ArraySet<String> systemExcludes, FullBackupDataOutput output) argument [all...] |
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStoreCipherSpiBase.java | 335 byte[] output; 338 output = mMainDataStreamer.update(input, inputOffset, inputLen); 344 if (output.length == 0) { 348 return output; 354 byte[] output; 356 output = mAdditionalAuthenticationDataStreamer.doFinal( 364 if ((output != null) && (output.length > 0)) { 366 "AAD update unexpectedly returned data: " + output.length + " bytes"); 372 protected final int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, argument 388 engineUpdate(ByteBuffer input, ByteBuffer output) argument 528 engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 545 engineDoFinal(ByteBuffer input, ByteBuffer output) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | RenderNode.cpp | 83 void RenderNode::output() { function in class:android::uirenderer::RenderNode 86 output(strout, 0); 89 void RenderNode::output(std::ostream& output, uint32_t level) { argument 90 output << " (" << getName() << " " << this 98 properties().debugOutputProperties(output, level + 1); 101 mDisplayList->output(output, level); 103 output << std::string(level * 2, ' ') << "/RenderNode(" << getName() << " " << this << ")"; 104 output << st [all...] |
/frameworks/base/libs/hwui/font/ |
H A D | CacheTexture.h | 63 void output() { function in struct:android::uirenderer::CacheBlock
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_shader_program.cpp | 94 jobject output) { 97 if (program && inputs && output) { 110 // Get the output frame 111 GLFrame* output_frame = ConvertFromJava<GLFrame>(env, output); 113 ALOGE("ShaderProgram: no output frame found!"); 91 Java_android_filterfw_core_ShaderProgram_shaderProcess(JNIEnv* env, jobject thiz, jobjectArray inputs, jobject output) argument
|
/frameworks/base/tools/aapt2/java/ |
H A D | JavaClassGenerator.cpp | 65 std::string output = symbol.to_string(); local 66 for (char& c : output) { 71 return output; 86 std::string output = styleable_class_name; local 92 output += "_" + TransformToFieldName(attr_name.package); 94 output += "_" + TransformToFieldName(attr_name.entry); 95 return output;
|
/frameworks/native/libs/vr/libbufferhubqueue/ |
H A D | buffer_hub_queue_producer.cpp | 249 QueueBufferOutput* output) { 252 if (output == nullptr) { 339 output->width = buffer_producer->width(); 340 output->height = buffer_producer->height(); 341 output->transformHint = 0; // default value, we don't use it yet. 347 output->numPendingBuffers = 0; 351 output->nextFrameNumber = 0; 456 bool /* producer_controlled_by_app */, QueueBufferOutput* output) { 462 if (output == nullptr) { 479 output 247 queueBuffer(int slot, const QueueBufferInput& input, QueueBufferOutput* output) argument 454 connect( const sp<IProducerListener>& , int api, bool , QueueBufferOutput* output) argument [all...] |