Searched refs:mUpdater (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsActiveDeviceSummaryUpdaterTest.java | 58 private AudioStreamsActiveDeviceSummaryUpdater mUpdater; field in AudioStreamsActiveDeviceSummaryUpdaterTest 63 mUpdater = new AudioStreamsActiveDeviceSummaryUpdater(mContext, mFakeListener); in setUp() 73 mUpdater.register(true); in register_summaryUpdated() 80 mUpdater.onActiveDeviceChanged(mCachedBluetoothDevice, 0); in onActiveDeviceChanged_notLeProfile_doNothing() 90 mUpdater.onActiveDeviceChanged(mCachedBluetoothDevice, BluetoothProfile.LE_AUDIO); in onActiveDeviceChanged_leProfile_summaryUpdated() 97 mUpdater.onActiveDeviceChanged(mCachedBluetoothDevice, BluetoothProfile.LE_AUDIO); in onActiveDeviceChanged_leProfile_noDevice_summaryUpdated()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | SavedHearingDeviceUpdaterTest.java | 68 private SavedHearingDeviceUpdater mUpdater; field in SavedHearingDeviceUpdaterTest 76 mUpdater = new SavedHearingDeviceUpdater(mContext, in setUp() 89 assertThat(mUpdater.isFilterMatched(savedHearingDevice)).isEqualTo(true); in isFilterMatch_savedHearingDevice_returnTrue() 101 assertThat(mUpdater.isFilterMatched(savedNonHearingDevice)).isEqualTo(false); in isFilterMatch_savedNonHearingDevice_returnFalse() 113 assertThat(mUpdater.isFilterMatched(savedBondingHearingDevice)).isEqualTo(false); in isFilterMatch_savedBondingHearingDevice_returnFalse() 125 assertThat(mUpdater.isFilterMatched(connectdHearingDevice)).isEqualTo(false); in isFilterMatch_connectedHearingDevice_returnFalse() 136 assertThat(mUpdater.isFilterMatched(notInCachedDevicesListDevice)).isEqualTo(false); in isFilterMatch_hearingDeviceNotInCachedDevicesList_returnFalse()
|
D | AvailableHearingDeviceUpdaterTest.java | 67 private AvailableHearingDeviceUpdater mUpdater; field in AvailableHearingDeviceUpdaterTest 75 mUpdater = new AvailableHearingDeviceUpdater(mContext, in setUp() 88 assertThat(mUpdater.isFilterMatched(connectedHearingDevice)).isEqualTo(true); in isFilterMatch_connectedHearingDevice_returnTrue() 100 assertThat(mUpdater.isFilterMatched(nonConnectedHearingDevice)).isEqualTo(false); in isFilterMatch_nonConnectedHearingDevice_returnFalse() 112 assertThat(mUpdater.isFilterMatched(connectedBondingHearingDevice)).isEqualTo(false); in isFilterMatch_connectedBondingHearingDevice_returnFalse() 123 assertThat(mUpdater.isFilterMatched(notInCachedDevicesListDevice)).isEqualTo(false); in isFilterMatch_hearingDeviceNotInCachedDevicesList_returnFalse()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | BpfInterfaceMapHelperTest.java | 58 private BpfInterfaceMapHelper mUpdater; field in BpfInterfaceMapHelperTest 72 mUpdater = new BpfInterfaceMapHelper(new TestDependencies()); in setUp() 78 assertEquals(TEST_INTERFACE_NAME, mUpdater.getIfNameByIndex(TEST_INDEX)); in testGetIfNameByIndex() 83 assertNull(mUpdater.getIfNameByIndex(TEST_INDEX)); in testGetIfNameByIndexNoEntry() 89 assertNull(mUpdater.getIfNameByIndex(TEST_INDEX)); in testGetIfNameByIndexException() 99 mUpdater.dump(new IndentingPrintWriter(new PrintWriter(sw), " ")); in getDump()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 108 private Handler mUpdater; field in VpnSettings 216 mUpdater = new Handler(mUpdaterThread.getLooper(), this); in onResume() 217 mUpdater.sendEmptyMessage(RESCAN_MESSAGE); in onResume() 241 mUpdater.removeCallbacksAndMessages(null); in onPause() 242 mUpdater = null; in onPause() 276 if (mUpdater != null) { in handleMessage() 277 mUpdater.removeMessages(RESCAN_MESSAGE); in handleMessage() 278 mUpdater.sendEmptyMessageDelayed(RESCAN_MESSAGE, RESCAN_INTERVAL_MS); in handleMessage() 516 if (mUpdater != null) { 517 mUpdater.sendEmptyMessage(RESCAN_MESSAGE); [all …]
|