/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | LockSettingsStorageTests.java | 228 assertArrayEquals("thepassword".getBytes(), mStorage.readPasswordHash(0).hash); in testPassword_Write() 230 assertArrayEquals("thepassword".getBytes(), mStorage.readPasswordHash(0).hash); in testPassword_Write() 237 assertArrayEquals("profilepassword".getBytes(), mStorage.readPasswordHash(1).hash); in testPassword_WriteProfileWritesParent() 238 assertArrayEquals("profilepassword".getBytes(), mStorage.readPasswordHash(2).hash); in testPassword_WriteProfileWritesParent() 240 assertArrayEquals("profilepassword".getBytes(), mStorage.readPasswordHash(1).hash); in testPassword_WriteProfileWritesParent() 241 assertArrayEquals("profilepassword".getBytes(), mStorage.readPasswordHash(2).hash); in testPassword_WriteProfileWritesParent() 258 assertArrayEquals("profilepassword".getBytes(), mStorage.readChildProfileLock(20)); in testProfileLock_ReadWriteChildProfileLock() 261 assertArrayEquals("profilepassword".getBytes(), mStorage.readChildProfileLock(20)); in testProfileLock_ReadWriteChildProfileLock() 269 assertArrayEquals("parentpasswordd".getBytes(), mStorage.readPasswordHash(1).hash); in testPassword_WriteParentWritesProfile() 270 assertArrayEquals("parentpasswordd".getBytes(), mStorage.readPasswordHash(2).hash); in testPassword_WriteParentWritesProfile() [all …]
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | AsmAnalyzerTest.java | 35 import static org.junit.Assert.assertArrayEquals; 72 assertArrayEquals(new String[] { in testParseZip() 92 assertArrayEquals(new String[] {"mock_android/data/dataFile"}, in testParseZip() 110 assertArrayEquals(new String[] { "mock_android.view.ViewGroup$LayoutParams" }, in testFindClass() 112 assertArrayEquals(new ClassReader[] { cr }, found.values().toArray()); in testFindClass() 128 assertArrayEquals(new String[] { }, in testFindGlobs() 134 assertArrayEquals(new String[] { in testFindGlobs() 143 assertArrayEquals(new String[] { in testFindGlobs() 154 assertArrayEquals(new String[] { in testFindGlobs() 163 assertArrayEquals(new String[] { in testFindGlobs() [all …]
|
D | ClassHasNativeVisitorTest.java | 41 assertArrayEquals(new String[] { "native_method" }, cv.getMethodsFound()); in testHasNative() 53 assertArrayEquals(new String[0], cv.getMethodsFound()); in testHasNoNative()
|
D | AsmGeneratorTest.java | 47 import static org.junit.Assert.assertArrayEquals; 164 assertArrayEquals(new String[] { "not/an/actual/ClassName" }, notRenamed.toArray()); in testClassRenaming() 254 assertArrayEquals(new String[] {"mock_android/data/dataFile"}, in testClassRefactoring() 338 assertArrayEquals(new String[] {"mock_android/data/dataFile"}, in testClassExclusion()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | CameraMetadataTest.java | 233 assertArrayEquals(colorCorrectionGainsAsByteArray, in testReadWriteValues() 287 private static <T> void assertArrayEquals(T expected, T actual) { in assertArrayEquals() method in CameraMetadataTest 345 assertArrayEquals(expected, actual); in checkKeyGetAndSet() 384 assertArrayEquals(expectedNative, actualValues); in checkKeyMarshal() 390 assertArrayEquals(expected, actual); in checkKeyMarshal() 400 assertArrayEquals(expected, actual); in checkKeyMarshal() 588 assertArrayEquals(expectedValues, aeAntibandingModeValues); in testReadWriteEnumWithCustomValues() 918 assertArrayEquals(expectedInputs, map.getInputs()); in testReadWriteReprocessFormatsMap() 923 assertArrayEquals(expectedYuvOutputs, map.getOutputs(ImageFormat.YUV_420_888)); in testReadWriteReprocessFormatsMap() 928 assertArrayEquals(expectedRaw16Outputs, map.getOutputs(ImageFormat.RAW_SENSOR)); in testReadWriteReprocessFormatsMap() [all …]
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
D | ScanRecordTest.java | 57 assertArrayEquals(new byte[] { in testParser() 61 assertArrayEquals(new byte[] { in testParser() 66 private static void assertArrayEquals(byte[] expected, byte[] actual) { in assertArrayEquals() method in ScanRecordTest
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | InformationElementUtilTest.java | 19 import static org.junit.Assert.assertArrayEquals; 112 assertArrayEquals("parsed SSID does not match input", in parseInformationElements_withSingleElement() 135 assertArrayEquals("parsed SSID does not match input", in parseInformationElements_withExtraPadding() 158 assertArrayEquals("parsed SSID does not match input", in parseInformationElements_secondElementInvalidLength() 179 assertArrayEquals("parsed SSID does not match input", in parseInformationElements_twoElements() 209 assertArrayEquals("parsed SSID does not match input", in parseInformationElements_firstElementZeroLength()
|
D | ScanDetailUtilTest.java | 19 import static org.junit.Assert.assertArrayEquals; 116 assertArrayEquals("ScanResult information elements", input.informationElements, in validateScanDetail()
|
/frameworks/base/services/tests/servicestests/src/android/net/ |
D | UidRangeTest.java | 24 import static org.junit.Assert.assertArrayEquals; 45 assertArrayEquals(inParcel, outParcel); in testNativeParcelUnparcel()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiCertManagerTest.java | 19 import static org.junit.Assert.assertArrayEquals; 106 assertArrayEquals(expected, certManager.listClientCertsForCurrentUser()); in testEmptyConfigFile()
|
D | WifiNativeTest.java | 19 import static org.junit.Assert.assertArrayEquals; 164 assertArrayEquals(FATE_REPORT_FRAME_BYTES, fateReport.mFrameBytes); in testTxFateReportCtorSetsFields() 181 assertArrayEquals(FATE_REPORT_FRAME_BYTES, fateReport.mFrameBytes); in testRxFateReportCtorSetsFields()
|
D | WifiLoggerTest.java | 21 import static org.junit.Assert.assertArrayEquals; 206 assertArrayEquals(data, ringBufferData[0]); in canCaptureAndStoreRingBufferData() 225 assertArrayEquals(data2, ringBufferData[0]); in loggerDiscardsExtraneousData()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | IpPrefixTest.java | 24 import static org.junit.Assert.assertArrayEquals; 278 assertArrayEquals(ipv6bytes, p.getRawAddress()); // Fine. in testMappedAddressesAreBroken()
|
/frameworks/multidex/library/test/src/android/support/multidex/ |
D | ZipUtilTest.java | 106 Assert.assertArrayEquals(refEntry.getExtra(), checkEntry.getExtra()); in testCrcRange()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DcTrackerTest.java | 64 import static org.junit.Assert.assertArrayEquals; 356 assertArrayEquals(new String[]{PhoneConstants.APN_TYPE_DEFAULT}, mDct.getActiveApnTypes()); in verifyDataConnected()
|