OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:NetworkState
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/core/java/android/net/
NetworkState.java
27
public class
NetworkState
implements Parcelable {
36
public
NetworkState
(NetworkInfo networkInfo, LinkProperties linkProperties,
47
public
NetworkState
(Parcel in) {
71
public static final Creator<
NetworkState
> CREATOR = new Creator<
NetworkState
>() {
73
public
NetworkState
createFromParcel(Parcel in) {
74
return new
NetworkState
(in);
78
public
NetworkState
[] newArray(int size) {
79
return new
NetworkState
[size];
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
NetworkState.java
28
public class
NetworkState
{
35
private final String LOG_TAG = "
NetworkState
";
41
public
NetworkState
() {
47
public
NetworkState
(State currentState) {
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadInfo.java
166
public enum
NetworkState
{
343
return checkCanUseNetwork(mTotalBytes) ==
NetworkState
.OK;
384
public
NetworkState
checkCanUseNetwork(long totalBytes) {
387
return
NetworkState
.NO_CONNECTION;
390
return
NetworkState
.BLOCKED;
393
return
NetworkState
.CANNOT_USE_ROAMING;
396
return
NetworkState
.TYPE_DISALLOWED_BY_REQUESTOR;
414
private
NetworkState
checkIsNetworkTypeAllowed(int networkType, long totalBytes) {
419
return
NetworkState
.TYPE_DISALLOWED_BY_REQUESTOR;
449
private
NetworkState
checkSizeAllowedForNetwork(int networkType, long totalBytes)
[
all
...]
Completed in 651 milliseconds