/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | MountServiceTests.java | 64 public int state = -1; field in class:MountServiceTests.ObbObserver 68 public void onObbStateChange(String path, int state) { argument 69 Log.d(TAG, "Received message. path=" + path + ", state=" + state); 72 this.state = state; 79 assertTrue("Expected ObbObserver to have received a state change.", done); 84 assertTrue("Expected ObbObserver to have received a state change.", done); 85 return state; 90 this.state [all...] |
H A D | NetworkStatsServiceTest.java | 185 // network state, and poll any existing interfaces before updating. 239 // network state, and poll any existing interfaces before updating. 330 // network state, and poll any existing interfaces before updating. 891 private void expectNetworkState(NetworkState... state) throws Exception { argument 892 expect(mConnManager.getAllNetworkState()).andReturn(state).atLeastOnce(); 894 final LinkProperties linkProp = state.length > 0 ? state[0].linkProperties : null;
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneStateListener.java | 34 * on the device, including service state, signal strength, message 37 * Override the methods for the state that you wish to receive updates for, and 55 * Listen for changes to the network service state (cellular). 115 * Listen for changes to the device call state. 124 * Listen for changes to the data connection state (cellular). 172 * Callback invoked when device service state changes. 219 * Callback invoked when device call state changes. 225 public void onCallStateChanged(int state, String incomingNumber) { argument 230 * Callback invoked when connection state changes. 237 public void onDataConnectionStateChanged(int state) { argument 244 onDataConnectionStateChanged(int state, int networkType) argument [all...] |
H A D | ServiceState.java | 25 * Contains phone state and service related information. 30 * <li>Service state: IN_SERVICE, OUT_OF_SERVICE, EMERGENCY_ONLY, POWER_OFF 170 * @param s Source service state 249 * Get current service state of phone 487 private void setNullState(int state) { argument 488 mState = state; 513 public void setState(int state) { argument 514 mState = state; 595 mState = m.getInt("state"); 611 * Set intent notifier Bundle based on service state 634 setRadioTechnology(int state) argument [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | DatePicker.java | 140 * subtract by one to ensure our internal state is always 0-11 380 protected void onRestoreInstanceState(Parcelable state) { argument 381 SavedState ss = (SavedState) state; 392 * Initialize the state. 404 * Initialize the state. 429 /* The month display uses 1-12 but our internal state stores it
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | SceneManager.java | 448 public Renderable getRenderableQuad(String name, RenderState state) { argument 453 quad.setRenderState(state);
|
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
H A D | ProfileActivity.java | 203 public void setTestingState(TestingState state) { argument 204 switch (state) { 233 // toggle capture button to indicate capture state to user
|
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 210 int state = TICK_START; local 215 if (state == TICK_START || 216 (state == TICK_OUTSIDE_1 && multipleAllowed)) { 223 state = TICK_INSIDE_1; 224 } else if (state == TICK_OUTSIDE_1) { 230 if (state == TICK_INSIDE_1) { 235 state = TICK_OUTSIDE_1; 259 int state = TICK_START; local 264 if (state == TICK_START || 265 (state [all...] |
H A D | XMLNode.cpp | 561 ParseState state; local 562 state.filename = file->getPrintableSource(); 563 state.parser = parser; 564 XML_SetUserData(parser, &state); 589 if (state.root == NULL) { 593 return state.root;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeXmlBlockParser.java | 99 public void setFeature(String name, boolean state) argument 101 if (FEATURE_PROCESS_NAMESPACES.equals(name) && state) { 104 if (FEATURE_REPORT_NAMESPACE_ATTRIBUTES.equals(name) && state) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/google/android/maps/ |
H A D | MapView.java | 112 public void onSaveInstanceState(Bundle state) { argument 115 public void onRestoreInstanceState(Bundle state) { argument
|
/frameworks/base/voip/java/android/net/sip/ |
H A D | SipSession.java | 73 * Converts the state to string. 75 public static String toString(int state) { argument 76 switch (state) { 299 * Gets the session state. The value returned must be one of the states in 302 * @return the session state 357 * registration. The method is only valid to call when the session state is 376 * session state is in {@link State#READY_TO_CALL}. 391 * the session state is in {@link State#READY_TO_CALL}. 411 * method is only valid to call when the session state is in 429 * incoming call. The method is only valid to call when the session state i [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | StateChangeResult.java | 20 * Stores supplicant state change information passed from WifiMonitor to 21 * a state machine. WifiStateMachine, SupplicantStateTracker and WpsStateMachine 22 * are example state machines that handle it. 27 SupplicantState state) { 28 this.state = state; 37 SupplicantState state; field in class:StateChangeResult 26 StateChangeResult(int networkId, WifiSsid wifiSsid, String BSSID, SupplicantState state) argument
|
H A D | SupplicantState.java | 26 * state. This is more fine-grained than most users will be interested in. 31 * state constants in <code>defs.h</code> in <code>wpa_supplicant</code>. 35 * This state indicates that client is not associated, but is likely to 36 * start looking for an access point. This state is entered when a 44 * This state is entered if the network interface is disabled. 51 * Inactive state (wpa_supplicant disabled). 53 * This state is entered if there are no enabled networks in the 63 * This state is entered when wpa_supplicant starts scanning for a 71 * This state is entered when wpa_supplicant has found a suitable BSS 80 * This state i 169 isValidState(SupplicantState state) argument 175 isHandshakeState(SupplicantState state) argument 197 isConnecting(SupplicantState state) argument 219 isDriverActive(SupplicantState state) argument [all...] |
H A D | SupplicantStateTracker.java | 32 * Tracks the state changes in supplicant and provides functionality 33 * that is based on these state changes: 84 //start the state machine 99 SupplicantState supState = (SupplicantState) stateChangeResult.state; 101 if (DBG) Log.d(TAG, "Supplicant state: " + supState.toString() + "\n"); 134 Log.e(TAG, "Unknown supplicant state " + supState); 139 private void sendSupplicantStateChangedBroadcast(SupplicantState state, boolean failedAuth) { argument 143 intent.putExtra(WifiManager.EXTRA_NEW_STATE, (Parcelable) state); 171 SupplicantState state = stateChangeResult.state; [all...] |
H A D | WifiConfigStore.java | 268 void updateStatus(int netId, DetailedState state) { argument 272 switch (state) { 283 //do nothing, retain the existing state 319 * state machine 338 * state machine for network removal 363 * state machine for connecting to a network
|
H A D | WifiInfo.java | 31 * Describes the state of any Wifi connection that is active or 217 * Return the detailed state of the supplicant's negotiation with an 225 void setSupplicantState(SupplicantState state) { argument 226 mSupplicantState = state; 252 * Map a supplicant state into a fine-grained network connectivity state. 253 * @param suppState the supplicant state 262 * of the state. 263 * @param stateName the name of the state, as a <code>String</code> returned 300 append(", Supplicant state [all...] |
H A D | WifiMonitor.java | 112 * <code>x</code> is the numerical value of the new state. 138 * CTRL-EVENT-DRIVER-STATE state 140 * <code>state</code> can be HANGED 279 /* Supplicant events reported to a state machine */ 292 /* Supplicate state changed */ 499 private void handleDriverEvent(String state) { argument 500 if (state == null) { 503 if (state.equals("HANGED")) { 660 * @param dataString New supplicant state string in the format: 661 * id=network-id state [all...] |
H A D | WifiStateMachine.java | 93 * Track the state of Wifi connectivity. All event handling is done here, 94 * and all changes in connectivity state are initiated here. 144 /* Tracks if state machine has received any screen state change broadcast yet. 174 * Tether state change notification time out 280 /* Invoked when getting a tether state change notification */ 282 /* A delayed message sent to indicate tether state change failed to arrive */ 358 /* Reset the supplicant state tracker */ 432 * being in a bad state. Delay driver stop. 441 /* Default parent state */ 1112 sendBluetoothAdapterStateChange(int state) argument 1673 setNetworkDetailedState(NetworkInfo.DetailedState state) argument [all...] |
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
H A D | rs_structs.h | 47 } state; member in struct:Allocation::__anon1205 86 } state; member in struct:ProgramStore::__anon1207 113 } state; member in struct:ProgramRaster::__anon1209 144 } state; member in struct:Sampler::__anon1211 182 } state; member in struct:Element::__anon1213 218 } state; member in struct:Type::__anon1215 252 } state; member in struct:Mesh::__anon1217
|
/frameworks/compile/libbcc/lib/Support/ |
H A D | sha1.c | 106 static void SHA1Transform(unsigned long state[5], 134 static void SHA1Transform(unsigned long state[5], argument 150 /* Copy context->state[] to working vars */ 151 a = state[0]; 152 b = state[1]; 153 c = state[2]; 154 d = state[3]; 155 e = state[4]; 185 /* Add the working vars back into context.state[] */ 186 state[ [all...] |
H A D | sha1.h | 8 unsigned long state[5]; member in struct:__anon1222
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | DiagnosticEngine.h | 125 State& state() function in class:mcld::DiagnosticEngine 128 const State& state() const function in class:mcld::DiagnosticEngine
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 326 public void onRestoreInstanceState(Parcelable state) { argument 330 super.onRestoreInstanceState(state); 1876 * @return A RecipientChip in the selected state or null if the chip
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 140 /** The state that selection isn't started. */ 142 /** The state that selection is started. */ 144 /** The state that selection is done, but not fixed. */ 146 /** The state that selection is done and not fixed. */ 260 public void onRestoreInstanceState(Parcelable state) { argument 261 if (!(state instanceof SavedStyledTextState)) { 262 super.onRestoreInstanceState(state); 265 SavedStyledTextState ss = (SavedStyledTextState) state; 419 public void onStateChanged(int mode, int state); argument 527 * Notify the event that the mode and state ar 532 notifyStateChanged(int mode, int state) argument 1248 setSelectState(int state) argument [all...] |