/external/chromium/chrome/browser/policy/ |
cloud_policy_identity_strategy.cc | 13 void CloudPolicyIdentityStrategy::AddObserver(Observer* obs) { 14 observer_list_.AddObserver(obs); 17 void CloudPolicyIdentityStrategy::RemoveObserver(Observer* obs) { 18 observer_list_.RemoveObserver(obs);
|
cloud_policy_identity_strategy.h | 40 void AddObserver(Observer* obs); 41 void RemoveObserver(Observer* obs);
|
/external/chromium/chrome/browser/prefs/ |
pref_change_registrar.h | 30 // Adds an pref observer for the specified pref |path| and |obs| observer 35 NotificationObserver* obs); 40 NotificationObserver* obs);
|
pref_change_registrar.cc | 25 void PrefChangeRegistrar::Add(const char* path, NotificationObserver* obs) { 30 ObserverRegistration registration(path, obs); 36 service_->AddPrefObserver(path, obs); 39 void PrefChangeRegistrar::Remove(const char* path, NotificationObserver* obs) { 44 ObserverRegistration registration(path, obs);
|
overlay_persistent_pref_store_unittest.cc | 29 PrefStoreObserverMock obs; local 30 overlay_->AddObserver(&obs); 33 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(1); 35 Mock::VerifyAndClearExpectations(&obs); 38 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(1); 40 Mock::VerifyAndClearExpectations(&obs); 43 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(1); 45 Mock::VerifyAndClearExpectations(&obs); 48 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(0); 50 Mock::VerifyAndClearExpectations(&obs); [all...] |
pref_notifier_impl.cc | 34 NotificationObserver* obs) { 50 DCHECK(existing_obs != obs) << path << " observer already registered"; 51 if (existing_obs == obs) 56 observer_list->AddObserver(obs); 60 NotificationObserver* obs) { 70 observer_list->RemoveObserver(obs);
|
pref_notifier_impl.h | 28 void AddPrefObserver(const char* path, NotificationObserver* obs); 29 void RemovePrefObserver(const char* path, NotificationObserver* obs);
|
pref_service_unittest.cc | 63 PrefObserverMock obs; local 66 registrar.Add(pref_name, &obs); 70 obs.Expect(&prefs, pref_name, &expected_value); 72 Mock::VerifyAndClearExpectations(&obs); 76 EXPECT_CALL(obs, Observe(_, _, _)).Times(0); 78 Mock::VerifyAndClearExpectations(&obs); 82 obs.Expect(&prefs, pref_name, &expected_default_value); 84 Mock::VerifyAndClearExpectations(&obs); 87 EXPECT_CALL(obs, Observe(_, _, _)).Times(0); 89 Mock::VerifyAndClearExpectations(&obs); 119 PrefObserverMock obs; local [all...] |
pref_service.h | 308 virtual void AddPrefObserver(const char* path, NotificationObserver* obs); 309 virtual void RemovePrefObserver(const char* path, NotificationObserver* obs);
|
/external/chromium/base/ |
observer_list.h | 37 // void AddObserver(Observer* obs) { 38 // observer_list_.AddObserver(obs); 41 // void RemoveObserver(Observer* obs) { 42 // observer_list_.RemoveObserver(obs); 115 void AddObserver(ObserverType* obs) { 116 DCHECK(find(observers_.begin(), observers_.end(), obs) == observers_.end()) 118 observers_.push_back(obs); 122 void RemoveObserver(ObserverType* obs) { 124 std::find(observers_.begin(), observers_.end(), obs); 203 ObserverType* obs; \ [all...] |
observer_list_threadsafe.h | 87 void AddObserver(ObserverType* obs) { 101 list->AddObserver(obs); 109 void RemoveObserver(ObserverType* obs) { 127 list->RemoveObserver(obs); 204 ObserverType* obs; local 205 while ((obs = it.GetNext()) != NULL) 206 method.Run(obs);
|
message_pump_libevent.h | 115 void AddIOObserver(IOObserver* obs); 116 void RemoveIOObserver(IOObserver* obs);
|
message_pump_win.h | 340 void AddIOObserver(IOObserver* obs); 341 void RemoveIOObserver(IOObserver* obs);
|
message_pump_libevent.cc | 196 void MessagePumpLibevent::AddIOObserver(IOObserver *obs) { 197 io_observers_.AddObserver(obs); 200 void MessagePumpLibevent::RemoveIOObserver(IOObserver *obs) { 201 io_observers_.RemoveObserver(obs);
|
message_pump_win.cc | 567 void MessagePumpForIO::AddIOObserver(IOObserver *obs) { 568 io_observers_.AddObserver(obs); 571 void MessagePumpForIO::RemoveIOObserver(IOObserver *obs) { 572 io_observers_.RemoveObserver(obs);
|
/external/opencv/cvaux/src/ |
cvhmmobs.cpp | 52 // obs - pointer to resultant observation vectors 72 // array obs must be >= Nx*Ny*obsSize.width*obsSize.height*sizeof(float). 118 float *obs, CvSize dctSize, 139 if( !img || !obs ) 245 float *obs_limit = obs + obsSize.width; 268 *obs++ = (float) DESCALE( s * tab[-2], PASS2_SHIFT ); 270 if( obs == obs_limit ) 281 obs[0] = (float) DESCALE( s, PASS2_SHIFT ); 282 if( ++obs == obs_limit ) 296 obs[0] = (float) DESCALE( s, PASS2_SHIFT ) [all...] |
cvhmm1d.cpp | 161 CvImgObsInfo* obs = (CvImgObsInfo*)icvAlloc( sizeof( CvImgObsInfo) ); 163 obs->obs_x = num_obs.width; 164 obs->obs_y = num_obs.height; 166 obs->obs = (float*)icvAlloc( total * obs_size * sizeof(float) ); 168 obs->state = (int*)icvAlloc( 2 * total * sizeof(int) ); 169 obs->mix = (int*)icvAlloc( total * sizeof(int) ); 171 obs->obs_size = obs_size; 173 obs_info[0] = obs; 182 icvFree( &(obs_info->obs) ); [all...] |
cvhmm.cpp | 74 CvImgObsInfo* obs = (CvImgObsInfo*)cvAlloc( sizeof( CvImgObsInfo) ); local 76 obs->obs_x = num_obs.width; 77 obs->obs_y = num_obs.height; 79 obs->obs = (float*)cvAlloc( total * obs_size * sizeof(float) ); 81 obs->state = (int*)cvAlloc( 2 * total * sizeof(int) ); 82 obs->mix = (int*)cvAlloc( total * sizeof(int) ); 84 obs->obs_size = obs_size; 86 obs_info[0] = obs; 95 cvFree( &(obs_info->obs) ); 417 CvImgObsInfo* obs = obs_info_array[k]; local 443 CvImgObsInfo* obs = obs_info_array[k]; local 759 float* obs = obs_info->obs + j * obs_x * vect_size; local [all...] |
/external/chromium/chrome/browser/chromeos/ |
cros_settings.h | 70 void AddSettingsObserver(const char* path, NotificationObserver* obs); 71 void RemoveSettingsObserver(const char* path, NotificationObserver* obs);
|
cros_settings.cc | 95 NotificationObserver* obs) { 97 DCHECK(obs); 121 DCHECK(existing_obs != obs) << path << " observer already registered"; 122 if (existing_obs == obs) 127 observer_list->AddObserver(obs); 131 NotificationObserver* obs) { 141 observer_list->RemoveObserver(obs);
|
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/ |
BP2TestCaseHelper.java | 66 public void perfIdeallyUntriggered(TriggeredObserver... obs) { 67 for (TriggeredObserver ob : obs) { 77 for (TriggeredObserver obs : observers) { 78 assertEquals(obs.mUri + ", descendents:" + obs.mNotifyForDescendents, 79 triggered, obs.checkTriggered());
|
/external/openssl/crypto/bio/ |
bf_lbuf.c | 273 int obs; local 296 obs=(int)num; 298 if ((obs > DEFAULT_LINEBUFFER_SIZE) && (obs != ctx->obuf_size)) 306 if (ctx->obuf_len > obs) 308 ctx->obuf_len = obs; 313 ctx->obuf_size=obs;
|
bf_buff.c | 277 int ibs,obs; local 338 obs=ctx->obuf_size; 343 obs=(int)num; 349 obs=(int)num; 358 if ((obs > DEFAULT_BUFFER_SIZE) && (obs != ctx->obuf_size)) 381 ctx->obuf_size=obs;
|
/frameworks/base/core/java/android/os/ |
INetworkManagementService.aidl | 38 void registerObserver(INetworkManagementEventObserver obs); 43 void unregisterObserver(INetworkManagementEventObserver obs);
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
Pm.java | 798 PackageInstallObserver obs = new PackageInstallObserver(); local 800 mPm.installPackageWithVerification(apkURI, obs, installFlags, installerPackageName, 803 synchronized (obs) { 804 while (!obs.finished) { 806 obs.wait(); 810 if (obs.result == PackageManager.INSTALL_SUCCEEDED) { 814 + installFailureToString(obs.result) 917 PackageDeleteObserver obs = new PackageDeleteObserver(); local 919 mPm.deletePackage(pkg, obs, unInstallFlags); 921 synchronized (obs) { 959 ClearDataObserver obs = new ClearDataObserver(); local [all...] |