/frameworks/base/libs/hwui/tests/unit/ |
H A D | LinearAllocatorTests.cpp | 38 auto pair = la.create<SimplePair>(); local 41 EXPECT_EQ(1, pair->one); 42 EXPECT_EQ(2, pair->two);
|
/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/av/camera/ndk/ |
H A D | NdkCaptureRequest.cpp | 58 auto pair = req->targets->mOutputs.insert(*target); local 59 if (!pair.second) {
|
H A D | NdkCameraDevice.cpp | 128 auto pair = container->mOutputs.insert(*output); local 129 if (!pair.second) {
|
/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);
|
/frameworks/compile/mclinker/lib/Object/ |
H A D | ObjectBuilder.cpp | 40 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/core/jni/android/graphics/ |
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 | 285 RgnIterPair* pair = reinterpret_cast<RgnIterPair*>(pairHandle); local 286 SkASSERT(pair); 287 delete pair; 292 RgnIterPair* pair = reinterpret_cast<RgnIterPair*>(pairHandle); local 294 SkASSERT(pair); 297 if (!pair->fIter.done()) { 298 GraphicsJNI::irect_to_jrect(pair->fIter.rect(), env, rectObject); 299 pair->fIter.next();
|
/frameworks/base/keystore/java/android/security/ |
H A D | Credentials.java | 198 public void install(Context context, KeyPair pair) { argument 201 intent.putExtra(EXTRA_PRIVATE_KEY, pair.getPrivate().getEncoded()); 202 intent.putExtra(EXTRA_PUBLIC_KEY, pair.getPublic().getEncoded());
|
/frameworks/base/keystore/tests/src/android/security/keystore/ |
H A D | AndroidKeyPairGeneratorTest.java | 157 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 D | PatchCache.cpp | 151 const patch_pair_t& pair = patchesToRemove[i]; local 154 Patch* patch = pair.getSecond(); 161 mCache.remove(*pair.getFirst());
|
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraManager.cpp | 149 for (auto pair : cm->mDeviceStatusMap) { 150 int32_t cameraId = pair.first; 163 auto pair = mCallbacks.insert(cb); local 165 if (pair.second) { 166 for (auto pair : mDeviceStatusMap) { 167 int32_t cameraId = pair.first; 168 int32_t status = pair.second;
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ColorUtils.cpp | 46 ALookup<CU::ColorStandard, std::pair<CA::Primaries, CA::MatrixCoeffs>> sStandards { 118 std::pair<ColorAspects::Primaries, ColorAspects::MatrixCoeffs> res; 383 ALookup<CU::ColorStandard, std::pair<CA::Primaries, CA::MatrixCoeffs>> sStandardFallbacks { 481 auto pair = std::make_pair(aspects.mPrimaries, aspects.mMatrixCoeffs); local 482 if (!sStandards.map(pair, &standard)) { 483 if (!sStandardFallbacks.map(pair, &standard)) {
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
H A D | BluetoothTestUtils.java | 47 /** 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 D | AudioGroup.cpp | 589 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 D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |