/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | RequestPermissionActivity.java | 96 case BluetoothAdapter.STATE_ON: in onCreate() 138 case BluetoothAdapter.STATE_ON: { in onCreate() 209 if (mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON) { in onActivityResult() 382 if (currentState == BluetoothAdapter.STATE_ON) { in onReceive()
|
D | LocalDeviceNameDialogFragment.java | 47 == BluetoothAdapter.STATE_ON)) {
|
D | BluetoothPairingDetail.java | 130 case BluetoothAdapter.STATE_ON: in updateContent()
|
D | DevicePickerFragment.java | 157 if (bluetoothState == BluetoothAdapter.STATE_ON) { in onBluetoothStateChanged()
|
D | BluetoothEnabler.java | 142 case BluetoothAdapter.STATE_ON: in handleStateChanged()
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/btservice/ |
D | PhonePolicyTest.java | 134 when(mockAdapterService.getState()).thenReturn(BluetoothAdapter.STATE_ON); in testAdapterOnAutoConnect() 163 intent.putExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.STATE_ON); in testAdapterOnAutoConnect() 199 when(mockAdapterService.getState()).thenReturn(BluetoothAdapter.STATE_ON); in testReconnectOnPartialConnect() 262 when(mockAdapterService.getState()).thenReturn(BluetoothAdapter.STATE_ON); in testNoReconnectOnNoConnect()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | InCallTonePlayer.java | 93 private static final int STATE_ON = 1; field in InCallTonePlayer 254 mState = STATE_ON; in run() 303 if (mState == STATE_ON) { in stopTone()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothEnablerTest.java | 190 when(mBluetoothAdapter.getBluetoothState()).thenReturn(BluetoothAdapter.STATE_ON); in startWithBluetoothOn_switchIsOn() 203 when(mBluetoothAdapter.getBluetoothState()).thenReturn(BluetoothAdapter.STATE_ON); in bluetoothTurnsOff_switchTurnsOff() 240 on.putExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.STATE_ON); in bluetoothTurnsOn_switchTurnsOn()
|
D | BluetoothSummaryUpdaterTest.java | 146 mSummaryUpdater.onBluetoothStateChanged(BluetoothAdapter.STATE_ON); in onBluetoothStateChanged_btEnabled_connected_shouldSendConnectedSummary() 160 mSummaryUpdater.onBluetoothStateChanged(BluetoothAdapter.STATE_ON); in onBluetoothStateChanged_btEnabled_connectedMisMatch_shouldSendNotConnected() 206 mSummaryUpdater.onBluetoothStateChanged(BluetoothAdapter.STATE_ON); in onBluetoothStateChanged_ConnectedDisabledEnabled_shouldSendDisconnectedSummary()
|
D | BluetoothPairingDetailTest.java | 121 mFragment.updateContent(BluetoothAdapter.STATE_ON); in testUpdateContent_stateOn_addDevices() 144 mFragment.updateContent(BluetoothAdapter.STATE_ON); in testOnScanningStateChanged_restartScanAfterInitialScanning()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterService.java | 320 if (BluetoothAdapter.STATE_ON != entry.getValue()) { in processProfileServiceStateChanged() 501 setGattProfileServiceState(supportedProfileServices,BluetoothAdapter.STATE_ON); in BleOnProcessStart() 512 setProfileServiceState(supportedProfileServices,BluetoothAdapter.STATE_ON); in startCoreServices() 656 if (state != BluetoothAdapter.STATE_ON && state != BluetoothAdapter.STATE_OFF) { in setGattProfileServiceState() 665 expectedCurrentState= BluetoothAdapter.STATE_ON; in setGattProfileServiceState() 700 if (state != BluetoothAdapter.STATE_ON && state != BluetoothAdapter.STATE_OFF) { in setProfileServiceState() 708 expectedCurrentState= BluetoothAdapter.STATE_ON; in setProfileServiceState() 1397 return mAdapterProperties.getState() == BluetoothAdapter.STATE_ON; in isEnabled() 1955 if (mAdapterProperties.getState() != BluetoothAdapter.STATE_ON || in reportActivityInfo()
|
D | PhonePolicy.java | 119 if (newState == BluetoothAdapter.STATE_ON) { 275 if (mAdapterService.getState() != BluetoothAdapter.STATE_ON) { in autoConnect() 345 if (mAdapterService.getState() != BluetoothAdapter.STATE_ON) { in processConnectOtherProfiles()
|
D | ProfileService.java | 143 } else if (state == BluetoothAdapter.STATE_ON) { in onStartCommand() 211 notifyProfileServiceStateChanged(BluetoothAdapter.STATE_ON); in doStart()
|
D | RemoteDevices.java | 486 if (mAdapterService.getState() == BluetoothAdapter.STATE_ON) { in devicePropertyChangedCallback() 541 if (state == BluetoothAdapter.STATE_ON || state == BluetoothAdapter.STATE_TURNING_ON) { in aclStateChangeCallback() 556 if (state == BluetoothAdapter.STATE_ON || state == BluetoothAdapter.STATE_TURNING_OFF) { in aclStateChangeCallback()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | PlayerApplicationSettings.java | 208 return BluetoothAvrcpPlayerSettings.STATE_ON; in mapAttribIdValtoAvrcpPlayerSetting() 249 case BluetoothAvrcpPlayerSettings.STATE_ON: in mapAvrcpPlayerSettingstoBTattribVal()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | ObexServerSockets.java | 151 (state != BluetoothAdapter.STATE_ON)) { in create() 246 if ((mAdapter != null) && (mAdapter.getState() == BluetoothAdapter.STATE_ON)) { in onAcceptFailed()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcService.java | 610 if (mState == NfcAdapter.STATE_ON) { in enableInternal() 644 updateState(NfcAdapter.STATE_ON); in enableInternal() 859 return mState == NfcAdapter.STATE_ON && mIsNdefPushEnabled; in isNdefPushEnabled() 1589 return (mState == NfcAdapter.STATE_ON || mState == NfcAdapter.STATE_TURNING_OFF); in isNfcEnabledOrShuttingDown() 1595 return mState == NfcAdapter.STATE_ON; in isNfcEnabled() 2433 case NfcAdapter.STATE_ON: in stateToString()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TetherSettings.java | 325 case BluetoothAdapter.STATE_ON: in onReceive() 469 if (btState == BluetoothAdapter.STATE_ON && bluetoothPan != null in updateBluetoothState()
|
/packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/ |
D | AnswerProximitySensor.java | 110 return display.getState() == Display.STATE_ON; in isDefaultDisplayOn()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapService.java | 164 (state != BluetoothAdapter.STATE_ON)) { in initSocket() 683 } else if (state == BluetoothAdapter.STATE_ON) { in onReceive()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppBtEnablingActivity.java | 142 case BluetoothAdapter.STATE_ON:
|
/packages/services/Car/service/src/com/android/car/ |
D | SystemInterface.java | 98 return disp.getState() == Display.STATE_ON; in isMainDisplayOn()
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
D | NfcEnabler.java | 121 case NfcAdapter.STATE_ON: in handleNfcStateChanged()
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | BeamSendService.java | 151 if (state == BluetoothAdapter.STATE_ON) { in handleBluetoothStateChanged()
|
/packages/apps/Settings/tests/app/src/com/android/settings/tests/ |
D | BluetoothRequestPermissionTest.java | 159 case BluetoothAdapter.STATE_ON:
|