Home
last modified time | relevance | path

Searched refs:get (Results 1 – 25 of 2912) sorted by relevance

12345678910>>...117

/frameworks/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp134 int err = mANW->query(mANW.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, in TEST_F()
142 int err = mANW->query(mANW.get(), NATIVE_WINDOW_CONCRETE_TYPE, &result); in TEST_F()
173 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(), in TEST_F()
187 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, mANW.get(), NULL); in TEST_F()
214 EXPECT_GT(OK, native_window_set_buffers_dimensions(mANW.get(), 0, 8)); in TEST_F()
215 EXPECT_GT(OK, native_window_set_buffers_dimensions(mANW.get(), 8, 0)); in TEST_F()
219 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
221 ASSERT_EQ(OK, native_window_dequeue_buffer_and_wait(mANW.get(), &buf)); in TEST_F()
225 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1)); in TEST_F()
229 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
[all …]
DSurfaceTextureGL_test.cpp31 ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(), in TEST_F()
33 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F()
35 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F()
37 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
41 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
52 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F()
81 ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(), in TEST_F()
83 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F()
85 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F()
87 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
[all …]
DSurface_test.cpp72 int err = anw->query(anw.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, in TEST_F()
83 int err = anw->query(anw.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, in TEST_F()
103 ASSERT_EQ(NO_ERROR, native_window_api_connect(anw.get(), in TEST_F()
108 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), in TEST_F()
110 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(anw.get(), 3)); in TEST_F()
113 status_t err = native_window_dequeue_buffer_and_wait(anw.get(), &buf); in TEST_F()
118 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), 0)); in TEST_F()
119 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(anw.get(), in TEST_F()
123 ASSERT_EQ(NO_ERROR, anw->cancelBuffer(anw.get(), buf, -1)); in TEST_F()
127 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(anw.get(), in TEST_F()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigStoreTest.java126 + " " + KEY_SSID + "=" + NETWORK_0_VARS.get(KEY_SSID) + "\n"
127 + " " + KEY_KEY_MGMT + "=" + NETWORK_0_VARS.get(KEY_KEY_MGMT) + "\n"
128 + " " + KEY_PRIORITY + "=" + NETWORK_0_VARS.get(KEY_PRIORITY) + "\n"
129 + " " + KEY_ID_STR + "=" + NETWORK_0_VARS.get(KEY_ID_STR) + "\n"
133 + " " + KEY_SSID + "=" + NETWORK_1_VARS.get(KEY_SSID) + "\n"
134 + " " + KEY_KEY_MGMT + "=" + NETWORK_1_VARS.get(KEY_KEY_MGMT) + "\n"
135 + " " + KEY_PRIORITY + "=" + NETWORK_1_VARS.get(KEY_PRIORITY) + "\n"
136 + " " + KEY_DISABLED + "=" + NETWORK_1_VARS.get(KEY_DISABLED) + "\n"
137 + " " + KEY_ID_STR + "=" + NETWORK_1_VARS.get(KEY_ID_STR) + "\n"
141 + " " + KEY_SSID + "=" + NETWORK_2_VARS.get(KEY_SSID) + "\n"
[all …]
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DInputMethodSubtypeArrayTest.java36 assertEquals(subtypes.get(0), array.get(0)); in testInstanciate()
37 assertEquals(subtypes.get(1), array.get(1)); in testInstanciate()
38 assertEquals(subtypes.get(2), array.get(2)); in testInstanciate()
42 assertEquals(subtypes.get(0), clonedArray.get(0)); in testInstanciate()
43 assertEquals(subtypes.get(1), clonedArray.get(1)); in testInstanciate()
44 assertEquals(subtypes.get(2), clonedArray.get(2)); in testInstanciate()
48 assertEquals(clonedArray.get(0), clonedClonedArray.get(0)); in testInstanciate()
49 assertEquals(clonedArray.get(1), clonedClonedArray.get(1)); in testInstanciate()
50 assertEquals(clonedArray.get(2), clonedClonedArray.get(2)); in testInstanciate()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DIntRangeManagerTest.java123 checkConfigInfo(testManager.mConfigList.get(0), 123, 123, SMS_CB_CODE_SCHEME_MIN, in testAddSingleChannel()
129 checkConfigInfo(testManager.mConfigList.get(0), 123, 123, SMS_CB_CODE_SCHEME_MIN, in testAddSingleChannel()
166 checkConfigInfo(testManager.mConfigList.get(0), 100, 120, SMS_CB_CODE_SCHEME_MIN, in testAddTwoChannels()
172 checkConfigInfo(testManager.mConfigList.get(0), 200, 250, SMS_CB_CODE_SCHEME_MIN, in testAddTwoChannels()
178 checkConfigInfo(testManager.mConfigList.get(0), 100, 120, SMS_CB_CODE_SCHEME_MIN, in testAddTwoChannels()
180 checkConfigInfo(testManager.mConfigList.get(1), 200, 250, SMS_CB_CODE_SCHEME_MIN, in testAddTwoChannels()
191 checkConfigInfo(testManager.mConfigList.get(0), 100, 200, SMS_CB_CODE_SCHEME_MIN, in testOverlappingChannels()
197 checkConfigInfo(testManager.mConfigList.get(0), 201, 250, SMS_CB_CODE_SCHEME_MIN, in testOverlappingChannels()
203 checkConfigInfo(testManager.mConfigList.get(0), 100, 250, SMS_CB_CODE_SCHEME_MIN, in testOverlappingChannels()
209 checkConfigInfo(testManager.mConfigList.get(0), 150, 250, SMS_CB_CODE_SCHEME_MIN, in testOverlappingChannels()
[all …]
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
DMultiSelectManagerTest.java59 mManager.toggleSelection(items.get(7)); in testSelection()
60 assertSelection(items.get(7)); in testSelection()
62 mManager.toggleSelection(items.get(7)); in testSelection()
68 mManager.toggleSelection(items.get(7)); in testSelection_NotifiesSelectionChanged()
71 mManager.toggleSelection(items.get(7)); in testSelection_NotifiesSelectionChanged()
89 mManager.setItemsSelected(Lists.newArrayList(items.get(7)), true); in testSetSelectionFocusBegin()
97 assertSelection(items.get(7)); in testLongPress_StartsSelectionMode()
103 assertSelection(items.get(7), items.get(99)); in testLongPress_SecondPressExtendsSelection()
123 assertSelection(items.get(7), items.get(99), items.get(13)); in testSingleTapUp_ExtendsSelection()
181 assertSelection(items.get(13)); in testSingleSelectMode()
[all …]
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
DOpReorderTest.java316 clones.add(Item.clone(items.get(i))); in process()
326 Item.idCounter = originalAdded.get(0).id; in process()
377 Item.assertIdentical(log, items.get(i), clones.get(i)); in assertListsIdentical()
402 items.get(index).version = items.get(index).version + 1; in apply()
424 assertEquals(mv(7, 12), mUpdateOps.get(1)); in testSwapMoveRemove_1()
425 assertEquals(rm(2, 3), mUpdateOps.get(0)); in testSwapMoveRemove_1()
434 assertEquals(rm(5, 2), mUpdateOps.get(0)); in testSwapMoveRemove_2()
435 assertEquals(mv(3, 6), mUpdateOps.get(1)); in testSwapMoveRemove_2()
444 assertEquals(rm(4, 2), mUpdateOps.get(0)); in testSwapMoveRemove_3()
445 assertEquals(mv(3, 6), mUpdateOps.get(1)); in testSwapMoveRemove_3()
[all …]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMapMessage.java82 new BigInteger(attrs.get("handle"), 16); in BluetoothMapMessage()
84 mHandle = attrs.get("handle"); in BluetoothMapMessage()
93 mSubject = attrs.get("subject"); in BluetoothMapMessage()
94 String dateTime = attrs.get("datetime"); in BluetoothMapMessage()
103 mSenderName = attrs.get("sender_name"); in BluetoothMapMessage()
105 mSenderAddressing = attrs.get("sender_addressing"); in BluetoothMapMessage()
107 mReplytoAddressing = attrs.get("replyto_addressing"); in BluetoothMapMessage()
109 mRecipientName = attrs.get("recipient_name"); in BluetoothMapMessage()
111 mRecipientAddressing = attrs.get("recipient_addressing"); in BluetoothMapMessage()
113 mType = strToType(attrs.get("type")); in BluetoothMapMessage()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/
DLocaleUtilsTest.java31 public Locale get(Locale source) {
112 assertEquals(availableLocales.get(1), dest.get(0)); // "en-US" in testFilterByLanguageNullAvailableLocales()
125 assertEquals(availableLocales.get(1), dest.get(0)); // "en" in testFilterByLanguageNullAvailableLocales()
156 assertEquals(availableLocales.get(1), dest.get(0)); // "fr-CA" in testFilterByLanguage()
157 assertEquals(availableLocales.get(0), dest.get(1)); // "en-US" in testFilterByLanguage()
158 assertEquals(availableLocales.get(3), dest.get(2)); // "ja" in testFilterByLanguage()
171 assertEquals(availableLocales.get(0), dest.get(0)); // "en-US" in testFilterByLanguage()
186 assertEquals(availableLocales.get(1), dest.get(0)); // "en-US" in testFilterByLanguageTheSameLanguage()
197 assertEquals(availableLocales.get(1), dest.get(0)); // "en" in testFilterByLanguageTheSameLanguage()
209 assertEquals(availableLocales.get(2), dest.get(0)); // "en-IN" in testFilterByLanguageTheSameLanguage()
[all …]
DInputMethodSubtypeSwitchingControllerTest.java83 final String subtypeLocale = subtypeLocales.get(i); in addDummyImeSubtypeListItems()
165 final ImeSubtypeListItem disabledIme_en_US = disabledItems.get(0); in testControllerImpl()
166 final ImeSubtypeListItem disabledIme_hi = disabledItems.get(1); in testControllerImpl()
167 final ImeSubtypeListItem disabledSwitchingUnawareIme = disabledItems.get(2); in testControllerImpl()
168 final ImeSubtypeListItem disabledSubtypeUnawareIme = disabledItems.get(3); in testControllerImpl()
171 final ImeSubtypeListItem latinIme_en_US = enabledItems.get(0); in testControllerImpl()
172 final ImeSubtypeListItem latinIme_fr = enabledItems.get(1); in testControllerImpl()
173 final ImeSubtypeListItem switchingUnawarelatinIme_en_UK = enabledItems.get(2); in testControllerImpl()
174 final ImeSubtypeListItem switchingUnawarelatinIme_hi = enabledItems.get(3); in testControllerImpl()
175 final ImeSubtypeListItem subtypeUnawareIme = enabledItems.get(4); in testControllerImpl()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimPhoneBookManager.java198 files = mPbrRecords.get(recId).mFileIds; in readEmailFileAndWait()
201 File email = files.get(USIM_EFEMAIL_TAG); in readEmailFileAndWait()
211 if (files.get(USIM_EFIAP_TAG) == null) { in readEmailFileAndWait()
217 readIapFileAndWait(files.get(USIM_EFIAP_TAG).getEfid()); in readEmailFileAndWait()
235 if (mPbrRecords.get(i) != null) { in readEmailFileAndWait()
236 SparseArray<File> previousFileIds = mPbrRecords.get(i).mFileIds; in readEmailFileAndWait()
238 File id = previousFileIds.get(USIM_EFEMAIL_TAG); in readEmailFileAndWait()
285 if (mPbrRecords.get(recId) == null) in buildType1EmailList()
288 int numRecs = mPbrRecords.get(recId).mMasterFileRecordNum; in buildType1EmailList()
295 emailRec = mEmailFileRecord.get(i); in buildType1EmailList()
[all …]
/frameworks/base/libs/hwui/tests/common/scenes/
DOpPropAnimation.cpp57 canvas.drawRoundRect(mRoundRectLeft.get(), mRoundRectTop.get(), in createContent()
58 mRoundRectRight.get(), mRoundRectBottom.get(), in createContent()
59 mRoundRectRx.get(), mRoundRectRy.get(), mPaint.get()); in createContent()
60 canvas.drawCircle(mCircleX.get(), mCircleY.get(), mCircleRadius.get(), mPaint.get()); in createContent()
62 canvas.drawRenderNode(content.get()); in createContent()
/frameworks/base/core/java/android/animation/
DAnimatorSet.java226 play(items.get(0)); in playSequentially()
230 play(items.get(i)).before(items.get(i + 1)); in playSequentially()
248 Node node = mNodes.get(i); in getChildAnimations()
267 Node node = mNodes.get(i); in setTarget()
285 conf |= mNodes.get(i).mAnimation.getChangingConfigurations(); in getChangingConfigurations()
360 tmpListeners.get(i).onAnimationCancel(this); in cancel()
366 playingSet.get(i).cancel(); in cancel()
371 tmpListeners.get(i).onAnimationEnd(this); in cancel()
397 tmpListeners.get(i).onAnimationEnd(this); in end()
412 Animator anim = remainingList.get(index); in endRemainingAnimations()
[all …]
/frameworks/base/tools/aapt2/link/
DReferenceLinker_test.cpp41 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) in TEST()
48 ASSERT_TRUE(linker.consume(context.get(), table.get())); in TEST()
50 Reference* ref = test::getValue<Reference>(table.get(), u"@com.app.test:string/foo"); in TEST()
55 ref = test::getValue<Reference>(table.get(), u"@com.app.test:string/bar"); in TEST()
60 ref = test::getValue<Reference>(table.get(), u"@com.app.test:string/baz"); in TEST()
79 Style* style = test::getValue<Style>(table.get(), u"@com.app.test:style/Theme"); in TEST()
106 ASSERT_TRUE(linker.consume(context.get(), table.get())); in TEST()
108 Style* style = test::getValue<Style>(table.get(), u"@com.app.test:style/Theme"); in TEST()
118 ASSERT_NE(valueCast<BinaryPrimitive>(style->entries[0].value.get()), nullptr); in TEST()
122 ASSERT_NE(valueCast<BinaryPrimitive>(style->entries[1].value.get()), nullptr); in TEST()
[all …]
DTableMerger_test.cpp61 TableMerger merger(mContext.get(), &finalTable, TableMergerOptions{}); in TEST_F()
64 ASSERT_TRUE(merger.merge({}, tableA.get())); in TEST_F()
65 ASSERT_TRUE(merger.mergeAndMangle({}, u"com.app.b", tableB.get(), &collection)); in TEST_F()
85 TableMerger merger(mContext.get(), &finalTable, options); in TEST_F()
106 TableMerger merger(mContext.get(), &finalTable, tableMergerOptions); in TEST_F()
128 TableMerger merger(mContext.get(), &finalTable, TableMergerOptions{}); in TEST_F()
132 ASSERT_TRUE(merger.merge({}, tableA.get())); in TEST_F()
133 ASSERT_TRUE(merger.mergeAndMangle({}, u"com.app.b", tableB.get(), &collection)); in TEST_F()
157 TableMerger merger(mContext.get(), &finalTable, tableMergerOptions); in TEST_F()
159 ASSERT_TRUE(merger.merge({}, base.get())); in TEST_F()
[all …]
/frameworks/minikin/tests/
DFontCollectionItemizeTest.cpp92 itemize(collection.get(), "'a' 'b' 'c' 'd' 'e'", kRegularStyle, &runs); in TEST_F()
100 itemize(collection.get(), "'a' 'b' 'c' 'd' 'e'", kItalicStyle, &runs); in TEST_F()
108 itemize(collection.get(), "'a' 'b' 'c' 'd' 'e'", kBoldStyle, &runs); in TEST_F()
116 itemize(collection.get(), "'a' 'b' 'c' 'd' 'e'", kBoldItalicStyle, &runs); in TEST_F()
126 itemize(collection.get(), "'a' ',' '-' 'd' '!'", kRegularStyle, &runs); in TEST_F()
134 itemize(collection.get(), "'a' ',' '-' 'd' '!'", kRegularStyle, &runs); in TEST_F()
144 itemize(collection.get(), "'a' U+0301", kRegularStyle, &runs); in TEST_F()
157 itemize(collection.get(), "U+1F469 U+1F467", FontStyle(), &runs); in TEST_F()
167 itemize(collection.get(), "'0' U+20E3", FontStyle(), &runs); in TEST_F()
175 itemize(collection.get(), "U+1F470 U+20E3", FontStyle(), &runs); in TEST_F()
[all …]
/frameworks/base/core/java/android/transition/
DTransitionSet.java175 return mTransitions.get(index); in getTransitionAt()
191 mTransitions.get(i).setDuration(duration); in setDuration()
210 mTransitions.get(i).addTarget(target); in addTarget()
218 mTransitions.get(i).addTarget(targetId); in addTarget()
226 mTransitions.get(i).addTarget(targetName); in addTarget()
234 mTransitions.get(i).addTarget(targetType); in addTarget()
247 mTransitions.get(i).removeTarget(targetId); in removeTarget()
255 mTransitions.get(i).removeTarget(target); in removeTarget()
263 mTransitions.get(i).removeTarget(target); in removeTarget()
271 mTransitions.get(i).removeTarget(target); in removeTarget()
[all …]
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator_test.cpp33 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) in TEST()
36 JavaClassGenerator generator(context.get(), table.get(), {}); in TEST()
55 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) in TEST()
58 JavaClassGenerator generator(context.get(), table.get(), {}); in TEST()
83 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) in TEST()
86 JavaClassGenerator generator(context.get(), table.get(), {}); in TEST()
105 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) in TEST()
108 JavaClassGenerator generator(context.get(), table.get(), {}); in TEST()
129 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) in TEST()
136 JavaClassGenerator generator(context.get(), table.get(), options); in TEST()
[all …]
/frameworks/base/core/java/android/widget/
DDayPickerPagerAdapter.java81 final int diffYear = mMaxDate.get(Calendar.YEAR) - mMinDate.get(Calendar.YEAR); in setRange()
82 final int diffMonth = mMaxDate.get(Calendar.MONTH) - mMinDate.get(Calendar.MONTH); in setRange()
121 final ViewHolder oldMonthView = mItems.get(oldPosition, null); in setSelectedDay()
129 final ViewHolder newMonthView = mItems.get(newPosition, null); in setSelectedDay()
131 final int dayOfMonth = day.get(Calendar.DAY_OF_MONTH); in setSelectedDay()
193 return (position + mMinDate.get(Calendar.MONTH)) % MONTHS_IN_YEAR; in getMonthForPosition()
197 final int yearOffset = (position + mMinDate.get(Calendar.MONTH)) / MONTHS_IN_YEAR; in getYearForPosition()
198 return yearOffset + mMinDate.get(Calendar.YEAR); in getYearForPosition()
206 final int yearOffset = day.get(Calendar.YEAR) - mMinDate.get(Calendar.YEAR); in getPositionForDay()
207 final int monthOffset = day.get(Calendar.MONTH) - mMinDate.get(Calendar.MONTH); in getPositionForDay()
[all …]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardUpdateMonitor.java311 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onTrustChanged()
340 SubscriptionInfo info = subscriptionInfos.get(i); in handleSimSubscriptionInfoChanged()
347 SimData data = mSimDatas.get(changedSubscriptions.get(i).getSubscriptionId()); in handleSimSubscriptionInfoChanged()
349 KeyguardUpdateMonitorCallback cb = mCallbacks.get(j).get(); in handleSimSubscriptionInfoChanged()
356 KeyguardUpdateMonitorCallback cb = mCallbacks.get(j).get(); in handleSimSubscriptionInfoChanged()
365 KeyguardUpdateMonitorCallback cb = mCallbacks.get(j).get(); in handleAirplaneModeChanged()
392 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onTrustManagedChanged()
407 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onFingerprintAuthenticated()
416 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in handleFingerprintAuthFailed()
429 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in handleFingerprintAcquired()
[all …]
/frameworks/base/core/jni/android/graphics/
DPicture.cpp29 if (NULL != src->mPicture.get()) { in Picture()
30 mPicture.reset(SkRef(src->mPicture.get())); in Picture()
31 } else if (NULL != src->mRecorder.get()) { in Picture()
51 if (NULL != mRecorder.get()) { in endRecording()
84 if (NULL != mRecorder.get()) { in serialize()
87 } else if (NULL != mPicture.get()) { in serialize()
99 if (NULL != mRecorder.get()) { in draw()
101 SkASSERT(NULL != mPicture.get()); in draw()
104 if (NULL != mPicture.get()) { in draw()
105 mPicture.get()->playback(canvas->asSkCanvas()); in draw()
[all …]
/frameworks/base/core/java/android/os/
DBuild.java169 public static final String BASE_OS = SystemProperties.get("ro.build.version.base_os", "");
174 public static final String SECURITY_PATCH = SystemProperties.get(
691 String finger = SystemProperties.get("ro.build.fingerprint"); in deriveFingerprint()
713 if (TextUtils.isEmpty(SystemProperties.get("ro.build.fingerprint"))) { in ensureFingerprintProperty()
735 final String system = SystemProperties.get("ro.build.fingerprint"); in isBuildConsistent()
736 final String vendor = SystemProperties.get("ro.vendor.build.fingerprint"); in isBuildConsistent()
737 final String bootimage = SystemProperties.get("ro.bootimage.build.fingerprint"); in isBuildConsistent()
738 final String requiredBootloader = SystemProperties.get("ro.build.expect.bootloader"); in isBuildConsistent()
739 final String currentBootloader = SystemProperties.get("ro.bootloader"); in isBuildConsistent()
740 final String requiredRadio = SystemProperties.get("ro.build.expect.baseband"); in isBuildConsistent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DPrefs.java74 return get(context).getBoolean(key, defaultValue); in getBoolean()
78 get(context).edit().putBoolean(key, value).apply(); in putBoolean()
82 return get(context).getInt(key, defaultValue); in getInt()
86 get(context).edit().putInt(key, value).apply(); in putInt()
90 return get(context).getLong(key, defaultValue); in getLong()
94 get(context).edit().putLong(key, value).apply(); in putLong()
98 return get(context).getString(key, defaultValue); in getString()
102 get(context).edit().putString(key, value).apply(); in putString()
106 return get(context).getAll(); in getAll()
110 get(context).edit().remove(key).apply(); in remove()
[all …]
/frameworks/data-binding/extensions/library/src/androidTest/java/android/databinding/
DObservableParcelTest.java37 assertEquals(Integer.MAX_VALUE - 1, read.get()); in testParcelInt()
43 assertFalse(read.get()); in testParcelBoolean()
47 assertTrue(read2.get()); in testParcelBoolean()
53 assertEquals((byte) 7, read.get()); in testParcelByte()
59 assertEquals('y', read.get()); in testParcelChar()
65 assertEquals(Double.MAX_VALUE, read.get()); in testParcelDouble()
71 assertEquals(Float.MIN_VALUE, read.get()); in testParcelFloat()
79 assertEquals(myParcelable, read.get()); in testParcelParcel()
85 assertEquals(Long.MAX_VALUE - 1, read.get()); in testParcelLong()
91 assertEquals(Short.MIN_VALUE, read.get()); in testParcelShort()
[all …]

12345678910>>...117