summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ScriptIntrinsicHistogram.java
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2017-06-23 10:07:08 +0900
committerHugo Benichi <hugobenichi@google.com>2017-07-14 04:26:42 +0900
commitfd31b9d46ea09dc7d74ddc03ab7e5ecfbe80b3dc (patch)
treef113067dca4697fea38ddfe75457ca59ebb4f6dc /rs/java/android/renderscript/ScriptIntrinsicHistogram.java
parent5bb30496cf381c6546cbf02a2c5b55adf046aeb8 (diff)
IpManager: define InitialConfiguration
This patch adds a InitialConfiguration class to IpManager for specifying IP information in IpManager ProvisioningConfiguration at IpManager startup. At the moment this InitialConfiguration is not used, but is validated in startProvsiioning if ProvisioningConfiguration includes one. It will be integrated into IpManager IP provisioning logic in follow-up patches. This patch also includes an example of data driven unit tests using a table of test case. The highlights of this methodology are: 1) easy extensibility for new test case, 2) rich and informative error messages, Unfortunately Java support for inlined data structure literals is poor and some companion static methods for data generation are required for enabling this methodology. Bug: 62988545 Test: added new test in FrameworksNetTests, $ runtest frameworks-net $ runtest frameworks-wifi Merged-In: I060b02603af7d73a6407df89344bf0c000574af2 (cherry pick of commit 2757fcf3a13b0addc4a168a12c72ac2fc418b012) Change-Id: I48dbf89232d7758f1b07ed4d76ce93281e5c6b53
Diffstat (limited to 'rs/java/android/renderscript/ScriptIntrinsicHistogram.java')
0 files changed, 0 insertions, 0 deletions