Commit Graph

545 Commits

Author SHA1 Message Date
Tina Zhou
766fa6a623 Merge "Add test to check sock addr in qtaguid ctrl file" into marshmallow-cts-dev
am: 8482d8c85c

Change-Id: I2fefc3090844c2ed9be8434ad0d0bcd11af13d08
2017-07-13 21:02:32 +00:00
Chenbo Feng
ba65ffc462 Add test to check sock addr in qtaguid ctrl file
This test verifies the socket address information is not leaked by
xt_qtaguid module inside the kernel. The sock_addr parsed from
proc/net/xt_qtaguid/ctrl file should always be 0

Bug: 62489688
Test: in cts-tf: run cts --package android.net.native
2017-06-28 13:47:30 -07:00
Nicolas Boichat
5696846426 PacketReflector: Ignore IPv6 flow labels in ICMPv6 test
am: 36c0f02d94

Change-Id: Ic7b755d02b3d1b85fbbff7d22554128079fc5a37
2016-10-17 21:50:57 +00:00
Nicolas Boichat
36c0f02d94 PacketReflector: Ignore IPv6 flow labels in ICMPv6 test
Since Linux kernel 4.2, net.ipv6.auto_flowlabels is set by default, and
therefore the request and reply may have different IPv6 flow label.

Bug: 31444338
Test: On a kernel 4.4 board, run com.android.cts.net.HostsideNetworkTests#testVpn
Test: On a kernel 3.18 board, run echo 1 > /proc/sys/net/ipv6/auto_flowlabels, then
      com.android.cts.net.HostsideNetworkTests#testVpn
Change-Id: I913bbf91574239a24cb32ae908834eb951ea2010
2016-09-13 17:32:40 +08:00
Jun Tahara
6ce150c6ae Merge \"Remove non-CTS packets assertion code\" into marshmallow-cts-dev
am: 0ba763ab98

Change-Id: I9d9549d4388af53475a0457f7be1d55d88d5e72d
2016-06-22 00:09:33 +00:00
Jun Tahara
349f7ed040 Remove non-CTS packets assertion code
Symptom:
testTrafficStatsForLocalhost fails when applications or services
except CTS are using network.

Root cause:
testTrafficStatsForLocalhost can't calculate the number of
non-localhost packets for CTS.
It includes the all of packets for applications/services except CTS
and non-localhost packets for CTS.

Solution:
Remove this assertion and only logging the number of packets.

Change-Id: I49243d59f359f3a543c6bdb46f6a2645cde8f292
2016-06-20 17:50:39 +09:00
Marcus Nascimento
9ef251d523 Merge "Merge "Add assertion messages to testStartUsingNetworkFeature_enableHipri." into lollipop-mr1-cts-dev am: 92849de21f -s ours" into marshmallow-cts-dev
am: a6aa5bce79

* commit 'a6aa5bce79af1d1294ff815a396f1764fc703a27':
  Add assertion messages to testStartUsingNetworkFeature_enableHipri.

Change-Id: Ib12541988e1c5154fd5343d8fec9e6628239238a
2016-05-19 17:54:53 +00:00
Android Merger
a6aa5bce79 Merge "Merge "Add assertion messages to testStartUsingNetworkFeature_enableHipri." into lollipop-mr1-cts-dev am: 92849de21f -s ours" into marshmallow-cts-dev 2016-05-19 17:28:36 +00:00
Marcus Nascimento
8074918f7f Merge "Add assertion messages to testStartUsingNetworkFeature_enableHipri." into lollipop-mr1-cts-dev
am: 92849de21f  -s ours

* commit '92849de21f245cd43c4c05b28fbf59ef6feb725a':
  Add assertion messages to testStartUsingNetworkFeature_enableHipri.

Change-Id: Iabea0582c95db8353d3d7e4ec5008a45aa05b403
2016-05-19 17:28:26 +00:00
Daniel Xie
92849de21f Merge "Add assertion messages to testStartUsingNetworkFeature_enableHipri." into lollipop-mr1-cts-dev 2016-05-19 16:39:30 +00:00
Marcus Nascimento
4699aa522a Merge "Merge "Add assertion message to assertions for testExecute_withMobile." into lollipop-mr1-cts-dev am: ce158e65ae -s ours" into marshmallow-cts-dev
am: 90419fc992

* commit '90419fc99220c249b29a09805c06f9a1fc25f0d1':
  Add assertion message to assertions for testExecute_withMobile.

Change-Id: Ifc327d9165a543b163c954d964c982fdd14ab1af
2016-04-29 11:05:01 +00:00
Android Merger
90419fc992 Merge "Merge "Add assertion message to assertions for testExecute_withMobile." into lollipop-mr1-cts-dev am: ce158e65ae -s ours" into marshmallow-cts-dev 2016-04-29 10:59:36 +00:00
Marcus Nascimento
5d6e8323f6 Merge "Add assertion message to assertions for testExecute_withMobile." into lollipop-mr1-cts-dev
am: ce158e65ae  -s ours

* commit 'ce158e65aec1b2c9687852872c9fd9ed74585144':
  Add assertion message to assertions for testExecute_withMobile.

Change-Id: I12a3b5e90ce51ebbc233d69126eb78e3a85d6ba3
2016-04-29 10:59:28 +00:00
Daniel Xie
ce158e65ae Merge "Add assertion message to assertions for testExecute_withMobile." into lollipop-mr1-cts-dev 2016-04-28 16:44:37 +00:00
Marcus Nascimento
51eb8c19a0 Add assertion message to assertions for testExecute_withMobile.
Some partner test devices without a SIM Card or with no signal, thus
without mobile network data connection.

Added a message to check signal and SIM card and rerun the test.

Also added a verification that the network type is supported in the
event of a Connectivity Action's timeout. Unsuported network type could
be caused by a network stack crash.

Bug: 28207677
Change-Id: Ibca50359df7d5fb8371f4f4037fc81f029f48b30
2016-04-28 16:40:31 +00:00
Marcus Nascimento
335856c1d3 Add assertion messages to testStartUsingNetworkFeature_enableHipri.
testStartUsingNetworkFeature_enableHipri should be able to reconnect to Wifi Network.
Added a prefix to the already defined error message to rerun the test.

The ConnectivityManager's startUsingNetworkFeature will fail without SIM card and/or signal.
Changed the error message to check SIM card and signal and rerun the test.

Bug: 28264205
Change-Id: Ia1b35cab11afa65ae93ea7dab2f7cc3a330d8471
2016-04-26 11:32:30 +01:00
Owain Davies
275a0e6237 Merge "Merge "Add assertion message if testDns ipv6 lookup reutrns ipv4." into lollipop-mr1-cts-dev am: b996de8" into marshmallow-cts-dev
am: 48216c2

* commit '48216c2807c0fd5561a592b2be09dad3cc0a0bd7':
  Add assertion message if testDns ipv6 lookup reutrns ipv4.

Change-Id: I361b96fa073ffe1d7719be745e32241322b1eeed
2016-04-23 06:13:45 +00:00
Owain Davies
2bfd0e1192 Merge "Merge "Added assertion message to testDns failures" into lollipop-mr1-cts-dev am: 350b2aa" into marshmallow-cts-dev
am: 936375b

* commit '936375b6f25a328a06d5b783f6fde63afb13d681':
  Added assertion message to testDns failures

Change-Id: I9a56dfe2d0960898b61f26ccee3607c7558034de
2016-04-23 06:13:44 +00:00
Android Merger
48216c2807 Merge "Merge "Add assertion message if testDns ipv6 lookup reutrns ipv4." into lollipop-mr1-cts-dev am: b996de8" into marshmallow-cts-dev 2016-04-23 06:07:51 +00:00
Android Merger
936375b6f2 Merge "Merge "Added assertion message to testDns failures" into lollipop-mr1-cts-dev am: 350b2aa" into marshmallow-cts-dev 2016-04-23 06:07:42 +00:00
Owain Davies
4455109378 Merge "Add assertion message if testDns ipv6 lookup reutrns ipv4." into lollipop-mr1-cts-dev
am: b996de8

* commit 'b996de81cde4d1596dc15346591ed0ccb41608ca':
  Add assertion message if testDns ipv6 lookup reutrns ipv4.

Change-Id: I4b791741f7c69f23097ccd9d56d33984a0862b5a
2016-04-23 06:07:33 +00:00
Owain Davies
7db24c68cf Merge "Added assertion message to testDns failures" into lollipop-mr1-cts-dev
am: 350b2aa

* commit '350b2aae5bc303d094a540c12bcb650a8bf5e139':
  Added assertion message to testDns failures

Change-Id: I347197b0db859e3875b14701424d2d55d9059d32
2016-04-23 06:07:31 +00:00
Daniel Xie
b996de81cd Merge "Add assertion message if testDns ipv6 lookup reutrns ipv4." into lollipop-mr1-cts-dev 2016-04-23 06:02:23 +00:00
Owain Davies
c408601c24 Add assertion message if testDns ipv6 lookup reutrns ipv4.
Some partner test networks connect by VPN and if the connection
fails during the testing this test will fail as the local internet
provider intercepts the DNS request and returns an ipv4 address.

Added a message to check the network configuration and rerun the test.

Bug: 26560000
Change-Id: I54e4976b2cef549bfe9fd55ff9609ba2e6513239
2016-04-14 16:12:38 +01:00
Owain Davies
8884aac68d Added assertion message to testDns failures
Identify tests that fail testDns because of no network connection.

Bug:26560000
Change-Id: I7683d54d2932ec46c5850bf360c602f6548b179e
2016-04-14 15:54:44 +01:00
Wally Yau
8bdae23147 Merge "Fixed test for lingering traffic data." into marshmallow-cts-dev
am: 0f7a74c

* commit '0f7a74c9f99bac16d6c599afc38d5f82cebb0ef3':
  Fixed test for lingering traffic data.
2016-03-28 18:04:32 +00:00
Wally Yau
d7f1dbef66 Fixed test for lingering traffic data.
Change-Id: I7d68a518e25e17dbbaa57b12e2af4dc57b8df8d3
2016-03-07 16:16:09 -08:00
The Android Automerger
de0ad86920 merge in lmp-mr1-cts-release history after reset to lmp-mr1-dev am: 78df332ef1
am: ee23541449

* commit 'ee235414493f963dcbbf7d4f87f725055315d442':
2015-12-10 10:40:16 -08:00
The Android Automerger
ee23541449 merge in lmp-mr1-cts-release history after reset to lmp-mr1-dev
am: 78df332ef1

* commit '78df332ef1a6be3cda40b776a6321425fa829ddb': (32 commits)
  cts: get video size from CamcorderProfile -- DO NOT MERGE
  BUG: 23792027 adding android.hardware.cts.helpers.sensorverification.EventOrderingVerificationTest#testSameTimestamp to knownfailure
  cts: get video size from CamcorderProfile -- DO NOT MERGE
  cts: get video size from CamcorderProfile -- DO NOT MERGE
  BUG: 23954202 fixed minimum memory to be 1099
  DO NOT MERGE ANYWHERE: fix breakage
  DO NOT MERGE: fix breakage
  rename android_security_cts_AudioflingerBinderTest.cpp to android_security_cts_AudioFlingerBinderTest.cpp
  Test if libstagefright dies in onInputBufferFilled on currupted file
  Should return true if the specified file doesn't exist
  DO NOT MERGE - Revert "Revert "Fix AudioTrackTest.testGetTimestamp""
  DO NOT MERGE ANYWHERE:revert and resubmit on lmp-dev
  DO NOT MERGE ANYWHERE:revert and resubmit to lmp-* branches
  Fix build error in ExtractDecodeEditEncodeMuxTest.
  Fixed android.uirendering package in CTS-5.0_R3
  TV: add multiple tracks tests to CtsVerifier
  TV: Add parental control tests to CtsVerifier
  TV: add a test for overlay view from TV input to CtsVerifier
  Add TV app tests to CtsVerifier
  DO NOT MERGE - Add security test for IEffect binder command
  ...
2015-12-10 10:37:14 -08:00
Daniel Xie
3f0866e144 Merge "Don\'t run Wifi scan timestamp tests when location is turned off." into marshmallow-cts-dev
am: 57031aa47e

* commit '57031aa47e16e4d493c03df886c35c5081fcaeed':
  Don't run Wifi scan timestamp tests when location is turned off.
2015-11-17 01:12:55 +00:00
Wei Wang
abe587984a Don't run Wifi scan timestamp tests when location is turned off.
Bug:24957400
Change-Id: I891040ffc0808d62a8f5f1bb20fd633b9f7f482c
2015-11-10 14:23:55 -08:00
Bill Yi
83590ee982 Merge remote-tracking branch \'goog/mnc-cts-release\' into HEAD
am: 79a816d6c0

* commit '79a816d6c08e18870e52c67f6ddbd7b89d3c973a':
  Squashed mnc-dev changes:
2015-10-21 16:46:31 +00:00
Daniel Xie
935fba1ab2 Squashed mnc-dev changes:
This contains all of the changes from b54aa51 to
791e51a on mnc-dev, except the changes
to tests/tests/security.

Bug: 24846656
Change-Id: I01f53a1a238ac49f86928e0e22796dc73e0e34af
2015-10-19 16:01:03 -07:00
The Android Automerger
405ea20fb8 am 8f97b6c6: am 8a8372c7: am 3dfca9d8: am 78df332e: (-s ours) merge in lmp-mr1-cts-release history after reset to lmp-mr1-dev
* commit '8f97b6c65c11b8757d3d77ab861317e2b077504d':
2015-10-06 00:23:20 +00:00
The Android Automerger
8f97b6c65c am 8a8372c7: am 3dfca9d8: am 78df332e: (-s ours) merge in lmp-mr1-cts-release history after reset to lmp-mr1-dev
* commit '8a8372c7c93b84078db52093043f6962ac7ccd64':
2015-10-06 00:17:55 +00:00
The Android Automerger
8a8372c7c9 am 3dfca9d8: am 78df332e: (-s ours) merge in lmp-mr1-cts-release history after reset to lmp-mr1-dev
* commit '3dfca9d879b75e7be77dc7f19e79200f787dc975':
2015-10-06 00:11:15 +00:00
The Android Automerger
3dfca9d879 am 78df332e: (-s ours) merge in lmp-mr1-cts-release history after reset to lmp-mr1-dev
* commit '78df332ef1a6be3cda40b776a6321425fa829ddb':
2015-10-06 00:01:46 +00:00
Paul Jensen
22e42b48f5 resolved conflicts for 3e4042eb to mnc-dev
Change-Id: I3476d55641288b21a1609a8e72f37012d86bad03
2015-09-25 07:28:26 -04:00
Paul Jensen
3e4042eb78 am 063f9718: am 358b4b14: am 8c04baef: am e287a5c6: Merge "CTS: verify ConnectivityManager.requestNetwork throws for restricted networks" into lmp-dev
* commit '063f971859d0ef5ac96b69de345cd94fd4788b7e':
  CTS: verify ConnectivityManager.requestNetwork throws for restricted networks
2015-09-25 11:09:06 +00:00
Paul Jensen
063f971859 am 358b4b14: am 8c04baef: am e287a5c6: Merge "CTS: verify ConnectivityManager.requestNetwork throws for restricted networks" into lmp-dev
* commit '358b4b140f9811667471596293fc1f5cfa2d536c':
  CTS: verify ConnectivityManager.requestNetwork throws for restricted networks
2015-09-25 11:02:47 +00:00
Paul Jensen
358b4b140f am 8c04baef: am e287a5c6: Merge "CTS: verify ConnectivityManager.requestNetwork throws for restricted networks" into lmp-dev
* commit '8c04baef4cb8066712c6b1af345781b41a17aa8a':
  CTS: verify ConnectivityManager.requestNetwork throws for restricted networks
2015-09-25 10:57:05 +00:00
Paul Jensen
8c04baef4c am e287a5c6: Merge "CTS: verify ConnectivityManager.requestNetwork throws for restricted networks" into lmp-dev
* commit 'e287a5c6d87bfc86ca83fc886cd00b8b8e221022':
  CTS: verify ConnectivityManager.requestNetwork throws for restricted networks
2015-09-25 10:51:01 +00:00
Paul Jensen
e287a5c6d8 Merge "CTS: verify ConnectivityManager.requestNetwork throws for restricted networks" into lmp-dev 2015-09-25 10:45:39 +00:00
The Android Automerger
78df332ef1 merge in lmp-mr1-cts-release history after reset to lmp-mr1-dev 2015-09-24 07:26:50 -07:00
Daniel Xie
981e10712e am 4755b246: am 30ee954e: am f056ab50: am f5c48b8e: am 760b6d86: am f6915b6f: Merge "Support WiFi only device at runtime." into kitkat-cts-dev automerge: 545427f
* commit '4755b246fe6ff0668a894dee2c060d757f473299':
2015-09-22 20:22:15 +00:00
JP Abgrall
2b43f49116 am c8a7ea26: am 9cc068f7: am 7e32f6e8: am 4c38e93e: am 740064e9: am ab0f0fe8: Merge "Fix CTS build" into lollipop-cts-dev
* commit 'c8a7ea262a8cff7d555df7a02db3143c426a331f':
2015-09-22 20:20:59 +00:00
Daniel Xie
4755b246fe am 30ee954e: am f056ab50: am f5c48b8e: am 760b6d86: am f6915b6f: Merge "Support WiFi only device at runtime." into kitkat-cts-dev automerge: 545427f
* commit '30ee954ec2aa1293c9a465dabe234624f1140a5e':
2015-09-22 20:10:19 +00:00
JP Abgrall
c8a7ea262a am 9cc068f7: am 7e32f6e8: am 4c38e93e: am 740064e9: am ab0f0fe8: Merge "Fix CTS build" into lollipop-cts-dev
* commit '9cc068f7e50dd6b39e80d5d69d7af895843f3afe':
2015-09-22 20:09:16 +00:00
Daniel Xie
30ee954ec2 am f056ab50: am f5c48b8e: am 760b6d86: am f6915b6f: Merge "Support WiFi only device at runtime." into kitkat-cts-dev automerge: 545427f
* commit 'f056ab504b47e56616689df10e8d89277f09e447':
2015-09-22 20:01:21 +00:00
JP Abgrall
9cc068f7e5 am 7e32f6e8: am 4c38e93e: am 740064e9: am ab0f0fe8: Merge "Fix CTS build" into lollipop-cts-dev
* commit '7e32f6e8c071cea40b4cae9a11d591c052602abe':
2015-09-22 19:59:11 +00:00