Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 1162) sorted by relevance

12345678910>>...47

/packages/apps/TV/usbtuner/src/com/android/usbtuner/ts/
DSectionParser.java25 import com.android.usbtuner.data.Channel;
26 import com.android.usbtuner.data.PsiData.PatItem;
27 import com.android.usbtuner.data.PsiData.PmtItem;
28 import com.android.usbtuner.data.PsipData.Ac3AudioDescriptor;
29 import com.android.usbtuner.data.PsipData.CaptionServiceDescriptor;
30 import com.android.usbtuner.data.PsipData.ContentAdvisoryDescriptor;
31 import com.android.usbtuner.data.PsipData.EitItem;
32 import com.android.usbtuner.data.PsipData.EttItem;
33 import com.android.usbtuner.data.PsipData.ExtendedChannelNameDescriptor;
34 import com.android.usbtuner.data.PsipData.GenreDescriptor;
[all …]
/packages/services/Car/car-support-lib/src/android/support/car/hardware/
DCarSensorEvent.java294 public EnvironmentData getEnvironmentData(EnvironmentData data) { in getEnvironmentData() argument
296 if (data == null) { in getEnvironmentData()
297 data = new EnvironmentData(); in getEnvironmentData()
299 data.timeStampNs = timeStampNs; in getEnvironmentData()
300 data.temperature = floatValues[INDEX_ENVIRONMENT_TEMPERATURE]; in getEnvironmentData()
301 data.pressure = floatValues[INDEX_ENVIRONMENT_PRESSURE]; in getEnvironmentData()
302 return data; in getEnvironmentData()
318 public NightData getNightData(NightData data) { in getNightData() argument
320 if (data == null) { in getNightData()
321 data = new NightData(); in getNightData()
[all …]
/packages/services/Car/libvehiclenetwork/native/
DIVehicleNetwork.cpp65 Parcel data, reply; in listProperties() local
66 data.writeInterfaceToken(IVehicleNetwork::getInterfaceDescriptor()); in listProperties()
67 data.writeInt32(property); in listProperties()
68 status_t status = remote()->transact(LIST_PROPERTIES, data, &reply); in listProperties()
90 if(!configs->ParseFromArray(blob.blob->data(), size)) { in listProperties()
108 Parcel data, reply; in setProperty() local
109 data.writeInterfaceToken(IVehicleNetwork::getInterfaceDescriptor()); in setProperty()
110 status_t status = VehiclePropValueBinderUtil::writeToParcel(data, value); in setProperty()
114 status = remote()->transact(SET_PROPERTY, data, &reply); in setProperty()
119 Parcel data, reply; in getProperty() local
[all …]
DIVehicleNetworkHalMock.cpp58 Parcel data, reply; in onListProperties() local
59 data.writeInterfaceToken(IVehicleNetworkHalMock::getInterfaceDescriptor()); in onListProperties()
60 status_t status = remote()->transact(ON_LIST_PROPERTIES, data, &reply); in onListProperties()
82 if(!configs->ParseFromArray(blob.blob->data(), size)) { in onListProperties()
100 Parcel data, reply; in onPropertySet() local
101 data.writeInterfaceToken(IVehicleNetworkHalMock::getInterfaceDescriptor()); in onPropertySet()
102 status_t status = VehiclePropValueBinderUtil::writeToParcel(data, value); in onPropertySet()
106 status = remote()->transact(ON_PROPERTY_SET, data, &reply); in onPropertySet()
114 Parcel data, reply; in onPropertyGet() local
115 data.writeInterfaceToken(IVehicleNetworkHalMock::getInterfaceDescriptor()); in onPropertyGet()
[all …]
DIVehicleNetworkListener.cpp48 Parcel data, reply; in onEvents() local
49 data.writeInterfaceToken(IVehicleNetworkListener::getInterfaceDescriptor()); in onEvents()
57 data.writeInt32(1); // for java compatibility in onEvents()
60 data.writeInt32(size); in onEvents()
61 data.writeBlob(size, false, blob.blob); in onEvents()
62 values->SerializeToArray(blob.blob->data(), size); in onEvents()
63 remote()->transact(ON_EVENTS, data, &reply); in onEvents()
67 Parcel data, reply; in onHalError() local
68 data.writeInterfaceToken(IVehicleNetworkListener::getInterfaceDescriptor()); in onHalError()
69 data.writeInt32(errorCode); in onHalError()
[all …]
/packages/apps/TV/usbtuner/src/com/android/usbtuner/cc/
DCea708Parser.java24 import com.android.usbtuner.data.Cea708Data;
25 import com.android.usbtuner.data.Cea708Data.CaptionColor;
26 import com.android.usbtuner.data.Cea708Data.CaptionEvent;
27 import com.android.usbtuner.data.Cea708Data.CaptionPenAttr;
28 import com.android.usbtuner.data.Cea708Data.CaptionPenColor;
29 import com.android.usbtuner.data.Cea708Data.CaptionPenLocation;
30 import com.android.usbtuner.data.Cea708Data.CaptionWindow;
31 import com.android.usbtuner.data.Cea708Data.CaptionWindowAttr;
32 import com.android.usbtuner.data.Cea708Data.CcPacket;
229 public void parseClosedCaption(ByteBuffer data, long framePtsUs) { in parseClosedCaption() argument
[all …]
/packages/services/Car/car-lib/src/android/car/hardware/
DCarSensorEvent.java216 public EnvironmentData getEnvironmentData(EnvironmentData data) { in getEnvironmentData() argument
218 if (data == null) { in getEnvironmentData()
219 data = new EnvironmentData(); in getEnvironmentData()
221 data.timeStampNs = timeStampNs; in getEnvironmentData()
222 data.temperature = floatValues[INDEX_ENVIRONMENT_TEMPERATURE]; in getEnvironmentData()
223 data.pressure = floatValues[INDEX_ENVIRONMENT_PRESSURE]; in getEnvironmentData()
224 return data; in getEnvironmentData()
240 public NightData getNightData(NightData data) { in getNightData() argument
242 if (data == null) { in getNightData()
243 data = new NightData(); in getNightData()
[all …]
/packages/providers/ContactsProvider/tests/assets/upgradeTest/
Dcontacts2_1108.sql3 …INTEGER PRIMARY KEY,account_name TEXT NOT NULL,account_type TEXT NOT NULL,data TEXT,UNIQUE(account… field
15data(_id),photo_file_id INTEGER REFERENCES photo_files(_id),custom_ringtone TEXT,send_to_voicemail…
34 CREATE TABLE data (_id INTEGER PRIMARY KEY AUTOINCREMENT,package_id INTEGER REFERENCES package(_id)… table
35 CREATE TABLE phone_lookup (data_id INTEGER REFERENCES data(_id) NOT NULL,raw_contact_id INTEGER REF…
36 CREATE TABLE name_lookup (data_id INTEGER REFERENCES data(_id) NOT NULL,raw_contact_id INTEGER REFE…
45 …photo_id INTEGER NOT NULL DEFAULT 0,photo_uri TEXT,formatted_number TEXT,_data TEXT,has_content IN…
48 CREATE TABLE status_updates (status_update_data_id INTEGER PRIMARY KEY REFERENCES data(_id),status …
52 …L DEFAULT 0, last_time_used INTEGER NOT NULL DEFAULT 0, FOREIGN KEY(data_id) REFERENCES data(_id));
53 …INCREMENT,raw_contact_backup_id TEXT NOT NULL,account_id INTEGER NOT NULL,data TEXT,deleted INTEGE… field
125 CREATE INDEX data_raw_contact_id ON data (raw_contact_id);
[all …]
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DEndianUtils.java118 public static void writeSwappedShort(byte[] data, int offset, short value) { in writeSwappedShort() argument
119 data[ offset + 0 ] = (byte)( ( value >> 0 ) & 0xff ); in writeSwappedShort()
120 data[ offset + 1 ] = (byte)( ( value >> 8 ) & 0xff ); in writeSwappedShort()
130 public static short readSwappedShort(byte[] data, int offset) { in readSwappedShort() argument
131 return (short)( ( ( data[ offset + 0 ] & 0xff ) << 0 ) + in readSwappedShort()
132 ( ( data[ offset + 1 ] & 0xff ) << 8 ) ); in readSwappedShort()
143 public static int readSwappedUnsignedShort(byte[] data, int offset) { in readSwappedUnsignedShort() argument
144 return ( ( ( data[ offset + 0 ] & 0xff ) << 0 ) + in readSwappedUnsignedShort()
145 ( ( data[ offset + 1 ] & 0xff ) << 8 ) ); in readSwappedUnsignedShort()
155 public static void writeSwappedInteger(byte[] data, int offset, int value) { in writeSwappedInteger() argument
[all …]
DIOUtils.java631 public static void write(byte[] data, OutputStream output) in write() argument
633 if (data != null) { in write()
634 output.write(data); in write()
651 public static void write(byte[] data, Writer output) throws IOException { in write() argument
652 if (data != null) { in write()
653 output.write(new String(data)); in write()
674 public static void write(byte[] data, Writer output, String encoding) in write() argument
676 if (data != null) { in write()
678 write(data, output); in write()
680 output.write(new String(data, encoding)); in write()
[all …]
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DLocalSource.java90 AlbumData data = foundAlbums.get(id); in findAlbums() local
92 data = new AlbumData(); in findAlbums()
93 data.id = id; in findAlbums()
94 data.account = mLocalSourceName; in findAlbums()
97 data.thumbnailUrl = cursor.getString(dataIndex); in findAlbums()
101 data.title = cursor.getString(nameIndex); in findAlbums()
103 data.title = mUnknownAlbumName; in findAlbums()
106 log(TAG, data.title + " found"); in findAlbums()
107 foundAlbums.put(id, data); in findAlbums()
111 data.updated = (data.updated == 0 ? in findAlbums()
[all …]
DPicasaSource.java104 protected void openCursor(ImageData data) { in openCursor() argument
108 String selection = PICASA_ALBUM_ID + " = '" + data.albumId + "'"; in openCursor()
114 data.cursor = mResolver.query(picasaUriBuilder.build(), in openCursor()
119 protected void findPosition(ImageData data) { in findPosition() argument
120 if (data.position == UNINITIALIZED) { in findPosition()
121 if (data.cursor == null) { in findPosition()
122 openCursor(data); in findPosition()
124 if (data.cursor != null) { in findPosition()
125 int idIndex = data.cursor.getColumnIndex(PICASA_ID); in findPosition()
126 data.cursor.moveToPosition(-1); in findPosition()
[all …]
/packages/experimental/procstatlog/
Dprocstatlog.c57 struct data { struct
72 static void read_data(struct data *data, const char *filename) { in read_data() argument
74 data->name = strdup(filename); in read_data()
77 data->value = NULL; in read_data()
85 data->value = NULL; in read_data()
91 data->value = malloc(len + 1); in read_data()
92 memcpy(data->value, buf, len); in read_data()
93 data->value[len] = '\0'; in read_data()
105 struct data *stats, int stats_count) { in read_lines()
143 struct data *data = &stats[num++]; in read_lines() local
[all …]
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
DConversationMessageDataTest.java16 package com.android.messaging.datamodel.data;
23 import com.android.messaging.datamodel.data.ConversationMessageData;
24 import com.android.messaging.datamodel.data.MessageData;
25 import com.android.messaging.datamodel.data.ConversationMessageData.ConversationMessageViewColumns;
37 final ConversationMessageData data = new ConversationMessageData(); in testBindFirstMessage() local
39 data.bind(testCursor); in testBindFirstMessage()
42 MessageData.BUGLE_STATUS_INCOMING_COMPLETE), data.getIsIncoming()); in testBindFirstMessage()
44 0), data.getSenderProfilePhotoUri()); in testBindFirstMessage()
46 data.getSenderFullName()); in testBindFirstMessage()
51 final ConversationMessageData data = new ConversationMessageData(); in testBindTwice() local
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DMessageDetailsDialog.java30 import com.android.messaging.datamodel.data.ConversationMessageData;
31 import com.android.messaging.datamodel.data.ConversationParticipantsData;
32 import com.android.messaging.datamodel.data.ParticipantData;
53 public static void show(final Context context, final ConversationMessageData data, in show() argument
59 return getMessageDetails(context, data, participants, self); in show()
68 String messageDetails = getMessageDetails(context, data, participants, self); in show()
74 final ConversationMessageData data, in getMessageDetails() argument
77 if (data.getIsSms()) { in getMessageDetails()
78 messageDetails = getSmsMessageDetails(data, participants, self); in getMessageDetails()
81 messageDetails = getMmsMessageDetails(context, data, participants, self); in getMessageDetails()
[all …]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndbdic.c122 NJ_UINT16 data; in get_stem_hindo() local
136 data = (NJ_UINT16)(NJ_INT16_READ(stem_data + pos)); in get_stem_hindo()
141 return GET_BITFIELD_16(data, j, BIT_HINDO_LEN(hdl)); in get_stem_hindo()
151 NJ_UINT16 data; in get_stem_next() local
170 data = (NJ_UINT16)(NJ_INT16_READ(stem_data + pos)); in get_stem_next()
176 candidate_size = GET_BITFIELD_16(data, j, cand_bit); in get_stem_next()
184 data = (NJ_UINT16)(NJ_INT16_READ(stem_data + pos)); in get_stem_next()
190 yomi_size = GET_BITFIELD_16(data, j, yomi_bit); in get_stem_next()
212 NJ_UINT16 data; in get_stem_word() local
231 data = (NJ_UINT16)(NJ_INT16_READ(stem_data + pos)); in get_stem_word()
[all …]
Dndfdic.c75 static NJ_UINT16 yomi_strcmp_forward(NJ_DIC_HANDLE hdl, NJ_UINT8 *data, NJ_CHAR *yomi);
80 NJ_UINT8 *data; in search_data() local
88 data = STEM_AREA_TOP_ADDR(loctset->loct.handle) + offset; in search_data()
91 data += DATA_SIZE; in search_data()
95 if (data >= STRS_AREA_TOP_ADDR(loctset->loct.handle)) { in search_data()
106 i = (STRS_AREA_TOP_ADDR(loctset->loct.handle) - data) / DATA_SIZE; in search_data()
109 if (njd_connect_test(condition, DATA_FHINSI(data), DATA_BHINSI(data))) { in search_data()
120 if (yomi_strcmp_forward(loctset->loct.handle, data, condition->yomi)) { in search_data()
141 data += DATA_SIZE; in search_data()
201 static NJ_UINT16 yomi_strcmp_forward(NJ_DIC_HANDLE hdl, NJ_UINT8 *data, NJ_CHAR *yomi) in yomi_strcmp_forward() argument
[all …]
/packages/services/Telephony/src/org/apache/commons/io/
DIOUtils.java556 public static void write(byte[] data, OutputStream output) in write() argument
558 if (data != null) { in write()
559 output.write(data); in write()
576 public static void write(byte[] data, Writer output) throws IOException { in write() argument
577 if (data != null) { in write()
578 output.write(new String(data)); in write()
599 public static void write(byte[] data, Writer output, String encoding) in write() argument
601 if (data != null) { in write()
603 write(data, output); in write()
605 output.write(new String(data, encoding)); in write()
[all …]
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java140 public void onBackup(ParcelFileDescriptor oldStateDescriptor, BackupDataOutput data, in onBackup() argument
161 runBackup(state, data, getAllCallLogEntries()); in onBackup()
175 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) in onRestore() argument
188 while (data.readNextHeader()) { in onRestore()
189 Call call = readCallFromData(data); in onRestore()
200 void runBackup(CallLogBackupState state, BackupDataOutput data, Iterable<Call> calls) { in runBackup() argument
214 addCallToBackup(data, call); in runBackup()
229 removeCallFromBackup(data, i); in runBackup()
314 Call readCallFromData(BackupDataInput data) { in readCallFromData() argument
317 callId = Integer.parseInt(data.getKey()); in readCallFromData()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryActivity.java35 import com.android.gallery3d.data.DataManager;
36 import com.android.gallery3d.data.MediaItem;
37 import com.android.gallery3d.data.MediaSet;
38 import com.android.gallery3d.data.Path;
104 Bundle data = new Bundle(); in startDefaultPage() local
105 data.putString(AlbumSetPage.KEY_MEDIA_PATH, in startDefaultPage()
107 getStateManager().startState(AlbumSetPage.class, data); in startDefaultPage()
115 Bundle data = intent.getExtras() != null in startGetContent() local
118 data.putBoolean(KEY_GET_CONTENT, true); in startGetContent()
120 data.putInt(KEY_TYPE_BITS, typeBits); in startGetContent()
[all …]
DAlbumPage.java36 import com.android.gallery3d.data.DataManager;
37 import com.android.gallery3d.data.MediaDetails;
38 import com.android.gallery3d.data.MediaItem;
39 import com.android.gallery3d.data.MediaObject;
40 import com.android.gallery3d.data.MediaSet;
41 import com.android.gallery3d.data.Path;
231 Bundle data = new Bundle(getData()); in onUpPressed() local
232 data.putString(AlbumSetPage.KEY_MEDIA_PATH, mParentMediaSetString); in onUpPressed()
234 this, AlbumSetPage.class, data); in onUpPressed()
294 Bundle data = new Bundle(); in pickPhoto() local
[all …]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageSettings.java520 SearchIndexableRaw data = new SearchIndexableRaw(context);
521 data.title = context.getString(R.string.storage_settings);
522 data.screenTitle = context.getString(R.string.storage_settings);
523 result.add(data);
525 data = new SearchIndexableRaw(context);
526 data.title = context.getString(R.string.internal_storage);
527 data.screenTitle = context.getString(R.string.storage_settings);
528 result.add(data);
530 data = new SearchIndexableRaw(context);
535 data.title = storage.getBestVolumeDescription(vol);
[all …]
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DBindingTest.java41 final TestBindableData data = new TestBindableData(TEST_DATA_ID); in testDataStartsUnbound() local
42 assertFalse(data.isBound()); in testDataStartsUnbound()
47 final TestBindableData data = new TestBindableData(TEST_DATA_ID); in testBindingUpdatesDataAndBindee() local
48 binding.bind(data); in testBindingUpdatesDataAndBindee()
50 assertEquals(binding.getData(), data); in testBindingUpdatesDataAndBindee() local
51 assertTrue(data.isBound(binding.getBindingId())); in testBindingUpdatesDataAndBindee()
52 assertFalse(data.isBound("SomeRandomString")); in testBindingUpdatesDataAndBindee()
54 assertFalse(data.mListenersUnregistered); in testBindingUpdatesDataAndBindee()
63 final TestBindableData data = new TestBindableData(TEST_DATA_ID); in testRebindingFails() local
65 binding.bind(data); in testRebindingFails()
[all …]
DFakeDataModel.java26 import com.android.messaging.datamodel.data.BlockedParticipantsData;
27 import com.android.messaging.datamodel.data.BlockedParticipantsData.BlockedParticipantsDataListener;
28 import com.android.messaging.datamodel.data.ContactListItemData;
29 import com.android.messaging.datamodel.data.ContactPickerData;
30 import com.android.messaging.datamodel.data.ContactPickerData.ContactPickerDataListener;
31 import com.android.messaging.datamodel.data.ConversationData;
32 import com.android.messaging.datamodel.data.ConversationData.ConversationDataListener;
33 import com.android.messaging.datamodel.data.ConversationListData;
34 import com.android.messaging.datamodel.data.ConversationListData.ConversationListDataListener;
35 import com.android.messaging.datamodel.data.DraftMessageData;
[all …]
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageMeteredSettings.java171 SearchIndexableRaw data = new SearchIndexableRaw(context);
172 data.title = res.getString(R.string.data_usage_menu_metered);
173 data.screenTitle = res.getString(R.string.data_usage_menu_metered);
174 result.add(data);
177 data = new SearchIndexableRaw(context);
178 data.title = res.getString(R.string.data_usage_metered_body);
179 data.screenTitle = res.getString(R.string.data_usage_menu_metered);
180 result.add(data);
184 data = new SearchIndexableRaw(context);
185 data.title = res.getString(R.string.data_usage_metered_mobile);
[all …]

12345678910>>...47