Searched defs:data (Results 276 - 300 of 1246) sorted by relevance

<<11121314151617181920>>

/frameworks/base/services/core/java/com/android/server/am/
H A DAppNotRespondingDialog.java51 public AppNotRespondingDialog(ActivityManagerService service, Context context, Data data) { argument
55 mProc = data.proc;
61 CharSequence name1 = data.activity != null
62 ? data.activity.info.loadLabel(context.getPackageManager())
90 if (data.aboveSystem) {
H A DAssistDataReceiverProxy.java32 * Proxies assist data to the given receiver, skipping all callbacks if the receiver dies.
50 // We are forwarding, so we can always receive this data
55 public void onAssistDataReceivedLocked(Bundle data, int activityIndex, int activityCount) { argument
58 mReceiver.onHandleAssistData(data);
60 Log.w(TAG, "Failed to proxy assist data to receiver in package="
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DTimerRecordingAction.java147 private static int bytesToInt(byte[] data) { argument
148 if (data.length > 4) {
149 throw new IllegalArgumentException("Invalid data size:" + Arrays.toString(data));
152 for (int i = 0; i < data.length; ++i) {
154 result |= ((data[i] & 0xFF) << shift);
/frameworks/base/services/core/java/com/android/server/locksettings/
H A DSyntheticPasswordCrypto.java147 public static byte[] createBlob(String keyAlias, byte[] data, byte[] applicationId, long sid) { argument
167 byte[] intermediate = encrypt(applicationId, APPLICATION_ID_PERSONALIZATION, data);
201 for (byte[] data : message) {
202 digest.update(data);
/frameworks/base/services/core/java/com/android/server/pm/
H A DAbstractStatsBase.java34 * <li>Can lock on the provided data object before writing
63 protected void writeNow(final T data) { argument
64 writeImpl(data);
68 protected boolean maybeWriteAsync(final T data) { argument
79 writeImpl(data);
92 private void writeImpl(T data) { argument
94 synchronized (data) {
96 writeInternal(data);
101 writeInternal(data);
106 protected abstract void writeInternal(T data); argument
108 read(T data) argument
125 readInternal(T data) argument
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_GraphicsStatsService.cpp44 const ProfileData* data = nullptr; local
45 LOG_ALWAYS_FATAL_IF(jdata == nullptr && jpath == nullptr, "Path and data can't both be null");
51 data = reinterpret_cast<const ProfileData*>(buffer.get());
64 GraphicsStatsService::addToDump(dump, path, package, versionCode, startTime, endTime, data);
92 const ProfileData* data = reinterpret_cast<const ProfileData*>(buffer.get()); local
93 GraphicsStatsService::saveBuffer(path, package, versionCode, startTime, endTime, data);
H A Dcom_android_server_locksettings_SyntheticPasswordManager.cpp38 jbyte* data = (jbyte*)env->GetPrimitiveArrayCritical(handleArray, NULL); local
40 if (data != NULL) {
42 reinterpret_cast<const gatekeeper::password_handle_t *>(data);
44 env->ReleasePrimitiveArrayCritical(handleArray, data, JNI_ABORT);
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
H A DShadowBackupDataInput.java31 * Shadow for {@link BackupDataInput}. Format read does NOT match implementation. To write data to
76 public int readEntityData(byte[] data, int offset, int size) throws IOException { argument
78 int result = mInput.read(data, offset, size);
H A DShadowBackupDataOutput.java31 * Shadow for {@link BackupDataOutput}. Format written does NOT match implementation. To read data
81 public int writeEntityData(byte[] data, int size) throws IOException { argument
82 mOutput.write(data, 0, size);
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
H A DDiskStatsLoggingServiceTest.java120 // Write data to directories.
220 private void writeDataToFile(File f, String data) throws Exception{ argument
222 out.print(data);
/frameworks/base/telephony/java/android/telephony/data/
H A DDataServiceCallback.java17 package android.telephony.data;
23 import android.telephony.data.DataService.DataServiceProvider;
31 * Data service callback, which is for bound data service to invoke for solicited and unsolicited
42 * Result of data requests
73 * @param response Setup data call response.
142 * @param dataCallList List of the current active data connection.
157 * Called to indicate that data connection list changed.
159 * @param dataCallList List of the current active data connection.
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestActivity.java90 private void addItem(List<Map<String, Object>> data, String name, argument
96 data.add(temp);
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
H A DHugeAgent.java43 * to change what data we back up and how we store the state blob.
49 * data is backed up. This key identifies different data records
50 * within this one application's data set. Since we only maintain
51 * one piece of data we don't need to distinguish, so we just pick
57 /** The app's current data, read from the live disk file */
62 /** The location of the application's persistent data file */
65 /** For convenience, we set up the File object for the app's data on creation */
72 * The set of data backed up by this application is very small: just
74 * easiest to simply store a copy of the backed-up data a
87 onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
220 onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DHwTests.java138 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { argument
142 data.add(temp);
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
H A DHomeActivity.java142 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerDataHelper.java17 package com.android.locationtracker.data;
24 * Helper class for writing and retrieving data using the TrackerProvider
31 /** formats data output */
81 * insert given location into tracker data
88 * insert given log message into tracker data
103 * Query tracker data, filtering by given tag
106 * @return Cursor to data
133 * Query tracker data, filtering by given tag. mo limit to number of rows
137 * @return Cursor to data
163 * data
[all...]
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
H A DVectorDrawableTest.java137 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { argument
141 data.add(temp);
/frameworks/base/tools/aapt2/
H A DStringPool_test.cpp209 std::unique_ptr<uint8_t[]> data = util::Copy(buffer); local
211 ASSERT_THAT(test.setTo(data.get(), buffer.size()), Eq(NO_ERROR));
223 std::unique_ptr<uint8_t[]> data = util::Copy(buffer); local
225 ASSERT_EQ(test.setTo(data.get(), buffer.size()), NO_ERROR);
267 std::unique_ptr<uint8_t[]> data = util::Copy(buffer); local
270 ASSERT_EQ(test.setTo(data.get(), buffer.size()), NO_ERROR);
318 std::unique_ptr<uint8_t[]> data = util::Copy(buffers[0]); local
319 test.setTo(data.get(), buffers[0].size());
324 data = util::Copy(buffers[1]);
325 test.setTo(data
[all...]
/frameworks/base/tools/aapt2/format/
H A DArchive.cpp73 bool Write(const void* data, int len) override {
78 if (fwrite(data, 1, len, file_.get()) != static_cast<size_t>(len)) {
99 const void* data = nullptr; variable
101 while (in->Next(&data, &len)) {
102 if (!Write(data, static_cast<int>(len))) {
153 int32_t result = writer_->StartEntry(path.data(), zip_flags);
161 bool Write(const void* data, int len) override {
162 int32_t result = writer_->WriteBytes(data, len);
185 const void* data = nullptr; variable
187 while (in->Next(&data,
[all...]
/frameworks/base/tools/aapt2/format/binary/
H A DResChunkPullParser.h30 // block of data.
32 // that the chunk's size doesn't extend beyond the available data, and will iterate over each chunk
33 // in the given block of data.
34 // Processing nested chunks is done by creating a new ResChunkPullParser pointing to the data
50 // data, of len bytes.
51 ResChunkPullParser(const void* data, size_t len);
94 inline ResChunkPullParser::ResChunkPullParser(const void* data, size_t len) argument
96 data_(reinterpret_cast<const android::ResChunk_header*>(data)),
/frameworks/base/tools/aapt2/io/
H A DFileStream.cpp60 bool FileInputStream::Next(const void** data, size_t* size) { argument
67 *data = buffer_.get() + buffer_offset_;
86 *data = buffer_.get();
142 bool FileOutputStream::Next(void** data, size_t* size) { argument
154 *data = buffer_.get() + buffer_offset_;
H A DUtil.cpp43 std::unique_ptr<io::IData> data = file->OpenAsData(); local
44 if (!data) {
48 return CopyInputStreamToArchive(context, data.get(), out_path, compression_flags, writer);
104 const char* in_buffer = in.data();
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pDnsSdServiceResponse.java120 * Return TXT record data.
121 * @return TXT record data.
149 * @param data RDATA.
153 int tranId, WifiP2pDevice dev, byte[] data) {
155 status, tranId, dev, data);
168 * The data format from Wi-Fi Direct spec is as follows.
219 * @param dis data input stream.
245 byte[] data = new byte[i];
246 dis.readFully(data);
247 sb.append(new String(data));
152 WifiP2pDnsSdServiceResponse(int status, int tranId, WifiP2pDevice dev, byte[] data) argument
295 newInstance(int status, int transId, WifiP2pDevice dev, byte[] data) argument
[all...]
H A DWifiP2pServiceInfo.java114 * @param data
118 static String bin2HexStr(byte[] data) { argument
121 for (byte b: data) {
173 List<String> data = new ArrayList<String>();
174 in.readStringList(data);
175 return new WifiP2pServiceInfo(data);
/frameworks/compile/mclinker/lib/Fragment/
H A DFragmentRef.cpp77 SectionData* data = NULL; local
84 data = pSection.getEhFrame()->getSectionData();
87 data = pSection.getSectionData();
91 if (data == NULL || data->empty()) {
95 return Create(data->front(), pOffset);

Completed in 451 milliseconds

<<11121314151617181920>>