/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
SensorManagerTest.java | 38 SensorEventListener listener = registerListener(); 43 private SensorEventListener registerListener() { 46 sensorManager.registerListener(listener, sensor, SensorManager.SENSOR_DELAY_NORMAL); 53 SensorEventListener listener = registerListener();
|
/external/chromium_org/base/android/ |
activity_status.cc | 18 ActivityStatus::GetInstance()->RegisterListener(this); 53 void ActivityStatus::RegisterListener(Listener* listener) {
|
activity_status.h | 87 void RegisterListener(Listener* listener);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSensorManager.java | 25 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rate) {
|
/frameworks/base/core/java/android/os/ |
IBatteryPropertiesRegistrar.aidl | 26 void registerListener(IBatteryPropertiesListener listener);
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
SensorManagerTestVerifier.java | 86 public void registerListener(String debugInfo) { 87 boolean result = mSensorManager.registerListener( 93 "registerListener", 99 public void registerListener() { 100 this.registerListener(""); 120 this.registerListener(debugInfo);
|
/frameworks/base/services/common_time/ |
common_clock_service.h | 48 virtual status_t registerListener( 66 // serialize access across registerListener, unregisterListener, and 69 // The reason for two locks is that registerListener, unregisterListener,
|
/frameworks/native/services/batteryservice/ |
IBatteryPropertiesRegistrar.cpp | 34 void registerListener(const sp<IBatteryPropertiesListener>& listener) { 61 registerListener(listener);
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
SensorTest.java | 143 result = mSensorManager.registerListener(mSensorListener, sensor, 153 result = mSensorManager.registerListener(mSensorListener, sensor, 156 result = mSensorManager.registerListener(mSensorListener, sensor, 190 boolean result = mSensorManager.registerListener(listener, sensor,
|
/frameworks/base/core/java/android/net/ |
INetworkPolicyManager.aidl | 39 void registerListener(INetworkPolicyListener listener);
|
/frameworks/native/include/batteryservice/ |
IBatteryPropertiesRegistrar.h | 35 virtual void registerListener(const sp<IBatteryPropertiesListener>& listener) = 0;
|
/system/core/healthd/ |
BatteryPropertiesRegistrar.h | 45 void registerListener(const sp<IBatteryPropertiesListener>& listener);
|
BatteryPropertiesRegistrar.cpp | 43 void BatteryPropertiesRegistrar::registerListener(const sp<IBatteryPropertiesListener>& listener) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
AccelerometerTestActivity.java | 68 mSensorManager.registerListener(mListener, mSensorManager.getSensorList(
|
/frameworks/av/services/camera/libcameraservice/common/ |
FrameProcessorBase.h | 48 status_t registerListener(int32_t minId, int32_t maxId,
|
/frameworks/base/core/java/android/app/ |
INotificationManager.aidl | 44 void registerListener(in INotificationListener listener, in ComponentName component, int userid);
|
/frameworks/base/core/java/android/hardware/ |
SensorManager.java | 58 * mSensorManager.registerListener(this, mAccelerometer, SensorManager.SENSOR_DELAY_NORMAL); 441 * {@link SensorManager#registerListener(SensorEventListener, Sensor, int)} 454 public boolean registerListener(SensorListener listener, int sensors) { 455 return registerListener(listener, sensors, SENSOR_DELAY_NORMAL); 462 * {@link SensorManager#registerListener(SensorEventListener, Sensor, int)} 482 public boolean registerListener(SensorListener listener, int sensors, int rate) { 483 return getLegacySensorManager().registerListener(listener, sensors, rate); 535 * @see #registerListener(SensorEventListener, Sensor, int) 552 * @see #registerListener(SensorEventListener, Sensor, int) 598 * @see #registerListener(SensorEventListener, Sensor, int, Handler [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
Sensors.java | 225 mSensorManager.registerListener(mGraphView, 228 mSensorManager.registerListener(mGraphView, 231 mSensorManager.registerListener(mGraphView,
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
DeviceMotionAndOrientation.java | 337 return sensorManager.registerListener(this, type, rateInMicroseconds, getHandler()); 433 public boolean registerListener(SensorEventListener listener, int sensorType, int rate, 445 public boolean registerListener(SensorEventListener listener, int sensorType, int rate, 451 return mSensorManager.registerListener(listener, sensors.get(0), rate, handler);
|
/frameworks/av/include/common_time/ |
ICommonClock.h | 86 virtual status_t registerListener(
|
/frameworks/base/core/java/android/view/ |
OrientationListener.java | 70 registerListener(OrientationListener.this);
|
OrientationEventListener.java | 78 void registerListener(OrientationListener lis) { 93 mSensorManager.registerListener(mSensorEventListener, mSensor, mRate);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
MotionSensor.java | 59 mSensorManager.registerListener(this, mSensor, SensorManager.SENSOR_DELAY_UI);
|
/packages/apps/Contacts/src/com/android/contacts/ |
ViewNotificationService.java | 46 contactLoader.registerListener(0, new OnLoadCompleteListener<Contact>() {
|
/frameworks/base/services/java/com/android/server/location/ |
LocationBasedCountryDetector.java | 97 protected void registerListener(String provider, LocationListener listener) { 179 registerListener(provider, listener);
|