/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/ |
D | TlvBufferUtilsTest.java | 135 thrown.expect(IllegalArgumentException.class); in testTlvInvalidSizeT1L0() 141 thrown.expect(IllegalArgumentException.class); in testTlvInvalidSizeTm3L2() 147 thrown.expect(IllegalArgumentException.class); in testTlvInvalidSizeT1Lm2() 153 thrown.expect(IllegalArgumentException.class); in testTlvInvalidSizeT1L3() 159 thrown.expect(IllegalArgumentException.class); in testTlvInvalidSizeT3L1() 168 thrown.expect(IllegalArgumentException.class); in testTlvItInvalidSizeT1L0() 178 thrown.expect(IllegalArgumentException.class); in testTlvItInvalidSizeTm3L2() 188 thrown.expect(IllegalArgumentException.class); in testTlvItInvalidSizeT1Lm2() 198 thrown.expect(IllegalArgumentException.class); in testTlvItInvalidSizeT1L3() 208 thrown.expect(IllegalArgumentException.class); in testTlvItInvalidSizeT3L1()
|
D | WifiNanManagerTest.java | 70 thrown.expect(IllegalArgumentException.class); in testConfigRequestBuilderMasterPrefNegative() 77 thrown.expect(IllegalArgumentException.class); in testConfigRequestBuilderMasterPrefReserved1() 83 thrown.expect(IllegalArgumentException.class); in testConfigRequestBuilderMasterPrefReserved255() 89 thrown.expect(IllegalArgumentException.class); in testConfigRequestBuilderMasterPrefTooLarge() 95 thrown.expect(IllegalArgumentException.class); in testConfigRequestBuilderClusterLowNegative() 101 thrown.expect(IllegalArgumentException.class); in testConfigRequestBuilderClusterHighNegative() 107 thrown.expect(IllegalArgumentException.class); in testConfigRequestBuilderClusterLowAboveMax() 113 thrown.expect(IllegalArgumentException.class); in testConfigRequestBuilderClusterHighAboveMax() 119 thrown.expect(IllegalArgumentException.class); in testConfigRequestBuilderClusterLowLargerThanHigh() 228 thrown.expect(IllegalArgumentException.class); in testSubscribeSettingsBuilderBadSubscribeType() [all …]
|
/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/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_CompatLibLegacy/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/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/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) 145 for expect in java_expect: 146 expect_base = expect[:-7] # strip ".expect" suffix 155 elif not CompareFiles(found[0], expect):
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaInserterTest.java | 149 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsEqualToBufferSize() 164 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsMoreThanBufferSize() 188 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testFlushAllWithSomeContents() 204 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsAfterFlushAll() 225 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsWithDifferentSizePerContentType() 229 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsWithDifferentSizePerContentType() 233 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsWithDifferentSizePerContentType() 237 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsWithDifferentSizePerContentType()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
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 …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 50 import static org.easymock.EasyMock.expect; 993 expect(mockBinder.unlinkToDeath((IBinder.DeathRecipient) anyObject(), anyInt())) in testRegisterUsageCallback() 1072 expect(mConnManager.getAllNetworkState()).andReturn(state).atLeastOnce(); in expectNetworkState() 1075 expect(mConnManager.getActiveLinkProperties()).andReturn(linkProp).atLeastOnce(); in expectNetworkState() 1079 expect(mConnManager.getAllVpnInfo()).andReturn(new VpnInfo[0]).atLeastOnce(); in expectNetworkStatsSummary() 1086 expect(mNetManager.getNetworkStatsSummaryDev()).andReturn(summary).atLeastOnce(); in expectNetworkStatsSummaryDev() 1090 expect(mNetManager.getNetworkStatsSummaryXt()).andReturn(summary).atLeastOnce(); in expectNetworkStatsSummaryXt() 1100 expect(mNetManager.getNetworkStatsUidDetail(eq(UID_ALL))).andReturn(detail).atLeastOnce(); in expectNetworkStatsUidDetail() 1103 expect(mNetManager.getNetworkStatsTethering()) in expectNetworkStatsUidDetail() 1113 expect(mSettings.getPollInterval()).andReturn(HOUR_IN_MILLIS).anyTimes(); in expectSettings() [all …]
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
D | Utils.java | 80 String expect = PLMNText[n]; in getMccMnc() local 81 int len = expect.endsWith("*") ? expect.length() - 1 : expect.length(); in getMccMnc() 82 if (!domain.get(n).regionMatches(0, expect, 0, len)) { in getMccMnc()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | Utils.java | 85 String expect = PLMNText[n]; in getMccMnc() local 86 int len = expect.endsWith("*") ? expect.length() - 1 : expect.length(); in getMccMnc() 87 if (!domain.get(n).regionMatches(0, expect, 0, len)) { in getMccMnc()
|
/frameworks/support/v4/tests/java/android/support/v4/app/ |
D | StrictFragment.java | 64 for (int expect : expected) { in checkState() 65 if (mState == expect) { in checkState()
|
/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/model/ |
D | PrintSpoolerService.java | 1106 expect(parser, XmlPullParser.START_TAG, TAG_SPOOLER); in parseState() 1114 expect(parser, XmlPullParser.END_TAG, TAG_SPOOLER); in parseState() 1176 expect(parser, XmlPullParser.END_TAG, TAG_PRINTER_ID); in parsePrintJob() 1192 expect(parser, XmlPullParser.END_TAG, TAG_PAGE_RANGE); in parsePrintJob() 1236 expect(parser, XmlPullParser.END_TAG, TAG_MEDIA_SIZE); in parsePrintJob() 1252 expect(parser, XmlPullParser.END_TAG, TAG_RESOLUTION); in parsePrintJob() 1270 expect(parser, XmlPullParser.END_TAG, TAG_MARGINS); in parsePrintJob() 1277 expect(parser, XmlPullParser.END_TAG, TAG_ATTRIBUTES); in parsePrintJob() 1297 expect(parser, XmlPullParser.END_TAG, TAG_DOCUMENT_INFO); in parsePrintJob() 1317 expect(parser, XmlPullParser.END_TAG, TAG_ADVANCED_OPTION); in parsePrintJob() [all …]
|
/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/ui/ |
D | FusedPrintersProvider.java | 885 expect(parser, XmlPullParser.START_TAG, TAG_PRINTERS); in parseState() 897 expect(parser, XmlPullParser.END_TAG, TAG_PRINTERS); in parseState() 914 expect(parser, XmlPullParser.START_TAG, TAG_PRINTER_ID); in parsePrinter() 921 expect(parser, XmlPullParser.END_TAG, TAG_PRINTER_ID); in parsePrinter() 937 expect(parser, XmlPullParser.END_TAG, TAG_LOCATION); in parsePrinter() 958 expect(parser, XmlPullParser.END_TAG, TAG_PRINTER); in parsePrinter() 963 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/support/v7/recyclerview/tests/src/android/support/v7/util/ |
D | AsyncListUtilTest.java | 209 mTilesFilledLatch.expect(positions); in expectTiles() 307 void expect(int ... positions) { in expect() method in AsyncListUtilTest.PositionSetLatch
|
/frameworks/compile/slang/tests/F_reduce_general_parse/ |
D | stderr.txt.expect | 14 reduce_general_parse.rs:20:56: error: did not expect '(' here for '#pragma rs reduce'
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/ |
D | HTTPRequest.java | 284 String nonce, String cnonce, String nc, String qop, String expect) in test() argument 305 System.out.println("Success: " + responseString.equals(expect)); in test()
|
/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
|
/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
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | RemoteViewsTest.java | 104 exception.expect(IllegalStateException.class); in clone_child_fails()
|
/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
|