/frameworks/base/media/jni/ |
H A D | android_media_MediaDataSource.cpp | 41 CHECK(mediaDataSourceClass.get() != NULL); 43 mReadMethod = env->GetMethodID(mediaDataSourceClass.get(), "readAt", "(J[BII)I"); 45 mGetSizeMethod = env->GetMethodID(mediaDataSourceClass.get(), "getSize", "()J"); 47 mCloseMethod = env->GetMethodID(mediaDataSourceClass.get(), "close", "()V"); 51 mByteArrayObj = (jbyteArray)env->NewGlobalRef(tmp.get());
|
H A D | android_media_MediaHTTPConnection.cpp | 50 mByteArrayObj = (jbyteArray)env->NewGlobalRef(tmp.get()); 95 env->SetLongField(thiz, gFields.context, (jlong)conn.get()); 107 CHECK(clazz.get() != NULL); 109 gFields.context = env->GetFieldID(clazz.get(), "mNativeContext", "J"); 112 gFields.readAtMethodID = env->GetMethodID(clazz.get(), "readAt", "(J[BI)I");
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | GenerationRegistry.java | 58 final int generation = backingStore.get(index) + 1; 80 backingStore.get(index)); 143 final int index = keyToIndexMap.get(key, -1); 156 int index = keyToIndexMap.get(key, -1); 176 if (backingStore.get(i) == 0) {
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputHal.java | 88 int generation = mStreamConfigGenerations.get(deviceId, 0); 105 int generation = mStreamConfigGenerations.get(deviceId, 0); 126 int generation = mStreamConfigGenerations.get(deviceId, 0) + 1; 167 configs = mStreamConfigs.get(info.getDeviceId()); 190 configs = mStreamConfigs.get(deviceId);
|
/frameworks/base/tools/aapt2/flatten/ |
H A D | Archive.cpp | 70 if (fwrite(b.buffer.get(), 1, b.size, mFile.get()) != b.size) { 79 if (fwrite(data, 1, len, mFile.get()) != len) { 105 mWriter = util::make_unique<ZipWriter>(mFile.get()); 140 int32_t result = mWriter->WriteBytes(b.buffer.get(), b.size);
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/ |
H A D | LayoutBinderTest.java | 86 assertTrue(bindingExprs.get(0) instanceof FieldAccessExpr); 87 assertTrue(bindingExprs.get(1) instanceof FieldAccessExpr); 89 assertTrue(bindingExprs.get(0).getChildren().contains(id)); 90 assertTrue(bindingExprs.get(1).getChildren().contains(id)); 98 Expr item = mExprModel.getBindingExpressions().get(0);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | LocationCluster.java | 103 duration += mHistogram.get(timeLabel); 139 String timeOfWeek = timeFeatures.get(TimeStatsAggregator.TIME_OF_WEEK); 141 mNewHistogram.get(timeOfWeek) + duration : duration; 144 String timeOfDay = timeFeatures.get(TimeStatsAggregator.TIME_OF_DAY); 146 mNewHistogram.get(timeOfDay) + duration : duration;
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_display.h | 85 static egl_display_t* get(EGLDisplay dpy); 226 const egl_display_t* get() const { return mDpy; } function in class:android::egl_display_ptr 227 egl_display_t* get() { return mDpy; } function in class:android::egl_display_ptr 241 return egl_display_ptr(egl_display_t::get(dpy)); 247 return egl_display_t::get(dpy);
|
/frameworks/native/opengl/tools/glgen/src/ |
H A D | CFunc.java | 79 if (name.equals(argNames.get(i))) { 87 return argNames.get(index); 91 return argTypes.get(index); 113 s += argTypes.get(i) + " " + argNames.get(i);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | Call.java | 153 c = l.get(i); 179 Connection c = l.get(i); 200 Connection c = l.get(i); 236 Connection c = l.get(i); 266 Connection c = mConnections.get(i);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | SimPhoneBookTest.java | 52 // Since this test doesn't mock the SIM we try to get a valid ADN record, 56 originalAdn = adnRecordList.get(listIndex); 77 AdnRecord tmpAdn = adnRecordList.get(listIndex); 86 tmpAdn = adnRecordList.get(listIndex); 96 tmpAdn = adnRecordList.get(listIndex); 105 tmpAdn = adnRecordList.get(listIndex);
|
/frameworks/rs/ |
H A D | rsProgramFragment.cpp | 64 if ((state->mLast.get() == this) && !mDirty) { 109 const Element *eins[] = {colorElem.get()}; 112 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1); 116 tmp[1] = (uintptr_t)inputType.get(); 118 Allocation *constAlloc = Allocation::createAllocation(rsc, inputType.get(),
|
/frameworks/base/core/java/android/hardware/radio/ |
H A D | RadioMetadata.java | 324 return NATIVE_KEY_MAPPING.get(nativeKey, null); 378 Object value = mBundle.get(key); 408 METADATA_KEYS_TYPE.get(key) != METADATA_TYPE_TEXT) { 431 METADATA_KEYS_TYPE.get(key) != METADATA_TYPE_INT) { 455 METADATA_KEYS_TYPE.get(key) != METADATA_TYPE_BITMAP) { 476 METADATA_KEYS_TYPE.get(key) != METADATA_TYPE_CLOCK) { 507 METADATA_KEYS_TYPE.get(key) != METADATA_TYPE_INT) { 517 METADATA_KEYS_TYPE.get(key) != METADATA_TYPE_TEXT) { 527 METADATA_KEYS_TYPE.get(key) != METADATA_TYPE_BITMAP) { 547 METADATA_KEYS_TYPE.get(ke [all...] |
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | DividerSnapAlgorithm.java | 112 mFirstSplitTarget = mTargets.get(1); 113 mLastSplitTarget = mTargets.get(mTargets.size() - 2); 114 mDismissStartTarget = mTargets.get(0); 115 mDismissEndTarget = mTargets.get(mTargets.size() - 1); 116 mMiddleTarget = mTargets.get(mTargets.size() / 2); 140 * @param hardDismiss if set, make it a bit harder to get reach the dismiss targets 231 SnapTarget target = mTargets.get(i); 241 return mTargets.get(minIndex); 325 return mTargets.get(index + 1); 333 return mTargets.get(inde [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | ChildHelper.java | 34 * methods like get getUnfilteredChildCount or getUnfilteredChildAt. 123 while (mBucket.get(offset)) { // ensure this offset is not hidden 190 mCallback.onLeftHiddenState(mHiddenViews.get(i)); 209 final View view = mHiddenViews.get(i); 301 if (mBucket.get(index)) { 303 throw new IllegalArgumentException("cannot get index of a hidden child"); 332 if (DEBUG && mBucket.get(offset)) { 354 if (!mBucket.get(offset)) { 380 if (mBucket.get(index)) { 431 boolean get(in method in class:ChildHelper.Bucket [all...] |
/frameworks/native/opengl/tools/glgen2/registry/ |
H A D | reg.py | 77 elem.get('api') + "'") 78 elif (api != elem.get('api')): 84 elem.get('profile') + "'") 85 elif (profile != elem.get('profile')): 130 self.type = elem.get('type') 160 self.name = elem.get('name') 165 self.number = elem.get('number') 408 self.featureName = interface.get('name') 410 self.featureExtraProtect = interface.get('protect') 625 self.enumBody += '#define ' + name.ljust(33) + ' ' + enuminfo.elem.get('valu [all...] |
/frameworks/support/v17/tests/src/android/support/v17/leanback/app/wizard/ |
H A D | GuidedStepAttributesTest.java | 77 EXPECTED_ACTIONS_ID_AFTER_EACH_SELECT.add(EXPECTED_ACTIONS_ID_AFTER_EACH_SELECT.get(i)); 97 actionList.get(action_id).setFocusable(false); 112 actionList.get(lastSelectedActionId).getTitle()), 113 lastSelectedActionId == EXPECTED_ACTIONS_ID_AFTER_EACH_SELECT.get(selectIndex)); 125 actionList.get(lastSelectedActionId).getTitle()), 126 lastSelectedActionId == EXPECTED_ACTIONS_ID_AFTER_EACH_SELECT.get(selectIndex)); 143 GuidedAction action = allActions.get(i); 212 actionList.get(action_id + 1).setEnabled(false); 242 if (EXPECTED_CLICKED_SEQUENCE.get(i) == -1) 243 EXPECTED_CLICKED_SEQUENCE.set(i, CLICK_SEQUENCE.get( [all...] |
H A D | GuidedDatePickerTest.java | 145 currentActionCal.get(Calendar.DAY_OF_MONTH) 149 currentActionCal.get(Calendar.MONTH) 153 currentActionCal.get(Calendar.YEAR) 173 actualMinFieldValue = mMinDate.get(Calendar.YEAR); 174 actualMaxFieldValue = mMaxDate.get(Calendar.YEAR); 182 actualMaxFieldValue - mCurrentDate.get(field), offset); 189 actualMinFieldValue - mCurrentDate.get(field), offset); 242 traverseMonths(mPickerView, (GuidedDatePickerAction) actionList.get(0)); 376 minCal.set(Calendar.YEAR, maxCal.get(Calendar.YEAR)); 377 int minMonth = Math.min(minCal.get(Calenda [all...] |
/frameworks/base/core/jni/ |
H A D | com_android_internal_net_NetworkStatsFactory.cpp | 232 if (iface.get() == NULL) return -1; 235 if (uid.get() == NULL) return -1; 238 if (set.get() == NULL) return -1; 241 if (tag.get() == NULL) return -1; 244 if (roaming.get() == NULL) return -1; 247 if (rxBytes.get() == NULL) return -1; 250 if (rxPackets.get() == NULL) return -1; 253 if (txBytes.get() == NULL) return -1; 256 if (txPackets.get() == NULL) return -1; 259 if (operations.get() [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | KeepaliveTracker.java | 231 HashMap networkKeepalives = mKeepalives.get(nai); 241 if (networkKeepalives.get(slot) == null) { 252 mKeepalives.get(nai).put(slot, ki); 257 HashMap <Integer, KeepaliveInfo> networkKeepalives = mKeepalives.get(nai); 269 HashMap <Integer, KeepaliveInfo> networkKeepalives = mKeepalives.get(nai); 274 KeepaliveInfo ki = networkKeepalives.get(slot); 287 HashMap <Integer, KeepaliveInfo> networkKeepalives = mKeepalives.get(nai); 291 int error = networkKeepalives.get(slot).isValid(); 308 ki = mKeepalives.get(nai).get(slo [all...] |
/frameworks/native/libs/binder/ |
H A D | IMemory.cpp | 260 binder.get(), this, mSize, mHeapId); 278 sp<BpMemoryHeap> heap(static_cast<BpMemoryHeap*>(find_heap(binder).get())); 312 IInterface::asBinder(this).get(), 330 IInterface::asBinder(this).get(), size, fd, strerror(errno)); 419 binder.get(), info.heap.get(), 420 static_cast<BpMemoryHeap*>(info.heap.get())->mSize, 421 static_cast<BpMemoryHeap*>(info.heap.get())->mHeapId, 430 // binder.get(), info.heap.get(), inf [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiConfigManagerTest.java | 115 if (WifiConfigurationUtil.isVisibleToAnyProfile(CONFIGS.get(i), 116 USER_PROFILES.get(userId))) { 117 configs.add(CONFIGS.get(i)); 159 .thenReturn(USER_PROFILES.get(UserHandle.USER_SYSTEM)); 162 when(mUserManager.getProfiles(userId)).thenReturn(USER_PROFILES.get(userId)); 173 mConfiguredNetworks = (ConfigurationMap) configuredNetworksField.get(mWifiConfigManager); 191 (WifiNetworkHistory) networkHistoryField.get(mWifiConfigManager); 205 .thenReturn(USER_PROFILES.get(newUserId)); 220 assertEquals(i, CONFIGS.get(i).networkId); 221 addNetwork(CONFIGS.get( [all...] |
/frameworks/base/services/net/java/android/net/dhcp/ |
H A D | DhcpPacket.java | 494 shortBuf.get(shortArray); 504 short b = buf.get(start); 620 return SystemProperties.get("net.hostname"); 669 packet.get(ipAddr); 687 buf.get(bytes); 778 packet.get(l2dst); 779 packet.get(l2src); 795 byte ipTypeAndLength = packet.get(); 803 byte ipDiffServicesField = packet.get(); 806 byte ipFlags = packet.get(); [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptGroup.java | 259 Future f = mGlobalFuture.get(field); 266 Object obj = mBindings.get(field); 391 Object get() { return mValue; } method in class:ScriptGroup.Input 417 closureIDs[i] = closures.get(i).getID(rs); 450 Input unbound = mInputs2.get(i); 461 output = ((Input)output).get(); 536 Node n = mNodes.get(ct); 538 ConnectLine l = n.mOutputs.get(ct2); 550 if (n.mOutputs.get(ct3).mFrom == l.mFrom) { 551 n.mOutputs.get(ct [all...] |
/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | EventsTest.java | 286 mFuture.get(getTimeout(), TimeUnit.MILLISECONDS); 309 mFuture.get(getTimeout(), TimeUnit.MILLISECONDS); 332 mFuture.get(getTimeout(), TimeUnit.MILLISECONDS); 355 mFuture.get(getTimeout(), TimeUnit.MILLISECONDS); 378 mFuture.get(getTimeout(), TimeUnit.MILLISECONDS); 401 mFuture.get(getTimeout(), TimeUnit.MILLISECONDS); 425 mFuture.get(getTimeout(), TimeUnit.MILLISECONDS); 449 mFuture.get(getTimeout(), TimeUnit.MILLISECONDS); 476 mFuture.get(getTimeout() + 100, TimeUnit.MILLISECONDS); 503 mFuture.get(getTimeou [all...] |