/external/chromium/chrome/browser/sync/ |
backend_migrator_unittest.cc | 88 // Test that in the normal case a migration does transition through each state 97 EXPECT_CALL(*manager(), state()) 102 EXPECT_EQ(BackendMigrator::DISABLING_TYPES, migrator.state()); 105 EXPECT_EQ(BackendMigrator::WAITING_FOR_PURGE, migrator.state()); 110 EXPECT_EQ(BackendMigrator::REENABLING_TYPES, migrator.state()); 113 EXPECT_EQ(BackendMigrator::IDLE, migrator.state()); 123 EXPECT_CALL(*manager(), state()) 127 EXPECT_EQ(BackendMigrator::WAITING_TO_START, migrator.state()); 130 EXPECT_CALL(*manager(), state()) 135 EXPECT_EQ(BackendMigrator::DISABLING_TYPES, migrator.state()); [all...] |
/external/skia/gpu/src/ |
app-android.cpp | 41 struct State { 42 State(); 43 ~State(); 170 static void drawIntoCanvas(State* state, SkCanvas* canvas) { 172 SkView* view = state->getView(); 180 State::State() { 194 State::~State() { 272 State* state = get_state(); local 345 State* state = get_state(); local [all...] |
/external/chromium/chrome/browser/sync/glue/ |
autofill_data_type_controller.h | 52 virtual State state() const; 76 void StartDone(StartResult result, State state); 77 void StartDoneImpl(StartResult result, State state, 88 void set_state(State state) { 90 state_ = state; 95 State state_ [all...] |
typed_url_data_type_controller.h | 62 virtual State state() const; 89 void StartDone(StartResult result, State state); 90 void StartDoneImpl(StartResult result, State state); 96 void set_state(State state) { 98 state_ = state; 104 State state_ [all...] |
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_bar_folder_hover_state.h | 10 // Hover state machine. Encapsulates the hover state for 13 // the following state transitions: 26 // there are periods where the hover state is in transtion between open and 29 // |hoverButton_| using this state information. This serialization is to 44 // We model hover state as a state machine with specific allowable 45 // transitions. |hoverState_| is the state of this machine at any 66 // State change APIs. 75 // Accessors and setters for button and hover state [all...] |
/external/skia/include/pdf/ |
SkPDFShader.h | 62 class State { 75 explicit State(const SkShader& shader, const SkMatrix& canvasTransform, 77 bool operator==(const State& b) const; 82 SkAutoTDelete<const State> fState; 87 const State* fState; 92 ShaderCanonicalEntry(SkPDFShader* pdfShader, const State* state) 94 fState(state) { 103 SkPDFShader(State* state); [all...] |
/frameworks/base/libs/rs/ |
rsFBOCache.cpp | 28 mHal.state.colorTargetsCount = 1; 29 mHal.state.colorTargets = new ObjectBaseRef<Allocation>[mHal.state.colorTargetsCount]; 33 delete[] mHal.state.colorTargets; 45 if (slot >= mHal.state.colorTargetsCount) { 55 mHal.state.colorTargets[slot].set(a); 66 mHal.state.depthTarget.set(a); 71 for (uint32_t i = 0; i < mHal.state.colorTargetsCount; i ++) { 72 mHal.state.colorTargets[i].set(NULL); 74 mHal.state.depthTarget.set(NULL) [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
MediaRecorderStateUnitTestTemplate.java | 65 * Calls method under test in the given state of the MediaRecorder object. 67 * @param state the MediaRecorder state in which the method under test is called. 69 private void callMediaRecorderMethodUnderTestInState(MediaRecorderStateErrors.MediaRecorderState state) { 70 Log.v(TAG, "call " + mMethodUnderTest + ": started in state " + state); 71 setMediaRecorderToState(state); 77 Log.v(TAG, "call " + mMethodUnderTest + ": ended in state " + state); 82 * object to the corresponding state, given the assumption that reset( [all...] |
/system/core/libpixelflinger/ |
pixelflinger.cpp | 106 ggl_set_surface(c, &c->state.texture[tmu].surface, surface); 112 if (surface->format != c->state.buffers.color.format) 115 if (surface->width > c->state.buffers.coverageBufferSize) { 117 free(c->state.buffers.coverage); 118 c->state.buffers.coverage = (int16_t*)malloc(surface->width * 2); 119 c->state.buffers.coverageBufferSize = 120 c->state.buffers.coverage ? surface->width : 0; 122 ggl_set_surface(c, &(c->state.buffers.color), surface); 123 if (c->state.buffers.read.format == 0) { 124 ggl_set_surface(c, &(c->state.buffers.read), surface) [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
ChrootChecker.cpp | 28 // enum value that represent the jail state 35 // The state transition: 65 const GRState *state = C.getState(); local 67 SVal L = state->getSVal(Callee); 91 const GRState *state = C.getState(); local 92 GRStateManager &Mgr = state->getStateManager(); 96 state = Mgr.addGDM(state, ChrootChecker::getTag(), (void*) ROOT_CHANGED); 97 C.addTransition(state); 101 const GRState *state = C.getState() local 128 const GRState *state = C.getState(); local [all...] |
/frameworks/base/core/java/android/server/ |
BluetoothInputProfileHandler.java | 65 BluetoothDeviceProfileState state) { 72 if (state != null) { 75 msg.obj = state; 93 BluetoothDeviceProfileState state) { 99 if (state != null) { 102 msg.obj = state; 157 for (int state : states) { 158 if (state == inputDeviceState) { 167 private void handleInputDeviceStateChange(BluetoothDevice device, int state) { 174 if (prevState == state) return 200 int state = connected ? BluetoothInputDevice.STATE_CONNECTED : local [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
StateSetTest.java | 39 // Add another state to the spec which the stateSet doesn't match 45 // Add an irrelevent state to the stateSpec 63 // Add another matching state to the the stateSet. We still fail 80 // Add another arrelevent state to the stateSet 86 // Add another state to the spec which the stateSet doesn't match 89 // Add an irrelevent state to the stateSet 124 int state; local 127 state = 1; 128 assertTrue(StateSet.stateSetMatches(stateSpec, state)); 130 state = 2 140 int state; local 156 int state = 0; local [all...] |
/external/chromium/net/base/ |
load_states.h | 14 // This is the default state. It corresponds to a resource load that has 20 // This state corresponds to a resource load that is blocked waiting for 27 // This state corresponds to a resource load that is blocked waiting for a 28 // proxy autoconfig script to return a proxy server to use. This state may 33 // This state indicates that we're in the process of establishing a tunnel 37 // This state corresponds to a resource load that is blocked waiting for a 43 // This state corresponds to a resource load that is blocked waiting for a 45 // requests that reuse a keep-alive connection skip this state. 48 // This state corresponds to a resource load that is blocked waiting for the 52 // This state corresponds to a resource load that is blocked waiting t [all...] |
/external/dhcpcd/ |
if-pref.c | 41 if (si->state && !ti->state) 43 if (!si->state && ti->state) 45 if (!si->state && !ti->state) 48 if (si->state->new && !ti->state->new) 50 if (!si->state->new && ti->state->new [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_vendor_test.c | 35 enum { INIT, CONFIRM, SUCCESS } state; member in struct:eap_vendor_test_data 46 data->state = INIT; 85 if (data->state == INIT && *pos != 1) { 87 "%d in INIT state", *pos); 92 if (data->state == CONFIRM && *pos != 3) { 94 "%d in CONFIRM state", *pos); 99 if (data->state == SUCCESS) { 101 "in SUCCESS state"); 106 if (data->state == CONFIRM) { 130 if (data->state == INIT) [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_vendor_test.c | 35 enum { INIT, CONFIRM, SUCCESS } state; member in struct:eap_vendor_test_data 46 data->state = INIT; 85 if (data->state == INIT && *pos != 1) { 87 "%d in INIT state", *pos); 92 if (data->state == CONFIRM && *pos != 3) { 94 "%d in CONFIRM state", *pos); 99 if (data->state == SUCCESS) { 101 "in SUCCESS state"); 106 if (data->state == CONFIRM) { 130 if (data->state == INIT) [all...] |
/external/opencv/cv/src/ |
cvstereobm.cpp | 57 CvStereoBMState* state = 0; local 63 state = (CvStereoBMState*)cvAlloc( sizeof(*state) ); 64 if( !state ) 67 state->preFilterType = CV_STEREO_BM_NORMALIZED_RESPONSE; 68 state->preFilterSize = 9; 69 state->preFilterCap = 31; 70 state->SADWindowSize = 15; 71 state->minDisparity = 0; 72 state->numberOfDisparities = numberOfDisparities > 0 ? numberOfDisparities : 64 [all...] |
cvstereogc.cpp | 370 CvStereoGCState* state = 0; local 376 state = (CvStereoGCState*)cvAlloc( sizeof(*state) ); 377 memset( state, 0, sizeof(*state) ); 378 state->minDisparity = 0; 379 state->numberOfDisparities = numberOfDisparities; 380 state->maxIters = maxIters <= 0 ? 3 : maxIters; 381 state->Ithreshold = 5; 382 state->interactionRadius = 1 393 CvStereoGCState* state; local [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
SipPhone.java | 115 != SipSession.State.INCOMING_CALL) { 134 if ((ringingCall.getState() == Call.State.INCOMING) || 135 (ringingCall.getState() == Call.State.WAITING)) { 168 throw new CallStateException("cannot dial in current state"); 170 if (foregroundCall.getState() == SipCall.State.ACTIVE) { 173 if (foregroundCall.getState() != SipCall.State.IDLE) { 175 throw new CallStateException("cannot dial in current state"); 203 if ((foregroundCall.getState() != SipCall.State.ACTIVE) 204 || (foregroundCall.getState() != SipCall.State.ACTIVE)) { 205 throw new CallStateException("wrong state to merge calls: fg= [all...] |
/external/chromium/webkit/glue/ |
webthemeengine_impl_mac.cc | 18 static ThemeTrackEnableState stateToHIEnableState(WebThemeEngine::State state) { 19 switch (state) { 31 WebThemeEngine::State state, 50 trackInfo.enableState = stateToHIEnableState(state); 53 state == WebThemeEngine::StatePressed ? kThemeThumbPressed : 0;
|
/external/elfutils/libelf/ |
elf_getshnum.c | 48 idx = elf->state.elf.scns_last->cnt; 50 || (elf->state.elf.scns_last 52 || (offsetof (Elf, state.elf32.scns) 53 == offsetof (Elf, state.elf64.scns)) 54 ? &elf->state.elf32.scns : &elf->state.elf64.scns))) 56 *dst = 1 + elf->state.elf.scns_last->data[idx - 1].index;
|
elf_begin.c | 52 elf->state.ar.offset = offset + SARMAG; 54 elf->state.ar.elf_ar_hdr.ar_rawname = elf->state.ar.raw_name; 235 elf->state.elf.scnincr = 10; 245 elf->state.elf32.scns.cnt = elf->state.elf32.scns.max = scncnt; 257 elf->state.elf32.ehdr = 259 elf->state.elf32.shdr = 261 + elf->state.elf32.ehdr->e_shoff); 262 if (elf->state.elf32.ehdr->e_phnum [all...] |
/external/webkit/Source/WebCore/platform/ |
PlatformTouchPoint.h | 38 enum State { 51 PlatformTouchPoint(unsigned id, const IntPoint& windowPos, State); 53 PlatformTouchPoint(int id, const IntPoint& windowPos, State); 55 PlatformTouchPoint(unsigned id, const IntPoint& windowPos, State); 59 State state() const { return m_state; } function in class:WebCore::PlatformTouchPoint 65 State m_state;
|
/external/srtp/crypto/cipher/ |
aes.c | [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
BatchUpdateExceptionTest.java | 36 int[] theFinalStates1 = { 0 }; // Error Code state 37 int[][] theFinalStates2 = { null }; // Update Counts array state 38 String[] theFinalStates3 = { null }; // SQL State state value 39 String[] theFinalStates4 = { null }; // Message state 51 assertEquals(i + " Final state mismatch: ", 54 assertEquals(i + " Final state mismatch: ", 57 assertEquals(i + " Final state mismatch: ", 59 assertEquals(i + " Final state mismatch: ", 82 int[] theFinalStates1 = { 0, 0 }; // Error Code state [all...] |