OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mObserver
(Results
51 - 75
of
186
) sorted by null
1
2
3
4
5
6
7
8
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/
ServiceResolver.java
35
private final Observer
mObserver
;
48
mObserver
= observer;
186
mObserver
.dataSetChanged();
193
mObserver
.dataSetChanged();
/frameworks/support/core-utils/java/android/support/v4/content/
CursorLoader.java
38
final ForceLoadContentObserver
mObserver
;
66
cursor.registerContentObserver(
mObserver
);
120
mObserver
= new ForceLoadContentObserver();
132
mObserver
= new ForceLoadContentObserver();
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
MergedAdapter.java
37
private final DataSetObserver
mObserver
;
58
mObserver
= new DataSetObserver() {
69
adapter.unregisterDataSetObserver(
mObserver
);
76
adapter.registerDataSetObserver(
mObserver
);
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
BackupRestoreConfirmation.java
68
FullObserver
mObserver
;
166
mObserver
= new FullObserver(mHandler);
168
mObserver
= (FullObserver) oldObserver;
169
mObserver
.setHandler(mHandler);
187
sendAcknowledgement(mToken, true,
mObserver
);
196
sendAcknowledgement(mToken, false,
mObserver
);
247
return
mObserver
;
265
mObserver
);
/frameworks/base/core/java/android/text/method/
TextKeyListener.java
66
private TextKeyListener.SettingsObserver
mObserver
;
254
contentResolver.unregisterContentObserver(
mObserver
);
257
mObserver
= null;
266
if (
mObserver
== null) {
267
mObserver
= new SettingsObserver();
268
contentResolver.registerContentObserver(Settings.System.CONTENT_URI, true,
mObserver
);
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/android/arch/lifecycle/
ProcessOwnerTest.java
67
private ProcessObserver
mObserver
= new ProcessObserver();
73
removeProcessObserver(
mObserver
);
144
addProcessObserver(
mObserver
);
145
mObserver
.mChangedState = false;
161
assertThat(
mObserver
.mChangedState, is(false));
163
ProcessLifecycleOwner.get().getLifecycle().removeObserver(
mObserver
));
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DocumentLoader.java
146
private ContentObserver
mObserver
;
166
mObserver
= new InspectorContentObserver(loader::onContentChanged);
167
cursor.registerContentObserver(
mObserver
);
175
if (
mObserver
!= null) {
176
mContext.getContentResolver().unregisterContentObserver(
mObserver
);
181
return
mObserver
;
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
ContactLoader.java
34
ForceLoadContentObserver
mObserver
;
145
if (
mObserver
== null) {
146
mObserver
= new ForceLoadContentObserver();
148
getContext().getContentResolver().registerContentObserver(mLookupUri, true,
mObserver
);
170
if (
mObserver
!= null) {
171
getContext().getContentResolver().unregisterContentObserver(
mObserver
);
/frameworks/base/core/java/com/android/internal/widget/
WatchListDecorLayout.java
54
private ViewTreeObserver
mObserver
;
85
mObserver
= mListView.getViewTreeObserver();
86
mObserver
.addOnScrollChangedListener(this);
104
if (
mObserver
!= null) {
105
if (
mObserver
.isAlive()) {
106
mObserver
.removeOnScrollChangedListener(this);
108
mObserver
= null;
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
ServiceListener.java
40
private final Observer
mObserver
;
51
mObserver
= observer;
102
if (!
mObserver
.matchesCriteria(vendor, nsdServiceInfo))
114
mObserver
.dataSetChanged();
127
mObserver
.dataSetChanged();
/frameworks/base/services/backup/java/com/android/server/backup/internal/
PerformBackupTask.java
122
IBackupObserver
mObserver
;
155
mObserver
= observer;
186
mObserver
, mMonitor, mUserInitiated);
260
BackupObserverUtils.sendBackupFinished(
mObserver
, BackupManager.SUCCESS);
360
BackupObserverUtils.sendBackupFinished(
mObserver
,
407
BackupObserverUtils.sendBackupOnPackageResult(
mObserver
,
424
BackupObserverUtils.sendBackupOnPackageResult(
mObserver
,
436
BackupObserverUtils.sendBackupOnPackageResult(
mObserver
,
490
.sendBackupOnPackageResult(
mObserver
, mCurrentPackage.packageName,
497
.sendBackupOnPackageResult(
mObserver
, mCurrentPackage.packageName
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/editor/
AccountHeaderPresenter.java
72
private Observer
mObserver
= Observer.NONE;
86
mObserver
= observer;
94
if (
mObserver
!= null) {
95
mObserver
.onChange(this);
106
mObserver
.onChange(this);
/packages/apps/Messaging/src/com/android/messaging/ui/
CompositeAdapter.java
93
private final Observer
mObserver
;
97
mObserver
= new Observer();
113
partition.getAdapter().registerDataSetObserver(
mObserver
);
124
partition.getAdapter().unregisterDataSetObserver(
mObserver
);
133
partition.getAdapter().unregisterDataSetObserver(
mObserver
);
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
EnterpriseSetDefaultAppsPreferenceControllerTest.java
70
@Mock private PreferenceAvailabilityObserver
mObserver
;
81
mController.setAvailabilityObserver(
mObserver
);
86
assertThat(mController.getAvailabilityObserver()).isEqualTo(
mObserver
);
133
verify(
mObserver
).onPreferenceAvailabilityUpdated(KEY_DEFAULT_APPS, false);
138
verify(
mObserver
).onPreferenceAvailabilityUpdated(KEY_DEFAULT_APPS, true);
/frameworks/av/media/libmediaplayerservice/
HDCP.cpp
78
mObserver
= observer;
169
if (
mObserver
!= NULL) {
170
mObserver
->notify(msg, ext1, ext2, NULL /* obj */);
HDCP.h
55
sp<IHDCPObserver>
mObserver
;
/packages/apps/Calendar/src/com/android/calendar/
EventInfoActivity.java
53
private final ContentObserver
mObserver
= new ContentObserver(new Handler()) {
186
true,
mObserver
);
192
getContentResolver().unregisterContentObserver(
mObserver
);
/packages/apps/Contacts/src/com/android/contacts/list/
DirectoryListLoader.java
81
private final ContentObserver
mObserver
= new ContentObserver(new Handler()) {
113
false,
mObserver
);
119
getContext().getContentResolver().unregisterContentObserver(
mObserver
);
/packages/apps/Dialer/java/com/android/contacts/common/list/
DirectoryListLoader.java
45
private final ContentObserver
mObserver
=
77
.registerContentObserver(DirectoryQuery.URI, false,
mObserver
);
86
getContext().getContentResolver().unregisterContentObserver(
mObserver
);
/packages/apps/Settings/src/com/android/settings/fuelgauge/
BatterySaverController.java
97
, true,
mObserver
);
104
mContext.getContentResolver().unregisterContentObserver(
mObserver
);
128
private final ContentObserver
mObserver
= new ContentObserver(new Handler()) {
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/assist/
AssistFlashScreenPreferenceControllerTest.java
61
private AssistFlashScreenPreferenceController.SettingObserver
mObserver
;
74
ReflectionHelpers.setField(mController, "mSettingObserver",
mObserver
);
121
verify(
mObserver
).register(any(ContentResolver.class), eq(true));
/packages/apps/UnifiedEmail/src/com/android/mail/content/
ObjectCursorLoader.java
36
final ForceLoadContentObserver
mObserver
;
67
mObserver
= new ForceLoadContentObserver();
84
inner.registerContentObserver(
mObserver
);
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
InterpreterManager.java
58
private InterpreterListObserver
mObserver
;
78
mObserver
= new InterpreterListObserver();
79
mAdapter.registerDataSetObserver(
mObserver
);
90
mConfiguration.registerObserver(
mObserver
);
103
mConfiguration.unregisterObserver(
mObserver
);
189
mConfiguration.unregisterObserver(
mObserver
);
/frameworks/support/lifecycle/reactivestreams/src/test/java/android/arch/lifecycle/
LiveDataReactiveStreamsTest.java
74
private final Observer<String>
mObserver
= new Observer<String>() {
120
liveData.observe(S_LIFECYCLE_OWNER,
mObserver
);
135
liveData.observe(S_LIFECYCLE_OWNER,
mObserver
);
140
// The second
mObserver
should only get the newest value and any later values.
160
liveData.observe(S_LIFECYCLE_OWNER,
mObserver
);
209
// Canceling disposable should also remove livedata
mObserver
.
/packages/apps/DocumentsUI/src/com/android/documentsui/
DirectoryLoader.java
56
private final LockingContentObserver
mObserver
;
88
mObserver
= new LockingContentObserver(lock, this::onContentChanged);
134
cursor.registerContentObserver(
mObserver
);
225
getContext().getContentResolver().unregisterContentObserver(
mObserver
);
Completed in 1064 milliseconds
1
2
3
4
5
6
7
8