/frameworks/base/core/tests/coretests/src/android/app/activity/ |
LocalDeniedReceiver.java | 33 Parcel data = Parcel.obtain(); local 34 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); 35 data.writeString(BroadcastTest.RECEIVER_LOCAL); 36 caller.transact(BroadcastTest.GOT_RECEIVE_TRANSACTION, data, null, 0); 37 data.recycle();
|
LocalGrantedReceiver.java | 33 Parcel data = Parcel.obtain(); local 34 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); 35 data.writeString(BroadcastTest.RECEIVER_LOCAL); 36 caller.transact(BroadcastTest.GOT_RECEIVE_TRANSACTION, data, null, 0); 37 data.recycle();
|
RemoteDeniedReceiver.java | 33 Parcel data = Parcel.obtain(); local 34 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); 35 data.writeString(BroadcastTest.RECEIVER_REMOTE); 36 caller.transact(BroadcastTest.GOT_RECEIVE_TRANSACTION, data, null, 0); 37 data.recycle();
|
RemoteGrantedReceiver.java | 33 Parcel data = Parcel.obtain(); local 34 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); 35 data.writeString(BroadcastTest.RECEIVER_REMOTE); 36 caller.transact(BroadcastTest.GOT_RECEIVE_TRANSACTION, data, null, 0); 37 data.recycle();
|
RemoteReceiver.java | 41 Parcel data = Parcel.obtain(); local 42 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); 43 data.writeString(LaunchpadActivity.RECEIVER_REMOTE); 44 caller.transact(LaunchpadActivity.GOT_RECEIVE_TRANSACTION, data, null, 0); 45 data.recycle();
|
/frameworks/base/libs/rs/ |
rsAdapter.cpp | 57 void Adapter1D::subData(uint32_t xoff, uint32_t count, const void *data) 62 memcpy(ptr, data, count); 66 void Adapter1D::data(const void *data) function in class:Adapter1D 69 data, 115 void rsi_Adapter1DSubData(Context *rsc, RsAdapter1D va, uint32_t xoff, uint32_t count, const void *data) 118 a->subData(xoff, count, data); 121 void rsi_Adapter1DData(Context *rsc, RsAdapter1D va, const void *data) 124 a->data(data); 181 void Adapter2D::data(const void *data) function in class:Adapter2D [all...] |
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherOutputStream1Test.java | 78 byte[] data = new byte[] { -127, -100, -50, -10, -1, 0, 1, 10, 50, 127 }; 81 cos.write(data); 84 if (!Arrays.equals(result, data)) { 100 byte[] data = new byte[] { -127, -100, -50, -10, -1, 0, 1, 10, 50, 127 }; 103 for (int i = 0; i < data.length; i++) { 104 cos.write(data[i]); 108 if (!Arrays.equals(result, data)) { 109 fail("CipherOutputStream wrote incorrect data."); 124 byte[] data = new byte[] { -127, -100, -50, -10, -1, 0, 1, 10, 50, 127 }; 127 cos.write(data); [all...] |
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
GameActivity.java | 153 State[] data = mGameView.getData();
local 159 if (data[index] == State.EMPTY) {
188 State[] data = mGameView.getData();
local 197 if (data[k] != State.EMPTY && data[k] == data[k+1] && data[k] == data[k+2]) {
200 if (full && (data[k] == State.EMPTY ||
201 data[k+1] == State.EMPTY || [all...] |
/external/webkit/WebCore/platform/network/ |
ResourceRequestBase.cpp | 20 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 39 auto_ptr<ResourceRequest> ResourceRequestBase::adopt(auto_ptr<CrossThreadResourceRequestData> data) 42 request->setURL(data->m_url); 43 request->setCachePolicy(data->m_cachePolicy); 44 request->setTimeoutInterval(data->m_timeoutInterval); 45 request->setFirstPartyForCookies(data->m_firstPartyForCookies); 46 request->setHTTPMethod(data->m_httpMethod); 49 request->m_httpHeaderFields.adopt(auto_ptr<CrossThreadHTTPHeaderMapData>(data->m_httpHeaders.release())); 51 size_t encodingCount = data->m_responseContentDispositionEncodingFallbackArray.size(); 53 String encoding1 = data->m_responseContentDispositionEncodingFallbackArray[0] [all...] |
/external/icu4c/common/ |
udataswp.h | 16 * Definitions for ICU data transformations for different platforms, 17 * changing between big- and little-endian data and/or between 35 * Function type for data transformation. 36 * Transforms data, or just returns the length of the data if 38 * Swap functions assume that their data pointers are aligned properly. 42 * check that the data looks like the expected format 46 * read inData and determine the data size 67 * @param ds Pointer to UDataSwapper containing global data about the 70 * @param inData Pointer to the input data to be transformed or examined [all...] |
/dalvik/dx/src/com/android/dx/util/ |
ByteArrayAnnotatedOutput.java | 24 * Implementation of {@link AnnotatedOutput} which stores the written data 41 /** {@code non-null;} the data itself */ 42 private byte[] data; field in class:ByteArrayAnnotatedOutput 67 * given array is the only one that will be used to store data. In 72 * @param data {@code non-null;} data array to use for output 74 public ByteArrayAnnotatedOutput(byte[] data) { 75 this(data, false); 90 * @param data {@code non-null;} data array to use for outpu [all...] |
/external/bluetooth/glib/gio/fen/ |
fen-data.c | 32 #include "fen-data.h" 78 fdata* data; local 81 data = node_get_data (node); 83 if (data != NULL) { 84 if (!FN_IS_PASSIVE(data)) { 87 fdata_delete (data); 104 get_scalable_scan_time (fdata* data) 108 sleep_time = _pow (BASE_NUM, data->changed_event_num) * SCAN_CHANGINGS_TIME; 113 data->change_update_id = INIT_CHANGES_NUM; 115 FD_W ("SCALABE SCAN num:time [ %4u : %4u ] %s\n", data->changed_event_num, sleep_time, FN_NAME(data)) 159 fdata* data; local 201 fdata* data; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/common/ |
wpa_common.c | 41 * description of the Key MIC calculation. It includes packet data from the 98 u8 data[2 * ETH_ALEN + 2 * WPA_NONCE_LEN]; local 101 os_memcpy(data, addr1, ETH_ALEN); 102 os_memcpy(data + ETH_ALEN, addr2, ETH_ALEN); 104 os_memcpy(data, addr2, ETH_ALEN); 105 os_memcpy(data + ETH_ALEN, addr1, ETH_ALEN); 109 os_memcpy(data + 2 * ETH_ALEN, nonce1, WPA_NONCE_LEN); 110 os_memcpy(data + 2 * ETH_ALEN + WPA_NONCE_LEN, nonce2, 113 os_memcpy(data + 2 * ETH_ALEN, nonce2, WPA_NONCE_LEN); 114 os_memcpy(data + 2 * ETH_ALEN + WPA_NONCE_LEN, nonce1 [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
IccUtils.java | 28 * Various methods, useful for dealing with SIM data. 42 bcdToString(byte[] data, int offset, int length) { 49 v = data[i] & 0xf; 53 v = (data[i] >> 4) & 0xf; 150 adnStringFieldToString(byte[] data, int offset, int length) { 152 if (data[offset] == (byte) 0x80) { 157 ret = new String(data, offset + 1, ucslen * 2, "utf-16be"); 179 if (length >= 3 && data[offset] == (byte) 0x81) { 180 len = data[offset + 1] & 0xFF; 184 base = (char) ((data[offset + 2] & 0xFF) << 7) [all...] |
/external/webkit/WebKit/android/jni/ |
WebHistory.cpp | 19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 158 static void WebHistoryInflate(JNIEnv* env, jobject obj, jint frame, jbyteArray data) 161 LOG_ASSERT(data, "Inflate needs a valid data pointer!"); 164 const jbyte* bytes = env->GetByteArrayElements(data, NULL); 165 jsize size = env->GetArrayLength(data); 181 env->ReleaseByteArrayElements(data, const_cast<jbyte*>(bytes), JNI_ABORT); 215 // Write our flattened data to the java array. 216 env->SetByteArrayRegion(b, 0, v.size(), (const jbyte*)v.data()); 302 WTF::Vector<char> data; local 375 char* data = v.begin() + vectorLen; local 481 const char* data = *pData; local [all...] |
/frameworks/base/core/java/android/content/res/ |
TypedArray.java | 55 * Return the number of indices in the array that actually have data. 62 * Return an index in the array that has data. 86 * @return CharSequence holding string data. May be styled. Returns 91 final int[] data = mData; local 92 final int type = data[index+AssetManager.STYLE_TYPE]; 114 * @return String holding string data. Any styling information is 119 final int[] data = mData; local 120 final int type = data[index+AssetManager.STYLE_TYPE]; 148 * @return String holding string data. Any styling information is 154 final int[] data = mData local 180 final int[] data = mData; local 212 final int[] data = mData; local 242 final int[] data = mData; local 271 final int[] data = mData; local 309 final int[] data = mData; local 358 final int[] data = mData; local 389 final int[] data = mData; local 421 final int[] data = mData; local 454 final int[] data = mData; local 481 final int[] data = mData; local 510 final int[] data = mData; local 540 final int[] data = mData; local 569 final int[] data = mData; local 655 final int[] data = mData; local 700 final int[] data = mData; local 718 final int[] data = mData; local [all...] |
/external/dbus/dbus/ |
dbus-list.c | 32 * @brief DBusList data structure 54 alloc_link (void *data) 85 link->data = data; 176 * printf ("value is %p\n", link->data); 198 * printf ("value is %p\n", link->data); 214 * @param data the value to store in the link. 218 _dbus_list_alloc_link (void *data) 220 return alloc_link (data); 225 * Does not free the data in the node 659 void *data; local 682 void *data; local [all...] |
dbus-timeout.c | 45 void *handler_data; /**< Timeout handler data. */ 46 DBusFreeFunction free_handler_data_function; /**< Free the timeout handler data. */ 48 void *data; /**< Application data. */ member in struct:DBusTimeout 49 DBusFreeFunction free_data_function; /**< Free the application data. */ 57 * @param data data to pass to the handler 58 * @param free_data_function function to be called to free the data. 64 void *data, 77 timeout->handler_data = data; [all...] |
/external/webkit/WebKit/win/Interfaces/ |
IWebDataSource.idl | 19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 51 @discussion A WebDataSource represents the data associated with a web page. 53 representation of the data. WebDataSources manage a hierarchy of WebFrames. 74 @method data 75 @discussion The data will be incomplete until the datasource has completely loaded. 76 @result Returns the raw data associated with the datasource. Returns nil 77 if the datasource hasn't loaded any data. 78 - (NSData *)data; 80 HRESULT data([out, retval] IStream** stream); 85 of the datasource's data. The representation class is determined by mappin [all...] |
/frameworks/base/core/java/com/android/internal/backup/ |
IBackupTransport.aidl | 53 * Initialize the server side storage for this device, erasing all stored data. 64 * Send one application's data to the backup destination. The transport may send 65 * the data immediately, or may buffer it. After this is called, {@link #finishBackup} 66 * must be called to ensure the data is sent and recorded successfully. 68 * @param packageInfo The identity of the application whose data is being backed up. 70 * @param data The data stream that resulted from invoking the application's 73 * @param wipeAllFirst When true, <i>all</i> backed-up data for the current device/account 74 * will be erased prior to the storage of the data provided here. The purpose of this 75 * is to provide a guarantee that no stale data exists in the restore set when th [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
ScreenShotDialog.java | 103 GridData data; local 112 data = new GridData(GridData.HORIZONTAL_ALIGN_CENTER); 113 data.widthHint = 80; 114 refresh.setLayoutData(data); 125 data = new GridData(GridData.HORIZONTAL_ALIGN_CENTER); 126 data.widthHint = 80; 127 rotate.setLayoutData(data); 141 data = new GridData(GridData.HORIZONTAL_ALIGN_CENTER); 142 data.widthHint = 80; 143 mSave.setLayoutData(data); [all...] |
/external/bluetooth/glib/gio/ |
gunixinputstream.c | 93 gpointer data); 102 gpointer data); 110 gpointer data); 430 read_async_cb (ReadAsyncData *data, 441 if (g_cancellable_set_error_if_cancelled (data->cancellable, &error)) 446 count_read = read (data->stream->priv->fd, data->buffer, data->count); 462 simple = g_simple_async_result_new (G_OBJECT (data->stream), 463 data->callback 493 ReadAsyncData *data; local 562 CloseAsyncData *data = _data; local 628 CloseAsyncData *data; local [all...] |
/external/speex/libspeex/ |
stereo.c | 25 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 108 EXPORT void speex_encode_stereo(float *data, int frame_size, SpeexBits *bits) 115 e_left += ((float)data[2*i])*data[2*i]; 116 e_right += ((float)data[2*i+1])*data[2*i+1]; 117 data[i] = .5*(((float)data[2*i])+data[2*i+1]); 118 e_tot += ((float)data[i])*data[i] [all...] |
/external/webkit/WebKit/gtk/webkit/ |
webkitwebdatasource.cpp | 44 * Data source encapsulates the content of a #WebKitWebFrame. A 45 * #WebKitWebFrame has a main resource and subresources and the data source 48 * request that initiated the load by asking for the provisional data source 50 * #WebKitWebDataSource. This data source may not have enough data and some 51 * methods may return empty values. To get a "full" data source with the data 52 * and resources loaded, you need to get the non-provisional data source 54 * data source will have the data after everything was loaded. Make sure tha 69 GString* data; member in struct:_WebKitWebDataSourcePrivate [all...] |
/build/tools/droiddoc/src/ |
TypeInfo.java | 128 public void makeHDF(HDF data, String base) 130 makeHDFRecursive(data, base, false, false, new HashSet<String>()); 133 public void makeQualifiedHDF(HDF data, String base) 135 makeHDFRecursive(data, base, true, false, new HashSet<String>()); 138 public void makeHDF(HDF data, String base, boolean isLastVararg, 141 makeHDFRecursive(data, base, false, isLastVararg, typeVariables); 144 public void makeQualifiedHDF(HDF data, String base, HashSet<String> typeVariables) 146 makeHDFRecursive(data, base, true, false, typeVariables); 149 private void makeHDFRecursive(HDF data, String base, boolean qualified, 154 data.setValue(base + ".label", label) [all...] |