/packages/apps/Bluetooth/jni/ |
com_android_bluetooth_hdp.cpp | 55 static void app_registration_state_callback(int app_id, bthl_app_reg_state_t state) { 57 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onAppRegistrationState, app_id, 62 static void channel_state_callback(int app_id, bt_bdaddr_t *bd_addr, int mdep_cfg_index, 86 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onChannelStateChanged, app_id, addr, 196 int app_id; local 212 if ( (status = sBluetoothHdpInterface->register_application(®_param, &app_id)) != 220 return app_id; 223 static jboolean unregisterHealthAppNative(JNIEnv *env, jobject object, int app_id) { 227 if ((status = sBluetoothHdpInterface->unregister_application(app_id)) != BT_STATUS_SUCCESS) { 228 ALOGE("Failed to unregister app %d, status: %d", app_id, status) [all...] |
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
task_dependency_manager_unittest.cc | 22 const std::string& app_id, 25 blocker.app_id = app_id; 31 const std::string& app_id, 34 blocker.app_id = app_id; 56 blocker.app_id = "app_id"; 75 &manager, "app_id", FPL("/ancestor/parent/self/child/descendant"))); 76 EXPECT_FALSE(InsertPath(&manager, "app_id", FPL("/ancestor"))) [all...] |
metadata_database.h | 162 // Returns all file metadata for the given |app_id|. 163 scoped_ptr<base::ListValue> DumpFiles(const std::string& app_id); 198 // Returns true if the folder associated to |app_id| is enabled. 199 bool IsAppEnabled(const std::string& app_id) const; 201 // Registers existing folder as the app-root for |app_id|. The folder 203 // This method associates the folder with |app_id| and activates it. 204 void RegisterApp(const std::string& app_id, 208 // Inactivates the folder associated to the app to disable |app_id|. 209 // Does nothing if |app_id| is already disabled. 210 void DisableApp(const std::string& app_id, [all...] |
register_app_task_unittest.cc | 133 SyncStatusCode RunRegisterAppTask(const std::string& app_id) { 134 RegisterAppTask task(context_.get(), app_id); 142 const std::string& app_id, 145 details.set_title(app_id); 158 tracker.set_app_id(app_id); 168 void SetUpUnregisteredAppRoot(const std::string& app_id, 171 details.set_title(app_id); 199 bool IsAppRegistered(const std::string& app_id) { 202 kSyncRootTrackerID, app_id, &trackers)) 215 bool HasRemoteAppRoot(const std::string& app_id) { [all...] |
/external/chromium_org/chrome/browser/drive/ |
drive_app_registry.cc | 23 // Add {selector -> app_id} mapping to |map|. 25 const std::string& app_id, 28 map->insert(std::make_pair(*selectors[i], app_id)); 41 void RemoveAppFromSelector(const std::string& app_id, 46 if (now->second == app_id) 59 const std::string& app_id, 66 : app_id(app_id), 204 void DriveAppRegistry::UninstallApp(const std::string& app_id, 208 drive_service_->UninstallApp(app_id, [all...] |
/external/chromium_org/apps/app_shim/ |
extension_app_shim_handler_mac.cc | 50 void SetAppHidden(Profile* profile, const std::string& app_id, bool hidden) { 52 apps::AppWindowRegistry::Get(profile)->GetAppWindowsForApp(app_id); 223 const std::string& app_id) { 224 HostMap::iterator it = hosts_.find(make_pair(profile, app_id)); 263 const std::string& app_id = app_window->extension_id(); local 264 Host* host = handler->FindHost(profile, app_id); 271 apps::AppWindowRegistry::Get(profile)->GetAppWindowsForApp(app_id)); 299 const std::string& app_id = host->GetAppId(); local 300 DCHECK(extensions::Extension::IdIsValid(app_id)); 339 const std::string& app_id = host->GetAppId() local 448 const std::string& app_id = host->GetAppId(); local [all...] |
extension_app_shim_handler_mac.h | 74 AppShimHandler::Host* FindHost(Profile* profile, const std::string& app_id); 98 virtual void OnAppStart(Profile* profile, const std::string& app_id) OVERRIDE; 100 const std::string& app_id) OVERRIDE; 102 const std::string& app_id) OVERRIDE; 103 virtual void OnAppStop(Profile* profile, const std::string& app_id) OVERRIDE; 131 const std::string& app_id,
|
/external/chromium_org/google_apis/gcm/engine/ |
registration_request.cc | 89 const std::string& app_id, 93 app_id(app_id), 140 BuildFormEncoding(kAppIdKey, request_info_.app_id, &body); 157 DVLOG(1) << "Performing registration for: " << request_info_.app_id; 160 recorder_->RecordRegistrationSent(request_info_.app_id, senders); 175 << request_info_.app_id << ", for " 236 request_info_.app_id, 243 request_info_.app_id, 252 request_info_.app_id, [all...] |
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
ClientTest.java | 60 EditText app_id = (EditText) findViewById(R.id.app_id); 70 app_id.getText().toString(), 80 app_id.getText().toString(), 96 EditText app_id = (EditText) findViewById(R.id.app_id); 105 app_id.getText().toString(), 119 EditText app_id = (EditText) findViewById(R.id.app_id); 134 app_id.getText().toString() [all...] |
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
chrome_launcher_controller.cc | 466 const std::string& app_id, 474 app_id, 512 std::string app_id = iter->second->app_id(); local 513 iter->second = new AppShortcutLauncherItemController(app_id, this); 590 std::string app_id = GetAppIDForShelfID(id); 591 if (extensions::util::IsExtensionInstalledPermanently(app_id, profile_)) 615 const std::string& app_id) { 616 ash::ShelfID id = GetShelfIDForAppID(app_id); 617 if (!IsPinned(id) && !IsWindowedAppInLauncher(app_id)) { 958 std::string app_id = app_tab_helper_->GetAppID(contents); local 997 std::string app_id = app_tab_helper_->GetAppID(contents); local 1341 std::string app_id = iter->second; local 1945 std::string app_id; local [all...] |
app_shortcut_launcher_item_controller.cc | 64 const std::string& app_id, 66 : LauncherItemController(TYPE_SHORTCUT, app_id, controller), 71 launcher_controller()->GetExtensionForAppID(app_id); 84 GetV1ApplicationsFromAppId(app_id()).empty(); 90 chrome_launcher_controller_->GetV1ApplicationsFromAppId(app_id()); 101 launcher_controller()->LaunchApp(app_id(), source, event_flags); 127 launcher_controller()->GetV1ApplicationsFromAppId(app_id()); 171 launcher_controller()->GetExtensionForAppID(app_id()); 239 launcher_controller()->GetExtensionForAppID(app_id()); 311 app_id())); [all...] |
/external/chromium_org/chrome/browser/chromeos/app_mode/ |
fake_cws.cc | 40 void FakeCWS::SetUpdateCrx(const std::string& app_id, 59 app_id, 66 void FakeCWS::SetNoUpdate(const std::string& app_id) { 69 app_id, 113 const std::string& app_id, 124 ReplaceSubstringsAfterOffset(update_check_content, 0, "$AppId", app_id);
|
kiosk_diagnosis_runner.cc | 62 const std::string& app_id) { 63 KioskDiagnosisRunner::Factory::GetForProfile(profile)->Start(app_id); 72 void KioskDiagnosisRunner::Start(const std::string& app_id) { 73 app_id_ = app_id;
|
/external/chromium_org/chrome/browser/services/gcm/ |
gcm_profile_service.cc | 137 void GCMProfileService::AddAppHandler(const std::string& app_id, 140 driver_->AddAppHandler(app_id, handler); 143 void GCMProfileService::RemoveAppHandler(const std::string& app_id) { 145 driver_->RemoveAppHandler(app_id); 148 void GCMProfileService::Register(const std::string& app_id, 152 driver_->Register(app_id, sender_ids, callback);
|
/external/chromium_org/chrome/browser/extensions/api/management/ |
management_apitest.cc | 216 std::string app_id; local 217 LoadAndWaitForLaunch("management/launch_app_panel", &app_id); 236 UninstallExtension(app_id); 239 ASSERT_FALSE(service->GetExtensionById(app_id, true)); 243 extensions::SetLaunchType(service, app_id, extensions::LAUNCH_TYPE_REGULAR); 251 ASSERT_EQ(app_id, app_id_new); 286 std::string app_id; local 287 LoadAndWaitForLaunch("management/launch_app_tab", &app_id); 296 UninstallExtension(app_id); 299 ASSERT_FALSE(service->GetExtensionById(app_id, true)) [all...] |
/external/chromium_org/chrome/browser/notifications/sync_notifier/ |
synced_notification_app_info.h | 35 bool HasAppId(const std::string& app_id); 38 void AddAppId(const std::string& app_id); 41 void RemoveAppId(const std::string& app_id);
|
/external/chromium_org/components/invalidation/ |
gcm_invalidation_bridge.h | 54 const std::string& app_id, 56 virtual void OnMessagesDeleted(const std::string& app_id) OVERRIDE; 58 const std::string& app_id,
|
/external/chromium_org/apps/ |
app_window_registry.h | 74 // Returns a set of windows owned by the application identified by app_id. 75 AppWindowList GetAppWindowsForApp(const std::string& app_id) const; 79 void CloseAllAppWindowsForApp(const std::string& app_id); 88 apps::AppWindow* GetCurrentAppWindowForApp(const std::string& app_id) const; 93 apps::AppWindow* GetAppWindowForAppAndKey(const std::string& app_id,
|
/external/chromium_org/chrome/browser/apps/drive/ |
drive_app_provider.cc | 115 converter->drive_app_info().app_id && 118 converter->drive_app_info().app_id, 123 << "drive app id= " << converter->drive_app_info().app_id 133 const std::string& url_app_id = mapping_->GetChromeApp(drive_app.app_id); 154 UpdateMappingAndExtensionSystem(drive_app.app_id, chrome_app, false); 164 (*it)->drive_app_info().app_id == drive_app.app_id) { 202 current_ids.insert(drive_apps_[i].app_id); 247 drive_apps_[i].app_id,
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
file_task_executor.h | 28 FileTaskExecutor(Profile* profile, const std::string& app_id);
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
file_tasks.h | 151 : app_id(in_app_id), 158 std::string app_id; member in struct:file_manager::file_tasks::TaskDescriptor 203 // Generates task id for the task specified by |app_id|, |task_type| and 206 // |app_id| is either of Chrome Extension/App ID or Drive App ID. 208 std::string MakeTaskID(const std::string& app_id, 212 // Returns a task id for the Drive app with |app_id|. 213 std::string MakeDriveAppTaskId(const std::string& app_id);
|
/external/chromium_org/chrome/browser/ui/android/extensions/ |
extension_install_ui_android.cc | 28 const std::string& app_id) {
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
kiosk_autolaunch_screen_handler.cc | 74 std::string app_id = manager->GetAutoLaunchApp(); local 75 if (app_id.empty() || 77 !manager->GetApp(app_id, &app)) { 161 const std::string& app_id) {
|
/external/bluetooth/bluedroid/bta/dm/ |
bta_dm_pm.c | 36 static void bta_dm_pm_cback(tBTA_SYS_CONN_STATUS status, UINT8 id, UINT8 app_id, BD_ADDR peer_addr); 74 if(p_bta_dm_pm_cfg[0].app_id != 0) 153 static void bta_dm_pm_cback(tBTA_SYS_CONN_STATUS status, UINT8 id, UINT8 app_id, BD_ADDR peer_addr) 165 APPL_TRACE_DEBUG("bta_dm_pm_cback: st(%d), id(%d), app(%d)", status, id, app_id); 183 for(i=1; i<=p_bta_dm_pm_cfg[0].app_id; i++) 187 && ((p_bta_dm_pm_cfg[i].app_id == BTA_ALL_APP_ID ) || (p_bta_dm_pm_cfg[i].app_id == app_id ))) 192 /* if no entries are there for the app_id and subystem in p_bta_dm_pm_spec*/ 193 if(i> p_bta_dm_pm_cfg[0].app_id) [all...] |
/external/bluetooth/bluedroid/stack/srvc/ |
srvc_battery.c | 96 (* p_inst->p_cback)(p_inst->app_id, BA_WRITE_CLT_CFG_REQ, &cfg); 142 (* p_inst->p_cback)(p_inst->app_id, p_inst->pending_evt, NULL); 198 UINT16 Battery_Instantiate (UINT8 app_id, tBA_REG_INFO *p_reg_info) 228 p_inst->app_id = app_id; 307 void Battery_Rsp (UINT8 app_id, tGATT_STATUS st, UINT8 event, tBA_RSP_DATA *p_rsp) 316 if (p_inst->app_id == app_id && p_inst->ba_level_hdl != 0) 375 void Battery_Notify (UINT8 app_id, BD_ADDR remote_bda, UINT8 battery_level) 382 if (p_inst->app_id == app_id && p_inst->ba_level_hdl != 0 [all...] |