Searched defs:pair (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/jni/android/graphics/
H A DAutoDecodeCancel.cpp61 AutoDecoderCancel* pair = gAutoDecoderCancel; local
62 while (pair != NULL) {
63 if (pair->fJOptions == joptions) {
64 pair->fDecoder->cancelDecode();
67 pair = pair->fNext;
H A DPathMeasure.cpp24 /* 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 DRegion.cpp287 RgnIterPair* pair = reinterpret_cast<RgnIterPair*>(pairHandle); local
288 SkASSERT(pair);
289 delete pair;
294 RgnIterPair* pair = reinterpret_cast<RgnIterPair*>(pairHandle); local
296 SkASSERT(pair);
299 if (!pair->fIter.done()) {
300 GraphicsJNI::irect_to_jrect(pair->fIter.rect(), env, rectObject);
301 pair->fIter.next();
/frameworks/base/tools/aapt/tests/
H A DMockDirectoryWalker.h13 using std::pair;
24 StringDirectoryWalker(String8& path, Vector< pair<String8,time_t> >& data) argument
82 Vector< pair<String8,time_t> > mData;
/frameworks/base/libs/hwui/unit_tests/
H A DLinearAllocatorTests.cpp57 auto pair = la.alloc<SimplePair>(); local
60 EXPECT_EQ(1, pair->one);
61 EXPECT_EQ(2, pair->two);
/frameworks/av/media/libmedia/
H A DAudioParameter.cpp43 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);
/frameworks/compile/mclinker/lib/Object/
H A DObjectBuilder.cpp40 SectionMap::const_mapping pair = local
43 std::string output_name = (pair.first == NULL) ? pName : pair.first->name();
57 SectionMap::mapping pair = m_Module.getScript().sectionMap().find( local
60 if (pair.first != NULL && pair.first->isDiscard()) {
66 (pair.first == NULL) ? pInputSection.name() : pair.first->name();
106 if (pair.first != NULL) {
107 assert(pair
[all...]
/frameworks/base/keystore/java/android/security/
H A DCredentials.java193 public void install(Context context, KeyPair pair) { argument
196 intent.putExtra(EXTRA_PRIVATE_KEY, pair.getPrivate().getEncoded());
197 intent.putExtra(EXTRA_PUBLIC_KEY, pair.getPublic().getEncoded());
/frameworks/base/keystore/tests/src/android/security/keystore/
H A DAndroidKeyPairGeneratorTest.java157 final KeyPair pair = mGenerator.generateKeyPair();
158 assertNotNull("The KeyPair returned should not be null", pair);
160 assertKeyPairCorrect(pair, TEST_ALIAS_1, "RSA", 2048, null, TEST_DN_1, TEST_SERIAL_1, NOW,
176 final KeyPair pair = generator.generateKeyPair();
177 assertNotNull("The KeyPair returned should not be null", pair);
179 assertKeyPairCorrect(pair, TEST_ALIAS_1, "EC", 256, null, TEST_DN_1, TEST_SERIAL_1, NOW,
194 final KeyPair pair = mGenerator.generateKeyPair();
195 assertNotNull("The KeyPair returned should not be null", pair);
197 assertKeyPairCorrect(pair, TEST_ALIAS_1, "EC", 256, null, TEST_DN_1, TEST_SERIAL_1, NOW,
212 final KeyPair pair
330 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 DPatchCache.cpp161 const patch_pair_t& pair = patchesToRemove[i]; local
164 Patch* patch = pair.getSecond();
171 mCache.remove(*pair.getFirst());
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java47 /** Timeout for pair/unpair in ms. */
746 public void pair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin) { method in class:BluetoothTestUtils
765 * Helper method used by {@link #pair(BluetoothAdapter, BluetoothDevice, int, byte[])} and
766 * {@link #acceptPair(BluetoothAdapter, BluetoothDevice, int, byte[])} to either pair or accept
773 * @param shouldPair Whether to pair or accept the pair.
781 methodName = String.format("pair(device=%s)", device);
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp589 int pair[2]; local
590 if (socketpair(AF_UNIX, SOCK_DGRAM, 0, pair)) {
594 mDeviceSocket = pair[0];
598 if (!mChain->set(AudioStream::NORMAL, pair[1], NULL, NULL,
600 close(pair[1]);
609 if (setsockopt(pair[0], SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv))) {
618 if (epoll_ctl(mEventQueue, EPOLL_CTL_ADD, pair[1], &event)) {
624 ALOGD("stream[%d] joins group[%d]", pair[1], pair[0]);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 365 milliseconds