1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 package org
.chromium
.net
;
7 import android
.app
.Application
;
8 import android
.content
.Context
;
9 import android
.util
.Log
;
11 import org
.chromium
.base
.PathUtils
;
14 * Application for managing the Cronet Test.
16 public class CronetTestApplication
extends Application
{
17 private static final String TAG
= "CronetTestApplication";
19 private static final String PRIVATE_DATA_DIRECTORY_SUFFIX
= "cronet_test";
22 public void onCreate() {
24 initializeApplicationParameters(this);
27 public static void initializeApplicationParameters(Context context
) {
28 PathUtils
.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX
, context
);
29 Log
.i(TAG
, "CronetTestApplication.initializeApplicationParameters()"