/hardware/ril/mock-ril/src/java/com/android/internal/communication/ |
Msg.java | 95 * Send a message header followed by the data if present 97 * The length data field will be filled in as appropriate 99 * @param data if not null and length > 0 sent after header 102 public static final void send(RilChannel rc, MsgHeader mh, ByteBuffer data) 106 if (data == null) { 109 data.rewind(); 110 lenData = data.remaining(); 115 rc.sendAll(data); 120 * Send a message with cmd, token, status followed by the data. 122 * The length data field will be filled in as appropriat 136 ByteBuffer data; local [all...] |
/external/chromium/base/ |
weak_ptr_unittest.cc | 41 int data; local 42 WeakPtrFactory<int> factory(&data); 44 EXPECT_EQ(&data, ptr.get()); 48 int data; local 49 WeakPtrFactory<int> factory(&data); 59 int data; local 60 WeakPtrFactory<int> factory(&data); 69 int data; local 70 WeakPtrFactory<int> factory(&data); 73 EXPECT_EQ(&data, a.get()) 81 Derived data; local 95 int data; local 106 int data; local [all...] |
data_pack.h | 6 // (key, value) pairs of data. It's used to store static resources like 35 // Get resource by id |resource_id|, filling in |data|. 36 // The data is owned by the DataPack object and should not be modified. 38 bool GetStringPiece(uint32 resource_id, StringPiece* data); 41 // is used for image data, while the StringPiece interface is usually used 50 // The memory-mapped data. 53 // Number of resources in the data.
|
/external/chromium/third_party/icu/source/data/unidata/ |
ucdterms.txt | 1 UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE 3 Unicode Data Files include all data files under the directories 9 INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"), 12 DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. 20 the Unicode data files and associated documentation (the "Data Files") or 22 Data Files or Software without restriction, including without limitation the 24 the Data Files or Software, and to permit persons to whom the Data Files o [all...] |
/external/icu4c/data/unidata/ |
ucdterms.txt | 1 UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE 3 Unicode Data Files include all data files under the directories 9 INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"), 12 DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. 20 the Unicode data files and associated documentation (the "Data Files") or 22 Data Files or Software without restriction, including without limitation the 24 the Data Files or Software, and to permit persons to whom the Data Files o [all...] |
/external/srec/srec/ca/ |
utt_data.c | 46 if (utterance_started(&hUtt->data)) 48 if ((gap = getBlockGap(hUtt->data.gen_utt.frame)) > 0) 49 (void) setRECframePtr(hUtt->data.gen_utt.frame, gap, 1); 50 if (hUtt->data.gen_utt.frame->holdOffPeriod > 0) 51 setRECframePtr(hUtt->data.gen_utt.frame, -MIN(hUtt->data.gen_utt.frame->holdOffPeriod, getFrameGap(hUtt->data.gen_utt.frame)), 1); 52 while (!(rec_frame_voicing_status(hUtt->data.gen_utt.frame) & VOICE_BIT)) 54 incRECframePtr(hUtt->data.gen_utt.frame); 55 if (getFrameGap(hUtt->data.gen_utt.frame) == 0 [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/radius/ |
radius_server.c | 125 radius_server_get_client(struct radius_server_data *data, struct in_addr *addr, 128 struct radius_client *client = data->clients; 179 static void radius_server_session_free(struct radius_server_data *data, 182 eloop_cancel_timeout(radius_server_session_timeout, data, sess); 183 eloop_cancel_timeout(radius_server_session_remove_timeout, data, sess); 195 data->num_sess--; 199 static void radius_server_session_remove(struct radius_server_data *data, 205 eloop_cancel_timeout(radius_server_session_remove_timeout, data, sess); 216 radius_server_session_free(data, sess); 228 struct radius_server_data *data = eloop_ctx local 237 struct radius_server_data *data = eloop_ctx; local 667 struct radius_server_data *data = eloop_ctx; local 1032 struct radius_server_data *data; local 1249 struct radius_server_data *data = sess->server; local 1259 struct radius_server_data *data = sess->server; local [all...] |
/external/chromium/net/ftp/ |
ftp_network_transaction_unittest.cc | 23 // Size we use for IOBuffers used to receive data from the test data socket. 57 virtual MockWriteResult OnWrite(const std::string& data) { 59 return MockWriteResult(true, data.length()); 62 return Verify("USER anonymous\r\n", data, PRE_PASSWD, 68 return Verify("PASS chrome@example.com\r\n", data, PRE_SYST, 72 return Verify("SYST\r\n", data, PRE_PWD, "215 UNIX\r\n"); 74 return Verify("PWD\r\n", data, PRE_TYPE, 77 return Verify("TYPE I\r\n", data, PRE_PASV, 80 return Verify("PASV\r\n", data, PRE_SIZE [all...] |
/external/chromium/net/disk_cache/ |
storage_block.h | 17 // This class encapsulates common behavior of a single "block" of data that is 20 // This object provides a memory buffer for the related data, and it can be used 27 // DoSomething(a.Data()); 28 // b.SetData(a.Data()); 29 // ModifySomething(b.Data()); 30 // // Data modified on the previous call will be saved by b's destructor. 49 // Deletes the data, even if it was modified and not saved. This object must 53 // Stops sharing the data with another object. 56 // Sets the object to lazily save the in-memory data on destruction. 60 T* Data(); [all...] |
/external/elfutils/libelf/ |
elf_rawdata.c | 28 elf_rawdata (scn, data) 30 Elf_Data *data; 38 /* If `data' is not NULL this means we are not addressing the initial 39 data in the file. But this also means this data is already read 40 (since otherwise it is not possible to have a valid `data' pointer) 41 and all the data structures are initialized as well. In this case 42 we can simply walk the list of data records. */ 43 if (data != NULL 46 /* We don't allow accessing any but the data read from the fil [all...] |
/external/skia/gm/ |
gradients.cpp | 29 static SkShader* MakeLinear(const SkPoint pts[2], const GradData& data, 31 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, 32 data.fCount, tm, mapper); 35 static SkShader* MakeRadial(const SkPoint pts[2], const GradData& data, 40 return SkGradientShader::CreateRadial(center, center.fX, data.fColors, 41 data.fPos, data.fCount, tm, mapper); 44 static SkShader* MakeSweep(const SkPoint pts[2], const GradData& data, 49 return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors [all...] |
/external/webkit/JavaScriptCore/wtf/ |
Threading.cpp | 20 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 34 NewThreadContext(ThreadFunction entryPoint, void* data, const char* name) 36 , data(data) 42 void* data; member in struct:WTF::NewThreadContext 62 void* data = context->data; local 65 return entryPoint(data); 68 ThreadIdentifier createThread(ThreadFunction entryPoint, void* data, const char* name) 77 NewThreadContext* context = new NewThreadContext(entryPoint, data, name) [all...] |
/frameworks/base/libs/binder/ |
IPermissionController.cpp | 42 Parcel data, reply; local 43 data.writeInterfaceToken(IPermissionController::getInterfaceDescriptor()); 44 data.writeString16(permission); 45 data.writeInt32(pid); 46 data.writeInt32(uid); 47 remote()->transact(CHECK_PERMISSION_TRANSACTION, data, &reply); 59 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 61 //printf("PermissionController received: "); data.print(); 64 CHECK_INTERFACE(IPermissionController, data, reply); 65 String16 permission = data.readString16() [all...] |
/external/apache-http/src/org/apache/http/util/ |
EncodingUtils.java | 52 * @param data the byte array to be encoded 59 final byte[] data, 65 if (data == null) { 74 return new String(data, offset, length, charset); 76 return new String(data, offset, length); 86 * @param data the byte array to be encoded 90 public static String getString(final byte[] data, final String charset) { 91 if (data == null) { 94 return getString(data, 0, data.length, charset) [all...] |
/external/bluetooth/bluez/audio/ |
pcm_bluetooth.c | 97 sbc_t sbc; /* Codec data */ 139 struct bluetooth_a2dp a2dp; /* A2DP data */ 167 struct bluetooth_data *data = param; local 174 data->server.events = POLLIN; 175 /* note: only errors for data->stream.events */ 177 fds[0] = data->server; 178 fds[1] = data->stream; 181 period_time = 1000000.0 * data->io.period_size / data->io.rate; 194 if (data->stopped 260 struct bluetooth_data *data = io->private_data; local 277 struct bluetooth_data *data = io->private_data; local 288 struct bluetooth_data *data = io->private_data; local 322 struct bluetooth_data *data = io->private_data; local 333 struct bluetooth_data *data = io->private_data; local 431 struct bluetooth_data *data = io->private_data; local 690 struct bluetooth_data *data = io->private_data; local 764 struct bluetooth_data *data = io->private_data; local 797 struct bluetooth_data *data = io->private_data; local 848 struct bluetooth_data *data = io->private_data; local 906 struct bluetooth_data *data = io->private_data; local 1005 struct bluetooth_data *data = io->private_data; local 1214 struct bluetooth_data *data = io->private_data; local 1267 struct bluetooth_data *data = io->private_data; local 1723 struct bluetooth_data *data; local [all...] |
/development/samples/BackupRestore/src/com/example/android/backuprestore/ |
ExampleAgent.java | 43 * 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 56 /** The app's current data, read from the live disk file */ 61 /** The location of the application's persistent data file */ 64 /** For convenience, we set up the File object for the app's data on creation */ 71 * The set of data backed up by this application is very small: just 73 * easiest to simply store a copy of the backed-up data as the stat [all...] |
/system/extras/tests/sdcard/ |
plot_sdcard.py | 25 -p profile data generated by profile_sdcard.sh 27 ./plot_sdcard.py -t /tmp/data.txt 28 ./plot_sdcard.py -i /tmp/data.txt 33 >>> (metadata, data) = p.Parse('/tmp/data.txt') 34 >>> p.PlotIterations(metadata, data) 35 >>> p.PlotTimes(metadata, data) 48 """Dataset holds the summary and data (time,value pairs).""" 54 self.data = [] 61 return str(zip(self.time, self.data)) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/util/encoders/ |
HexEncoder.java | 41 * encode the input data producing a Hex output stream. 46 byte[] data, 54 int v = data[i] & 0xff; 70 * decode the Hex encoded byte data writing it to the given output stream, 76 byte[] data, 89 if (!ignore((char)data[end - 1])) 100 while (i < end && ignore((char)data[i])) 105 b1 = decodingTable[data[i++]]; 107 while (i < end && ignore((char)data[i])) 112 b2 = decodingTable[data[i++]] [all...] |
/external/expat/tests/ |
chardata.c | 44 int maxchars = sizeof(storage->data) / sizeof(storage->data[0]); 54 if (len + storage->count < sizeof(storage->data)) { 55 memcpy(storage->data + storage->count, s, len); 67 maxchars = sizeof(storage->data) / sizeof(storage->data[0]); 75 if (len + storage->count < sizeof(storage->data)) { 76 memcpy(storage->data + storage->count, s, 77 len * sizeof(storage->data[0])); 95 sprintf(buffer, "wrong number of data characters: [all...] |
/system/core/toolbox/ |
wipe.c | 19 "/data/misc", 20 "/data/local", 21 "/data/local/tmp", 22 "/data/data", 23 "/data/app_private", 24 "/data/app", 32 fprintf(stderr, "wipe <system|data|all>\n\n" 34 "data means '/data'\n") [all...] |
/external/chromium/third_party/icu/source/tools/makeconv/ |
makeconv.c | 49 initConvData(ConvData *data) { 50 uprv_memset(data, 0, sizeof(ConvData)); 51 data->sharedData.structSize=sizeof(UConverterSharedData); 52 data->staticData.structSize=sizeof(UConverterStaticData); 53 data->sharedData.staticData=&data->staticData; 57 cleanupConvData(ConvData *data) { 58 if(data!=NULL) { 59 if(data->cnvData!=NULL) { 60 data->cnvData->close(data->cnvData) 192 ConvData data; local [all...] |
/external/icu4c/common/unicode/ |
icudataver.h | 31 * This function loads up icuver and compares the data version to the wired-in U_ICU_DATA_VERSION. 34 * to TRUE if "icustd" is NOT found. Thus, if the data has been repackaged or modified, "icustd" 35 * (standard ICU) will be missing, and the function will alert the caller that the data is not standard. 37 * @param dataVersionFillin icuver data version information to be filled in if not-null 38 * @param isModifiedFillin if the data is not standard if not-null 48 * Retrieves the data version from icuver and stores it in dataVersionFillin. 50 * @param dataVersionFillin icuver data version information to be filled in if not-null
|
/external/icu4c/tools/makeconv/ |
makeconv.c | 49 initConvData(ConvData *data) { 50 uprv_memset(data, 0, sizeof(ConvData)); 51 data->sharedData.structSize=sizeof(UConverterSharedData); 52 data->staticData.structSize=sizeof(UConverterStaticData); 53 data->sharedData.staticData=&data->staticData; 57 cleanupConvData(ConvData *data) { 58 if(data!=NULL) { 59 if(data->cnvData!=NULL) { 60 data->cnvData->close(data->cnvData) 195 ConvData data; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_tls_common.h | 45 int eap_server_tls_ssl_init(struct eap_sm *sm, struct eap_ssl_data *data, 47 void eap_server_tls_ssl_deinit(struct eap_sm *sm, struct eap_ssl_data *data); 48 u8 * eap_server_tls_derive_key(struct eap_sm *sm, struct eap_ssl_data *data, 50 struct wpabuf * eap_server_tls_build_msg(struct eap_ssl_data *data, 53 int eap_server_tls_phase1(struct eap_sm *sm, struct eap_ssl_data *data); 55 struct eap_ssl_data *data, 57 int eap_server_tls_process(struct eap_sm *sm, struct eap_ssl_data *data,
|
/frameworks/base/core/java/android/app/backup/ |
package.html | 4 applications. If a user wipes the data on their device or upgrades to a new Android-powered 5 device, all applications that have enabled backup will restore the user's previous data.</p> 8 href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p> 13 like to enable backup and preserve its data on remote strage must implement a 23 <li>Perform backup of arbitrary data to remote storage</li> 25 <li>Restore the data saved to remote storage</li>
|