Home
last modified time | relevance | path

Searched refs:ok (Results 1 – 25 of 33) sorted by relevance

12

/development/vndk/tools/elfcheck/bpflatten/
Dmain.go35 if s, ok := value.(*parser.Bool); ok {
37 } else if s, ok := value.(*parser.String); ok {
39 } else if s, ok := value.(*parser.Int64); ok {
54 } else if list, ok := value.(*parser.List); ok {
62 } else if mm, ok := value.(*parser.Map); ok {
73 if value, ok := prop.Value.Eval().(*parser.String); ok {
105 if module, ok := def.(*parser.Module); ok {
139 if vl, ok := v.([]interface{}); ok {
/development/tools/repo_diff/service/repodiff/interactors/
Dcommon.go10 val, ok := t[key]
11 if !ok {
/development/vndk/tools/header-checker/src/repr/json/
Dir_reader.h35 JsonObjectRef(const Json::Value &json_value, bool &ok);
76 Iterator(const Json::Value &json_value, bool &ok, int index) in Iterator() argument
77 : array_(json_value), ok_(ok), index_(index) {} in Iterator()
97 JsonArrayRef(const Json::Value &json_value, bool &ok) in JsonArrayRef() argument
98 : array_(json_value), ok_(ok) {} in JsonArrayRef()
Dir_reader.cpp53 JsonObjectRef::JsonObjectRef(const Json::Value &json_value, bool &ok) in JsonObjectRef() argument
54 : object_(json_value.isObject() ? json_value : json_empty_object), ok_(ok) { in JsonObjectRef()
166 bool ok = true; in ReadDumpImpl() local
167 JsonObjectRef tu(tu_json, ok); in ReadDumpImpl()
168 if (!ok) { in ReadDumpImpl()
186 if (!ok) { in ReadDumpImpl()
/development/tools/repo_diff/service/repodiff/repositories/
Dsource.go24 id, ok := cacheSingleton.Get(cacheKey(url, branch))
25 if ok {
80 urlBranchPair, ok := cacheSingleton.Get(id)
81 if ok {
Dcommit.go217 if _, ok := existing[key]; !ok {
/development/tools/repo_diff/service/repodiff/constants/
Dconstants.go55 val, ok := displayToStatus[displayStatus]
56 if !ok {
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DPinShortcutConfirm.java45 findViewById(R.id.ok).setOnClickListener(this); in onCreate()
66 case R.id.ok: in onClick()
/development/host/windows/usb/api/
Dadb_legacy_interface.cpp53 bool ok = true; in CreateHandle() local
57 ok = false; in CreateHandle()
61 ULONG error = ok ? NO_ERROR : GetLastError(); in CreateHandle()
69 if (!ok) { in CreateHandle()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DItemAddFragment.java69 view.findViewById(R.id.ok).setOnClickListener(this); in onViewCreated()
75 case R.id.ok: in onClick()
/development/tools/repo_diff/service/repodiff/controllers/
Ddifferential.go248 diffRow, ok := entity.(*ent.DiffRow)
249 if !ok {
273 commitRow, ok := entity.(*ent.CommitRow)
274 if !ok {
/development/samples/browseable/PdfRendererBasic/src/com.example.android.pdfrendererbasic/
DMainActivity.java53 .setPositiveButton(android.R.string.ok, null) in onOptionsItemSelected()
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/
DMessageDialogFragment.java48 .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { in onCreateDialog()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DSecureDialogActivity.java82 .setPositiveButton(android.R.string.ok, null) in onClick()
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DMessageDialogFragment.java48 builder.setPositiveButton(android.R.string.ok, null); in onCreateDialog()
/development/vndk/tools/header-checker/src/dumper/
Dheader_checker.cpp139 bool ok = PrintResourceDir(fixed_argv.GetArgv()[0]); in main() local
140 ::exit(ok ? 0 : 1); in main()
/development/scripts/
Dget_rust_pkg.py319 ok, build_deps, dev_deps = get_crate_dependencies(args, pkg)
320 if not ok:
330 ok, build_deps, dev_deps = get_crate_dependencies(args, pkg)
331 if not ok:
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/
DMainActivity.java155 .setAction(R.string.ok, new View.OnClickListener() { in requestCameraPermission()
219 .setAction(R.string.ok, new View.OnClickListener() { in requestContactsPermissions()
/development/tools/repo_diff/service/repodiff/mappers/
Dmappers.go310 techAreaIndex, ok := constants.AuthorHashToTechIndex[SHA256HexDigest(authorEMail)]
311 if !ok {
/development/samples/SipDemo/src/com/example/android/sip/
DWalkieTalkieActivity.java317 android.R.string.ok, new DialogInterface.OnClickListener() { in onCreateDialog()
337 … .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { in onCreateDialog()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DAttractionListActivity.java167 .setPositiveButton(android.R.string.ok, null); in showDebugDialog()
/development/apps/CustomLocale/src/com/android/customlocale2/
DCustomLocaleActivity.java401 boolean ok = mPrefs.edit().putString(CUSTOM_LOCALES, newLocales).commit(); in removeCustomLocale()
403 Log.d(TAG, "Prefs commit:" + Boolean.toString(ok) + ". Saved: " + newLocales); in removeCustomLocale()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java324 .setPositiveButton(android.R.string.ok, null) in onClick()
723 .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { in onCreateDialog()
741 .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/
DDirectorySelectionFragment.java109 .setPositiveButton(android.R.string.ok, in onViewCreated()
/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/
DFingerprintAuthenticationDialogFragment.java221 mSecondDialogButton.setText(R.string.ok); in updateStage()

12