/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 584 int pair[2]; local 585 if (socketpair(AF_UNIX, SOCK_DGRAM, 0, pair)) { 589 mDeviceSocket = pair[0]; 593 if (!mChain->set(AudioStream::NORMAL, pair[1], NULL, NULL, 595 close(pair[1]); 604 if (setsockopt(pair[0], SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv))) { 613 if (epoll_ctl(mEventQueue, EPOLL_CTL_ADD, pair[1], &event)) { 619 ALOGD("stream[%d] joins group[%d]", pair[1], pair[0]);
|
/frameworks/compile/mclinker/lib/Object/ |
H A D | ObjectBuilder.cpp | 41 SectionMap::const_mapping pair = local 44 std::string output_name = (pair.first == NULL) ? pName : pair.first->name(); 59 SectionMap::mapping pair = local 63 if (pair.first != NULL && pair.first->isDiscard()) { 68 std::string output_name = (pair.first == NULL) ? 69 pInputSection.name() : pair.first->name(); 98 if (pair.first != NULL) { 99 assert(pair [all...] |
/frameworks/base/tools/aapt/tests/ |
H A D | MockDirectoryWalker.h | 13 using std::pair; 24 StringDirectoryWalker(String8& path, Vector< pair<String8,time_t> >& data) argument 82 Vector< pair<String8,time_t> > mData;
|
/frameworks/base/keystore/java/android/security/ |
H A D | Credentials.java | 190 public void install(Context context, KeyPair pair) { argument 193 intent.putExtra(EXTRA_PRIVATE_KEY, pair.getPrivate().getEncoded()); 194 intent.putExtra(EXTRA_PUBLIC_KEY, pair.getPublic().getEncoded());
|
/frameworks/base/keystore/tests/src/android/security/ |
H A D | AndroidKeyPairGeneratorTest.java | 151 final KeyPair pair = mGenerator.generateKeyPair(); 152 assertNotNull("The KeyPair returned should not be null", pair); 154 assertKeyPairCorrect(pair, TEST_ALIAS_1, "RSA", 2048, null, TEST_DN_1, TEST_SERIAL_1, NOW, 168 final KeyPair pair = mGenerator.generateKeyPair(); 169 assertNotNull("The KeyPair returned should not be null", pair); 171 assertKeyPairCorrect(pair, TEST_ALIAS_1, "DSA", 1024, null, TEST_DN_1, TEST_SERIAL_1, NOW, 187 final KeyPair pair = mGenerator.generateKeyPair(); 188 assertNotNull("The KeyPair returned should not be null", pair); 190 assertKeyPairCorrect(pair, TEST_ALIAS_1, "DSA", 2048, null, TEST_DN_1, TEST_SERIAL_1, NOW, 312 final KeyPair pair 465 assertKeyPairCorrect(KeyPair pair, String alias, String keyType, int keySize, AlgorithmParameterSpec spec, X500Principal dn, BigInteger serial, Date start, Date end) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | PatchCache.cpp | 155 const patch_pair_t& pair = patchesToRemove[i]; local 158 Patch* patch = pair.getSecond(); 165 mCache.remove(*pair.getFirst());
|
H A D | PathCache.cpp | 366 void PathCache::remove(Vector<PathDescription>& pathsToRemove, const path_pair_t& pair) { argument 372 (key.shape.path.mPath == pair.getFirst() || 373 key.shape.path.mPath == pair.getSecond())) { 391 const path_pair_t& pair = mGarbage.itemAt(i); local 392 remove(pathsToRemove, pair); 393 delete pair.getFirst();
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | InputMethodUtils.java | 802 StringBuilder builder, Pair<String, ArrayList<String>> pair) { 803 String id = pair.first; 804 ArrayList<String> subtypes = pair.second; 801 buildEnabledInputMethodsSettingString( StringBuilder builder, Pair<String, ArrayList<String>> pair) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | AutoDecodeCancel.cpp | 60 AutoDecoderCancel* pair = gAutoDecoderCancel; local 61 while (pair != NULL) { 62 if (pair->fJOptions == joptions) { 63 pair->fDecoder->cancelDecode(); 66 pair = pair->fNext;
|
H A D | PathMeasure.cpp | 24 /* We declare an explicit pair, so that we don't have to rely on the java 59 PathMeasurePair* pair; local 61 pair = new PathMeasurePair(*path, forceClosed); 63 pair = new PathMeasurePair; 64 return reinterpret_cast<jlong>(pair); 69 PathMeasurePair* pair = reinterpret_cast<PathMeasurePair*>(pairHandle); local 74 pair->fPath.reset(); 76 pair->fPath = *path; 78 pair->fMeasure.setPath(&pair 82 PathMeasurePair* pair = reinterpret_cast<PathMeasurePair*>(pairHandle); local 94 PathMeasurePair* pair = reinterpret_cast<PathMeasurePair*>(pairHandle); local 114 PathMeasurePair* pair = reinterpret_cast<PathMeasurePair*>(pairHandle); local 122 PathMeasurePair* pair = reinterpret_cast<PathMeasurePair*>(pairHandle); local 129 PathMeasurePair* pair = reinterpret_cast<PathMeasurePair*>(pairHandle); local 135 PathMeasurePair* pair = reinterpret_cast<PathMeasurePair*>(pairHandle); local 141 PathMeasurePair* pair = reinterpret_cast<PathMeasurePair*>(pairHandle); local [all...] |
H A D | Region.cpp | 269 RgnIterPair* pair = reinterpret_cast<RgnIterPair*>(pairHandle); local 270 SkASSERT(pair); 271 delete pair; 276 RgnIterPair* pair = reinterpret_cast<RgnIterPair*>(pairHandle); local 278 SkASSERT(pair); 281 if (!pair->fIter.done()) { 282 GraphicsJNI::irect_to_jrect(pair->fIter.rect(), env, rectObject); 283 pair->fIter.next();
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
H A D | BluetoothTestUtils.java | 47 /** Timeout for pair/unpair in ms. */ 745 public void pair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin) { method in class:BluetoothTestUtils 764 * Helper method used by {@link #pair(BluetoothAdapter, BluetoothDevice, int, byte[])} and 765 * {@link #acceptPair(BluetoothAdapter, BluetoothDevice, int, byte[])} to either pair or accept 772 * @param shouldPair Whether to pair or accept the pair. 780 methodName = String.format("pair(device=%s)", device);
|
/frameworks/av/media/libmedia/ |
H A D | AudioParameter.cpp | 43 char *pair = strtok_r(str, ";", &last); local 44 while (pair != NULL) { 45 if (strlen(pair) != 0) { 46 size_t eqIdx = strcspn(pair, "="); 47 String8 key = String8(pair, eqIdx); 49 if (eqIdx == strlen(pair)) { 52 value = String8(pair + eqIdx + 1); 60 ALOGV("AudioParameter() cstor empty key value pair"); 62 pair = strtok_r(NULL, ";", &last);
|