HomeSort by relevance Sort by last modified time
    Searched refs:STATE_ON (Results 1 - 25 of 161) sorted by null

1 2 3 4 5 6 7

  /developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/synth/
SynthVoice.java 26 public static final int STATE_ON = 1;
34 mState = STATE_ON;
  /developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/synth/
SynthVoice.java 26 public static final int STATE_ON = 1;
34 mState = STATE_ON;
  /developers/samples/android/common/src/java/com/example/android/common/midi/synth/
SynthVoice.java 26 public static final int STATE_ON = 1;
34 mState = STATE_ON;
  /development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
SynthVoice.java 26 public static final int STATE_ON = 1;
34 mState = STATE_ON;
  /development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
SynthVoice.java 26 public static final int STATE_ON = 1;
34 mState = STATE_ON;
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DozeScreenStatePreventingAdapterTest.java 54 mWrapper.setDozeScreenState(Display.STATE_ON);
55 verify(mInner).setDozeScreenState(Display.STATE_ON);
67 verify(mInner).setDozeScreenState(Display.STATE_ON);
DozeSuspendScreenStatePreventingAdapterTest.java 54 mWrapper.setDozeScreenState(Display.STATE_ON);
55 verify(mInner).setDozeScreenState(Display.STATE_ON);
  /packages/apps/Settings/src/com/android/settings/nfc/
NfcEnabler.java 42 case NfcAdapter.STATE_ON:
AndroidBeamEnabler.java 58 case NfcAdapter.STATE_ON:
  /packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
ProfileServiceTest.java 120 setAllProfilesState(BluetoothAdapter.STATE_ON, 1);
130 setAllProfilesState(BluetoothAdapter.STATE_ON, 1);
132 setAllProfilesState(BluetoothAdapter.STATE_ON, 2);
143 setProfileState(profile, BluetoothAdapter.STATE_ON);
151 starts.capture(), eq(BluetoothAdapter.STATE_ON));
175 setProfileState(profile, BluetoothAdapter.STATE_ON);
180 start.capture(), eq(BluetoothAdapter.STATE_ON));
201 setProfileState(profile, BluetoothAdapter.STATE_ON);
AdapterServiceTest.java 163 mAdapterService.onProfileServiceStateChanged(mMockGattService, BluetoothAdapter.STATE_ON);
179 mAdapterService.onProfileServiceStateChanged(mMockService, BluetoothAdapter.STATE_ON);
180 mAdapterService.onProfileServiceStateChanged(mMockService2, BluetoothAdapter.STATE_ON);
183 verifyStateChange(BluetoothAdapter.STATE_TURNING_ON, BluetoothAdapter.STATE_ON,
199 verifyStateChange(BluetoothAdapter.STATE_ON, BluetoothAdapter.STATE_TURNING_OFF,
316 verifyStateChange(BluetoothAdapter.STATE_ON, BluetoothAdapter.STATE_TURNING_OFF, 1,
357 mAdapterService.onProfileServiceStateChanged(mMockGattService, BluetoothAdapter.STATE_ON);
371 mAdapterService.onProfileServiceStateChanged(mMockService, BluetoothAdapter.STATE_ON);
396 verifyStateChange(BluetoothAdapter.STATE_ON, BluetoothAdapter.STATE_TURNING_OFF, 1,
438 verifyStateChange(BluetoothAdapter.STATE_ON, BluetoothAdapter.STATE_TURNING_OFF, 1
    [all...]
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
BluetoothRestrictionTest.java 156 assertEquals(BluetoothAdapter.STATE_ON, mBluetoothAdapter.getState());
176 if (state != BluetoothAdapter.STATE_ON || turnOff) {
212 if (mBluetoothAdapter.getState() == BluetoothAdapter.STATE_ON) {
233 case BluetoothAdapter.STATE_ON:
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
BluetoothTest.java 142 assertEquals(BluetoothAdapter.STATE_ON, mAdapter.getState());
154 if (state != BluetoothAdapter.STATE_ON || turnOff) {
171 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) {
184 case BluetoothAdapter.STATE_ON:
  /frameworks/base/core/tests/coretests/src/com/android/internal/os/
BatteryStatsBackgroundStatsTest.java 48 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur); // off battery
69 bi.updateTimeBasesLocked(true, Display.STATE_ON, cur, cur); // on battery
91 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur); // off battery
116 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur);
121 bi.updateTimeBasesLocked(true, Display.STATE_ON, cur, cur);
137 bi.updateTimeBasesLocked(true, Display.STATE_ON, cur, cur);
142 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur);
161 bi.updateTimeBasesLocked(true, Display.STATE_ON, curr, curr); // on battery
175 bi.updateTimeBasesLocked(false, Display.STATE_ON, curr, curr); // off battery
214 bi.updateTimeBasesLocked(true, Display.STATE_ON, curr, curr); // on batter
    [all...]
BatteryStatsNoteTest.java 143 bi.updateTimeBasesLocked(true, Display.STATE_ON, 0, 0);
214 bi.updateTimeBasesLocked(false, Display.STATE_ON, 20, 20);
217 bi.updateTimeBasesLocked(true, Display.STATE_ON, 30, 30);
234 bi.updateTimeBasesLocked(true, Display.STATE_ON, 0, 0);
235 bi.noteScreenStateLocked(Display.STATE_ON);
239 bi.noteScreenStateLocked(Display.STATE_ON);
241 assertEquals(bi.getScreenState(), Display.STATE_ON);
268 bi.noteScreenStateLocked(Display.STATE_ON);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DozeScreenStatePreventingAdapter.java 37 state = Display.STATE_ON;
  /hardware/qcom/power/
power.c 31 #define STATE_ON "state=1"
126 if (!strncmp(metadata, STATE_ON, sizeof(STATE_ON))) {
  /frameworks/base/core/java/android/bluetooth/
BluetoothAdapter.java 143 * {@link #STATE_ON},
152 * {@link #STATE_ON},
162 STATE_ON,
177 * clients should wait for {@link #STATE_ON} before attempting to
184 public static final int STATE_ON = 12;
231 case STATE_ON:
521 * works in Bluetooth state STATE_ON
535 * works in Bluetooth state STATE_ON
735 * <code>getBluetoothState() == STATE_ON</code>
758 * <p>This returns true if current state is either STATE_ON or STATE_BLE_O
    [all...]
BluetoothAvrcpPlayerSettings.java 73 public static final int STATE_ON = 0x01;
  /cts/tests/tests/bluetooth/src/android/bluetooth/cts/
BasicAdapterTest.java 232 assertEquals(BluetoothAdapter.STATE_ON, adapter.getState());
244 if (state != BluetoothAdapter.STATE_ON || turnOff) {
260 if (adapter.getState() == BluetoothAdapter.STATE_ON) {
273 case BluetoothAdapter.STATE_ON:
  /tools/test/connectivity/acts/framework/acts/test_utils/bt/
BleEnum.py 97 STATE_ON = 12
BtEnum.py 31 STATE_ON = 12
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BluetoothToggleActivity.java 130 && (BluetoothAdapter.STATE_ON == previousState
135 if (BluetoothAdapter.STATE_ON == newState
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
NfcManagerFacade.java 58 if (nfcState == NfcAdapter.STATE_ON) {
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
BluetoothDiscoverableTimeoutReceiver.java 79 localBluetoothAdapter.getState() == BluetoothAdapter.STATE_ON) {

Completed in 432 milliseconds

1 2 3 4 5 6 7