| /frameworks/av/media/libstagefright/ |
| RemoteMediaExtractor.cpp | 2 * Copyright 2017, The Android Open Source Project 45 const sp<DataSource> &source, 48 mSource(source), 104 MediaTrack *source = mExtractor->getTrack(index); local 105 return (source == nullptr) 106 ? nullptr : CreateIMediaSourceFromMediaSourceBase(this, source, mExtractorPlugin); 151 const sp<DataSource> &source, 156 return new RemoteMediaExtractor(extractor, source, plugin);
|
| /frameworks/av/services/camera/libcameraservice/utils/ |
| TagMonitor.h | 2 * Copyright (C) 2016 The Android Open Source Project 65 void monitorMetadata(eventSource source, int64_t frameNumber, 77 void monitorSingleMetadata(TagMonitor::eventSource source, int64_t frameNumber, 97 * Copies the source metadata value array and frees it on destruct. 105 eventSource source; member in struct:android::TagMonitor::MonitorEvent
|
| /frameworks/av/services/mediaanalytics/ |
| statsd_audiorecord.cpp | 2 * Copyright (C) 2019 The Android Open Source Project 62 char *source = NULL; local 63 if (item->getCString("android.media.audiorecord.source", &source)) { 64 metrics_proto.set_source(source); 157 free(source);
|
| /dalvik/dx/src/com/android/dx/ssa/ |
| DeadCodeRemover.java | 2 * Copyright (C) 2007 The Android Open Source Project 100 RegisterSpec source = sources.get(i); local 101 useList[source.getReg()].remove(insnS); 105 source.getReg()))) { 110 worklist.set(source.getReg()); 149 RegisterSpec source = sources.get(j); local 150 useList[source.getReg()].remove(insn);
|
| /external/icu/android_icu4j/src/main/java/android/icu/text/ |
| CanonicalIterator.java | 1 /* GENERATED SOURCE. DO NOT MODIFY. */ 50 * @param source string to get results for 52 public CanonicalIterator(String source) { 56 setSource(source); 60 * Gets the NFD form of the current source we are iterating over. 61 * @return gets the source: NOTE: it is the NFD form of the source originally passed in 64 return source; 109 * Set a new source for this iterator. Allows object reuse. 110 * @param newSource the source string to iterate against. This allows the same iterator to be use 233 private String source; field in class:CanonicalIterator [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/ |
| TestIDNARef.java | 1 /* GENERATED SOURCE. DO NOT MODIFY. */ 133 errln("convertToUnicode did not get the expected exception for source: " + prettify(src) +" Got: "+ ex.toString()); 148 errln("convertToUnicode did not get the expected exception for source: " + prettify(src) +" Got: "+ ex.toString()); 163 errln("Did not get the expected exception for source: " + prettify(src) +" Got: "+ ex.toString()); 190 errln("convertToUnicode did not get the expected exception for source: " +src +" Got: "+ ex.toString()); 204 errln("convertToUnicode did not get the expected exception for source: " +src +" Got: "+ ex.toString()); 219 errln("Did not get the expected exception for source: " +src +" Got: "+ ex.toString()); 245 errln("convertToASCII did not get the expected exception for source: " +src +" Got: "+ ex.toString()); 260 errln("convertToASCII did not get the expected exception for source: " +src +" Got: "+ ex.toString()); 275 errln("convertToASCII did not get the expected exception for source: " +src +" Got: "+ ex.toString()) 497 StringBuffer source = new StringBuffer(www); local 632 StringBuffer source = new StringBuffer(www); local [all...] |
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
| CanonicalIterator.java | 49 * @param source string to get results for 52 public CanonicalIterator(String source) { 56 setSource(source); 60 * Gets the NFD form of the current source we are iterating over. 61 * @return gets the source: NOTE: it is the NFD form of the source originally passed in 65 return source; 112 * Set a new source for this iterator. Allows object reuse. 113 * @param newSource the source string to iterate against. This allows the same iterator to be used 114 * while changing the source string, saving object creation 237 private String source; field in class:CanonicalIterator [all...] |
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
| TestIDNARef.java | 130 errln("convertToUnicode did not get the expected exception for source: " + prettify(src) +" Got: "+ ex.toString()); 145 errln("convertToUnicode did not get the expected exception for source: " + prettify(src) +" Got: "+ ex.toString()); 160 errln("Did not get the expected exception for source: " + prettify(src) +" Got: "+ ex.toString()); 187 errln("convertToUnicode did not get the expected exception for source: " +src +" Got: "+ ex.toString()); 201 errln("convertToUnicode did not get the expected exception for source: " +src +" Got: "+ ex.toString()); 216 errln("Did not get the expected exception for source: " +src +" Got: "+ ex.toString()); 242 errln("convertToASCII did not get the expected exception for source: " +src +" Got: "+ ex.toString()); 257 errln("convertToASCII did not get the expected exception for source: " +src +" Got: "+ ex.toString()); 272 errln("convertToASCII did not get the expected exception for source: " +src +" Got: "+ ex.toString()); 298 errln("convertToIDNAReferenceASCII did not get the expected exception for source: " +src +" Got: "+ ex.toString()) 494 StringBuffer source = new StringBuffer(www); local 629 StringBuffer source = new StringBuffer(www); local [all...] |
| /external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
| MetadataManager.java | 185 InputStream source = metadataLoader.loadMetadata(fileName); local 186 if (source == null) { 190 PhoneMetadataCollection metadataCollection = loadMetadataAndCloseInput(source); 202 * @param source the non-null stream from which metadata is to be read 205 private static PhoneMetadataCollection loadMetadataAndCloseInput(InputStream source) { 209 ois = new ObjectInputStream(source); 223 // This will close all underlying streams as well, including source. 226 source.close();
|
| /external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/ |
| MetadataManager.java | 1 /* GENERATED SOURCE. DO NOT MODIFY. */ 186 InputStream source = metadataLoader.loadMetadata(fileName); local 187 if (source == null) { 191 PhoneMetadataCollection metadataCollection = loadMetadataAndCloseInput(source); 203 * @param source the non-null stream from which metadata is to be read 206 private static PhoneMetadataCollection loadMetadataAndCloseInput(InputStream source) { 210 ois = new ObjectInputStream(source); 224 // This will close all underlying streams as well, including source. 227 source.close();
|
| /external/mockito/src/main/java/org/mockito/internal/creation/ |
| MockSettingsImpl.java | 235 private static <T> CreationSettings<T> validatedSettings(Class<T> typeToMock, CreationSettings<T> source) { 239 validator.validateExtraInterfaces(typeToMock, source.getExtraInterfaces()); 240 validator.validateMockedType(typeToMock, source.getSpiedInstance()); 245 validator.validateConstructorUse(source.isUsingConstructor(), source.getSerializableMode()); 249 CreationSettings<T> settings = new CreationSettings<T>(source); 250 settings.setMockName(new MockNameImpl(source.getName(), typeToMock)); 252 settings.setExtraInterfaces(prepareExtraInterfaces(source));
|
| /external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
| OkUrlFactoryTest.java | 28 import static okio.Okio.source; 179 BufferedSource source = buffer(source(connection.getInputStream())); local 180 String actual = source.readString(US_ASCII); 181 source.close();
|
| /external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/ |
| WebSocketReader.java | 27 import okio.Source; 62 private final BufferedSource source; field in class:WebSocketReader 65 private final Source framedMessageSource = new FramedMessageSource(); 81 public WebSocketReader(boolean isClient, BufferedSource source, FrameCallback frameCallback) { 82 if (source == null) throw new NullPointerException("source == null"); 85 this.source = source; 110 int b0 = source.readByte() & 0xff; 129 int b1 = source.readByte() & 0xff 226 final BufferedSource source = Okio.buffer(framedMessageSource); local [all...] |
| /external/okhttp/okio/okio/src/test/java/okio/ |
| GzipSourceTest.java | 204 GzipSource source = new GzipSource(gzipped); local 205 while (source.read(result, Integer.MAX_VALUE) != -1) { 210 /** This source keeps track of whether its read has returned -1. */ 211 static class ExhaustableSource implements Source { 212 private final Source source; field in class:GzipSourceTest.ExhaustableSource 215 ExhaustableSource(Source source) { 216 this.source = source; [all...] |
| /external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
| GzipSource.java | 1 /* GENERATED SOURCE. DO NOT MODIFY. */ 25 * A source that uses <a href="http://www.ietf.org/rfc/rfc1952.txt">GZIP</a> to 26 * decompress data read from another source. 29 public final class GzipSource implements Source { 44 * Our source should yield a GZIP header (which we consume directly), followed 48 private final BufferedSource source; field in class:GzipSource 54 * The inflater source takes care of moving data between compressed source and 62 public GzipSource(Source source) { [all...] |
| /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
| Http1xStream.java | 2 * Copyright (C) 2012 The Android Open Source Project 35 import okio.Source; 51 * <li>Open a source to read the response body. Either {@link 54 * <li>Read from and close that source. 59 * closing that source. 72 private final BufferedSource source; field in class:Http1xStream 77 public Http1xStream(StreamAllocation streamAllocation, BufferedSource source, BufferedSink sink) { 79 this.source = source; 131 Source source = getTransferStream(response) local [all...] |
| /external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/ |
| Http1xStream.java | 1 /* GENERATED SOURCE. DO NOT MODIFY. */ 3 * Copyright (C) 2012 The Android Open Source Project 36 import com.android.okhttp.okio.Source; 52 * <li>Open a source to read the response body. Either {@link 55 * <li>Read from and close that source. 60 * closing that source. 74 private final BufferedSource source; field in class:Http1xStream 79 public Http1xStream(StreamAllocation streamAllocation, BufferedSource source, BufferedSink sink) { 81 this.source = source; 133 Source source = getTransferStream(response); local [all...] |
| /art/compiler/optimizing/ |
| parallel_move_resolver.cc | 2 * Copyright (C) 2014 The Android Open Source Project 26 // moves to perform, ignoring any move that is redundant (the source is 104 // Update the source of `move`, knowing that `updated_location` has been swapped 108 Location source = move->GetSource(); local 109 if (LowOf(updated_location).Equals(source)) { 111 } else if (HighOf(updated_location).Equals(source)) { 114 DCHECK(updated_location.Equals(source)) << updated_location << " " << source; local 124 // which means that a call to PerformMove could change any source operand 143 // dependencies. Any unperformed, unpending move with a source the sam 220 Location source = move->GetSource(); local 330 Location source = move->GetSource(); local 448 Location source = move->GetSource(); local [all...] |
| /bionic/libc/kernel/uapi/linux/ |
| fsl_hypervisor.h | 11 *** source file (e.g. under external/kernel-headers/original/) then 43 __u32 source; member in struct:fsl_hv_ioctl_memcpy
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/ |
| CameraTestInstrumentation.java | 3 * Copyright (C) 2018 The Android Open Source Project 91 String source = metric.getSource(); local 93 (values.length == 0) || (source == null) || (source.isEmpty())) {
|
| /cts/tests/leanbackjank/src/android/leanbackjank/cts/ |
| CtsJankTestBase.java | 2 * Copyright (C) 2015 The Android Open Source Project 37 private void printIntValueWithKey(String source, Bundle metrics, String key, 42 mLog.addValue(source, formatKeyForTestMetrics(key), metrics.getInt(key), resultType, resultUnit); 45 private void printDoubleValueWithKey(String source, Bundle metrics, String key, 50 mLog.addValue(source, formatKeyForTestMetrics(key), metrics.getDouble(key), resultType, 60 String source = String.format("%s#%s", getClass().getCanonicalName(), getName()); local 61 printDoubleValueWithKey(source, metrics, WindowContentFrameStatsMonitor.KEY_AVG_FPS, 63 printDoubleValueWithKey(source, metrics, 66 printIntValueWithKey(source, metrics, WindowContentFrameStatsMonitor.KEY_MAX_NUM_JANKY, 72 printDoubleValueWithKey(source, metrics, GfxMonitor.KEY_AVG_NUM_JANKY [all...] |
| /cts/tests/tests/sax/src/android/sax/cts/ |
| ElementTest.java | 2 * Copyright (C) 2010 The Android Open Source Project 124 InputSource source = new InputSource(new StringReader(XMLFILE)); local 125 xmlReader.parse(source);
|
| /cts/tests/tests/text/src/android/text/style/cts/ |
| ImageSpanTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 103 String source = "cts test."; local 104 imageSpan = new ImageSpan(d, source); 105 assertEquals(source, imageSpan.getSource()); 107 source = "content://user/a/b"; 108 imageSpan = new ImageSpan(mContext, Uri.parse(source)); 109 assertEquals(source, imageSpan.getSource());
|
| /cts/tests/tests/widget/src/android/widget/cts/ |
| RadioGroup_LayoutParamsTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 95 ViewGroup.MarginLayoutParams source = new ViewGroup.MarginLayoutParams(10, 20); local 96 source.leftMargin = 1; 97 source.topMargin = 2; 98 source.rightMargin = 3; 99 source.bottomMargin = 4; 101 mLayoutParams = new RadioGroup.LayoutParams(source);
|
| /developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/ |
| DigitalAssetLinksRepository.java | 2 * Copyright (C) 2017 The Android Open Source Project 16 package com.example.android.autofill.service.data.source.local; 23 import com.example.android.autofill.service.data.source.DalService; 24 import com.example.android.autofill.service.data.source.DigitalAssetLinksDataSource;
|