Home
last modified time | relevance | path

Searched refs:lifecycle (Results 1 – 25 of 162) sorted by relevance

1234567

/third_party/node/deps/npm/node_modules/npm-lifecycle/
DCHANGELOG.md6 ## [3.1.5](https://github.com/npm/lifecycle/compare/v3.1.4...v3.1.5) (2020-03-26)
11 ## [3.1.4](https://github.com/npm/lifecycle/compare/v3.1.3...v3.1.4) (2019-09-18)
16 * filter functions and undefined out of makeEnv ([10c0c08](https://github.com/npm/lifecycle/commit/…
21 ## [3.1.3](https://github.com/npm/lifecycle/compare/v3.1.2...v3.1.3) (2019-08-12)
26 * fail properly if uid-number raises an error ([e0e1b62](https://github.com/npm/lifecycle/commit/e0…
31 ## [3.1.2](https://github.com/npm/lifecycle/compare/v3.1.1...v3.1.2) (2019-07-22)
36 * do not exclude /path/ from process.env copying ([53e6318](https://github.com/npm/lifecycle/commit…
41 # [3.1.0](https://github.com/npm/lifecycle/compare/v3.0.0...v3.1.0) (2019-07-17)
46lifecycle/commit/ea18ed2)), closes [#36](https://github.com/npm/lifecycle/issues/36) [#11](https:/…
47 …github.com/npm/lifecycle/commit/3aaf954)), closes [#22](https://github.com/npm/lifecycle/issues/22…
[all …]
DREADME.md6 The lifecycle script runner used in npm v7 is
12 # npm-lifecycle
14 [`npm-lifecycle`](https://github.com/npm/npm-lifecycle) is a standalone library for
15 executing packages' lifecycle scripts. It is extracted from npm itself and
20 `$ npm install npm-lifecycle`
28 * [`lifecycle`](#lifecycle)
38 #### <a name="lifecycle"></a> `> lifecycle(name, pkg, wd, [opts]) -> Promise`
48 lifecycle()
/third_party/node/deps/npm/test/tap/
Dversion-lifecycle.js156 function makeScript (lifecycle) { argument
157 function contents (lifecycle) { argument
161 .pipe(fs.createWriteStream(lifecycle + '-package.json'))
164 'git add ' + lifecycle + '-package.json',
170 fs.writeFileSync(lifecycle + '-git.txt', stdout)
177 var scriptPath = path.join(pkg, lifecycle + '.js')
180 '(' + contents.toString() + ')(\'' + lifecycle + '\')',
184 function readPackage (lifecycle) { argument
185 return JSON.parse(fs.readFileSync(path.join(pkg, lifecycle + '-package.json'), 'utf-8'))
188 function readStatus (lifecycle, t) { argument
[all …]
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/plugins/
DFlutterPlugin.java7 import android.arch.lifecycle.Lifecycle;
8 import android.arch.lifecycle.LifecycleOwner;
99 private final Lifecycle lifecycle; field in FlutterPlugin.FlutterPluginBinding
104 @NonNull Lifecycle lifecycle in FlutterPluginBinding() argument
108 this.lifecycle = lifecycle; in FlutterPluginBinding()
124 return lifecycle; in getLifecycle()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/
DFlutterEngineAndroidLifecycle.java7 import android.arch.lifecycle.DefaultLifecycleObserver;
8 import android.arch.lifecycle.Lifecycle;
9 import android.arch.lifecycle.LifecycleObserver;
10 import android.arch.lifecycle.LifecycleOwner;
11 import android.arch.lifecycle.LifecycleRegistry;
90 public void setBackingLifecycle(@Nullable Lifecycle lifecycle) { in setBackingLifecycle() argument
102 backingLifecycle = lifecycle; in setBackingLifecycle()
109 lifecycle.addObserver(forwardingObserver); in setBackingLifecycle()
DFlutterEnginePluginRegistry.java9 import android.arch.lifecycle.Lifecycle;
92 @NonNull FlutterEngineAndroidLifecycle lifecycle in FlutterEnginePluginRegistry() argument
94 flutterEngineAndroidLifecycle = lifecycle; in FlutterEnginePluginRegistry()
98 lifecycle in FlutterEnginePluginRegistry()
283 @NonNull Lifecycle lifecycle in attachToActivity() argument
292 this.flutterEngineAndroidLifecycle.setBackingLifecycle(lifecycle); in attachToActivity()
403 …public void attachToService(@NonNull Service service, @NonNull Lifecycle lifecycle, boolean isFore… in attachToService() argument
410 flutterEngineAndroidLifecycle.setBackingLifecycle(lifecycle); in attachToService()
458 …chToBroadcastReceiver(@NonNull BroadcastReceiver broadcastReceiver, @NonNull Lifecycle lifecycle) { in attachToBroadcastReceiver() argument
493 …d attachToContentProvider(@NonNull ContentProvider contentProvider, @NonNull Lifecycle lifecycle) { in attachToContentProvider() argument
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dbinding_test.dart59 await defaultBinaryMessenger.handlePlatformMessage('flutter/lifecycle', message, (_) { });
63 await defaultBinaryMessenger.handlePlatformMessage('flutter/lifecycle', message, (_) { });
67 await defaultBinaryMessenger.handlePlatformMessage('flutter/lifecycle', message, (_) { });
71 await defaultBinaryMessenger.handlePlatformMessage('flutter/lifecycle', message, (_) { });
88 testWidgets('Application lifecycle affects frame scheduling', (WidgetTester tester) async {
93 await defaultBinaryMessenger.handlePlatformMessage('flutter/lifecycle', message, (_) { });
97 await defaultBinaryMessenger.handlePlatformMessage('flutter/lifecycle', message, (_) { });
103 await defaultBinaryMessenger.handlePlatformMessage('flutter/lifecycle', message, (_) { });
107 await defaultBinaryMessenger.handlePlatformMessage('flutter/lifecycle', message, (_) { });
111 await defaultBinaryMessenger.handlePlatformMessage('flutter/lifecycle', message, (_) { });
[all …]
/third_party/flutter/flutter/packages/flutter_tools/templates/module/android/library/Flutter.tmpl/src/main/java/io/flutter/facade/
DFlutter.java.tmpl9 import androidx.lifecycle.Lifecycle;
10 import androidx.lifecycle.LifecycleObserver;
11 import androidx.lifecycle.OnLifecycleEvent;
14 import android.arch.lifecycle.Lifecycle;
15 import android.arch.lifecycle.LifecycleObserver;
16 import android.arch.lifecycle.OnLifecycleEvent;
73 * @param lifecycle a {@link Lifecycle}
78 …w createView(@NonNull final Activity activity, @NonNull final Lifecycle lifecycle, final String in…
83 …el<String> lifecycleMessages = new BasicMessageChannel<>(this, "flutter/lifecycle", StringCodec.IN…
99 lifecycle.addObserver(new LifecycleObserver() {
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/android/
DFlutterActivity.java8 import android.arch.lifecycle.Lifecycle;
9 import android.arch.lifecycle.LifecycleOwner;
10 import android.arch.lifecycle.LifecycleRegistry;
384 private LifecycleRegistry lifecycle; field in FlutterActivity
387 lifecycle = new LifecycleRegistry(this); in FlutterActivity()
396 lifecycle.handleLifecycleEvent(Lifecycle.Event.ON_CREATE); in onCreate()
527 lifecycle.handleLifecycleEvent(Lifecycle.Event.ON_START); in onStart()
534 lifecycle.handleLifecycleEvent(Lifecycle.Event.ON_RESUME); in onResume()
548 lifecycle.handleLifecycleEvent(Lifecycle.Event.ON_PAUSE); in onPause()
555 lifecycle.handleLifecycleEvent(Lifecycle.Event.ON_STOP); in onStop()
[all …]
/third_party/node/deps/npm/lib/install/action/
Dunbuild.js3 var lifecycle = Bluebird.promisify(require('../../utils/lifecycle.js')) variable
9 return lifecycle(pkg.package, 'preuninstall', pkg.path, { failOk: true }).then(() => {
10 return lifecycle(pkg.package, 'uninstall', pkg.path, { failOk: true })
14 return lifecycle(pkg.package, 'postuninstall', pkg.path, { failOk: true })
Dmove.js9 var lifecycle = require('../../utils/lifecycle.js') variable
21 [lifecycle, pkg.package, 'preuninstall', pkg.fromPath, { failOk: true }],
22 [lifecycle, pkg.package, 'uninstall', pkg.fromPath, { failOk: true }],
24 [lifecycle, pkg.package, 'postuninstall', pkg.fromPath, { failOk: true }],
26 [lifecycle, pkg.package, 'preinstall', pkg.path, { failOk: true }],
Dprepare.js3 var lifecycle = require('../../utils/lifecycle.js') variable
22 [lifecycle, pkg.package, 'prepublish', buildpath],
23 [lifecycle, pkg.package, 'prepare', buildpath]
Dinstall.js2 var lifecycle = require('../../utils/lifecycle.js') variable
7 lifecycle(pkg.package, 'install', pkg.path, next)
Dpostinstall.js2 var lifecycle = require('../../utils/lifecycle.js') variable
7 lifecycle(pkg.package, 'postinstall', pkg.path, next)
Dpreinstall.js2 var lifecycle = require('../../utils/lifecycle.js') variable
7 lifecycle(pkg.package, 'preinstall', pkg.path, next)
/third_party/libwebsockets/READMEs/
DREADME.lifecycle.md5 ![context lifecycle](/doc-assets/lifecycle-context.png)
9 ![client wsi](/doc-assets/lifecycle-wsi.png)
13 ![server wsi](/doc-assets/lifecycle-server-wsi.png)
/third_party/flutter/flutter/dev/integration_tests/android_splash_screens/splash_screen_trans_rotate/android/app/
Dbuild.gradle59 implementation 'androidx.lifecycle:lifecycle-runtime:2.2.0-alpha01'
60 implementation 'androidx.lifecycle:lifecycle-common-java8:2.2.0-alpha01'
/third_party/flutter/flutter/dev/integration_tests/android_splash_screens/splash_screen_kitchen_sink/android/app/
Dbuild.gradle59 implementation 'androidx.lifecycle:lifecycle-runtime:2.2.0-alpha01'
60 implementation 'androidx.lifecycle:lifecycle-common-java8:2.2.0-alpha01'
/third_party/flutter/flutter/dev/integration_tests/android_splash_screens/splash_screen_load_rotate/android/app/
Dbuild.gradle59 implementation 'androidx.lifecycle:lifecycle-runtime:2.2.0-alpha01'
60 implementation 'androidx.lifecycle:lifecycle-common-java8:2.2.0-alpha01'
/third_party/flutter/engine/flutter/lib/web_ui/test/
Dcompositing_test.dart16 test('pushOffset implements surface lifecycle', () {
24 test('pushTransform implements surface lifecycle', () {
33 test('pushClipRect implements surface lifecycle', () {
45 test('pushClipRRect implements surface lifecycle', () {
58 test('pushClipPath implements surface lifecycle', () {
73 test('pushOpacity implements surface lifecycle', () {
81 test('pushPhysicalShape implements surface lifecycle', () {
96 group('parent child lifecycle', () {
/third_party/node/deps/npm/lib/
Dbuild.js15 var lifecycle = require('./utils/lifecycle.js') variable
69 !didPre && [lifecycle, pkg, 'preinstall', folder],
73 didPre !== build._noLC && [lifecycle, pkg, 'install', folder],
74 didPre !== build._noLC && [lifecycle, pkg, 'postinstall', folder]
Dunbuild.js10 const lifecycle = require('./utils/lifecycle.js') constant
41 [lifecycle, pkg, 'preuninstall', folder, { failOk: true }],
42 [lifecycle, pkg, 'uninstall', folder, { failOk: true }],
48 [lifecycle, pkg, 'postuninstall', folder, { failOk: true }],
Dpublish.js9 const lifecycle = BB.promisify(require('./utils/lifecycle.js')) constant
100 return lifecycle(pkg, 'prepublishOnly', arg)
114 return lifecycle(pkg, 'publish', arg)
116 return lifecycle(pkg, 'postpublish', arg)
/third_party/node/deps/npm/node_modules/libcipm/
DCHANGELOG.md39 * do not pass opts.log to lifecycle ([46b2101](https://github.com/npm/libcipm/commit/46b2101))
62 * npm-lifecycle@3.0.0 ([84b8d7e](https://github.com/npm/libcipm/commit/84b8d7e))
67 * **lifecycle:** remove warning from bluebird ([#59](https://github.com/npm/libcipm/issues/59)) ([7…
167 * **lifecycle:** detect binding.gyp for default install lifecycle ([#46](https://github.com/npm/lib…
178 * **lifecycle:** defer to lifecycle’s internal logic as to whether or not to execute a run-script (…
363 * **gyp:** new npm-lifecycle[@2](https://github.com/2) with included node-gyp ([a4ed938](https://gi…
436 * **lifecycle:** run scripts in dep order (#23) ([68ecfac](https://github.com/npm/libcipm/commit/68…
489 * **lifecycle:** actually run lifecycle scripts correctly ([7f8933e](https://github.com/npm/libcipm…
517 * **lifecycle:** Run lifecycle events, implement prefix option, add unit tests (#1) ([d6629be](http…
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/plugins/contentprovider/
DContentProviderControlSurface.java8 import android.arch.lifecycle.Lifecycle;
27 …id attachToContentProvider(@NonNull ContentProvider contentProvider, @NonNull Lifecycle lifecycle); in attachToContentProvider() argument

1234567