Searched defs:data (Results 1 - 25 of 1246) sorted by relevance

1234567891011>>

/frameworks/base/vr/
H A Ddvr_library_loader.cpp15 const char* data = env->GetStringUTFChars(java_library, NULL); local
17 std::string library(data, size);
18 env->ReleaseStringUTFChars(java_library, data);
/frameworks/base/core/java/android/database/
H A DCharArrayBuffer.java24 data = new char[size];
28 data = buf;
31 public char[] data; // In and out parameter field in class:CharArrayBuffer
/frameworks/base/tools/aapt2/process/
H A DSymbolTable_test.cpp104 std::unique_ptr<uint8_t[]> data = util::Copy(buffer); local
110 ASSERT_THAT(res_table.add(data.get(), buffer.size()), Eq(NO_ERROR));
/frameworks/av/media/libmedia/
H A DIMediaHTTPService.cpp38 Parcel data, reply; local
39 data.writeInterfaceToken(
42 remote()->transact(MAKE_HTTP, data, &reply);
/frameworks/base/cmds/statsd/src/
H A Dhash.h25 extern uint32_t Hash32(const char *data, size_t n, uint32_t seed);
26 extern uint64_t Hash64(const char* data, size_t n, uint64_t seed);
28 inline uint32_t Hash32(const char *data, size_t n) { argument
29 return Hash32(data, n, 0xBEEF);
33 return Hash32(input.data(), input.size());
36 inline uint64_t Hash64(const char* data, size_t n) { argument
37 return Hash64(data, n, 0xDECAFCAFFE);
41 return Hash64(str.data(), str.size());
/frameworks/base/core/java/android/app/backup/
H A DBackupHelper.java28 * is responsible only for handling its own data, and will not see entities
41 * needs to be backed up, write it to <code>data</code>, and fill in
47 * {@code oldState} descriptor points to the beginning of the state data
55 * what was stored by this helper. If more old state data is read, even accidentally,
63 * @param data An open, read/write {@link BackupDataOutput}
64 * pointing to the backup data destination.
69 * state here after writing the requested data to the <code>data</code>
72 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument
77 * to restore a single entity from the restore data se
86 restoreEntity(BackupDataInputStream data) argument
[all...]
H A DFullBackupAgent.java31 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument
37 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument
/frameworks/base/core/java/android/util/
H A DPackageUtils.java104 * Computes the SHA256 digest of some data.
105 * @param data The data.
108 public static @Nullable byte[] computeSha256DigestBytes(@NonNull byte[] data) { argument
117 messageDigest.update(data);
123 * Computes the SHA256 digest of some data.
124 * @param data The data.
127 public static @Nullable String computeSha256Digest(@NonNull byte[] data) { argument
128 return ByteStringUtils.toHexString(computeSha256DigestBytes(data));
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebMessage.java34 * @param data the data of the message.
36 public WebMessage(String data) { argument
37 mData = data;
42 * @param data the data of the message.
45 public WebMessage(String data, WebMessagePort[] ports) { argument
46 mData = data;
51 * Returns the data of the message.
/frameworks/base/drm/java/android/drm/
H A DDrmInfoStatus.java57 * The processed data. It is optional and thus could be null. When it
62 public final ProcessedData data; field in class:DrmInfoStatus
71 * @param data The processed data.
74 public DrmInfoStatus(int statusCode, int infoType, ProcessedData data, String mimeType) { argument
89 this.data = data;
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DCSVFormatter.java17 package com.android.locationtracker.data;
19 import com.android.locationtracker.data.TrackerEntry.EntryType;
22 * Formats tracker data as CSV output
H A DDateUtils.java17 package com.android.locationtracker.data;
H A DIFormatter.java17 package com.android.locationtracker.data;
20 * interface for formatting tracker data output
/frameworks/base/tools/aapt/tests/
H A DFileFinder_test.cpp32 // Mock Directory Walker initialization. First data, then sdw
33 Vector< pair<String8,time_t> > data; local
34 data.push( pair<String8,time_t>(String8("hello.png"),3) );
35 data.push( pair<String8,time_t>(String8("world.PNG"),3) );
36 data.push( pair<String8,time_t>(String8("foo.pNg"),3) );
38 data.push( pair<String8,time_t>(String8("hello.jpg"),3) );
39 data.push( pair<String8,time_t>(String8(".hidden.png"),3));
41 DirectoryWalker* sdw = new StringDirectoryWalker(path,data);
/frameworks/base/tools/aapt2/filter/
H A DAbiFilter_test.cpp59 const TestData& data = GetParam(); local
60 EXPECT_EQ(mips->Keep(data.path), data.kept);
/frameworks/base/tools/aapt2/io/
H A DFile.cpp31 std::unique_ptr<IData> data = file_->OpenAsData(); local
32 if (!data) {
36 if (offset_ <= data->size() - len_) {
37 return util::make_unique<DataSegment>(std::move(data), offset_, len_);
/frameworks/compile/mclinker/lib/ADT/
H A DStringEntry.cpp29 free(const_cast<char*>(m_Value.data()));
33 char* data = reinterpret_cast<char*>(malloc(pVal.size() + 1)); local
34 ::memcpy(data, pVal.data(), pVal.size());
35 m_Value = llvm::StringRef(data, pVal.size());
40 char* data = reinterpret_cast<char*>(malloc(length + 1)); local
41 ::memcpy(data, pVal, length);
42 m_Value = llvm::StringRef(data, length);
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DObservableWithNotBindableFieldObject.java19 private String data; field in class:ObservableWithNotBindableFieldObject
20 public void update(String data) { argument
21 this.data = data;
26 return data;
/frameworks/minikin/tests/perftests/
H A Dmain.cpp31 void* data = mmap(NULL, st.st_size, PROT_READ, MAP_SHARED, fd, 0); local
34 udata_setCommonData(data, &errorCode);
/frameworks/native/libs/input/
H A DIInputFlinger.cpp35 Parcel data, reply; local
36 data.writeInterfaceToken(IInputFlinger::getInterfaceDescriptor());
37 remote()->transact(BnInputFlinger::DO_SOMETHING_TRANSACTION, data, &reply);
46 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) {
49 CHECK_INTERFACE(IInputFlinger, data, reply);
54 return BBinder::onTransact(code, data, reply, flags);
45 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/native/libs/vr/libdvr/
H A Ddvr_configuration_data.cpp10 int dvrConfigurationDataGet(int config_type, uint8_t** data, argument
12 if (!data || !data_size) {
31 *data = new uint8_t[*data_size];
32 std::copy_n(config_data_status.get().begin(), *data_size, *data);
36 void dvrConfigurationDataDestroy(uint8_t* data) { argument
37 delete[] data;
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Dbenchmark.h15 // timestamp manually, or pass additional data to be written to the log line.
29 // Btrace without data payload.
36 // Btrace with data payload.
38 int64_t data);
39 static inline void BtraceData(const char* name, int64_t data);
41 int64_t nanoseconds_monotonic, int64_t data);
42 static inline void BtraceData(FILE* file, const char* name, int64_t data);
65 int64_t data) {
68 snprintf(log_message, kLogMessageLength, "#btrace#%s|%" PRId64, name, data);
72 static inline void BtraceData(const char* name, int64_t data) { argument
64 BtraceData(const char* name, int64_t nanoseconds_monotonic, int64_t data) argument
76 BtraceData(FILE* file, const char* name, int64_t nanoseconds_monotonic, int64_t data) argument
82 BtraceData(FILE* file, const char* name, int64_t data) argument
[all...]
/frameworks/native/libs/vr/libpdx/
H A Dstatus_tests.cpp121 auto data = status.take(); local
124 EXPECT_EQ(123, *data);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DOemHookIndication.java38 * @param data Data sent by oem
40 public void oemHookRaw(int indicationType, ArrayList<Byte> data) { argument
43 byte[] response = RIL.arrayListToPrimitiveArray(data);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/data/
H A DEuiccNotificationTest.java17 package com.android.internal.telephony.uicc.euicc.data;

Completed in 154 milliseconds

1234567891011>>