/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | atomic.rs | 7 uint32_t expect = (dst > src ? dst : src); 10 _RS_ASSERT(dst == expect); 17 uint32_t expect = (dst < src ? dst : src); 20 _RS_ASSERT(dst == expect); 27 uint32_t expect = (dst == cmp ? swp : dst); 30 _RS_ASSERT(dst == expect);
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | atomic.rs | 7 uint32_t expect = (dst > src ? dst : src); 10 _RS_ASSERT(dst == expect); 17 uint32_t expect = (dst < src ? dst : src); 20 _RS_ASSERT(dst == expect); 27 uint32_t expect = (dst == cmp ? swp : dst); 30 _RS_ASSERT(dst == expect);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | AccessibilityManagerTest.java | 20 import static org.easymock.EasyMock.expect; 73 expect(mockServiceInterface.addClient(anyIAccessibilityManagerClient(), in testGetAccessibilityServiceList() 76 expect(mockServiceInterface.getInstalledAccessibilityServiceList(UserHandle.USER_OWNER)) in testGetAccessibilityServiceList() 97 expect(mockServiceInterface.addClient(anyIAccessibilityManagerClient(), in testInterrupt() 116 expect(mockServiceInterface.addClient(anyIAccessibilityManagerClient(), in testIsEnabled() 153 expect(mockServiceInterface.addClient(anyIAccessibilityManagerClient(), in testSendAccessibilityEvent_AccessibilityEnabled() 156 expect(mockServiceInterface.sendAccessibilityEvent(eqAccessibilityEvent(sentEvent), in testSendAccessibilityEvent_AccessibilityEnabled() 158 expect(mockServiceInterface.sendAccessibilityEvent(eqAccessibilityEvent(sentEvent), in testSendAccessibilityEvent_AccessibilityEnabled() 191 expect(mockServiceInterface.addClient(anyIAccessibilityManagerClient(), in testSendAccessibilityEvent_AccessibilityDisabled()
|
D | NetworkPolicyManagerServiceTest.java | 45 import static org.easymock.EasyMock.expect; 202 expect(mPolicyListener.asBinder()).andReturn(mStubBinder).atLeastOnce(); in setUp() 219 expect(mPowerManager.isInteractive()).andReturn(true).atLeastOnce(); in setUp() 220 expect(mNetworkManager.isBandwidthControlEnabled()).andReturn(true).atLeastOnce(); in setUp() 334 expect(mPowerManager.isInteractive()).andReturn(false).atLeastOnce(); in testScreenChangesRules() 344 expect(mPowerManager.isInteractive()).andReturn(true).atLeastOnce(); in testScreenChangesRules() 593 expect(mConnManager.getAllNetworkState()).andReturn(state).atLeastOnce(); in testNetworkPolicyAppliedCycleLastMonth() 606 expect(mConnManager.getAllNetworkState()).andReturn(state).atLeastOnce(); in testNetworkPolicyAppliedCycleLastMonth() 612 expect(mStatsService.getNetworkTotalBytes(sTemplateWifi, TIME_FEB_15, TIME_MAR_10)) in testNetworkPolicyAppliedCycleLastMonth() 674 expect(mConnManager.getAllNetworkState()).andReturn(state).atLeastOnce(); in testOverWarningLimitNotification() [all …]
|
D | NetworkStatsServiceTest.java | 46 import static org.easymock.EasyMock.expect; 889 expect(mNetManager.isBandwidthControlEnabled()).andReturn(true).atLeastOnce(); in expectSystemReady() 893 expect(mConnManager.getAllNetworkState()).andReturn(state).atLeastOnce(); in expectNetworkState() 896 expect(mConnManager.getActiveLinkProperties()).andReturn(linkProp).atLeastOnce(); in expectNetworkState() 905 expect(mNetManager.getNetworkStatsSummaryDev()).andReturn(summary).atLeastOnce(); in expectNetworkStatsSummaryDev() 909 expect(mNetManager.getNetworkStatsSummaryXt()).andReturn(summary).atLeastOnce(); in expectNetworkStatsSummaryXt() 919 expect(mNetManager.getNetworkStatsUidDetail(eq(UID_ALL))).andReturn(detail).atLeastOnce(); in expectNetworkStatsUidDetail() 922 expect(mNetManager.getNetworkStatsTethering()) in expectNetworkStatsUidDetail() 932 expect(mSettings.getPollInterval()).andReturn(HOUR_IN_MILLIS).anyTimes(); in expectSettings() 933 expect(mSettings.getTimeCacheMaxAge()).andReturn(DAY_IN_MILLIS).anyTimes(); in expectSettings() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | PackedIntVectorTest.java | 84 int expect = i * j; in testBasic() local 87 expect += j + 27; in testBasic() 90 assertEquals(p.getValue(i, j), expect); in testBasic() local 100 int expect = i * j; in testBasic() local 103 expect += j + 27; in testBasic() 106 expect += j * j + 14; in testBasic() 109 assertEquals(p.getValue(i, j), expect); in testBasic() local
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaInserterTest.java | 150 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsEqualToBufferSize() 165 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsMoreThanBufferSize() 189 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testFlushAllWithSomeContents() 205 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsAfterFlushAll() 226 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsWithDifferentSizePerContentType() 230 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsWithDifferentSizePerContentType() 234 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsWithDifferentSizePerContentType() 238 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsWithDifferentSizePerContentType()
|
/frameworks/compile/slang/tests/ |
D | test.py | 29 def CompareFiles(actual, expect): argument 35 if not os.path.isfile(expect): 37 print 'Could not find %s' % expect 40 return filecmp.cmp(actual, expect, False)
|
/frameworks/base/docs/html/training/ |
D | building-multimedia.jd | 9 create rich multimedia apps that behave the way users expect.</p>
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PrintSpoolerService.java | 973 expect(parser, XmlPullParser.START_TAG, TAG_SPOOLER); in parseState() 981 expect(parser, XmlPullParser.END_TAG, TAG_SPOOLER); in parseState() 1026 expect(parser, XmlPullParser.END_TAG, TAG_PRINTER_ID); in parsePrintJob() 1042 expect(parser, XmlPullParser.END_TAG, TAG_PAGE_RANGE); in parsePrintJob() 1080 expect(parser, XmlPullParser.END_TAG, TAG_MEDIA_SIZE); in parsePrintJob() 1096 expect(parser, XmlPullParser.END_TAG, TAG_RESOLUTION); in parsePrintJob() 1114 expect(parser, XmlPullParser.END_TAG, TAG_MARGINS); in parsePrintJob() 1121 expect(parser, XmlPullParser.END_TAG, TAG_ATTRIBUTES); in parsePrintJob() 1141 expect(parser, XmlPullParser.END_TAG, TAG_DOCUMENT_INFO); in parsePrintJob() 1161 expect(parser, XmlPullParser.END_TAG, TAG_ADVANCED_OPTION); in parsePrintJob() [all …]
|
/frameworks/base/core/java/android/util/ |
D | JsonReader.java | 277 expect(JsonToken.BEGIN_ARRAY); in beginArray() 285 expect(JsonToken.END_ARRAY); in endArray() 293 expect(JsonToken.BEGIN_OBJECT); in beginObject() 301 expect(JsonToken.END_OBJECT); in endObject() 307 private void expect(JsonToken expected) throws IOException { in expect() method in JsonReader
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | FusedPrintersProvider.java | 588 expect(parser, XmlPullParser.START_TAG, TAG_PRINTERS); in parseState() 600 expect(parser, XmlPullParser.END_TAG, TAG_PRINTERS); in parseState() 617 expect(parser, XmlPullParser.START_TAG, TAG_PRINTER_ID); in parsePrinter() 624 expect(parser, XmlPullParser.END_TAG, TAG_PRINTER_ID); in parsePrinter() 638 expect(parser, XmlPullParser.END_TAG, TAG_PRINTER); in parsePrinter() 643 private void expect(XmlPullParser parser, int type, String tag) in expect() method in FusedPrintersProvider.PersistenceManager.ReadTask
|
/frameworks/base/docs/html/guide/topics/media/ |
D | index.jd | 31 <p>Android users get used to using the back key. We expect the volume keys to work in some 32 intuitive fashion. We expect that the home key behaves in a manner consistent with the Android
|
/frameworks/ex/variablespeed/jni/ |
D | variablespeed.h | 67 static bool CompareAndSetEngine(AudioEngine* expect, AudioEngine* update);
|
/frameworks/base/docs/html/training/keyboard-input/ |
D | navigation.jd | 72 <p>Look for any instances in which the focus moves in a way you don't expect.</p> 77 <p>Look for any instances in which the focus moves in a way you don't expect.</p> 82 does not do what you expect, specify where the focus should go in your layout, as discussed
|
D | index.jd | 24 about the type of input you expect (such as
|
D | commands.jd | 35 android.view.KeyEvent} class and related APIs, you should expect that such keyboard
|
/frameworks/base/docs/html/training/managing-audio/ |
D | audio-focus.jd | 50 <p>You must specify which stream you're using and whether you expect to require transient or 51 permanent audio focus. Request transient focus when you expect to play audio for only a short time 134 those events—and abandoning your audio focus. At that point, you would expect a user action
|
D | audio-output.jd | 66 typically expect the playback to be paused—while for games you may choose to significantly
|
/frameworks/base/docs/html/design/tv/ |
D | principles.jd | 17 <p>Users expect immediate access to content when they turn on a TV. Get users into the action
|
D | style.jd | 12 steadily increased over time, users expect TV experiences to be relatively simple and 95 (typically about 10 feet away) makes it harder for users to read text. Users also don't expect to
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | ContiguousFIFOAggregator.java | 94 public void expect(final T key, final Callback<T> callback) { in expect() method in ContiguousFIFOAggregator
|
/frameworks/base/docs/html/training/custom-views/ |
D | index.jd | 58 <dd>Users expect a view to react smoothly and naturally to input gestures.
|
/frameworks/base/docs/html/training/basics/activity-lifecycle/ |
D | pausing.jd | 71 <li>Commit unsaved changes, but only if users expect such changes to be permanently saved when 98 is when you're certain users expect the changes to be auto-saved (such as when drafting an email).
|
/frameworks/base/docs/html/guide/webapps/ |
D | index.jd | 37 application that you at least expect to be available on Android-powered devices (which you should
|